Geocentric to Geodetic Latitude

Convert geocentric latitude to geodetic latitude


Utilities/Axes Transformations


The Geocentric to Geodetic Latitude block converts a geocentric latitude (λ) into geodetic latitude (μ). There are a number of geometric relationships that are used to calculate the geodetic latitude in this noniterative method. A number of angles and points are involved in the calculation, which are shown in following figure.


Given geocentric latitude (λ) and the radius (r) from the center of the planet (O) to the center of gravity (P), this noniterative method starts by computing values for the point of r that intercepts the surface of the planet (S). By rearranging the equation for an ellipse, the horizontal coordinate, (xa) is determined. When equatorial radius (R), polar radius ((1f)R) and xatanλ, are substituted for semi-major axis, semi-minor axis and vertical coordinate (ya), the resulting equation for xa has the following form:


To determine the geodetic latitude at Sμa, the equation for an ellipse with equatorial radius (R), polar radius ((1f)R)is used again. This time it is used to define ya in terms of xa.


Additionally, the relationship between geocentric latitude at the planet's surface and geodetic latitude is used.


Using the relationship tanλ=ya/xa and the two equations above, the resulting equation for μa is obtained.


The correct sign of μa is determined by testing λ and if λ is less than zero μa changes sign accordingly.

In order to calculate the geodetic latitude of P, a number of geometric relationships are required to be calculated. These calculations follow.

The radius (ra) from the center of the planet (O) to the surface of the planet (S) is calculated by using trigonometric relationship.


The distance from S to P is defined by:


The angular difference between geocentric latitude and geodetic latitude at S(δλ) is defined by:


Using l and δλ, the segment TP or the mean sea-level altitude (h) is estimated.


The equation for the radius of curvature in the Meridian (ρa) at μa is


Using l, δλ, h, and ρa, the angular difference between geodetic latitude at S (μ)and geodetic latitude at P (μa)is defined as:


Subtracting δμ from μa then gives μ.




Specifies the parameter and output units:


Radius from CG to Center of Planet

Equatorial Radius

Metric (MKS)






This option is only available when Planet model is set to Earth (WGS84).

Planet model

Specifies the planet model to use: Custom or Earth (WGS84).


Specifies the flattening of the planet. This option is only available with Planet model set to Custom.

Equatorial radius of planet

Specifies the radius of the planet at its equator. The units of the equatorial radius parameter should be the same as the units for radius. This option is only available with Planet model set to Custom.

Inputs and Outputs

InputDimension TypeDescription


ScalarContains the geocentric latitude, in degrees. Latitude values can be any value. However, values of +90 and -90 may return unexpected values because of singularity at the poles.


ScalarContains the radius from center of the planet to the center of gravity.

OutputDimension TypeDescription


ScalarContains the geodetic latitude, in degrees.

Assumptions and Limitations

This implementation generates a geodetic latitude that lies between ±90 degrees.


Jackson, E. B., Manual for a Workstation-based Generic Flight Simulation Program (LaRCsim) Version 1.4, NASA TM 110164, April, 1995.

Hedgley, D. R., Jr., "An Exact Transformation from Geocentric to Geodetic Coordinates for Nonzero Altitudes," NASA TR R-458, March, 1976.

Clynch, J. R., "Radius of the Earth - Radii Used in Geodesy," Naval Postgraduate School, 2002,

Stevens, B. L., and F. L. Lewis, Aircraft Control and Simulation, John Wiley & Sons, New York, 1992.

Edwards, C. H., and D. E. Penny, Calculus and Analytical Geometry 2nd Edition, Prentice-Hall, Englewood Cliffs, New Jersey, 1986.

Introduced before R2006a

Was this topic helpful?