Measure two points

Distance Between Coordinates

Drop in two latitude, longitude pairs and get the as-the-crow-flies distance three ways — kilometres, miles and nautical miles — plus the compass bearing you’d set out on from A and the point that sits exactly halfway between them.

5570.23 km / 3461.18 mi
Distance (km)
5570.23 km
Distance (miles)
3461.18 mi
Distance (metres)
5570229.9 m
Distance (feet)
18,275,032 ft
Distance (nautical miles)
3007.684 nmi
Bearing A → B
51.2° NE
Initial heading, with 16-point compass direction
Midpoint (decimal degrees)
52.368440, -41.290307
Halfway along the great-circle path, on WGS84

Great-circle (straight-line) distance across the surface of the Earth — not a driving distance. All coordinates use the WGS84 datum.

Drag the marker to adjust — or tap the map to move it.

How to measure the distance between two coordinates

  1. Enter your first point in the Point A field as latitude, longitude in decimal degrees (e.g. 40.7128, -74.0060). Tap Use my location to fill A with your current GPS position.
  2. Enter your second point in the Point B field the same way, or pick one of the example pairs.
  3. Read the distance instantly in kilometres, miles, metres and nautical miles, plus the bearing and compass direction from A to B.
  4. Drag either marker on the map to fine-tune a point, or use Swap to reverse the direction of travel.

Great-circle distance, not driving distance

This tool returns the great-circle distance — the shortest path across the surface of the Earth between two points, what pilots and navigators call "as the crow flies". It is not a road distance and does not trace streets, rivers or flight corridors. The measurement runs the haversine formula on a spherical Earth, which holds to well under half a percent for any pair of points. To bring your points into another notation first, run them through the coordinate converter.

What the results mean

OutputWhat it is
Kilometres / MilesThe great-circle distance from A to B, shown in metric and imperial units side by side.
Metres / FeetThe same distance in smaller units — handy for short hops where kilometres round to zero.
Nautical milesDistance in nautical miles (1 nmi = 1852 m), the unit used in aviation and at sea.
BearingThe initial bearing (forward azimuth) from A to B in degrees, with a 16-point compass label such as NNE.
MidpointThe geographic midpoint of the two points, in decimal degrees — the halfway point along the great-circle path, not a simple average.

Accepted coordinate formats

Each field takes decimal degrees split by a comma (51.5074, -0.1278), positive for North and East, negative for South and West. Hemisphere suffixes work too (51.5074N, 0.1278W). When you have only your own position, open what are my coordinates to take a GPS reading, then drop it in here. To re-express a point as DMS, UTM, MGRS or a Plus Code first, send it through the coordinate converter.

Frequently asked questions

Is this driving distance or straight-line distance?

It is the straight-line, great-circle distance across the surface of the Earth — "as the crow flies". It does not follow roads, so a road trip will always be longer. For turn-by-turn driving distance you would need a routing service.

How accurate is the calculation?

It uses the haversine formula on a spherical Earth, accurate to well under 0.5% for any pair of points. That is more than precise enough for navigation, planning and everyday measurement.

What format should I enter the coordinates in?

Decimal degrees as "latitude, longitude" — for example 48.8566, 2.3522. Use negative numbers for South and West, or add N/S/E/W suffixes. Coordinates are read on the WGS84 datum.

What is the bearing?

The initial bearing (forward azimuth) is the compass direction you would set off in to travel from point A toward point B along the shortest path. On a long great-circle route the bearing changes as you go, so this is the starting heading.

What is the midpoint, exactly?

It is the geographic midpoint along the great-circle line between the two points, returned in decimal degrees. It is not just the average of the two latitudes and longitudes, which would be wrong over long distances or near the poles.

Are my coordinates sent anywhere?

No. The distance, bearing and midpoint are all calculated in your browser. Nothing about your points is uploaded or stored. The map only loads tiles when you choose to view it.