On this page
On a flat map, the shortest route from Delhi to London bows north of the straight line. On a sphere the shortest path runs along a great circle, and one formula and a scientific calculator give its length.
What is great-circle distance?
A great circle is any circle on a sphere whose centre is the centre of the sphere; the equator is one, and so is every circle through both poles. The shortest path along the surface between two points is the shorter arc of the great circle through them.
Its length is d = Rθ, where θ is the angle between the two points measured at Earth's centre, in radians. For R, use 6,371 km, the volumetric mean radius of Earth in NASA's Earth fact sheet. So the whole job is to find θ from the latitudes (φ) and longitudes (λ).
Spherical law of cosines or haversine: which formula should you use?
Put Earth's centre at the origin and write each city as a unit vector (cos φ cos λ, cos φ sin λ, sin φ). Their dot product is cos θ, which gives the spherical law of cosines:
cos θ = sin φ₁ sin φ₂ + cos φ₁ cos φ₂ cos Δλ
That dot product is covered in our guide to vectors and 3D geometry for JEE Main. Now use the identity hav x = sin²(x/2) = (1 − cos x)/2 to rewrite it as the haversine formula:
a = sin²(Δφ/2) + cos φ₁ cos φ₂ sin²(Δλ/2), and θ = 2 asin(√a)
Both give the same θ; the difference is numerical. Chris Veness's geodesy notes on Movable Type Scripts describe the haversine as well-conditioned for computation even at small distances, unlike the law of cosines, though by his estimate the cosine version still works down to a few metres in modern 64-bit arithmetic. The same page records that Roger Sinnott described the haversine in Sky & Telescope in 1984, in an article called "Virtues of the Haversine".
How far is Delhi from London?
Take New Delhi at 28.6139°N, 77.2089°E (Wikipedia) and London at 51.5072°N, 0.1275°W (Wikipedia). West and south are negative. Use R = 6,371 km from NASA.
Δφ = 51.5072 − 28.6139 = 22.8933°, and Δλ = −0.1275 − 77.2089 = −77.3364°.
sin²(Δφ/2) = sin²(11.4467°) = 0.03938.
cos φ₁ = 0.87787, cos φ₂ = 0.62242 and sin²(Δλ/2) = sin²(38.6682°) = 0.39039, so the second term is 0.87787 × 0.62242 × 0.39039 = 0.21331.
a = 0.03938 + 0.21331 = 0.25269.
θ = 2 asin(√0.25269) = 2 asin(0.50268) = 1.05340 rad, or 60.36°.
d = 6,371 × 1.05340 ≈ 6,711 km.
Check it with the law of cosines: sin φ₁ sin φ₂ = 0.37483 and cos φ₁ cos φ₂ cos Δλ = 0.11978, so cos θ = 0.49462 and θ = 1.05340 rad again.
How accurate is 6,711 km? Earth is slightly flattened: its equatorial radius is 6,378.137 km and its polar radius 6,356.752 km, per the NASA fact sheet. The Movable Type notes put the error of a spherical model at typically up to 0.3%, about 20 km here, and point to Vincenty's formula on an ellipsoid for better accuracy.
Three slips are common:
Forgetting to convert degrees to radians in code.
Leaving west longitudes and south latitudes positive.
Swapping the arguments of atan2(y, x) in the bearing.
What is the initial bearing from Delhi to London?
The initial bearing, or forward azimuth, from the same notes is:
θ₀ = atan2(sin Δλ cos φ₂, cos φ₁ sin φ₂ − sin φ₁ cos φ₂ cos Δλ)
The first argument is −0.97567 × 0.62242 = −0.60728. The second is 0.68709 − 0.06535 = 0.62175. So θ₀ = −44.33°; adding 360° gives about 315.7°, a little north of north-west.
The heading does not stay fixed. Running the same formula from the London end gives a final heading of about 260°, slightly south of due west, so the route climbs north of London's latitude before it arrives. The highest point satisfies cos φmax = |sin θ₀| cos φ₁, which puts it at about 52.2°N, near longitude 12°E. Check it yourself; the identities you need are in our trigonometry for JEE Main guide.
Why do flight paths look curved on a flat map?
On a Mercator map, lines of constant compass bearing, called rhumb lines, are straight, as the Movable Type notes explain. The great circle does not keep a constant bearing, so it bows toward the pole.
The straight-looking line is the longer one. Using the rhumb-line formula on the same page, Delhi to London along a constant bearing comes to about 6,960 km, roughly 250 km more than the great circle.
If turning two position vectors into the cosine formula still feels shaky, the Fermi Concept Library has a lesson for every concept in mathematics. To practise, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning.



