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:

Point 1 (Origin)
Point 2 (Destination)
WGS84 GEODESIC DISTANCE 9,594.3 km 5,961.6 miles • 5,180.5 NM
INITIAL BEARING (FORWARD) 336.3° NNW departure heading
GREAT CIRCLE HAVERSINE 9,562.3 km Δ -32.0 km vs spherical

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.

More Navigation & Geodetic Tools

Standard Distance Calculator Map Coordinate Picker Lat vs Long Order Checker Saved Locations & Export