Flight Distance Calculator
Free Flight distance Calculator for distance. Enter your stats to get performance metrics and improvement targets. See charts, tables, and visual results.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Flight Distance Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: d = R x 2 x atan2(sqrt(a), sqrt(1-a)) where a = sin(dLat/2)^2 + cos(lat1) x cos(lat2) x sin(dLon/2)^2
Worked example โ Distance: 3,461 miles (5,570 km) | Flight time: ~6h 17m at 550 mph
Formula
d = R x 2 x atan2(sqrt(a), sqrt(1-a)) where a = sin(dLat/2)^2 + cos(lat1) x cos(lat2) x sin(dLon/2)^2
The Haversine formula calculates the great-circle distance between two points on a sphere. R is the Earth radius (6,371 km), dLat and dLon are the differences in latitude and longitude in radians, and the result is the shortest distance over the Earth surface.
Worked Examples
Example 1: New York (JFK) to London (Heathrow)
Problem:Calculate the flight distance from JFK (40.6413N, 73.7781W) to Heathrow (51.4700N, 0.4543W) at 550 mph.
Solution:Using Haversine formula: dLat = 51.47 - 40.64 = 10.83 degrees dLon = -0.45 - (-73.78) = 73.33 degrees a = sin(5.415)^2 + cos(40.64) x cos(51.47) x sin(36.665)^2 c = 2 x atan2(sqrt(a), sqrt(1-a)) Distance = 6371 x c = 5,570 km = 3,461 miles Flight time = 3,461 / 550 = 6.29 hours = 6h 17m
Result:Distance: 3,461 miles (5,570 km) | Flight time: ~6h 17m at 550 mph
Example 2: Los Angeles to Sydney
Problem:Calculate the flight distance from LAX (33.9425N, 118.4081W) to Sydney (33.8688S, 151.2093E).
Solution:Using Haversine formula: dLat = -33.87 - 33.94 = -67.81 degrees dLon = 151.21 - (-118.41) = 269.62 degrees Great circle distance = 12,051 km = 7,488 miles Flight time at 550 mph = 7,488 / 550 = 13.61 hours = 13h 37m
Result:Distance: 7,488 miles (12,051 km) | Flight time: ~13h 37m at 550 mph
Frequently Asked Questions
How is flight distance calculated between two points?
Flight distance between two points on Earth is calculated using the Haversine formula, which determines the great-circle distance between two points on a sphere given their latitude and longitude coordinates. The great-circle distance represents the shortest path between two points on the surface of a sphere, which is why flight paths often appear curved on flat maps. The formula accounts for the curvature of the Earth by converting coordinates to radians and using trigonometric functions to compute the central angle between the two points. This distance is then multiplied by the Earth radius of approximately 6,371 kilometers to get the actual distance.
Why do flight paths appear curved on maps?
Flight paths appear curved on standard Mercator projection maps because the shortest distance between two points on a sphere is a great circle, not a straight line on a flat map. Mercator maps distort the Earth by stretching areas near the poles, making a straight line on the map actually longer than the curved great-circle route. For example, a flight from New York to Tokyo often flies over Alaska and the Aleutian Islands, which looks like a huge detour on a flat map but is actually the shortest route. On a globe, this path would appear as a direct arc. This is why polar routes are common for flights between North America and Asia.
What is the difference between statute miles, nautical miles, and kilometers?
Statute miles are the standard miles used in everyday measurement in the United States, equal to 5,280 feet or 1.609 kilometers. Nautical miles are the standard unit used in aviation and maritime navigation, defined as one minute of arc of latitude along any meridian, approximately 1.852 kilometers or 1.151 statute miles. Kilometers are the metric unit of distance used by most countries worldwide. Aviation primarily uses nautical miles for distance and knots (nautical miles per hour) for airspeed because these units relate directly to the geographic coordinate system, making navigation calculations more straightforward for pilots and air traffic controllers.
How accurate is the Haversine formula for calculating flight distances?
The Haversine formula is accurate to within approximately 0.3% for most practical purposes, which translates to about 10-20 miles on a transatlantic flight. The small error arises because the Earth is not a perfect sphere but an oblate spheroid, slightly flattened at the poles and bulging at the equator. For higher precision, the Vincenty formula accounts for the ellipsoidal shape of the Earth and provides accuracy to within 0.5 millimeters. However, actual flight distances are typically longer than great-circle calculations because aircraft must follow designated air traffic corridors, avoid restricted airspace, navigate around weather systems, and account for wind patterns.
How does wind affect actual flight time compared to calculated time?
Wind can significantly affect actual flight time versus calculated estimates. Jet streams, which are fast-flowing air currents at typical cruising altitudes of 30,000-40,000 feet, can reach speeds of 150-250 mph. A strong tailwind can reduce a transatlantic flight from New York to London by over an hour, while a headwind on the return trip can add more than an hour. This is why eastbound transatlantic flights are typically shorter than westbound ones. Airlines account for wind forecasts in their flight planning to optimize fuel consumption and arrival times. Seasonal wind pattern changes can alter preferred routing between the same city pairs throughout the year.
References
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎFlight Time Calculator
Calculate flight time with inputs, formulas, and instant results.
๐งฎRoute Distance Between Coordinates Calculator
Calculate route distance between coordinates with inputs, formulas, and instant results.
๐งฎDriving Distance Calculator
Calculate driving distance with inputs, formulas, and instant results.
๐งฎSpeed Distance Time Calculator
Calculate any of speed, distance, or time when given the other two values.
๐งฎCarpool Savings Calculator
Calculate how much you save by carpooling based on distance, fuel costs, and passengers.
๐งฎFrequent Flyer Miles Calculator
Calculate how many frequent flyer miles you need for a free flight by airline and route.