Distance Calculator

Calculates the great-circle (haversine) distance between two latitude/longitude coordinates, in kilometers and miles. Enter the coordinates separated by commas, like "40.7128,-74.0060,34.0522,-118.2437".

Ad placeholder: Resp_Horizantal_1 (horizontal)
Ad placeholder: Resp_Square_1 (square)

Calculates the great-circle (haversine) distance between two latitude/longitude coordinates, in kilometers and miles. Enter the coordinates separated by commas, like "40.7128,-74.0060,34.0522,-118.2437".

Use cases

  • Finding the straight-line distance between two cities
  • Estimating flight distance between two airports

Examples

New York City to Los Angeles

40.7128,-74.0060,34.0522,-118.2437
{"km": 3935.75, "mi": 2445.56}

FAQ

Is my data sent to a server?

Yes — the calculation runs on the server for this tool.