QuickToolbox

Coordinate Distance Calculator

Find the great circle distance and initial bearing between two latitude and longitude points on Earth.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

haversine: a = sin^2(dlat/2) + cos(lat1) cos(lat2) sin^2(dlon/2); d = 2 R asin(sqrt(a))

Frequently asked questions

How accurate is it?

Within about 0.5 percent, since it treats Earth as a sphere with a 6,371 km radius.

What is a great circle?

The shortest path between two points on a sphere, as a flight path follows.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools