Flight Distance Calculator
Great-circle distance between any two airports. Estimates flight time, fuel, and CO₂.
How to use the flight distance calculator
Enter two airports or cities to get the great-circle distance and an estimated flight time. Handy for planning routes, comparing itineraries and estimating jet lag.
Good to know
- Great-circle distance is the shortest path over the globe — actual routes vary slightly.
- Flight time estimates assume typical cruising speeds; headwinds and routing add time.
- Long-haul (8+ hours) usually means crossing several time zones — plan for jet lag.
Flight Distance Calculator FAQ
How is flight distance calculated?
Using the great-circle distance — the shortest path between two points over the earth's surface.
How accurate are flight time estimates?
They're close, but real flight times vary with routing, winds and air-traffic conditions.
How to cite this page
Journalists, researchers, educators and developers are welcome to use this distance calculator with attribution. Copy the citation below:
Packzup. “Flight Distance Calculator — Air Miles Between Airports” Packzup, 2026, https://packzup.com/flight-distance-calculator/.
Distances are great-circle calculations between published airport coordinates. If you publish an article, chart or dataset using these figures, a link back to this page lets your readers verify the source for themselves. Questions about the data or a request for a custom cut: editorial@packzup.com.
What does a flight distance calculator actually measure?
It measures the great-circle distance: the length of the shortest path between two airport coordinates traced across the surface of a globe. It is a geometric result, not an operational one. No aircraft has flown it, no airline has quoted it, and nothing about airways, weather or airspace enters into it.
The standard way to compute it is the haversine formula, which is used because it stays numerically stable for the very short distances where the simpler spherical law of cosines loses precision. Written out, with latitudes and longitudes in radians:
- a = sin²(Δlat / 2) + cos(lat₁) × cos(lat₂) × sin²(Δlon / 2)
- c = 2 × atan2(√a, √(1 − a))
- d = R × c
R is the assumed radius of the earth, and the conventional constant is 6,371 km. That figure is not arbitrary. The WGS-84 standard published by the US National Geospatial-Intelligence Agency as NGA.STND.0036_1.0.0_WGS84, dated 8 July 2014, lists among its derived geometric constants a mean radius of the three semi-axes of 6,371,008.7714 m and a radius of a sphere of equal volume of 6,371,000.7900 m. Rounded, both give 6,371 km.
That constant is also where the first approximation enters, because the earth is not a sphere. The same standard gives the two defining parameters of the ellipsoid as a semi-major axis of 6,378,137.0 m and a flattening factor 1/f of 298.257223563, from which the semi-minor axis, the polar radius, is derived as 6,356,752.3142 m. Equator to pole that is a difference of about 21 km in the radius itself. A single-radius sphere therefore cannot match an ellipsoidal geodesic everywhere, and the two can differ by a few tenths of one per cent depending on where the route sits on the globe. On a 10,000 km route that is tens of kilometres. It is beneath notice for planning. It is not beneath notice if you are arguing about a distance band with money attached.
The unit toggle is exact arithmetic rather than an estimate. The international nautical mile is defined as 1,852 m exactly, adopted at the First International Extraordinary Hydrographic Conference in Monaco in 1929 and taken up in the United States with effect from 1 July 1954, a definition still carried in Appendix C of NIST Handbook 44, 2026 edition, which records the former US value of 6,080.20 feet alongside it. Aviation uses it because one nautical mile is close to one minute of latitude, which makes chart work tractable.
Why is the distance an aircraft flies longer than the great-circle figure?
Because a great-circle line ignores every constraint that actually shapes a flight path, and all of those constraints add ground track rather than remove it. A great-circle figure is a floor, never an estimate of the distance flown.
ICAO puts a number on the gap in the published methodology for its own Carbon Emissions Calculator. That document computes the great-circle distance from airport coordinates and then applies a fixed correction before any fuel is worked out, described as covering "distance flown in excess of the GCD, stacking, traffic and weather-driven corrections". The correction is +50 km for a great-circle distance under 550 km, +100 km from 550 km to 5,500 km, and +125 km above 5,500 km. The same document cites earlier European work reporting that actual distance flown may vary from the timetabled great-circle distance by up to 11 per cent in Europe.
What produces the excess, in rough order of how much it costs on a typical sector:
- Published airway structure. Aircraft in controlled airspace fly defined routes between waypoints, joined to standard instrument departures and standard arrival routes at each end. A departure procedure that turns you away from your destination for noise abatement is track you have to fly back.
- Wind routing. Long-haul planning optimises for time and fuel, not for distance. A longer track that sits in a favourable jet-stream core beats a shorter one against it, which is why the eastbound and westbound legs of the same city pair often follow visibly different lines and post different block times.
- Weather deviation and holding. Convective weather is routed around, and a terminal area at capacity holds you in a pattern that adds distance at zero progress.
- Airspace availability. Airspace can be restricted, reserved for military use, or closed to particular operators, and the permitted routing then bears no relation to the direct line. This changes, sometimes at short notice, and the current picture lives in NOTAMs and in the operator's own flight planning rather than in any distance tool.
- Twin-engine diversion rules. A twin-engine aircraft on an oceanic or remote sector must stay within a certified diversion time of a suitable alternate, which on some crossings pulls the track away from the geodesic.
Keep the vocabulary straight when you compare figures. Block time runs from chocks off at the origin to chocks on at the destination and is what a timetable publishes. Airborne time is shorter. A distance calculator's time output is a cruise-speed estimate over a direct line, so it sits below both.
IATA code or ICAO code: which one identifies the airport you mean?
Use the four-letter ICAO code when you need certainty about a specific aerodrome, and the three-letter IATA code when you are working from a ticket. They are different systems maintained by different bodies for different purposes, and the three-letter one is the ambiguous half.
IATA's own fact sheet on location codes sets out how its system works. Assignment follows IATA Resolution 763, the objective being that each three-letter code is unique. Codes are issued on the request of a commercial airline, usually the first airline to serve the location. There are over 17,000 possible three-letter combinations and roughly 11,300 are currently assigned, with about 40 to 50 new codes issued a year. Once assigned, a code is treated as permanent and is "almost never changed", and IATA cites the historical change of Washington Dulles from DIA to IAD, made to avoid confusion with nearby DCA, as the kind of air-safety justification required.
Two features of that system are what trip people up in a distance box:
- A three-letter code is not necessarily an airport. Where a metropolitan area has more than one airport, each airport gets its own code and, in IATA's words, the metropolitan area may either use its own code or one of the airport codes. Washington DC is served by DCA, BWI and IAD, and IATA gives the city and metropolitan-area code as WAS. Where a single airport serves the city, one code does both jobs: IATA gives Geneva as the example, where GVA is the airport and the city. Type a metropolitan code and you are asking for a distance to a group, not to a runway.
- A three-letter code is not necessarily aviation. IATA issues location codes for non-airport points that form part of an intermodal ticketed journey, most commonly rail and ferry stations feeding an air-plus-rail ticket.
ICAO's four-letter location indicators, published in ICAO Doc 7910, serve flight operations instead, which is why they are issued to non-commercial aerodromes as well as commercial ones and why the list also carries the corresponding IATA identifier where one exists. The four-letter codes are regionally structured rather than mnemonic, so they do not collide the way name-derived three-letter codes do.
The coordinates behind either code are governed by the same standard. Under ICAO Annex 15, published aeronautical geographical coordinates are expressed in terms of the WGS-84 geodetic reference datum, which is why a distance computed from published airport coordinates is consistent worldwide. What that coordinate is not is your gate. The published point is a reference position for the aerodrome as a whole, so at a large airport the terminal you walk out of can sit a considerable distance from the coordinate the calculation used.
How does a distance figure become a flight time, a fuel number and a CO2 figure?
By assumption, at every step, and the assumptions are worth naming because they are what decides whether the output is usable. A generic tool has three inputs it does not have: the aircraft type, the load factor and the cabin class.
ICAO's Carbon Emissions Calculator methodology shows what a defensible version of that chain looks like. It takes the airport coordinates from ICAO Doc 7910, computes the great-circle distance, applies the fixed distance correction, identifies the aircraft actually scheduled on the city pair from the OAG database and maps it into one of 336 equivalent aircraft types in a fuel consumption database, weights the result by each type's departure frequency, then applies a passenger load factor and a passenger-to-cargo factor drawn from ICAO's own traffic and operational data to isolate the share of fuel attributable to passengers. Only then is the fuel figure multiplied by 3.16 to convert kilograms of jet fuel burned into kilograms of CO2. The user also selects a cabin class, because premium seating consumes more of the aircraft per passenger.
Read against that, an "average jet" fuel estimate on any generic calculator is a single-number stand-in for a distribution. It cannot know whether the route is flown by a narrowbody at high density or a widebody a third empty. Treat it as an order of magnitude. For anything that will be reported, offset or put in front of an employer, use the ICAO calculator and say which version of the methodology you used, since the methodology is versioned and dated.
Two limits are worth carrying over. ICAO's tool does not total a journey made up of different flight numbers, and tells users to calculate each leg separately and add them, which is a reminder that a connecting itinerary is not one distance problem. And the correction factor is an average, so it under-reads a day of heavy holding and over-reads a clean direct routing.
Which compensation distance band does your flight fall into?
This is the one use of a flight distance figure with money attached. Under Regulation (EC) No 261/2004, compensation for cancellation, denied boarding and long delay is banded by distance, and Article 7(4) states that "the distances given in paragraphs 1 and 2 shall be measured by the great circle route method". The regulation names the same geometry a distance calculator computes.
The EU amounts in Article 7(1) are EUR 250 for flights of 1,500 km or less, EUR 400 for intra-Community flights of more than 1,500 km and for all other flights between 1,500 and 3,500 km, and EUR 600 for everything else. The retained UK version of the same instrument carries sterling amounts instead. Article 7(1) was substituted by regulation 8(6)(a) of the Air Passenger Rights and Air Travel Organisers' Licensing (Amendment) (EU Exit) Regulations 2019/278, and the substituted text reads GBP 220 for all flights of 1500 kilometres or less, GBP 350 for all flights between 1500 and 3500 kilometres, and GBP 520 for all flights not falling under (a) or (b). There is no intra-Community category in the UK text at all, which has a consequence worth knowing: an intra-EU flight longer than 3,500 km sits in the top UK band at GBP 520 while the EU text still puts it in the middle one at EUR 400. The Aviation (Consumers) (Amendment) Regulations 2023/1370 later inserted the word 'delay' into Article 7(1) but left the amounts alone. The Civil Aviation Authority hosts the consolidated text, marked as version 3 of 3 and in force from 14 December 2023.
The measurement rule that decides most disputed cases is not in the text but in the case law. In Birgit Bossen and Others v Brussels Airlines SA/NV (Case C-559/16, judgment of 7 September 2017, on a reference from the Amtsgericht Hamburg), passengers who had flown Rome to Hamburg via Brussels and arrived late argued that the two legs should be added together, which would have pushed the journey over 1,500 km and into the higher band. The Court held that for air routes with connecting flights the concept of distance relates only to the distance between the first point of departure and the final destination, calculated by the great circle method, and that the greater distance actually covered because of the connection has no bearing on the compensation. Add the legs and you will overstate your band.
Two qualifications belong with any figure you read off a band. Article 7(2) lets the carrier halve the compensation where it re-routes you and you arrive within two, three or four hours of the original schedule depending on the band. And the extraordinary circumstances defence removes the obligation entirely where the carrier proves the disruption could not have been avoided even if all reasonable measures had been taken. Cite the right article: for a cancellation that is Article 5(3) in both texts, but in the UK retained version the equivalent defence for a long delay is Article 6(4), added by the 2023 regulations, and the UK text also carries a statutory definition of extraordinary circumstances at Article 2(o) that the EU text does not. These amounts sit in legislation and can be amended, so check the current consolidated text before quoting one, and check the airline's own stated distance for the route.
When a great-circle distance is the wrong number to use
Whenever the decision depends on the path rather than the endpoints. The failure mode is always the same: the figure is correct and the question was not a straight-line question.
- Working out fuel cost, emissions or range for a specific flight. The routing penalty and the aircraft type dominate, and neither is in the number.
- Comparing two itineraries with different numbers of stops. Straight-line distance between the first origin and the last destination is identical for a non-stop and a double connection. Compare block times and connection times instead.
- Anything involving a technical or fuel stop. Some long sectors are flown with an intermediate stop for payload or range reasons, and the great-circle figure conceals it entirely.
- Typing a city or metropolitan code. WAS, and any other metropolitan-area code, is not an airport. Enter the specific three-letter airport code, or better the four-letter ICAO indicator, when the distance has to be defensible.
- Small strips, private fields and heliports. Plenty of aerodromes have an ICAO indicator and no IATA code at all, because no commercial airline ever requested one. A tool keyed to IATA codes cannot find them.
- Any question about visas, transit or entry. Distance has no bearing on whether you need a transit visa or an entry authorisation. That is decided by nationality, route and the destination country's own rules.
The authoritative thing a distance calculator cannot tell you is whether your specific flight is entitled to compensation and at what amount. The distance is one input. Entitlement turns on the carrier, the route's connection to UK or EU jurisdiction, the length of the delay on arrival at the final destination, whether the carrier can establish extraordinary circumstances, and whether the itinerary was sold as a single booking. In the UK that determination sits with the Civil Aviation Authority and the airline's own complaints process; in the EU it sits with the national enforcement body of the relevant member state. Use the distance to know which band you are arguing about, then take the argument to the body that decides it.
At a glance
| Great-circle distance band | EU compensation (Reg. 261/2004 Art. 7(1)) | UK retained version | Re-routed arrival within |
|---|---|---|---|
| 1,500 km or less | EUR 250 | GBP 220 | 2 hours (halved) |
| More than 1,500 km within the EU | EUR 400 | No intra-Community category: GBP 350 up to 3,500 km, GBP 520 above it | 3 hours (halved) |
| 1,500 km to 3,500 km, other flights | EUR 400 | GBP 350 | 3 hours (halved) |
| Over 3,500 km, not intra-EU | EUR 600 | GBP 520 | 4 hours (halved) |
| How the distance is measured | Great circle route method, first departure to final destination, connecting airports disregarded (Art. 7(4); Case C-559/16) | ||
Frequently asked questions
Is the flight distance the same as the distance the plane flies?
No, and the difference is systematic rather than random. A great-circle figure is the shortest path across the surface between two coordinates, so it is a floor. Real tracks add distance for airway structure, departure and arrival procedures, wind routing, weather deviation and holding. ICAO's Carbon Emissions Calculator methodology adds a fixed correction of 50 km, 100 km or 125 km depending on the band before it works out fuel at all, and cites European work finding variation of up to 11 per cent against timetabled great-circle distance.
Which airport code should I enter, the three-letter or the four-letter one?
Enter the four-letter ICAO location indicator if you have it, because it identifies one aerodrome and nothing else. Three-letter IATA codes are assigned under IATA Resolution 763 at an airline's request, and IATA also issues them to metropolitan areas served by several airports, such as WAS for the Washington airports, and to rail and ferry stations that form part of an intermodal ticket. If the number has to stand up, the four-letter code removes that ambiguity.
For a flight with a connection, do I add the two legs together to find my compensation band?
No. In Birgit Bossen and Others v Brussels Airlines SA/NV (Case C-559/16, 7 September 2017) the Court of Justice held that for a route with connecting flights the distance relates only to the distance between the first point of departure and the final destination, calculated by the great circle method, and that the longer distance actually flown because of the connection has no bearing on the compensation. The claimants had flown Rome to Hamburg via Brussels. Adding the legs overstates the band, and the same measurement rule sits in Article 7(4) of the retained UK text.
Why does the same route take longer in one direction than the other?
Because ground speed is airspeed adjusted for the wind component, and long east-west routes sit in prevailing westerlies. Flight planning optimises for time and fuel rather than distance, so an aircraft will accept a longer track to use a favourable jet stream and will route around an unfavourable one. The great-circle distance is identical both ways; the block time in the timetable is not, and the timetable is the number to plan around.
