Skip to content
Runs privately in your browser

Free Online Haversine Distance Calculator

Estimate great-circle surface distance using a spherical Earth radius of 6,371 km. This is not a road route.

Your input stays on this device. Processing is bounded; regex runs in a worker with a two-second timeout.

Result

How to use Haversine Distance Calculator

Estimate great-circle surface distance using a spherical Earth radius of 6,371 km. This is not a road route.

  1. Set Latitude1.
  2. Set Longitude1.
  3. Set Latitude2.
  4. Set Longitude2.
  5. Run the tool, review the result and its stated limitations, then copy or download if needed.

Example & practical use

Estimate great-circle surface distance using a spherical Earth radius of 6,371 km. This is not a road route. The example below demonstrates Latitude1; Longitude1; Latitude2; Longitude2.

Example input:
{
  "latitude1": 0,
  "longitude1": 0,
  "latitude2": 0,
  "longitude2": 1
}
Expected result (relevant fields):
{
  "kilometers": 111.19492664455873
}

Features & result limitations

Estimate great-circle surface distance using a spherical Earth radius of 6,371 km. This is not a road route.

Frequently asked questions

What inputs does Haversine Distance Calculator accept?

Latitude1; Longitude1; Latitude2; Longitude2

How should I interpret the Haversine Distance Calculator result?

Estimate great-circle surface distance using a spherical Earth radius of 6,371 km. This is not a road route.

Where does Haversine Distance Calculator process my data?

Inputs are processed locally in your browser. Submitted text is not sent to external services. A successful-run event increments an aggregate tool counter without your input.