Distance Calculator
Work out the distance between two points on a flat plane, or the distance between two places on Earth.
Made with โค๏ธ By Latticedigital.co for ๐
Use the Distance Calculator
Calculated on your device โ nothing is uploaded.
How it works
- Enter your What do you want?, Point 1 โ x (or latitude), Point 1 โ y (or longitude) and Point 2 โ x (or latitude).
- Press Calculate. The result updates as you type, so you can try different values.
- Read your result. The answer appears below the buttons, with the working shown where it helps.
Between two points: distance = โ((xโโxโ)ยฒ + (yโโyโ)ยฒ). Between two places on Earth: the haversine formula, which works out the great-circle distance on a sphere of radius 6,371 km.
Worked example
Points (0, 0) and (3, 4): the distance is 5 units. New York (40.71, โ74.01) to London (51.51, โ0.13) is about 5,570 km.
Frequently asked questions
What is the haversine formula?
It works out the shortest distance over the Earth's surface between two latitude/longitude points, treating the Earth as a sphere.
Is this the driving distance?
No โ it is the straight-line (as the crow flies) distance. Driving distance is always longer.
Is this calculator free?
Yes โ it is free to use, with no sign-up and no limits. Every calculation runs in your own browser.
Last updated: 8 November 2026
Estimates only โ not financial, tax, medical or legal advice. Check with a professional before making a big decision.
The short version
That is the Distance Calculator in a nutshell: enter your numbers above and read the result โ no sign-up, and nothing you type ever leaves your device. Looking for another tool? Browse all 204 free calculators or try the Scientific Calculator next.