About the Distance Between Coordinates
How far is Karachi from Lahore as the crow flies? Enter the latitude and longitude of two points — you can copy them from any map app — and the calculator uses the haversine formula to find the great-circle distance in kilometres, miles and nautical miles.
The initial compass bearing from the first point to the second is shown too. Road distances are longer.
How to use the Distance Between Coordinates
- Enter the coordinates of point A.
- Enter the coordinates of point B.
- Read the distance and bearing.
Features
- What if…? explorer: change one number and see the answer for a whole range of values, with bars
- Haversine formula
- km, miles and nautical miles
- Initial bearing
- Works offline
Supported formats
- Numbers
Frequently asked questions
How accurate is it?
Within about 0.5%, because the Earth is not a perfect sphere.
Are my numbers saved?
No. Calculations happen in your browser and nothing you enter is sent anywhere or stored.
Added · Last reviewed · Maintained by Sohail Khax · How we test tools