Spherical Trigonometry & Great Circle Distance Calculator
Calculate the shortest distance between any two coordinates on Earth using Spherical Trigonometry (Great Circle Haversine formula) and the WGS84 Ellipsoid (Karney / Vincenty geodesic algorithm), complete with initial and reverse bearing azimuths.
Great Circle & Geodesic Distance Calculator
Enter Point A and Point B coordinates in decimal degrees, or select a route preset:
Haversine Formula vs WGS84 Geodesic Math
The Haversine Formula calculates great-circle distance assuming Earth is a perfect sphere (R ≈ 6371.0088 km):
a = sin²(Δφ / 2) + cos(φ₁) · cos(φ₂) · sin²(Δλ / 2)
c = 2 · atan2(√a, √(1−a))
d = R · c
However, the Earth is an oblate ellipsoid flattened at the poles by f = 1/298.257223563. For long-distance intercontinental flights, spherical models introduce errors of up to 0.5% (20 to 50 kilometers). The ellipsoidal geodesic formula accounts for planetary oblateness, achieving millimeter accuracy.