basic

Great-Circle (Haversine) Distance Calculator

Distance between two latitudes/longitudes on Earth.

Compute the great-circle distance between two latitude/longitude points on Earth using the Haversine formula (mean Earth radius 6,371 km).

Published Last reviewed 1 min read

Inputs

°
°
°
°

Results

Enter values and click Calculate to see results.
Was this helpful?

How to use this calculator

  1. Fill in the inputs above using the units you already have.
  2. Values update automatically as you type — no submit button needed.
  3. Hover any result row for the underlying formula and intermediate values.

Formula

d = 2R · asin(√(sin²(Δφ/2) + cos φ₁ · cos φ₂ · sin²(Δλ/2))), with R = 6371 km.

In depth

Compute the great-circle distance between two latitude/longitude points on Earth using the Haversine formula (mean Earth radius 6,371 km).