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
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
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
Latitude and Longitude Converter
Convert coordinates between decimal degrees and degrees, minutes and seconds, in either direction, with north, south, east and west.
Slope Gradient Calculator
Find the slope as percent grade, degrees and ratio from the rise and run, or from a slope angle.
Elevation Converter
Convert elevation and height between metres, feet, kilometres, miles, yards and nautical miles.