How airport distance is calculated
By DataTeo · Updated
The distance shown by the airport distance calculator is the great-circle distance: the shortest path between two points along the surface of the Earth. It is the natural “as the crow flies” distance for points far apart on a globe.
What a great circle is
A great circle is any circle drawn on a sphere whose centre is the centre of the sphere, such as the equator or any meridian. The shortest route between two points on a sphere always runs along the great circle that passes through both. On flat maps this route usually looks curved, and on long east–west journeys it bends toward the nearer pole. The route is straight on the globe. The curve comes from the map projection.
The haversine formula
Given two latitudes φ₁, φ₂ and longitudes λ₁, λ₂ in radians, and an Earth radius R:
a = sin²(Δφ/2) + cos φ₁ · cos φ₂ · sin²(Δλ/2)d = 2R · asin(√a)
DataTeo uses R = 6,371.0088 km, the mean Earth radius defined by the International Union of Geodesy and Geophysics. The haversine form stays numerically stable even for points very close together.
How accurate is it?
The Earth is not a perfect sphere. It is slightly flattened at the poles. Ellipsoidal methods on the WGS 84 model, such as Vincenty’s or Karney’s algorithms, give more precise geodesic distances. For airport-to-airport distances, the spherical result is typically within about 0.5% of the ellipsoidal one. That is accurate enough for comparison and estimation, but not for navigation.
Why flights are longer
- Aircraft fly published airways and procedures, not free great-circle paths.
- Winds aloft, especially jet streams, can make a longer path quicker.
- Restricted, military or conflict airspace forces detours.
- Departure, holding and approach procedures add distance near airports.
Units
Results are shown in kilometres, statute miles (1 mi = 1.609344 km) and nautical miles (1 NM = 1.852 km, the standard unit in aviation). The calculator also reports the initial bearing: the true-north course at departure. Along a great circle the course changes continuously, except on meridians and the equator.