Constants library
3 values, each with its units, its uncertainty, and where it came from.
Astronomical 3
Earth Equatorial Radius exact
mSemi-major axis of the WGS 84 reference ellipsoid, exactly 6 378 137 m — the equatorial radius every GPS receiver is built around.
Earth Polar Radius exact
mSemi-minor axis of the WGS 84 ellipsoid, 6 356 752.3 m — 21.4 km shorter than the equatorial radius because the Earth is spinning.
Earth Mean Radius
mMean radius (2a + b)/3 of the WGS 84 ellipsoid, about 6371 km — the single figure used when a spherical Earth is good enough.