Flight Distance Calculator: Find the Distance Between Any Two Cities

Updated October 3, 2026 · 9 min read · Checked against official sources · Editorial policy

View of an aircraft wing above the clouds at sunset

"How far is it?" sounds like a simple question until you try to answer it for two airports on opposite sides of the globe. A ruler on a flat map gives you the wrong number, a road-trip mindset gives you the wrong number, and even two different flight trackers can disagree by a few miles depending on rounding. Here is how distance between cities is actually calculated, why the flight path looks bent on a map, and how to use that number for something useful.

Straight-line distance is not driving distance

When people ask for the distance between two cities, they usually mean one of three things: the straight line through the air, the distance a car would drive, or the distance a plane actually flies once you account for air traffic routing and weather. A flight distance calculator answers the first question — the direct, no-detours distance — which is the number airlines use for scheduling, mileage programs and fuel planning.

That straight line is not actually straight once you draw it on a page, and that is the part that confuses most people the first time they see it.

Why the "straight line" looks curved on a map

The Earth is a sphere (close enough, for our purposes), but most maps you look at are flat projections of that sphere. Flattening a globe always distorts something — usually shape, area, or straight lines. The shortest path between two points on a sphere is called a great-circle route, and when you plot that path on a flat map, it often appears as a curve bowing toward the poles.

This is why a flight from New York to Tokyo is often shown arcing up over Alaska and Russia rather than cutting a straight diagonal across the Pacific the way it looks on a typical world map. The curved line is actually shorter in real distance than the "straight" diagonal would be — the map is lying to you, not the flight planner.

View of an aircraft wing above the clouds at sunset
Great-circle routes often look curved on a flat map but are the shortest path on a sphere.

The haversine formula, in plain language

Under the hood, most flight distance calculators use something called the haversine formula. You do not need to memorize it, but it is worth understanding what it does: it takes the latitude and longitude of two points, treats the Earth as a sphere with a known average radius, and works out the angle between the two points as seen from the planet's center. Multiply that angle (in radians) by the Earth's radius, and you get the great-circle distance.

The formula accounts for the fact that a degree of longitude covers a different real-world distance depending on how close you are to the equator or the poles — lines of longitude squeeze together near the poles, so the math has to adjust for latitude. That is the whole trick. Everything else is just plugging coordinates into the equation.

A worked example

Say you want to estimate the distance between a hypothetical "Airport A" at roughly 40.6°N, 73.8°W and "Airport B" at roughly 51.5°N, 0.05°W — coordinates in the ballpark of New York and London, picked here only to illustrate the method with round example numbers. Running those coordinates through a haversine calculation gives a great-circle distance of approximately 3,460 miles (about 5,570 kilometers) in this illustrative example. A flight distance calculator does this instantly: paste in two airport codes, and it looks up the coordinates and runs the formula for you.

From that distance, you can make a rough flight-time estimate too. A typical long-haul cruising speed is often approximated at 500–550 miles per hour for planning purposes, so 3,460 miles suggests a flight time in the range of 6.5 to 7 hours before adding time for taxiing, climbing, and descending — again, a hypothetical estimate, not a quoted schedule time. Our travel time calculator can help you turn a distance estimate like this into a full door-to-door journey plan once you add layovers and ground transport.

Why the number matters beyond curiosity

Flight distance drives more than trivia. Airlines price some fares by distance bands, loyalty programs award miles based partly on distance flown, and your own trip planning benefits from knowing whether a "quick hop" is actually 300 miles or 1,300 miles. If you are trying to estimate how many frequent flyer miles or points a trip might earn, start with the great-circle distance and check it against our miles calculator, which is built specifically for that kind of estimate.

Distance versus route distance

One nuance worth flagging: the great-circle distance is the theoretical minimum. Real flights rarely fly it exactly. Air traffic control corridors, restricted airspace, jet streams and weather can add anywhere from a few percent to a meaningful detour on the actual flown path. A flight distance calculator gives you the baseline number — useful for comparisons and estimates — not necessarily the exact mileage logged by a specific flight on a specific day.

Comparing cities fairly

A common use of a flight distance calculator is comparing options: is it shorter to fly from your home city to Destination A or Destination B? Because the tool uses the same formula for every pair of coordinates, you get an apples-to-apples comparison that a flat map simply cannot give you reliably, especially for routes that cross an ocean or a pole region.

Nautical miles, statute miles, and kilometers

Aviation has its own favorite unit: the nautical mile, which is based on one minute of latitude and equals about 1.15 statute miles or roughly 1.852 kilometers. Pilots, air traffic control, and official flight planning documents typically use nautical miles, while the distance a consumer-facing calculator shows you is usually converted into statute miles or kilometers for readability. If a number looks unexpectedly larger or smaller than you expected, check which unit is being used before you assume the calculator is wrong — a distance quoted in nautical miles will look smaller than the same distance in kilometers, and larger than the same distance in statute miles would suggest at a glance, simply because the units differ.

How airports complicate "distance between two cities"

Large metro areas often have more than one commercial airport, and smaller cities sometimes get served by an airport that is technically in a neighboring town. London has several airports spread across a wide radius; so does New York, Tokyo, and Paris. If you calculate distance using the wrong airport code for one end of the trip, you can end up with a number that is off by tens of miles — not enough to matter for a transcontinental flight, but potentially significant for a short regional hop where every extra few minutes of flight time shows up in the fare and the schedule. Always double-check the three-letter airport code before trusting the result for a short or regional route.

Using distance to sanity-check a quoted flight time

If an airline's schedule shows a flight time that seems unusually short or unusually long for the distance involved, running the great-circle distance through a quick speed-and-time estimate can tell you whether something is worth investigating — a strong tailwind can genuinely shorten a flight, and a long way around restricted airspace can genuinely lengthen one, but a number that is wildly out of proportion to the straight-line distance is worth a second look before you book a tight connection around it.

Quick checklist before you trust a distance number

  • Confirm you are comparing great-circle distance, not driving or routed flight distance.
  • Double-check the airport codes — a city can have more than one airport, often on opposite sides of town.
  • Use the distance as an input for time and points estimates, not as a guaranteed flight path length.
  • Remember that units matter: miles and kilometers differ by roughly 1.609, so confirm which one you're reading.
  • Cross-check a surprising result with a second source before you rely on it for a decision.

Frequently asked questions

Why does a flight path look curved when the distance is called a "straight line"?

Because the shortest path on a sphere is a great circle, and flattening the globe onto a map distorts that path into a curve. The line is straight on the globe itself — it only looks bent on paper.

Does flight distance equal driving distance between the same two cities?

No. Driving distance follows roads, bridges, and detours around obstacles like mountains or water, so it is almost always longer than the great-circle flight distance between the same two points.

Can I use flight distance to estimate flight time accurately?

You can get a reasonable estimate by dividing distance by a typical cruising speed, but actual flight time also depends on wind, routing, and ground delays, so treat the result as an estimate rather than a schedule.

Is the distance between two airports the same as the distance between their cities?

Not always. Airports can sit a meaningful distance from the city center or from each other when a city has multiple airports, so the airport-to-airport figure is the one that matters for flight planning.

For general background on how maps and coordinate systems work, space-agency and geography resources publish accessible explanations of great-circle navigation and Earth geometry. If you want to go further with your planning, browse our full set of travel calculators or head back to the homepage to start a new search.

All distance and time figures in this article are illustrative estimates to explain the method, not quoted figures for any real route. Always check an airline or mapping tool directly for the exact distance of your planned flight.

Check your own trip in 30 seconds

Enter your passport expiry date and destination to see your last safe entry date, visa status, documents checklist and readiness score.

Run the free checker

Keep reading

Do You Need a Passport to Go to the Bahamas?

Whether you need a passport for the Bahamas depends on how you travel, your citizenship and how long you stay. Here is what to carry by air, by sea and by cruise.

Do You Need a Passport to Go to Mexico?

Flying to Mexico, driving across the border, or arriving by ship? The document rules differ. Here is what US, Canadian and other travellers should carry.

Do You Need a Passport to Go on a Cruise?

Closed-loop cruises, one-way sailings and repositioning voyages have different document rules. Here is when a passport is required and when it is only strongly advised.

How to Get a Visa for Europe

Schengen short-stay visas, national long-stay visas and the new ETIAS travel authorisation explained, with the documents, timings and costs to plan for.

Passport Expiring Soon Before a Trip? What to Check First

A practical decision guide for a passport near expiry: check the destination's validity rule, connections, airline requirements and renewal options before you travel.

Travelling Internationally With Children: Document Checklist

What to prepare when a child crosses borders: passports, parental consent, name differences and where to check the rules for your actual itinerary.

Do You Need a Transit Visa for a Connecting Flight?

A connection can come with its own entry rules. Learn how to check airside transfers, self-transfers, baggage collection and transit visa requirements.

How Long Does It Take to Get a Passport? Planning Your Timeline

Passport processing times change through the year. Learn how to build a safe timeline, when to pay for faster service and what to do if your trip is close.

Lost Your Passport Abroad? What to Do, Step by Step

A calm, practical plan for a lost or stolen passport overseas: reporting it, contacting your embassy, emergency travel documents and rebooking your trip home.

Can You Travel With a Damaged Passport?

Water damage, torn pages, a loose cover or a damaged chip can get you refused boarding. Here is how to judge normal wear against damage that needs replacing.

REAL ID vs Passport: What ID Do You Need for US Domestic Flights?

Since REAL ID enforcement began, adults need an accepted ID at US airport security. Learn when a passport works, what counts as REAL ID and what to do without one.

The EU Entry/Exit System (EES) Explained for Travellers

The EES replaces passport stamps with digital records of fingerprints and a facial image at Schengen borders. Here is who it affects and how to prepare.

Travel Insurance Calculator: How Much Travel Insurance Do You Really Need?

A practical way to work out how much medical, cancellation and baggage cover your trip needs, and how to compare quotes fairly using a simple calculator.

JR Pass Calculator: Calculate Whether a Japan Rail Pass Is Worth It

How to add up your Japan train journeys, compare them with the current JR Pass price, and decide whether the pass or single tickets make more sense.

Travel Time Calculator: How to Calculate Your Total Travel Time

Door-to-door travel time is much more than the flight. Here is how to add up every stage of a journey, including time zones, layovers and the airport.

Travel Cost Calculator: How Much Will Your Trip Really Cost?

A step-by-step method for estimating the real cost of a trip, including the small, forgotten expenses that blow most travel budgets.

Qantas Points Calculator: How to Calculate the Value of Your Travel Points

How to work out what your Qantas Points are actually worth on a specific redemption, and how to tell a good use of points from a poor one.

Exchange Rate Calculator: Calculate Currency Conversion Before You Travel

How exchange rates, margins and card fees really work, and how to calculate what your money will be worth before you leave home.

Japan Travel Guide: How to Calculate Your Budget, Distance, Time and Transportation Costs

A planning guide for Japan that shows you how to calculate your daily budget, distances between cities, journey times and transport costs.

Travel Insurance: What Does It Cover and How Much Could You Save With the Right Policy?

What travel insurance usually covers, what it often excludes, and how the right policy can protect you from the costs that hurt most when a trip goes wrong.

Best Travel Packing Cubes: 15 Packing Cubes That Make Packing Easier

Compare 15 packing cube options by packing style, suitcase fit and practical trade-offs, with a carry-on packing example and a buying checklist.

Best Travel Wallets: 15 Travel Wallets to Keep Your Essentials Organized

Find a travel wallet that fits your documents and daily routine: 15 options, passport storage tips, security trade-offs and a pre-flight checklist.

Best Places to Travel With Kids: 25 Family-Friendly Destinations

Explore 25 family holiday ideas with age suitability, manageable day plans and honest planning trade-offs, from city breaks to nature trips.

Best Places to Travel Solo: 25 Amazing Destinations for Solo Travelers

Compare 25 solo travel destinations by transport, social opportunities and planning challenges, with a first-trip checklist and practical safety habits.

Travel Itinerary Template: How to Plan the Perfect Trip Step by Step

Copy a practical travel itinerary template and plan your route, transfers, daily priorities, budget and backup options without overfilling every day.

Japan Travel: The Ultimate Japan Travel Guide for First-Time Visitors

Plan your first Japan trip with a realistic Tokyo and Kyoto route, transport choices, accommodation checks, food guidance and practical arrival advice.

This article is general information, not legal or immigration advice. Entry and document rules change often — always confirm with the official government authority for your destination and with your airline or cruise line before you travel. Read our full disclaimer.