City Distance Calculator

Calculate the straight-line distance between two French or world cities using an embedded database of geographic coordinates and the haversine formula.

How it works

Each city in the built-in database is associated with its latitude and longitude. The haversine formula then calculates the straight-line distance between the two points, taking into account the curvature of the Earth, giving a result close to the real flight distance.

Does this distance match a driving route?

No, this is an "as the crow flies" distance, as a straight line between the two cities. A real journey by road, train, or plane will almost always be longer, depending on the layout of infrastructure and terrain.

How are cities selected in the list?

The list includes the main French cities as well as a selection of major world cities across all continents, with precise geographic coordinates at the city-center level.

The distance calculation is performed entirely in your browser, using data embedded in the page: no request is sent to a server.