~/tools/airport-distance
Airport distance.
How far it is between airports, leg by leg, in miles, nautical miles and kilometres.
How it is measured
The distance is the shortest path over the Earth's surface between the two airports' reference points, on the WGS-84 ellipsoid, the same model GPS uses.
That is what airline mileage tables use. A sphere, the shortcut most calculators take, can be twenty miles out on a long flight.
It is not the distance a flight actually covers: airways, wind and traffic add to it.
Questions
- Which codes can I use?
- Airline codes (ORD, LHR), ICAO codes (KORD, EGLL) and the FAA's own identifiers for small American fields (1C5, 06C). Where a code means two airports, the airline code wins and the page tells you about the other.
- Why doesn't this match my frequent flyer miles?
- Airlines mostly credit this same distance, but some round it, add a minimum, or use their own tables. A mile or two of difference is rounding.
- What is the heading for?
- It is the true course as you leave the first airport. On a long leg it changes along the way; it is not a magnetic heading and takes no account of wind.
- How accurate is it?
- The arithmetic is good to a fraction of a metre. The answer is as good as the airport positions, which are each field's published reference point. Checked against 244 flights from the author's own log, it gave the same whole mile for 216 and was one mile off for 27, all of them rounding.
- Where do the airports come from?
- OurAirports, a public-domain list kept by volunteers. Heliports and closed fields are left out.