How would one go about calculating the size of a tidal bulge created by the moon? I know how to calculate the gravity between two points and to calculate the attractive force of matter to the center of the earth in the bulge you would subtract its opposite direction attraction to the matter, but how would you do this with a large amount of matter and be able to calculate the loss in compression in that area? Also, because the earth spins faster than the moon the bulge would be ahead of the the moon causing it to speed up due to a slight increase in gravity from the direction of the bulge. How would you be able to calculate how far ahead of the moon the bulge would be? I am specifically asking about the Earth and moon but would appreciate it if the formulas could be expanded so that they could be viable for other orbiting bodies.