PB
Available
location_on
lock Free · Private · In-Browser

Haversine Distance Calculator

Find the great-circle distance between two coordinates.

Distance across the globe

The straight-line distance between two points on Earth follows a great circle, not a flat line, and the haversine formula computes it from their latitude and longitude while respecting the planet’s curvature.

Enter two coordinate pairs and it returns the distance in kilometres, miles, and nautical miles. From Los Angeles to New York is about 3,936 kilometres as the crow flies.

Accurate and private

The calculation runs in your browser, so your coordinates are never uploaded.

Frequently Asked Questions

What is the haversine formula?

A formula for the shortest distance over the Earth’s surface between two points given their latitude and longitude, accounting for the planet’s curvature.

How accurate is it?

Very accurate for most purposes, treating Earth as a sphere. It can be off by a fraction of a percent because Earth is slightly flattened.

What units does it give?

Both kilometres and miles, plus nautical miles for aviation and marine use.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward