PlainTools

As the Crow Flies Distance Calculator

Enter two places and get the straight-line distance between them in miles, kilometres and nautical miles, measured on the WGS84 ellipsoid, with the compass bearing and the route on a map.

Distance & MeasurementWorldwideSource: Vincenty (1975) geodesic on the WGS84 ellipsoidFree, no sign-up

Place names are looked up with the Photon geocoder (OpenStreetMap). Check the matched names on the result — a short name like “Springfield” can match a different place than you meant; add the state or country if so.

How to measure a distance as the crow flies

  1. Enter the two places. Cities, addresses or coordinates in the form 40.71, -74.01.
  2. Check the matched names. The result shows which place each entry matched; add a state or country if a name was ambiguous.
  3. Read the distance. Miles, kilometres and nautical miles, plus the starting compass bearing.
  4. Adjust on the map. Click the map to move point A, then B, and the distance updates.

10 reasons to measure a straight-line distance

Checking a 'within X miles' rule

Leases, school catchments and non-compete clauses sometimes use straight-line distance.

Flight planning for a drone or light aircraft

Straight-line distance and bearing are the starting point before wind and airspace.

Comparing a road trip with the direct distance

See how much longer the road is than the straight line.

Radio and antenna range

Line-of-sight range questions start from the distance between two sites.

Hiking and orienteering

Distance and bearing between two points for a map-and-compass leg.

Boating between two harbours

Nautical miles and initial bearing for a crossing.

Settling a pub argument

Is Reno really west of Los Angeles? The bearing answers it.

Delivery or service-area checks

Whether a customer falls inside a straight-line service radius.

Long-haul flight curiosity

Why the flight path on the seat-back map curves north — it is the straight line.

Geography homework

Distances between capitals with the method stated.

How the distance is calculated

The distance is the geodesic — the shortest path over the surface of the WGS84 ellipsoid, the model of the Earth's shape used by GPS — calculated with Thaddeus Vincenty's 1975 inverse formula. The same formula gives the initial bearing (the compass direction to set off in, from true north) and the bearing on arrival. For comparison, the page also shows the great-circle distance on a sphere of the mean Earth radius (6,371.0088 km), the simpler 'haversine' model many calculators use.

Place names are turned into coordinates by the Photon geocoder (OpenStreetMap). A city is matched to a single point, usually its centre as mapped in OpenStreetMap, so city-to-city distances are centre to centre. Everything else runs in your browser.

Limits: this ignores roads, terrain, height above sea level and airspace — it is the straight line over the surface. Driving, walking and flight-route distances are longer. For nearly opposite points on the globe Vincenty's formula does not converge; the page then uses the sphere and says so.

Sources

Frequently asked questions

What does 'as the crow flies' mean?

The straight-line distance between two points over the Earth's surface, ignoring roads and terrain.

How accurate is this distance?

The ellipsoid calculation itself is accurate to well under a metre; the real limit is where each place name is placed on the map. For exact points, paste coordinates.

Why is the line curved on the map?

Flat web maps stretch the globe. The shortest path on the round Earth appears as a curve on them — it is still the straight line.

What is the difference from the 'sphere' figure?

The Earth is slightly flattened at the poles. The sphere figure treats it as a perfect ball; the headline uses the flattened WGS84 shape, which GPS also uses.

What is the bearing?

The compass direction from the first place toward the second at the start, in degrees clockwise from true north. On a long route the direction changes along the way.

Can I use coordinates?

Yes. Type them as latitude, longitude in decimal degrees, for example 51.5074, -0.1278.

Is this the flight distance?

It is close to the great-circle distance airlines quote, but actual flight paths follow airways and winds and are usually longer.

Related tools