Flight Distance Calculator
Measuring Distance the Way Aircraft Actually Fly It
A straight line on a flat map is rarely the path an aircraft takes between two airports. Because the Earth is a sphere, the shortest route between any two points follows a curved path along a great circle — the same principle that makes a polar routing from New York to Tokyo shorter than a line drawn straight across a Mercator map would suggest. This calculator reproduces that geometry directly, converting two sets of coordinates into the true shortest-path distance a flight crew, dispatcher, or navigation system would actually plan around.
The Formula: Haversine Great-Circle Distance
The haversine formula is the standard method for computing great-circle distance from latitude and longitude, and it's what powers this calculator:
c = 2 × atan2(√a, √(1−a))
Distance = R × c, where R = 3,440.065 nautical miles (mean Earth radius)
The result converts automatically into nautical miles, kilometers, and statute miles, and if a ground speed is supplied, the calculator also derives estimated flight time — distance divided by speed, expressed in hours and minutes.
Where This Calculation Matters
Great-circle distance underpins far more than curiosity about how far apart two cities are. It's the basis for:
- Flight planning and fuel calculations — dispatchers use great-circle routes as the baseline distance before adding airway routing, wind correction, and reserves.
- Charter and private aviation quoting — operators estimate block time and cost from the direct-line distance between departure and destination.
- Range analysis — determining whether a given aircraft can complete a city pair non-stop, or whether a technical fuel stop is required.
- Great-circle mapping — understanding why polar and trans-oceanic routes curve the way they do on a globe versus a flat projection.
Because the haversine method accounts for the Earth's curvature directly from coordinates, it stays accurate at any distance — short domestic hops and intercontinental crossings alike — which is why it's the standard behind most flight-planning and mapping software.
Reference: Great-Circle Distances Between Major Hubs
| Route | Distance (nm) | Distance (km) |
|---|---|---|
| New York (JFK) – London (LHR) | 2,999 | 5,555 |
| Los Angeles (LAX) – Tokyo (HND) | 4,779 | 8,850 |
| Dubai (DXB) – Singapore (SIN) | 3,318 | 6,146 |
| Sydney (SYD) – Los Angeles (LAX) | 6,478 | 12,000 |
| Paris (CDG) – New York (JFK) | 3,145 | 5,825 |
How to Use This Calculator
- Enter the latitude and longitude of the departure point. Coordinates can be found on any airport's official chart or a mapping service — latitude ranges from −90° to 90°, longitude from −180° to 180°.
- Enter the latitude and longitude of the destination point in the same format.
- Optionally, enter an expected ground speed in knots to have the calculator estimate flight time alongside distance.
- Select Calculate to see the distance in nautical miles, kilometers, and statute miles, along with the full haversine working.
Related Calculations
Once you know the distance for a route, two calculators extend the analysis naturally: use the Aircraft Fuel Burn Calculator to estimate how much fuel that distance will consume, and the Fuel Reserve Calculator to add the regulatory reserve on top of trip fuel.
Principles of Great Circle Navigation in Aviation
A flight distance calculator computes the shortest spatial geodesic distance connecting two geographical airport coordinates across the curved surface of Earth. In commercial aviation flight planning, aircraft route along Great Circle Routes (Orthodromes) — the intersection of the Earth's spherical surface with a plane passing directly through the center of the planet.
The Haversine Great Circle Formula
For two airports with latitude and longitude coordinates (φ1, λ1) and (φ2, λ2) expressed in radians, the spherical central angle Δσ is computed via the Haversine Formula:
c = 2 × arcsin(√a) = 2 × atan2(√a, √(1 - a))
Distance (d) = R × c
Where R is the Volumetric Mean Radius of the Earth (R ≈ 6,371.0 km ≈ 3,958.8 statute miles ≈ 3,440.0 nautical miles).
Great Circle vs. Rhumb Line Routes
- Great Circle (Shortest Distance, Curved Line on Maps): The compass bearing changes continuously as the aircraft flies along the arc (e.g., flying from New York to London arcs northward over Newfoundland and Iceland).
- Rhumb Line / Loxodrome (Constant Compass Heading): A straight line on a standard Mercator projection chart, but covers a significantly longer physical distance over transoceanic flights.
Aviation Units of Measure Comparison
| Unit of Distance / Speed | Standard Abbreviation | Conversion to Kilometers / Metric |
|---|---|---|
| Nautical Mile (Aviation Standard) | NM / nmi | 1 NM = 1,852 meters (1.852 km = 1.1508 statute miles) |
| Statute Mile (Land Standard) | mi | 1 mi = 1,609.344 meters (1.609 km) |
| Knot (Airspeed / Groundspeed) | kt / kn | 1 Knot = 1 Nautical Mile per hour (1.852 km/h) |
Step-by-Step Worked Calculation Example
Example: Calculating Great Circle Flight Distance from JFK (New York) to LHR (London)
Problem: Calculate the great circle flight distance between John F. Kennedy International Airport, NY (JFK: 40.6413° N, 73.7781° W) and London Heathrow, UK (LHR: 51.4700° N, 0.4543° W) in Nautical Miles and Kilometers.
Step 1: Convert coordinates from decimal degrees to radians:
φ1 (JFK) = 40.6413° × (π/180) = +0.70932 rad | λ1 = -73.7781° × (π/180) = -1.28767 rad
φ2 (LHR) = 51.4700° × (π/180) = +0.89832 rad | λ2 = -0.4543° × (π/180) = -0.00793 rad
Δφ = 0.89832 - 0.70932 = 0.18900 rad | Δλ = -0.00793 - (-1.28767) = +1.27974 rad
Step 2: Apply the Haversine formula:
sin²(Δφ/2) = sin²(0.0945) = 0.008904
sin²(Δλ/2) = sin²(0.63987) = 0.35649
a = 0.008904 + [ cos(0.70932) × cos(0.89832) × 0.35649 ]
a = 0.008904 + [ 0.75881 × 0.62293 × 0.35649 ] = 0.008904 + 0.16850 = 0.17740
c = 2 × arcsin(√0.17740) = 2 × arcsin(0.42119) = 2 × 0.43486 = 0.86972 radians
Step 3: Multiply by Earth radius:
Distance in Kilometers = 6,371.0 km × 0.86972 = 5,541.0 km
Distance in Nautical Miles = 3,440.0 NM × 0.86972 = 2,991.8 NM (3,443.0 Statute Miles)
Conclusion: The great circle flight distance is approx. 2,992 Nautical Miles (5,541 km).
Real-World Flight Plan Routing Offsets
Due to standard airway corridors, oceanic North Atlantic Tracks (NAT tracks), weather circumvention, and restricted airspace, actual aircraft flight distances typically exceed ideal theoretical Great Circle distances by 5% to 8%.
ETOPS Operations and Transoceanic Flight Corridors
Commercial twin-engine passenger aircraft (such as the Boeing 787 Dreamliner and Airbus A350) operate under strict ETOPS (Extended-range Twin-engine Operational Performance Standards) regulations.
An ETOPS-180 rating permits an airliner to fly transoceanic flight routes where every point along the flight path is within 180 minutes of flying time on a single operating engine from a suitable diversion emergency landing airport. Flight planning dispatchers construct routes that balance shortest Great Circle distance against ETOPS diversion radii and jet stream tailwind velocity corridors.
Transpolar Navigation Routes
For long-haul intercontinental routes between North America and Asia (e.g., Chicago to Hong Kong), Great Circle arcs pass directly over the Arctic polar ice cap, shaving over 2,000 nautical miles and 4 hours of flight time compared to traditional transpacific routes.
Vincenty Geodesic Formula on the WGS-84 Ellipsoid
While spherical formulas assume a perfect sphere, the US Department of Defense WGS-84 Ellipsoid Standard models Earth's equatorial bulge (equatorial radius a = 6,378.137 km vs polar radius b = 6,356.752 km), computing distance via Vincenty's iterative algorithm with millimeter geodetic accuracy.