Ihsabha
AREN
IhsabhaAutomotive & Transportation › Distance Between Cities Calculator

🗺️ Distance Between Cities Calculator

Calculate the straight-line (great-circle) distance between two major world cities in kilometers and miles.

📂 Automotive & Transportation
🛡️ Reviewed by: Ihsabha Editorial Team · Method: Haversine great-circle distance formula using Earth's radius and the two cities' latitude/longitude coordinates — no external libraries, everything calculated locally in your browser · Last updated: August 2, 2026
📌 Note: This calculates the great-circle ("as the crow flies") distance between city centers, not actual driving distance, which is typically longer due to roads, terrain, and routing.

How to use this tool

Fill in the fields on the left, then press the button to see your result instantly. Everything runs locally in your browser — no sign-up required, and no data is ever sent anywhere.

About this tool

The great-circle distance between two cities is the shortest possible path between them along the curved surface of the Earth — essentially the distance a straight line would cover if you could tunnel or fly directly between the two points, ignoring roads, mountains, and borders. This tool calculates that distance using the Haversine formula, a standard trigonometric formula in navigation and geography that has been used since the 19th century and accounts for the Earth's spherical shape by working with each city's latitude and longitude coordinates rather than treating the Earth as a flat plane, which would introduce meaningful error over longer distances. Because it measures a direct straight-line path, the great-circle distance is always shorter than the actual driving distance between two cities, which must follow real roads, terrain, and legal routes — for long intercontinental distances, it's also very close to actual flight paths, since aircraft generally follow great-circle routes to minimize fuel use.

Why Flight Paths on a Map Look Curved: Great-Circle Distance Explained

Look at an airline's route map showing a flight from New York to Tokyo, and the path drawn often curves noticeably northward rather than running in a straight horizontal line across the map — a detail that confuses many travelers used to flat maps. The curve isn't a mapping error; it's the visual consequence of the fact that the Earth is a sphere, not a flat surface, and the shortest path between two points on a sphere is a great-circle route, which can look curved when projected onto a flat map.

The Haversine formula, which calculates this great-circle distance, dates back to 19th-century navigation and remains the standard method used in modern GPS systems, mapping software, and logistics platforms. It works by converting each location's latitude and longitude into a spherical coordinate calculation, accounting for the Earth's curvature in a way that a simple flat-plane distance calculation (like the Pythagorean theorem) cannot.

For short distances, the difference between a great-circle calculation and a flat-plane approximation is negligible — a few meters at most across a city. But as distance increases, that error compounds meaningfully; over a distance the size of a continent, ignoring the Earth's curvature can introduce errors of tens or even hundreds of kilometers, which is why proper geographic and navigation software always uses spherical calculations like Haversine rather than flat approximations.

It's worth being clear about what this distance represents and what it doesn't: it's the theoretical shortest path 'as the crow flies,' not a driving distance. Actual road trips are almost always longer, since roads must curve around mountains, follow river valleys, cross at bridges, and respect national borders and legal routes — the ratio between great-circle distance and actual driving distance varies considerably depending on terrain, from barely any difference on flat, direct highways to a much larger gap in mountainous or coastal regions.

This is also why great-circle distance is genuinely useful for aviation specifically: commercial flights generally do follow routes very close to the great-circle path between airports, since fuel efficiency depends heavily on minimizing distance traveled, and aircraft aren't constrained by roads or terrain the way ground vehicles are. So while this number won't tell you how long your road trip will take, it's a close approximation of an actual flight distance and a useful baseline reference for comparing how geographically far apart two places really are.

Frequently asked questions

Why is this distance shorter than what my GPS shows for driving?

Because this is the great-circle (straight-line) distance 'as the crow flies', while a GPS driving distance follows actual roads, which curve around terrain, cities, and geography and are therefore almost always longer than the direct straight-line distance.

What formula is used to calculate this?

The Haversine formula, a well-established trigonometric formula that calculates the shortest distance between two points on a sphere given their latitude and longitude, accounting for the Earth's curvature.

Can I request a city that isn't in the list?

This tool currently includes a fixed list of major world cities; for a city not listed, you would need a tool that accepts custom latitude/longitude coordinates directly.