Skip to content
Travel & GeographyLocal · Stays on device

Distance Between Coordinates

Calculate the great-circle distance, bearings and midpoint between two latitude/longitude points.

  • Decimal degrees, DMS, Degrees decimal minutes
  • Free to use
  • No sign-up or watermark
distance-between-coordinatesOn this device
Decimal degreesDMSDegrees decimal minutes
Open Distance Between Coordinates

About this tool

Enter two points in decimal degrees, degrees-minutes-seconds or degrees with decimal minutes. The tool gives the distance on the WGS-84 ellipsoid (Vincenty's formula, accurate to well under a millimetre for most pairs) and on a sphere (haversine, mean radius 6371.0088 km), in kilometres, miles or nautical miles, plus the initial and final bearing and the great-circle midpoint.

For nearly opposite points Vincenty's iteration can fail to converge; the tool then says so and shows the spherical result. These are straight-line distances over the Earth's surface: road, rail and flight-path distances are longer. Everything is calculated in your browser. Nothing you enter is uploaded, and no live data is fetched.

  1. Input

    Your details

    Decimal degrees, DMS, Degrees decimal minutes

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Shown instantly, ready to copy or export

Local processing pipelineHaversine (sphere) + Vincenty inverse (WGS-84)

How to use it

  1. 1

    Enter point A and point B in any common coordinate notation.

  2. 2

    Choose kilometres, miles or nautical miles.

  3. 3

    Read the distance, bearings and midpoint.

Zero-upload architecture

How to use Distance Between Coordinates for free, with no upload

Free, with no sign-up or watermark · Your details stay on your device

  1. 1

    Open Distance Between Coordinates

    Launch the app. There is nothing to install and no account to create.

  2. 2

    Work through it

    Choose kilometres, miles or nautical miles.

  3. 3

    Get your result

    Read the distance, bearings and midpoint.

  • Local

    Latitude Longitude Converter

    Convert coordinates between decimal degrees, DMS and decimal minutes, and to UTM, geohash and Plus Codes.

    Open tool
  • Local

    Route Distance Matrix Formatter

    Organise distances between several places into a matrix, fill straight-line distances from coordinates and export it.

    Open tool
  • Local

    Travel Expense Splitter

    Split shared trip costs equally, by shares or by exact amounts, and get the fewest payments to settle up.

    Open tool