Haversine Distance Calculator

Calculate the great-circle distance between two geographic coordinates using the Haversine formula.

Coordinates

Point A
Point B

Quick Presets

Enter two coordinates and click Calculate.

Copied!

Summary

Calculate the great-circle distance between two geographic coordinates using the Haversine formula.

How it works

  1. Enter the latitude and longitude for Point A in decimal degrees (e.g. 40.7128, -74.0060).
  2. Enter the latitude and longitude for Point B in decimal degrees.
  3. Click Calculate to apply the Haversine formula: a = sin²(Δlat/2) + cos(lat1)·cos(lat2)·sin²(Δlon/2).
  4. The central angle c = 2·atan2(√a, √(1−a)) is multiplied by Earth's mean radius (6371 km).
  5. Results are displayed in kilometers, miles, and nautical miles.
  6. Use the city presets or paste coordinates directly from a map application.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-29 · Reviewed by Nham Vu