Distance Calculator Between GPS Coordinates

Measure the straight-line distance between any two points on Earth. Search two places, click the map, or paste coordinates — get the great-circle distance in kilometres, miles, and nautical miles, plus the compass bearing and the exact midpoint. Free, no signup.

Map click sets:
Loading map…

Click the map to place A then B, drag the pins to fine-tune, or search each point above. The blue line is the actual great-circle path.

Straight-line distance

Kilometres
343.56
km
Miles
213.48
mi
Nautical miles
185.51
NM
Metres
343,557
m

Bearing along the path

Initial bearing
148.1°
SSE leaving A
Final bearing
150.0°
SSE arriving at B

On a great circle the compass heading changes as you travel — the two values above differ on long east–west routes. Full bearing calculator →

Midpoint

Halfway point (DD)
50.188595, 1.146618
Open in the midpoint calculator →

Copy & share

Result summary
51.507400, -0.127800 → 48.856600, 2.352200: 343.56 km / 213.48 mi / 185.51 NM (great-circle)

How to Measure the Distance Between Two Points

Set point A and point B in any of three ways: type a place name or address into either search box, paste coordinates in decimal or DMS format, or simply click the map twice — the first click places A, the second places B. Drag either pin to fine-tune. The distance updates instantly as the points move, and the blue line shows the true shortest path over the Earth's surface.

The result is shown in four units simultaneously — kilometres, statute miles, nautical miles, and metres — so pilots, sailors, runners, and planners can each read the number they need without converting. Use “Copy share link” to send the exact A→B measurement to anyone; the link reopens this page with both pins in place.

Common Uses for a Coordinate Distance Calculator

Flight and sailing planning — great-circle distance in nautical miles is the basis of every flight plan and passage plan. Delivery and service radius — check whether an address falls within a straight-line radius of a depot. Radio and drone range — line-of-sight range limits are quoted as straight-line distances. Sports and fitness — measure open-water swims, point-to-point runs, and paragliding cross-country flights. Geography and research — quantify separation between weather stations, sample sites, or cities.

Frequently Asked Questions

How is the distance between two GPS coordinates calculated?

This tool uses the haversine formula to compute the great-circle distance — the shortest path between two points over the surface of the Earth, modelled as a sphere with the mean radius of 6,371 km. This is the same method used in aviation and marine navigation, and it is accurate to within about 0.5% everywhere on Earth.

Is this the driving distance or the straight-line distance?

It is the straight-line (as-the-crow-flies) distance. Driving distance depends on the road network and is always longer. Straight-line distance is what you need for flight planning, radio range, delivery radius checks, and 'how far apart are these two places really' questions.

What is a great-circle path and why is the line on the map curved?

A great circle is the shortest route between two points on a sphere. On a flat map projection this shortest route usually appears curved — which is why long-haul flights between, say, New York and Tokyo pass near Alaska. The blue line drawn on the map is the true great-circle path, not a straight line on the projection.

What is the difference between kilometres, miles and nautical miles?

A kilometre is 1,000 metres. A statute mile — the one used on roads in the US and UK — is 1,609.344 metres. A nautical mile is 1,852 metres, defined as one minute of latitude, and is the standard unit in aviation and marine navigation. This tool shows all three at once.

How accurate is the distance calculation?

The haversine formula on a spherical Earth is accurate to within about 0.5% of the true ellipsoidal distance — a few kilometres over a transatlantic route, metres over a city. For survey-grade geodesic distance on the WGS84 ellipsoid, dedicated tools using Vincenty or Karney algorithms are used, but for virtually all practical planning the difference does not matter.

Can I calculate the distance from my current location?

Yes. Click “My location” to fill point A (or B) with your device's GPS position, then search or click the map to set the other point. Your location is processed entirely in your browser and never stored.

More Free GPS & Coordinate Tools