Notes and Usage Page For WGS 84 Geoid Calculations

Program constraints:

-89° 44' 24" <= Latitude <= 89° 44' 24"
-180° <= Longitude <= 360°

The latitude constraint is due to the spline algorithm not selecting points beyond
± 89° 44" 24'

If calculations near the poles are desired, try downloading the WGS 84 Geoid Calculator program for Windows 95/NT. That GUI driven program uses spherical harmonic synthesis rather than interpolation to determine the geoid.


If the coordinate is negative, then place a negative sign on the degree value. Placing additional negative signs on minutes and seconds is supported but not required (unless the degree portion is zero). If degrees are positive, then both the corresponding minutes and seconds should be positive.

Examples of valid input coordinates:

Examples of invalid input coordinates (combined Lat/Lon cases):

Geoid heights can be used to convert between orthometric heights (approximately mean sea level) and ellipsoid heights according to the formula:

h   =   H   +   N
h = WGS 84 Ellipsoid height
H = Orthometric height
N = WGS 84 Geoid height


WGS 84 is based on a spherical harmonic expansion of the disturbing potential to degree and order 180. This PERL CGI is using an ANSI C program that performs spline interpolations.

Back to Geoid Calculator


Point of Contact: Office of Geomatics
phone (314) 676-9127, DSN 846-9127

Document last modified