ArticleslgStudy

mathematics

Great-circle distance

Great-circle distance is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Great-circle distance rather than just read about it. In short: The great-circle distance, orthodromic distance, or spherical distance is the distance between two points on a sphere, measured along the great-circle arc between them. This arc is the shortest path between the two points on the surface of the sphere.

Great-circle distance — main illustration
Great-circle distance — illustration

Key takeaways

  • Great-circle distance belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Great-circle distance to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Great-circle distance from memory before moving on to harder problems.

Reference excerpt

The great-circle distance, orthodromic distance, or spherical distance is the distance between two points on a sphere, measured along the great-circle arc between them. This arc is the shortest path between the two points on the surface of the sphere. (By comparison, the shortest path passing through the sphere's interior is the chord between the points.) On a curved surface, the concept of straight lines is replaced by a more general concept of geodesics, curves which are locally straight with respect to the surface. Geodesics on the sphere are great circles, circles whose center coincides with the center of the sphere. Any two distinct points on a sphere that are not antipodal (diametrically opposite) both lie on a unique great circle, which the points separate into two arcs; the length of the shorter arc is the great-circle distance between the points. This arc length is proportional to the central angle between the points, which if measured in radians can be scaled up by the sphere's radius to obtain the arc length. Two antipodal points both lie on infinitely many great circles, each of which they divide into two arcs of length π times the radius. The determination of the great-circle distance is part of the more general problem of great-circle navigation, which also computes the azimuths at the end points and intermediate way-points. Because the Earth is nearly spherical, great-circle distance formulas applied to longitude and geodetic latitude of points on Earth are accurate to within about 0.5%.

Formulae

Let λ1,ϕ1 and λ2,ϕ2 be the geographical longitude and latitude of two points 1 and 2, and Δλ=|λ2−λ1| and Δϕ=|ϕ2−ϕ1| be their absolute differences; then Δσ, the central angle between them, is given by the spherical law of cosines if one of the poles is used as an auxiliary third point on the sphere: Δσ=arccos(sin⁡ϕ1sin⁡ϕ2+cos⁡ϕ1cos⁡ϕ2cos⁡Δλ). The problem is normally expressed in terms of finding the central angle Δσ. Given this angle in radians, the actual arc length d on a sphere of radius r can be trivially computed as d=rΔσ.

Relation between central angle and chord length The central angle Δσ is related with the chord length of unit sphere Δσc: Δσ=2arcsin⁡12Δσc,Δσc=2sin⁡12Δσ. For short-distance approximation (|Δσc| much smaller than 1, cf. Small-angle approximation), Δσ=Δσc(1+124(Δσc)2+3640(Δσc)4+⋯).

Computational formulae On computer systems with low floating point precision, the spherical law of cosines formula can have large rounding errors if the distance is small (if the two points are a kilometer apart on the surface of the Earth, the cosine of the central angle is near 0.99999999). For modern 64-bit floating-point numbers, the spherical law of cosines formula, given above, does not have serious rounding errors for distances larger than a few meters on the surface of the Earth. The following haversine formula is numerically better-conditioned for small distances based on the above chord-length relation: Δσ=archav(hav⁡Δϕ+(1−hav⁡Δϕ−hav⁡(ϕ1+ϕ2))hav⁡Δλ). Historically, the use of this formula was simplified by the availability of tables for the haversine function defined by hav⁡θ=sin212θ and archav⁡x=2arcsin⁡x. The following shows the equivalent formula expressing the chord length explicitly: Δσc=2sin212Δϕ+cos⁡ϕ1cos⁡ϕ2sin212Δλ=2(sin⁡12Δλcos⁡12(ϕ1+ϕ2))2+(cos⁡12Δλsin⁡12Δϕ)2. Although this formula is accurate for most distances on a sphere, it too suffers from rounding errors for the special (and somewhat unusual) case of antipodal points. A formula that is accurate for all distances is the following special case of the Vincenty formula for an ellipsoid with equal major and minor axes: Δσ=atan2((cos⁡ϕ2sin⁡Δλ)2+(cos⁡ϕ1sin⁡ϕ2−sin⁡ϕ1cos⁡ϕ2cos⁡Δλ)2,sin⁡ϕ1sin⁡ϕ2+cos⁡ϕ1cos⁡ϕ2cos⁡Δλ), where ⁠atan2⁡(y,x)⁠ is the two-argument arctangent. Using atan2 ensures that the correct quadrant is chosen.

Vector version Another representation of similar formulas, but using normal vectors instead of latitude and longitude to describe the positions, is found by means of 3D vector algebra, using the dot product, cross product, or a combination: Δσ=arccos⁡(𝐧1⋅𝐧2)=arcsin⁡|𝐧1×𝐧2|=arctan⁡|𝐧1×𝐧2|𝐧1⋅𝐧2 where 𝐧1 and 𝐧2 are the normals to the sphere at the two positions 1 and 2. Similarly to the equations above based on latitude and longitude, the expression based on arctan is the only one that is well-conditioned for all angles. The expression based on arctan requires the magnitude of the cross product over the dot product.

From chord length A line through three-dimensional space between points of interest on a spherical Earth is the chord of the great circle between the points. The central angle between the two points can be determined from the chord length. The great circle distance is proportional to the central angle. The great circle chord length, Δσc, may be calculated as follows for the corresponding unit sphere, by means of Cartesian subtraction: ΔX=cos⁡ϕ2cos⁡λ2−cos⁡ϕ1cos⁡λ1,ΔY=cos⁡ϕ2sin⁡λ2−cos⁡ϕ1sin⁡λ1,ΔZ=sin⁡ϕ2−sin⁡ϕ1,Δσc=(ΔX)2+(ΔY)2+(ΔZ)2. Substituting λ1=−12Δλ and λ2=12Δλ this formula can be algebraically manipulated to the form shown above in § Computational formulae.

Radius for spherical Earth

The shape of the Earth closely resembles a flattened sphere (a spheroid) with equatorial radius a of 6378.137 km; distance b from the center of the spheroid to each pole is 6356.7523142 km. When calculating the length of a short north-south line at the equator, the circle that best approximates that line has a radius of b2/a (which equals the meridian's semi-latus rectum), or 6335.439 km, while the spheroid at the poles is best approximated by a sphere of radius a2/b, or 6399.594 km, a 1% difference. So long as a spherical Earth is assumed, any single formula for distance on the Earth is only guaranteed correct within 0.5% (though better accuracy is possible if the formula is only intended to apply to a limited area). Using the mean Earth radius, R1=13(2a+b)≈6371.009 km (for the WGS84 ellipsoid) means that in the limit of small flattening, the mean square relative error in the estimates for distance is minimized. For distances smaller than 500 kilometers and outside of the poles, a Euclidean approximation of an ellipsoidal Earth (Federal Communications Commission's (FCC)'s formula) is both simpler and more accurate (to 0.1%).

See also

References and notes

External links GreatCircle at MathWorld

Illustrations

Great-circle distance: A diagram illustrating great-circle distance (drawn in red) between two points on a sphere, P and Q. Two antipodal points, u and v are also shown.
A diagram illustrating great-circle distance (drawn in red) between two points on a sphere, P and Q. Two antipodal points, u and v are also shown.
Great-circle distance: An illustration of the central angle, Δσ, between two points, P and Q. λ and φ are the longitudinal and latitudinal angles of P respectively
An illustration of the central angle, Δσ, between two points, P and Q. λ and φ are the longitudinal and latitudinal angles of P respectively
Great-circle distance: Equatorial (a), polar (b) and mean Earth radii as defined in the 1984 World Geodetic System revision. (Not to scale.)
Equatorial (a), polar (b) and mean Earth radii as defined in the 1984 World Geodetic System revision. (Not to scale.)

Worked examples

Example 1 — a first encounter with Great-circle distance

Start with the simplest possible case. Write down what Great-circle distance claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Great-circle distance before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Great-circle distance ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Great-circle distance

In research
Great-circle distance appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Great-circle distance in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Great-circle distance is common in secondary-school and first-year university syllabi. It links to neighbouring topics Distance, Metric geometry, Spherical curves, so understanding it makes those chapters shorter.
In everyday life
Look for Great-circle distance outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Great-circle distance” →

How to study Great-circle distance in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Great-circle distance means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Great-circle distance out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Great-circle distance in simple terms?

The great-circle distance, orthodromic distance, or spherical distance is the distance between two points on a sphere, measured along the great-circle arc between them. This arc is the shortest path between the two points on the surface of the sphere.

Why does Great-circle distance matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Great-circle distance?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Great-circle distance.

Tags

  • Distance
  • Metric geometry
  • Spherical curves
  • Spherical trigonometry

Keep exploring