Enter two lat/lng coordinates to calculate great-circle distance using the Haversine formula
Quick Examples
A Start Point
B End Point
—
Kilometers (km)
Meters
—
Miles
—
Nautical Miles
—
Feet
—
Haversine Formula
a = sin²(Δφ/2) + cos(φ1) · cos(φ2) · sin²(Δλ/2)
c = 2 · atan2(√a, √(1−a))
d = R · c
Where R = 6371 km (Earth's mean radius), φ is latitude, λ is longitude, and Δ is the difference. This formula assumes a perfect sphere, with ~0.3% error.