Code tool

Distance Between Cities Calculator

Enter two coordinate pairs to calculate a Haversine great-circle distance in kilometers or miles.

In-browser processingNo account requiredPrivacy details ↗

Enter coordinates manually. Latitude is −90° to 90° and longitude is −180° to 180°.

Coordinates stay in this browser; no city lookup or geocoding is used.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter latitude and longitude for both points.
  2. Choose kilometers or miles, then calculate.
  3. Use the result as a surface distance estimate; it is not a road distance.

Manual coordinates only

This tool does not look up cities or geocode names. Enter decimal-degree coordinates yourself.

Great-circle distance

The result is the shortest distance over Earth’s surface, not a road, transit, or travel route distance.

GOOD TO KNOW

Common questions

Can I enter city names?

No. Enter latitude and longitude manually; no city lookup or geocoding is used.

Is this driving distance?

No. It is a Haversine great-circle surface distance.