What the numbers refer to

The radius of curvature is two numbers

Twelve essays work on the ellipsoid and every one of them takes a radius when it needs one. There are two at every point, they differ by 42.70 kilometres at the equator, and the single number every table prints is out by 5,583 parts per million on a line running north.

There is no such thing as the radius of the Earth at a latitude. The Earth is a sphere, and when it is not, it has two. There are two, and the difference between them is larger than most people’s estimate of the whole uncertainty.

There is no such thing as the radius of the Earth at a latitude. The two principal radii of curvature of WGS84, against latitude, with the mean radius that every table prints drawn across them. The meridional radius M runs from 6335.44 km at the equator to 6399.59 at the pole; the prime-vertical radius N from 6378.14 to the same value. They differ by 42.70 km at the equator and meet only at the pole, and the single number 6,371 km lies between them at no latitude where either is right.
Fig. 1 The two principal radii of curvature of WGS84 against latitude, with the mean radius that every table prints drawn across them. The meridional radius runs from 6,335.44 km at the equator to 6,399.59 at the pole; the prime-vertical radius from 6,378.14 to the same value. They differ by 42.70 km at the equator and meet only at the pole, and 6,371 km lies between them at no latitude where either is right.

Two curvatures, because a surface has two

Any smooth surface has two principal curvatures at a point, and their product is the curvature the impossibility theorem is about: the largest and the smallest normal curvature over all directions through it. On a sphere they are equal, which is why a sphere has one radius and why the habit of asking for “the radius” survives.

On an ellipsoid of revolution they are the curvature of the meridian section, whose radius is written MM, and the curvature of the section perpendicular to it, whose radius is NN:

M=a(1e2)W3,N=aW,W=1e2sin2φ.M = \frac{a(1 - e^2)}{W^3}, \qquad N = \frac{a}{W}, \qquad W = \sqrt{1 - e^2\sin^2\varphi}.

Both are radii of curvature and neither is a distance to the centre. NN is the length of the normal from the surface to the axis of rotation — which is why it appears in the conversion between geodetic coordinates and Cartesian ones — and MM is not the length of anything; it is a curvature reciprocal.

Their product is the reciprocal of the Gaussian curvature, so the ellipsoid is not a surface of constant curvature and the two of them together are what makes it so.

The size of the disagreement

At the equator M=6,335.44M = 6{,}335.44 km and N=6,378.14N = 6{,}378.14 km. The gap is 42.70 kilometres, or 0.67 per cent.

At 45° it is 21.46 kilometres. At the pole it is zero, because there the meridian and its perpendicular are indistinguishable and the surface is locally spherical.

Nothing about those numbers is small. Two thirds of one per cent is 6.7 metres on a kilometre, and a first-order survey works to about twenty parts per million — so the difference between the two radii is three hundred times the tolerance of the work that uses them.

Euler’s radius, and why the direction is the missing argument

The right radius for a line is neither of them and depends on which way the line runs. Euler’s theorem gives the normal curvature in a direction α\alpha from north as an interpolation between the two principal ones:

1R(α)=cos2αM+sin2αN.\frac{1}{R(\alpha)} = \frac{\cos^2\alpha}{M} + \frac{\sin^2\alpha}{N}.

So RR runs continuously from MM due north to NN due east, passing through every value between. There is no direction in which the answer is 6,371 km unless the latitude happens to make it so.

The radius the geometry calls for depends on which way the line runs. Euler's radius, 1/R(α) = cos²α/M + sin²α/N, at three latitudes on WGS84. Every curve starts at the meridional radius due north and ends at the prime-vertical radius due east, and passes through every value between on the way. At the equator that is a range of 42.70 km — 0.67 per cent — so a formula that takes one radius is making a choice about direction whether or not it says so.
Fig. 2 Euler’s radius at three latitudes on WGS84. Every curve starts at the meridional radius due north and ends at the prime-vertical radius due east, and passes through every value between on the way. At the equator that is a range of 42.70 km, so a formula that takes one radius is making a choice about direction whether or not it says so.

The Gaussian mean MN\sqrt{MN} is the value at 45° to second order and is the radius of the sphere with the same Gaussian curvature at that point. It is the right choice when the quantity being computed is an area or a curvature, and the wrong one when it is a distance in a stated direction.

What each substitution costs

The error each candidate radius makes on a 1 km line at 0°, running north. Five numbers, all called the radius of the Earth somewhere in print, measured against the radius Euler's theorem calls for in this direction. The best of them is M, the meridional radius, which is exact and is the answer only for this azimuth. The mean radius — the 6,371 km every table prints — is out by 5.58 metres per kilometre, which is 5583 parts per million against a first-order survey's tolerance of about twenty.
Fig. 3 Five numbers, all called the radius of the Earth somewhere in print, measured against the radius Euler’s theorem calls for on a kilometre of ground running due north at the equator. The exact one is the meridional radius, which is the answer only for this azimuth. The mean radius is out by 5.58 metres per kilometre, which is 5,583 parts per million against a first-order survey’s tolerance of about twenty.

Five and a half metres on a kilometre is not a subtlety. It is the difference between a computation that meets a survey specification and one that misses it by two orders of magnitude, and it arises from taking a number out of a table because it is the number in the table.

Turn the line ninety degrees and the ranking changes completely. Due east at the equator the prime-vertical radius is exact by definition, the mean radius is out by 1.12 metres per kilometre, and the meridional radius — which was exact a paragraph ago — is out by 6.74.

One number, every direction, every latitude. The error the mean radius makes, in parts per million, at every combination of latitude and azimuth. It is exact nowhere and worst at the equator due north, at 5583 ppm — 5.6 metres on a kilometre. The sign changes across the table: the substitution is too large in some directions and too small in others, so an error budget that treats it as a bias in one direction is wrong about half the map.
Fig. 4 The error the mean radius makes, in parts per million, at every combination of latitude and azimuth. It is exact nowhere and worst at the equator due north. The sign changes across the table: the substitution is too large in some directions and too small in others, so an error budget that treats it as a bias in one direction is wrong about half the map.

The sign changes, and that matters

An error that is always the same sign can be absorbed into a scale factor and forgotten. This one cannot: the mean radius is larger than Euler’s in some directions and smaller in others, so a survey computed with it accumulates an error whose sign depends on the bearing of each leg.

That is the worst arrangement available for a traverse. Legs running north and legs running east pick up errors of opposite sign, so a closed figure partly cancels them and reports a closure better than the underlying computation deserves — which is exactly the failure what a closed figure cannot see is about, arriving from a source that essay did not consider.

Which radius each formula wants

The practical content is a short list, and every item on it is a place where somebody has to choose.

A north–south distance from a latitude difference needs MM, integrated — which is the meridian arc, by series and by quadrature: ds=Mdφ\mathrm{d}s = M\,\mathrm{d}\varphi. This is where a degree of latitude gets its length, and it is why a degree of latitude is 110.57 km at the equator and 111.69 at the pole.

An east–west distance from a longitude difference needs NcosφN\cos\varphi, which is the radius of the parallel.

The conversion to and from Cartesian coordinates needs NN, which is where a datum transformation does its arithmetic, because NN is the length of the normal to the axis and the Cartesian conversion is written along that normal.

An area needs neither, and an equal-area map of the ellipsoid needs the authalic latitude instead: it needs the authalic radius, or a closed form, or a quadrature over the ellipsoid’s own area element.

A local sphere for a survey needs Euler’s radius at the azimuth of the work, or the Gaussian mean when the work runs in every direction — and the choice between those two is a decision about the job rather than about the Earth.

Why the mean radius exists at all

The number 6,371.0088 km is the arithmetic mean (2a+b)/3(2a + b)/3, and it has a defensible purpose: it is the radius of the sphere with the same mean of the three semi-axes, which is a reasonable single number for a body that is nearly spherical.

It also happens to sit within a thousandth of a per cent of the authalic radius — the radius of the sphere with the same surface area — so a calculation of a global area with it is right to five significant figures. That is where a single radius belongs.

Where it does not belong is in a distance. A distance is a line integral of a metric and the metric is anisotropic, and no scalar summarises an anisotropic quantity without a direction.

One degree of latitude, on two ellipsoids. The ground length of one degree of latitude, integrated from the meridian radius of curvature. On WGS84 it runs from 110574 metres at the equator to 111694 at the pole — a rise of 1120 metres, which is the entire signal that separates a flattened Earth from a spherical one. The degree is longer where the surface is flatter, which is at the pole, and the ordering catches out anybody reasoning from the outline of the meridian ellipse.
Fig. 5 The meridional radius doing its job: the ground length of one degree of latitude, integrated from M, on WGS84 and on the sphere. On WGS84 it runs from 110,574 metres at the equator to 111,694 at the pole; on the sphere it is flat, because a sphere has one radius. The rise is the entire signal that separates a flattened Earth from a spherical one.

The other radius nobody names

The radius of equal curvature, from equator to pole. The radius of the sphere that has the same Gaussian curvature as the ellipsoid does, at each latitude. On WGS84 it runs from 6357 km at the equator to 6400 km at the pole — the polar region is the flattened part of a squashed ball and is therefore the LEAST curved — so K itself varies by 1.35%. A surface whose curvature varies cannot be laid on one whose curvature does not, so no map from the sphere to the ellipsoid is faithful either, and the least a conformal one can vary in scale is 6739 parts per million.
Fig. 6 The third radius, and the one with the best claim to being the radius: the sphere with the same Gaussian curvature as the ellipsoid has at that latitude, which is the geometric mean √(MN), drawn for two ellipsoids and for the sphere. On WGS84 it runs from 6,357 km at the equator to 6,400 at the pole — the flattened part of a squashed ball is the least curved, which catches out anybody reasoning from the outline of the meridian ellipse.

The Gaussian mean is the answer to a different question and is worth separating out, because it is the one a projection cares about.

A conformal map’s scale factor is fixed by the Gaussian curvature and by nothing else — that is the content of the Theorema Egregium as this collection uses it — so when a projection of a small region is approximated by a projection of a sphere, the sphere that should be used is the one with the matching curvature, not the matching radius in any direction. That sphere’s radius is MN\sqrt{MN}, and using it is what makes a local conformal approximation good to second order rather than first.

So there are three defensible radii and each answers a different question. MM and NN answer how long is this line, separately, according to which way it runs. MN\sqrt{MN} answers what does the curvature do to a map here. The mean radius answers what is a single number for the size of the Earth, which is a question about tables rather than about geometry.

Where this is silently right, and where it is silently wrong

Most software is silently right, because most software never takes a radius. A geodesic on the ellipsoid, a Krüger series, a Vincenty inverse and a proper conversion to Cartesian coordinates all carry MM and NN where each belongs, and none of them offers a single-radius option.

The places it goes wrong are the improvised ones, and they are common: a haversine distance on the “Earth’s radius”; a buffer computed by dividing a ground distance by a radius to get an angle; a rule-of-thumb conversion from degrees to metres. Each of those is a substitution of one number for a directional quantity, and each is out by up to two thirds of a per cent.

Two thirds of a per cent is 6.7 metres in a kilometre and 670 in a hundred. It is not a rounding error; it is the size of a plot boundary.

The refusal: a sphere has one radius

The measure has to be able to return zero, and it does. On the sphere declared in this collection’s library, whose flattening is exactly zero, M=N=aM = N = a at every latitude and Euler’s radius is that same number in every direction. The direction-dependence collapses, and the substitution error of every candidate is identically zero.

That is what makes the ellipsoid figures a measurement of the flattening rather than of the arithmetic. The gap between MM and NN is ae2cos2φ/W3a e^2 \cos^2\varphi / W^3 to first order, so it is the eccentricity, appearing as a distance.

An error budget with a direction in it

A survey error budget is a list of variances added in quadrature, and every entry on it is a scalar. That is the format’s own limitation and it is where this error hides.

The radius substitution does not produce a variance. It produces a bias whose size and sign depend on the azimuth of the leg being computed, so a budget that lists it as “spherical approximation, 5 ppm” has already thrown away the only thing about it that matters. Two legs of a traverse computed with the same wrong radius have correlated errors whose correlation depends on the angle between them, which is exactly the structure a quadrature sum assumes away.

The correct treatment is the one geodesy adopted long ago and improvised geometry did not: do not substitute. Carry MM and NN separately and let each formula take the one it needs, and the term never enters the budget at all because it is never made.

The error each candidate radius makes on a 1 km line at 45°, running 45° from north. Five numbers, all called the radius of the Earth somewhere in print, measured against the radius Euler's theorem calls for in this direction. The best of them is √(MN), the Gaussian mean, and it is not exact either. The mean radius — the 6,371 km every table prints — is out by 1.11 metres per kilometre, which is 1112 parts per million against a first-order survey's tolerance of about twenty.
Fig. 7 The same comparison at 45° north on a line running north-east, which is the case a rule of thumb is most likely to be defended on. The Gaussian mean is the best of the five here and is not exact either — it agrees with Euler’s radius at 45° of azimuth only to second order, leaving 1.4 millimetres per kilometre — and the mean radius is out by 1.11 metres per kilometre. At this azimuth no candidate in the list is right, which is the ordinary case: exactness is available at two azimuths out of every hundred and eighty.

Where the model stops

Everything here is the ellipsoid of revolution. On a triaxial body the two principal curvatures are still two numbers and their directions are no longer the meridian and its perpendicular — the coordinate lines are not orthogonal — so Euler’s theorem still holds and the frame it is stated in is not the graticule’s.

Nor is anything here about the geoid, whose curvature varies with the mass under it and is not a property of any ellipsoid. A radius taken from a table is a statement about a fitted surface; the ground has its own and it is nobody’s closed form.

The two exact azimuths

There is a small structural point in the last figure worth drawing out.

At an azimuth of exactly zero the meridional radius is exact, and at exactly ninety the prime-vertical radius is. At every azimuth between, none of the five candidates is exact, because Euler’s radius there is a harmonic interpolation between two numbers and is not equal to either or to any fixed combination of them.

So the familiar advice — use MM for north–south and NN for east–west — is not a rule of thumb that happens to work. It is the exact answer at two azimuths and nowhere else, and the reason it is safe in practice is that those two azimuths are the ones a graticule-aligned computation actually uses. A computation along a graticule line takes the exact radius; a computation along anything else takes an approximation whether or not anybody says so.

Who found it, and when

Euler’s theorem on normal curvature is from 1760 and the two radii of the ellipsoid were standard in geodesy long before anybody had to write software with them. The confusion is entirely modern: it arrives with the availability of a single number in a reference table and with the writing of geometry by people whose training was not geodetic.

That is worth stating without condescension, because the table is not wrong. 6,371 km is the mean radius and is correctly labelled as such wherever it is printed. What is missing is the sentence that says what a mean radius is for, and the sentence is missing because in 1760 nobody needed it.

One number, five meanings

Collected in one place, because the list is the practical content of the essay.

MM, the meridional radius, is 6,335 to 6,400 km and is the one a change of latitude wants. NN, the prime-vertical radius, is 6,378 to 6,400 km and is the one a change of longitude and every Cartesian conversion wants. MN\sqrt{MN}, the Gaussian mean, is 6,357 to 6,400 km and is the one a curvature or a local projection wants. The authalic radius, 6,371.007 km, is the one an area wants. The mean radius, 6,371.009 km, is the one a table wants.

Five numbers spanning 65 kilometres, all correct, all called the same thing in ordinary speech. Choosing between them is not a refinement to be applied when the accuracy demands it; it is the first step of the computation, and the step where a formula that takes a single radius has already decided.

How to find out which radius a formula meant

The list is the practical content and it leaves a practical question: given a formula, a library or a piece of code that takes one radius, how does a reader establish which of the five it wants?

Ask what the formula does for a purely north–south displacement. If the answer should be the meridian arc, the radius in it is MM — that is the definition of the meridional radius, and no other member of the list gives the right answer there.

Ask what it does for a purely east–west one. A change of longitude at a fixed latitude runs along a parallel whose radius is NcosφN\cos\varphi, so a formula computing a departure from a longitude difference wants NN. Every Cartesian conversion wants NN for the same reason.

Ask whether the quantity is a curvature or an area. A local projection’s scale factor, a geodesic’s behaviour, and anything derived from the Gaussian curvature want MN\sqrt{MN}; a total area wants the authalic radius; a total meridian length wants the rectifying one.

And if the formula takes a single constant radius with no latitude in it at all, it wants a sphere, and the question is only which sphere its author had in mind — which is usually the mean radius, because that is what a table prints.

It is a check worth running on inherited code as much as on a paper.

The size of getting it wrong is the reason to check. The five span 65 kilometres, which is about one per cent of the radius, so a formula using the wrong one is wrong by up to one per cent: ten metres in a kilometre, a kilometre in a hundred. That is far above the tolerance of anything anybody would write such a formula for, and it is far below the size that would make the result obviously absurd — which is the band in which errors survive.

That also makes it a reviewable property rather than a matter of trusting the source, which is worth something when the source is a code comment.

The one reassurance is that the choice is decidable from the formula alone, without knowing what its author intended. Each of the five is the unique radius making one particular quantity exact, so asking which quantity the formula is supposed to get right answers the question every time.

Where the ladder goes next

Twelve rungs of this anchor have worked on the ellipsoid and this one is about the most elementary quantity any of them uses. What none of them has asked is which ellipsoid — the fit that produced aa and ff is a fit, its parameters are correlated, and the two are quoted to a precision their covariance does not support.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the concept index makes visible.

What links here

Every essay whose body links to this one.

The objects this essay names

Each one links to every other essay that touches it.

Authalic radiusAzimuthEllipsoidEulers theoremFlatteningGaussian curvatureGaussian radiusMean radiusMeridional radiusPrime-vertical radiusRadius of curvatureSurvey tolerance