What is a flight distance calculator?

A flight distance calculator finds the distance between airports, or between any two points on Earth, along the shortest surface path: the great-circle distance. You give it two airports, or two pairs of latitude and longitude coordinates, and it returns the air distance in kilometres, miles and nautical miles, an estimated flight time, the initial bearing and the midpoint of the route. People arrive at it with plain questions. How far is it by plane from here to there? What is the flight distance between cities I am choosing between? How many flight miles is this trip? An air distance calculator, a flight miles calculator and a distance between airports tool are three names for the same job, and this page answers all of them with one transparent calculation whose inputs and method are stated openly, so you can reproduce every figure it shows.

The number matters more often than people expect. Travellers use it to judge whether a non-stop flight will feel short or endless, to compare two destination options, to estimate frequent flyer mileage, and to sanity-check a scheduled flight time that looks too good or too bad to be true. Pilots, dispatchers and geography students use the same great-circle maths for planning and study. And anyone who has stared at a route map and wondered why the line bends towards the North Pole is really asking a question about great circles, which this guide answers in full below.

This page is built around a worked example so you can verify everything before trusting it with your own trip. The calculator opens pre-filled with New York JFK to Los Angeles LAX, a great-circle distance of about 3,974 kilometres. The guide works that example through the haversine formula step by step, with the actual numbers, and the results panel recomputes a table of famous routes live, using the same code as the calculator itself. If the example checks out by hand, the method is doing what it claims, and every other pair of points follows the same maths. For the time side of the same trip, pair this page with our Flight Time Calculator, which converts a departure time and duration into a local arrival time.

How this flight distance calculator works

The engine does the calculation the way a navigator would, in four steps. First, it looks up the two points: either the published latitude and longitude of the airports you picked from the built-in list of 121 major world airports, or the exact coordinates you typed in manual mode. Second, it applies the haversine formula to those coordinates on a spherical Earth of radius 6,371 kilometres, which gives the central angle between the points and then the arc length: the great-circle distance in kilometres. Third, it converts that distance into statute miles (kilometres times 0.621371) and nautical miles (kilometres times 0.539957), and works out two more facts about the same arc: the initial bearing, the compass direction you set off in, and the spherical midpoint, the point halfway along the arc. Fourth, it estimates a flight time from the distance using a stated model, described honestly in its own section below.

Searching is built for speed. Start typing any part of a city name, a country or an IATA code, such as LHR, Tokyo or Canada, and the list filters as you type; click a result to select it. The swap button exchanges origin and destination so you can check the return direction, which has the same distance but a different initial bearing and, in the real world, often a different flight time. If your airport is not in the list, or you want the distance between two places that are not airports at all, switch to manual coordinates and enter the two latitude and longitude pairs directly.

Everything runs in your own browser. No airport, city or coordinate you type is sent anywhere, stored anywhere or attached to any account, because there is no account and no server-side step in the calculation at all. The page works the same offline as online once it has loaded, which is as it should be for a calculation this well defined.

The haversine formula, worked step by step

The haversine formula is the standard way to find the great-circle distance between two points given their latitudes and longitudes. In words: take the difference in latitude and the difference in longitude, combine them with the cosines of the two latitudes to allow for the way longitude lines squeeze together towards the poles, and the result is the central angle between the points, the angle at the centre of the Earth. Multiply that angle, in radians, by the Earth radius and you have the surface distance. The formula is old, it was published for navigators in the nineteenth century, and it stays accurate for everything from a short hop to a near-antipodal route.

Worked example: New York JFK to Los Angeles LAX. JFK sits at latitude 40.6413, longitude -73.7781. LAX sits at latitude 33.9416, longitude -118.4085. The latitude difference is -6.6997 degrees and the longitude difference is -44.6304 degrees. Feeding those differences and the two latitudes into the haversine formula gives a haversine value of about 0.09417, which converts to a central angle of about 0.62382 radians, or 35.74 degrees. Multiply by the Earth radius used on this page, 6,371 kilometres: 0.62382 times 6,371 is about 3,974 kilometres. Convert: times 0.621371 gives about 2,470 miles (2,469.5 before rounding), and times 0.539957 gives about 2,146 nautical miles. The initial bearing works out at about 274 degrees, just north of due west, and the midpoint of the arc sits at about 39.46 degrees north, 97.14 degrees west, over Kansas. Enter JFK and LAX above and the calculator shows the same figures, because it runs exactly this calculation.

One honest note about the Earth model. The real Earth is not a perfect sphere: it bulges slightly at the equator. A spherical calculation with a mean radius of 6,371 kilometres is accurate to within about half a percent for almost every route, which is a few kilometres on a transcontinental flight and far less than the difference between the great-circle path and the route a plane actually flies. Professional navigation systems use a more detailed flattened-Earth model, which is why their figures can differ from this page by a few kilometres on the longest routes. This page states its model openly rather than hiding it, and the difference is disclosed wherever it could matter.

Famous routes and their great-circle distances

The table below gives the great-circle distance for famous routes, calculated with this page method from the published airport coordinates in its own database. The live results panel above recomputes a selection of these routes every time the page loads, using the same engine, so the table and the calculator cannot drift apart. Treat the estimated flight time column as the page model only: distance divided by 800 kilometres per hour, plus 30 minutes. Real scheduled times vary by direction, airline and season.

RouteDistance (km)Distance (miles)Distance (nmi)Initial BearingEstimated Time (model)
New York (JFK) to Los Angeles (LAX)3,9742,4702,146274 degrees (W)5h 28m
London (LHR) to New York (JFK)5,5403,4422,991288 degrees (WNW)7h 26m
New York (JFK) to Paris (CDG)5,8333,6253,15053 degrees (NE)7h 48m
Toronto (YYZ) to London (LHR)5,7073,5463,08252 degrees (NE)7h 38m
Chicago (ORD) to London (LHR)6,3453,9423,42648 degrees (NE)8h 26m
Delhi (DEL) to Mumbai (BOM)1,137707614203 degrees (SSW)1h 55m
Los Angeles (LAX) to Tokyo (HND)8,8135,4764,758306 degrees (NW)11h 31m
Singapore (SIN) to Sydney (SYD)6,2943,9113,399299 degrees (WNW)8h 22m
Sao Paulo (GRU) to Madrid (MAD)8,3805,2074,52532 degrees (NNE)10h 58m
Singapore (SIN) to London (LHR)10,8816,7615,875322 degrees (NW)14h 06m
Dubai (DXB) to New York (JFK)11,0016,8365,940323 degrees (NW)14h 15m
Sydney (SYD) to Los Angeles (LAX)12,0617,4946,51261 degrees (ENE)15h 35m
Singapore (SIN) to New York (JFK)15,3399,5318,282357 degrees (N)19h 40m

Two patterns in the table are worth understanding. First, the initial bearings surprise people: Singapore to New York sets off almost due north, at 357 degrees, because the great circle crosses the high Arctic, and Sydney to Los Angeles sets off east-north-east even though the route crosses the Pacific. Second, distance and scheduled time do not scale perfectly together, because winds help one direction and hurt the other. The distance between two airports is the same both ways; the flight time is not. If you are planning around arrival times rather than distances, the Time Difference Calculator and the Flight Time Calculator cover the clock side of the same trip.

Reading your result: distance, bearing and midpoint

The headline result is the great-circle distance in kilometres, the unit most of the world plans in. Underneath it, three figures restate the same distance and its time estimate: statute miles, for readers in the United States; nautical miles, the unit aviation actually works in; and the estimated flight time from the page model. None of these is a different measurement: they are one distance, converted. If two of them ever seemed to disagree, the conversion factors above are where to check, and they are printed here precisely so you can.

The breakdown rows let you audit the whole calculation. They show the origin and destination with their coordinates, the distance again in all three units, the initial bearing in degrees and as a sixteen-point compass direction, the midpoint with its coordinates, and the flight time model with its assumptions spelled out. The bearing deserves one warning: it is the direction you set off in, not a heading you hold. On a great circle the bearing changes continuously, because the shortest path curves relative to the compass rose. A flight from New York to Tokyo starts by heading north-west and ends by arriving from the north-east, all while following one unbroken shortest path.

The midpoint is the point halfway along the surface arc, calculated on the sphere rather than by averaging the two latitudes and longitudes. On short routes the two methods nearly agree. On long routes they can differ by hundreds of kilometres, because the arc bulges towards the nearer pole. The midpoint of New York to Los Angeles sits over Kansas, which matches intuition; the midpoint of Singapore to New York sits at about 70 degrees north, deep in the Arctic, which usually does not. That single figure explains most of what looks strange about long-haul route maps.

The flight time estimate and its model

This page estimates flight time with a deliberately simple, fully stated model: take the great-circle distance, divide it by an assumed average airborne speed of 800 kilometres per hour, and add a fixed 30 minutes for taxi, climb and descent. Eight hundred kilometres per hour is a fair average ground speed for a jet airliner over a whole flight once climb, descent and routing are averaged in, even though cruising speed at altitude is higher, typically around 900 kilometres per hour. The 30 minute addition stands in for the slow ends of the flight, which a pure cruise-speed division would ignore.

On many routes the model lands reassuringly close to reality. New York to Los Angeles gives 5 hours 28 minutes against typical scheduled times of about five and a half to six hours westbound. London to New York gives 7 hours 26 minutes, inside the usual 7 to 8 hour scheduled range. Treat those agreements as a sign the model is sane, not as a promise. The model knows nothing about your aircraft, your airline routing, the winds on your day, or congestion at either end. Westbound transatlantic flights fight the jet stream and can run an hour longer than the same route eastbound, which rides it. No distance-only model can see any of that.

So use the estimate for what it is good for: judging the shape of a trip, comparing routes, and spotting a scheduled time that deserves a second look. For anything that depends on the real number, a connection, a pickup, a meeting the same evening, use the airline published time, and check the local arrival with our Flight Time Calculator. Travellers budgeting a trip around the flight can also pair the distance with the Tipping Guide Calculator for the destination and the Per Diem Calculator for daily allowances.

Why great circles curve on flat maps

A great circle is the largest circle that can be drawn around a sphere through two points and the centre of the Earth, and the shorter arc of it is the shortest surface path between the points. On the globe itself, that path looks and is straight in the only sense that matters on a surface: it never turns left or right. It only looks curved on flat maps, because every flat projection of a sphere has to stretch something, and the common Mercator projection stretches the high latitudes enormously. A route passing near the pole is drawn as a tall arc across the stretched top of the map.

The alternative, a line of constant compass bearing, is called a rhumb line. It looks straight on a Mercator map and is easy to steer, but on the globe it spirals and is always longer than the great circle, sometimes by hundreds of kilometres. Early ocean navigators used rhumb lines because they were simple; modern flight planning uses great circles because fuel is money. That is why a flight from North America to Asia climbs towards Alaska and Siberia, why Europe to Japan routes cross the high north, and why the Singapore to New York great circle, the longest in the table above, passes within a few hundred kilometres of the North Pole.

There is a neat check you can do with this calculator. Pick two cities and look at the midpoint. If the midpoint latitude is much higher than both endpoints, in the northern hemisphere, your route is a polar-bulging great circle and will draw as a dramatic arc on a flat map. If the midpoint sits between the endpoints in latitude, the route will look almost straight. The midpoint figure in the results is not decoration: it is the fastest way to picture the true shape of any route.

Kilometres, miles, nautical miles and knots

Three distance units appear on this page because three different audiences read it. The kilometre, 1,000 metres, is the everyday unit for most of the world. The statute mile, about 1.609 kilometres, is the road unit in the United States and the unit most American travellers think in. The nautical mile is exactly 1.852 kilometres, and it is not an arbitrary survivor: it is defined from the Earth itself, as one minute of arc of latitude. A full circle of the Earth is 360 degrees of 60 minutes, 21,600 nautical miles, which is why navigators love it: a distance in nautical miles converts straight into degrees and minutes on a chart with no calculator at all.

Aviation runs on nautical miles and their speed counterpart, the knot, one nautical mile per hour. When a pilot or a flight plan quotes a route length or a ground speed, it is in those units, and the nautical mile figure on this page is the one that matches professional documents. Frequent flyer programmes, confusingly, award statute miles in most schemes, whatever the name suggests, so the miles figure is the one to compare against a programme estimate. Showing all three side by side, with the conversion factors stated in this guide, removes the guesswork about which figure a document is quoting.

One conversion warning: never mix the two miles. A route of 2,146 nautical miles is 2,470 statute miles, a difference of more than 300 miles on a single transcontinental trip. Many arguments about flight distance between cities turn out, on inspection, to be one person quoting nautical miles and the other quoting statute miles. This page labels every figure with its unit, every time, for exactly that reason.

Using manual coordinates for any two points

The airport list covers the routes most people ask about, but the Earth has more than 121 interesting points. Manual mode accepts any two latitude and longitude pairs in decimal degrees, the format every map service and GPS device uses. The rules are simple: latitude runs from -90 at the South Pole to 90 at the North Pole, longitude runs from -180 to 180, and you use a minus sign for south latitudes and west longitudes. Sydney is about -33.94, 151.18. New York is about 40.64, -73.78. Cape Town is about -33.97, 18.60. Get the signs right and the calculator handles the rest, including routes that cross the equator, the prime meridian or the date line.

Manual mode turns the page into a general air distance calculator: the distance between two towns with no airport, between a city and a landmark, between two points on a trek, or between the ends of a planned ferry or shipping leg, since the great-circle maths is identical on sea and in the air. It is also the honest way to check this page: type the published coordinates of any two airports yourself instead of picking them from the list, and you should get the same distance the list produces, because the list stores nothing but those published coordinates.

Precision is worth one sentence. Coordinates given to four decimal places fix a point to within about 11 metres, far finer than the size of an airport, so rounding in the fourth decimal cannot move a result by more than a few metres. If two sources give slightly different coordinates for the same airport, one using the airfield reference point and another a terminal, expect results to differ by a kilometre or so on the longest routes. That is a difference in inputs, not an error in the maths, and it is why this page names its coordinate source in the references below. Trip planners counting days rather than kilometres may also like the Countdown Timer and the Working Days Calculator for the calendar side of a journey.

What this calculator cannot do

Honesty about limits is part of the tool. First and most important: the great-circle distance is the shortest surface path, not the route actually flown. Real flights follow airways and assigned routings, avoid restricted airspace and bad weather, sequence into busy airports, and are pushed or held back by winds. The flown distance is typically a few percent longer than the figure here, and on a windy day the flown time can differ from the estimate by an hour or more. Second, the flight time is a rough model estimate, stated openly above, not a schedule, a prediction or a live status. This page does not look up real flights, real timetables or delays, and it cannot tell you whether a specific flight is on time.

Third, the calculation treats the Earth as a sphere of radius 6,371 kilometres. That is accurate to within about half a percent, but professional systems using a flattened-Earth model can differ by a few kilometres on very long routes, and figures quoted between city centres rather than airports can differ by tens of kilometres: the often-quoted London to New York figure of about 5,570 kilometres is a city-centre measurement, while the airport-to-airport figure here is about 5,540 kilometres. Neither is wrong; they measure between different points, and this page always measures between the airports or coordinates you gave it. Fourth, this is not a road tool: driving distance is always longer and needs a directions service.

What the page does guarantee is the calculation itself: given two points, the great-circle distance, bearing and midpoint are computed by the standard haversine method from the stated coordinates, with no hidden adjustments, no rounding tricks and no data leaving your browser. Treat the output as a careful planning figure, compare it freely against the sources below, and use airline published times for anything that depends on the real day of travel.

Sources and References

Every worked figure in this guide was calculated with this page own stated method, the haversine calculation described above, from the published airport coordinates stored in the page, so you can reproduce each one exactly by entering the same airports or coordinates above. All seven sources above were verified as reachable (HTTP 200) by direct request when this page was published, and exactly seven sources are listed. Two disclosures on sources: the OurAirports open data download and the Great Circle Mapper site, both checked while the airport database was being cross-checked, did not answer a direct request from our checker (the requests timed out), so neither is listed as a formal source here; the airport position cross-check role is covered instead by SkyVector and the FAA, which both answered HTTP 200. Airport coordinates for New York JFK, Los Angeles LAX and London Heathrow were additionally cross-checked against Great Circle Mapper data retrieved through web search, and the values used (JFK 40.6413, -73.7781; LAX 33.9416, -118.4085; LHR 51.4700, -0.4543) agree with the published positions within normal rounding.