Find the shortest distance between two coordinates using the haversine formula.
The haversine formula converts latitude and longitude differences into the central angle between two points on a sphere, then multiplies by the Earth's radius to get kilometers. This gives the shortest great-circle route rather than a driving path. Flights follow great-circle routes, so the haversine distance is the true aerial separation between cities and the basis for realistic flight planning.
Great Circle Travel Distance
d = 6371 x 2 x atan2(sqrt(a), sqrt(1-a)); a = sin2(dlat/2) + cos(p1)cos(p2))sin2(dlon/2)
d = 6371 x 2 x atan2(sqrt(a), sqrt(1-a)); a = sin2(dlat/2) + cos(p1)cos(p2))sin2(dlon/2) The haversine formula converts latitude and longitude differences into the central angle between two points on a sphere, then multiplies by the Earth's radius to get kilometers. This gives the shortest great-circle route rather than a driving path.
Flights follow great-circle routes, so the haversine distance is the true aerial separation between cities and the basis for realistic flight planning.
This calculator takes 4 inputs: Latitude of point A, Longitude of point A, Latitude of point B, Longitude of point B. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.