Distance Between Cities
Type two city names to get the straight-line distance in kilometers and miles. Enter latitude and longitude yourself for places not in the list.
The straight-line distance between two cities, as the crow flies, is the great-circle distance over the Earth's surface.
Use the Distance Between Cities
Type two city names and click Calculate
Quick answer
The straight-line distance between two cities, as the crow flies, is the great-circle distance over the Earth's surface. This tool computes it from each city's latitude and longitude with the haversine formula and a 6,371 km Earth radius. Driving distance is usually longer.
Examples
| Cities (city centers) | km | miles |
|---|---|---|
| New York – Los Angeles | 3,936 | 2,446 |
| New York – London | 5,570 | 3,461 |
| London – Paris | 344 | 213 |
| Delhi – Mumbai | 1,148 | 713 |
| Tokyo – Sydney | 7,826 | 4,863 |
Type two city names to get the distance in km and miles.
Summary
This tool calculates the straight-line (great-circle) distance between two cities with the Haversine formula. Start typing a city name and pick it from a list of more than 27,000 cities with a population of 20,000 or more (GeoNames data), or enter latitude and longitude for any other place. The distance is shown in kilometers and miles, and everything runs in your browser.
How it works
- Start typing the first city and pick it from the suggestions; its coordinates fill in automatically.
- Do the same for the second city, or type latitude and longitude in decimal degrees for a place that is not listed.
- Click "Calculate Distance" to run the Haversine formula.
- Read the result in both kilometers and miles.
- Use the copy buttons to copy either distance value.
- Click "Swap Cities" to reverse the two city entries, or "Reset" to start over.
Use cases
- Estimate how far apart two travel destinations are as-the-crow-flies.
- Compare city distances when planning a multi-stop itinerary.
- Check airline route distances for rough flight-time estimates.
- Educational projects that need quick great-circle distance lookup.
- Validating distance data in logistics or geography homework.
- Comparing road-trip vs. straight-line distances between cities.
- Finding which of several cities is closest to a reference point.
- Quick sanity-checking of GPS coordinates before using them in code.