City Distance Calculator: Compare Road, Air, Sea and Rail Distances
Suppose you want to compare the distance between London and Lisbon. A flight, a road trip and a journey by sea cover different distances.
The City Distance Calculator compares these types of distance between cities around the world. It displays the results in kilometres and miles and draws the calculated routes on an interactive map.
How to Use the City Distance Calculator
Choose a starting city and a destination using the two search boxes. Include the country when necessary, particularly if several cities share the same name.
Click Calculate distances and wait for the results. The calculator displays the distances it can find. Select an individual route to view it on the map.
How the Four Distance Calculations Work
The calculator uses a different method for each transport option.
| Distance type | Calculation method |
|---|---|
| Road | Route through the mapped road network |
| Air | Great-circle distance between the cities |
| Sea | Approximate route through connected ocean areas |
| Rail | Shortest connected route along mapped railway tracks |
Road routes
The road result follows the roads available in the map data. It may not match the distance suggested by a navigation app, as different services can select different routes and use different road information.
Distance by air
For this calculation, the two cities are joined by the shortest possible line across the Earth’s surface. Geographers call this the great-circle distance. It gives a useful reference for comparing locations, although actual flights usually cover more ground. Aircraft follow designated airways and must account for weather, air traffic restrictions and operational requirements.
Sea routes
The calculator searches for a geographical route through connected ocean areas. It does not use commercial shipping schedules or a database of vessel routes, so the result is only an estimate. Real ship journeys depend on the ports involved, navigational restrictions, weather and vessel requirements.
Railway routes
Railway calculations use track data from OpenStreetMap. The tool searches for a connected route between the railway tracks closest to the two cities and adds an estimated distance from each city to its nearest track. This gives an approximate track-based distance, not confirmation that a passenger train can make the journey. Timetables, operating status and passenger connections are not checked.
