offlinewebtools.com browser-local workbench

Haversine Distance Calculator

Calculate the great-circle distance between two latitude/longitude pairs using the haversine formula. Perfect for mapping, aviation, and geospatial analysis.

Shipped
Browser local

Try this first

  • Start by entering latitude 1 and then complete the remaining inputs from left to right.
  • Need clarification? Use each field hint below for what each input expects.
  • Press the action button when your values are complete to run the calculation.

Inputs

Set assumptions

Manual run

Result

Ready when values are complete

Fill the required fields, then run the calculator to see the payoff.

Assumptions

Latitude 1
40.7128
Longitude 1
-74.0060
Latitude 2
51.5074
Longitude 2
-0.1278

Recent inputs

Local only

Repeat recent calculator, converter, or text entries without rebuilding the form.

Enable analytics consent before saving recent inputs across sessions.

No recent inputs yet. Run a supported tool with local retention enabled to pin shortcuts here.

What this tool does

Haversine Distance Calculator helps you calculate the great-circle distance between two latitude/longitude pairs using the haversine formula. Perfect for mapping, aviation, and geospatial analysis.

What you get

Haversine Distance Calculator produces a direct output in this page and keeps all processing on your device, with nothing uploaded to our servers.

Report a bug

If this tool misbehaves, share a quick summary so we can investigate. We include the tool URL automatically—no need to copy and paste.