The hypothetical surface of the Earth that coincides everywhere with mean sea level and is perpendicular, at every point, to the direction of gravity. The geoid is used as a reference surface for astronomical measurements and for the accurate measurement of elevations on the Earth's surface.