Worked example
Example: Illustrative Mumbai to New Delhi. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Latitude of point 1 (north positive) | 19.076 ° |
| Longitude of point 1 (east positive) | 72.878 ° |
| Latitude of point 2 | 28.614 ° |
| Longitude of point 2 | 77.209 ° |
| Earth radius | 6,371.0 km |
Applying the formula below gives:
| Result | Value |
|---|---|
| Great-circle distance | 1,148.1 km |
| Central angle | 10.325 ° |
| Initial bearing from point 1 (from north) | 21.710 ° |
Open this example in the calculator and change any input.
Formula
\(a = \sin^2\frac{\Delta\varphi}{2} + \cos\varphi_1\cos\varphi_2\sin^2\frac{\Delta\lambda}{2}, \quad d = 2R\,\operatorname{atan2}(\sqrt a, \sqrt{1-a})\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(\varphi_1\) | Latitude of point 1 (north positive) | rad |
| \(\lambda_1\) | Longitude of point 1 (east positive) | rad |
| \(\varphi_2\) | Latitude of point 2 | rad |
| \(\lambda_2\) | Longitude of point 2 | rad |
| \(R\) | Earth radius | m |
| \(d\) | Great-circle distance | m |
| \(c\) | Central angle | rad |
| \(\theta_0\) | Initial bearing from point 1 (from north) | rad |
Method and standards
Haversine.
Where it is used
- Pipeline, transmission line and logistics distance estimates.
- Radio path and flight distances.
Common mistakes
- Entering west longitudes as positive.
- Mixing degrees-minutes with decimal degrees.
Assumptions and limits
- Spherical Earth; no terrain or altitude.
References
- Haversine formula on a sphere
Questions and answers
How accurate is the spherical Earth?
Within about 0.5 %; for survey-grade work use an ellipsoidal (Vincenty or Karney) method.
Why does the bearing change along the route?
A great circle crosses successive meridians at different angles; only the start bearing is given.
What do the defaults represent?
Illustrative coordinates of Mumbai and New Delhi.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Sinnott, Virtues of the Haversine, Sky and Telescope 68 (1984)