Skip to content
Calixo

GPS Coordinate Distance Calculator

Find the great-circle distance between two GPS coordinates.

Inputs

Saved Scenarios

— select 2+ to compare

Distance (km)

343.56

Distance (miles)

213.48

Spark says

Formula

d=R×2arctan ⁣(a1a),a=sin2 ⁣Δφ2+cosφ1cosφ2sin2 ⁣Δλ2d = R \times 2\arctan\!\left(\dfrac{\sqrt{a}}{\sqrt{1-a}}\right), \quad a = \sin^2\!\dfrac{\Delta\varphi}{2} + \cos\varphi_1\cos\varphi_2\sin^2\!\dfrac{\Delta\lambda}{2}
R
— Earth's mean radius, 6,371 km
\varphi, \lambda
— Latitude and longitude in radians

What is the GPS Coordinate Distance Calculator?

The haversine formula calculates great-circle distance between two points on a sphere from their latitude and longitude — the straight-line 'as the crow flies' distance, not driving distance.

How to use it

  1. 1 Enter the latitude and longitude of the first point.
  2. 2 Enter the latitude and longitude of the second point.

Worked examples

Limitations

  • Treats Earth as a perfect sphere (using its mean radius) — real driving/walking distance will always be longer, and highly precise geodesy work uses an ellipsoidal model instead.

Frequently asked questions

Why is this different from my GPS app's driving distance?

This is straight-line distance — actual travel distance follows roads and is almost always longer, sometimes considerably so.

Sources & references