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.
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.
What does the bearing shown here mean, and why does it change during the flight?
The figure reported is the initial great-circle bearing — the compass course at the moment of departure, measured clockwise from true north. Along a great circle the heading changes continuously, because the route crosses each meridian at a different angle; only due-north/south tracks and the equator keep a constant bearing. A course of constant bearing is a rhumb line, which is easier to steer but longer than the great circle on most long-haul pairs. Navigation systems follow the great circle and update the required heading continuously.
How do you convert degrees-minutes-seconds coordinates into the decimal degrees Flight Distance Calculator needs?
Divide the minutes by 60 and the seconds by 3600, then add both to the whole degrees: 51° 28' 12" becomes 51 + 28/60 + 12/3600 = 51.4700. Apply the sign convention afterwards — north latitude and east longitude are positive, south latitude and west longitude are negative. Getting a sign wrong is the most common source of a wildly incorrect distance, since it mirrors the point to the opposite hemisphere. Heathrow's longitude, for example, must be entered as −0.4543, not 0.4543.
Does the Haversine formula still work for routes crossing the antimeridian or a pole?
Yes. The longitude difference enters only as sin²(Δλ/2), and that expression is periodic, so an unnormalised difference such as 269.6° yields exactly the same value as the equivalent −90.4°. Routes over the 180° meridian therefore need no special handling. Polar routes are equally safe too, because latitude never wraps. Haversine's real advantage over the older spherical law of cosines is its conditioning at very small separations, where the cosine form loses precision; the one case where haversine itself degrades is near-antipodal pairs, since as a approaches 1 the sqrt(1-a) term loses all significance.
Why is the midpoint reported here only an approximation of the true route midpoint?
The midpoint shown is the simple arithmetic average of the two latitudes and longitudes, which is a flat-plane construction rather than a point on the great circle. On short routes the two nearly coincide, but on long east–west or high-latitude routes the real halfway point sits noticeably closer to the pole than the averaged one, and the average breaks down entirely for pairs straddling the antimeridian. Treat it as a rough reference for diversion planning, not as a navigational waypoint.
What is the difference between airspeed and ground speed in the flight time estimate?
Flight Distance Calculator divides great-circle distance by the speed you enter, which treats that figure as ground speed — progress relative to the earth. Aircraft instruments report true airspeed, motion relative to the surrounding air mass, and ground speed equals true airspeed plus the along-track wind component. A 550 mph cruise in a 100 mph tailwind covers ground at 650 mph. For a realistic block time, enter an expected ground speed and add taxi, climb and descent allowances, since cruise speed is not held for the whole flight.
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 Calculator (Lat/Long)
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.