Use this calculator to estimate the great-circle (as-the-crow-flies) flight distance between two airports using IATA airport codes.
How this air flight distance calculator works
This page computes flight distance using a geometric method called the great-circle distance. Since Earth is roughly spherical, the shortest path between two points is not a straight line on a flat map. Instead, it is an arc across the globe.
When you enter two airport codes (for example, JFK and LHR), the calculator looks up latitude and longitude coordinates for each airport and applies the Haversine formula. The output includes distance in kilometers, miles, and nautical miles, plus an estimated travel time using your selected cruise speed.
Why calculated distance and real flight distance are different
The number produced here is an estimate of the shortest possible route over Earth’s surface. Real flights can be longer for operational reasons:
- Air traffic control routing and airways
- Weather systems and jet stream optimization
- Military airspace restrictions
- Departure and arrival procedures near airports
- Holding patterns and reroutes
In practice, the flown route can be a few percent to sometimes much more than the great-circle path, depending on the day and region.
Understanding the distance units
Kilometers (km)
Kilometers are standard in most countries and useful for general comparisons and planning.
Miles (mi)
Statute miles are common in the United States and can be easier for travelers used to U.S. road and travel distances.
Nautical miles (nm)
Nautical miles are the aviation and maritime standard. Pilots, dispatchers, and flight planning tools commonly use this unit.
Estimating flight time the smart way
The calculator divides distance by average cruise speed to estimate airborne time. Keep in mind this does not include:
- Taxi-out and taxi-in time
- Takeoff climb and descent segments
- Gate delays or congestion
- Strong headwinds or tailwinds
For a quick planning rule, add 30 to 60 minutes to short flights and 45 to 90 minutes to long-haul flights to approximate total block time.
Use cases for this calculator
- Comparing alternate departure or arrival airports
- Estimating travel time for business trips
- Planning multi-city itineraries
- Studying global geography and route patterns
- Creating rough carbon impact estimates
FAQ
Can I use city names instead of airport codes?
This tool is optimized for IATA codes to avoid ambiguity. Many cities have multiple airports, so codes provide cleaner results.
What if my airport is not in the list?
The built-in dataset includes many major airports worldwide. If your airport is missing, the calculator will return a validation message.
Is this suitable for exact airline scheduling?
No. It is best for planning and estimation. Airline operations use detailed route planning systems, winds aloft forecasts, aircraft performance data, and regulatory constraints.
Final thoughts
An air distance calculator is a simple but powerful tool: it turns airport codes into practical numbers you can use for trip planning, budgeting, and timing. Try a few routes, compare one-way vs. round-trip distances, and you’ll quickly build an intuition for how far global destinations really are.