Skip to content
LovTools
EN

Distance Between Coordinates

Calculate great-circle distance and bearing between two latitude/longitude points.

Processed locally on your device — nothing is uploaded.

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

  1. Enter the coordinates of point A.
  2. Enter the coordinates of point B.
  3. 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