This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

EGM96 Geoid

Calculate geoid height as determined from EGM96 Geopotential Model




The EGM96 Geoid block calculates the geoid height as determined from the EGM96 Geopotential Model. The block interpolates the geoid heights from a 15 minute grid of point values in the tide-free system. It uses the EGM96 Geopotential Model to degree and order 360. The geoid undulations are with respect to the WGS84 ellipsoid.

The interpolation scheme wraps over the poles to allow for geoid height calculations at and near these locations.



Specifies the parameter and output units:



Metric (MKS)




Data type

Specify the data type of the input and output signals. From the list, select double or single.

Inputs and Outputs

InputDimension TypeDescription


ScalarContains geocentric latitude in degrees, where north latitude is positive, and south latitude is negative. Input latitude must be of type single or double. If latitude is not in the range from -90 to 90, the block wraps it to be within the range.


ScalarContains geocentric longitude in degrees, where east longitude is positive in the range from 0 to 360. Input longitude must be of type single or double. If longitude is not in the range from 0 to 360, the block wraps it to be within the range.
OutputDimension TypeDescription


ScalarContains the geoid height, in meters.


This block has the limitations of the 1996 Earth Geopotential Model. For more information, see

The WGS84 EGM96 geoid undulations have an error range of +/-0.5 to +/-1.0 meters worldwide.


“Department of Defense World Geodetic System 1984, Its Definition and Relationship with Local Geodetic Systems”, NIMA TR8350.2.

“The Development of the Joint NASA GSFC and NIMA Geopotential Model EGM96”, NASA/TP-1998-206861.

National Geospatial-Intelligence Agency Web site:



EGM96 Geoid will be removed in a future version. Use Geoid Height instead.

Introduced in R2007b