Free Online Tool

Distance Between Coordinates Calculator

Paste two latitude and longitude pairs and get the straight-line, great-circle distance between them in miles, kilometers, or nautical miles, plus the compass bearing.

Measuring a whole list of points? Maptive does it across your entire map.

4.7 / 5 on G2
4.6 / 5 on Capterra

Distance Calculator

Distances are straight-line, great-circle measurements.

Trusted by teams at

  • Adidas
  • Adobe
  • Amazon
  • American Red Cross
  • Bridgestone
  • Capital One
  • Coca-Cola
  • GoPro
  • Harvard
  • Hilton
  • CBRE
  • Siemens
  • Stanford
  • UBS
  • Volkswagen

// what it measures

The Shortest Line Between Two Points on Earth

Give the calculator two latitude and longitude pairs and it returns the great-circle distance, the shortest path across the curved surface of the planet. It is the honest, road-free number behind service radii, coverage checks, and quick comparisons, and it is the same figure a pilot or navigator would use.

Coordinates go in as decimal degrees, latitude first and longitude second, the same pair you copy when you right-click a spot in Google Maps. Points south of the equator or west of the prime meridian are written as negative numbers, so a value like -74.0060 sits in the western hemisphere.

// reference

Distances Between Well-Known Cities

A few familiar pairs, measured the same way this tool measures yours, so you can sanity-check a result at a glance.

RouteMilesKilometersNauticalBearing
New York → Los Angeles2,4463,9362,125274° W
New York → London3,4615,5703,00851° NE
San Francisco → Chicago1,8552,9851,61270° ENE
London → Paris213344186148° SSE
Dubai → Singapore3,6275,8373,152109° ESE
Sydney → Tokyo4,8637,8264,226350° N

All figures are straight-line great-circle distances between each city's center point, rounded to the nearest whole unit.

// the math

Great-Circle, Not a Ruler on a Flat Map

On a globe the shortest route between two points is a gentle arc, the green line above, not the straight dashed chord you would draw on a flat map. Measuring along that arc is what keeps long distances honest.

The tool uses the haversine formula, the standard way to find great-circle distance from two latitude and longitude pairs. It works on a spherical earth and stays accurate to a fraction of a percent, since the planet is only very slightly flattened.

// what you get back

Every Result, Four Ways

Three main units

Miles, kilometers, and nautical miles, switched with a single tap so you never have to convert by hand.

Distance in feet

The same distance in feet sits alongside the main figure, ready for short hops where miles feel too coarse.

Initial bearing

The compass heading from the first point to the second, in degrees from north and as a direction like NE or W.

Great-circle basis

Every figure is the shortest path across the earth's curve, the as-the-crow-flies distance, never a road distance.

// know the difference

Straight-Line or Driving Distance?

They answer different questions. Pick the one that matches what you actually need to know.

this tool

Straight-line

  • The shortest path across the earth's curve
  • Same answer every time, no roads involved
  • Ideal for radius, coverage, and comparisons
  • A fixed value, the same wherever you compute it
in Maptive

Driving

  • Follows real streets, turns, and one-way rules
  • Longer than the straight line, and shifts with traffic
  • Needed for travel time and turn-by-turn routes
  • Built for whole location lists, not single pairs

From One Pair to Your Whole Map

This calculator handles two points at a time. Maptive plots your entire location list, measures the distances between every point, draws radius rings, and builds optimized routes. The ten-day trial opens every feature, with no credit card to start.

// questions

Frequently Asked Questions

How do I find the distance between two coordinates?
Paste the first latitude and longitude into Point A and the second into Point B, choose your unit, and press calculate. The tool returns the straight-line, great-circle distance along with the compass bearing, and a one-click link to map both points in Maptive.
What format should the coordinates be in?
Use decimal degrees, latitude first, then longitude, such as 40.7128, -74.0060. That is exactly what you get when you copy a point from Google Maps. South and west values are negative. A comma or a space between the two numbers both work.
Is this the straight-line distance or the driving distance?
It is the straight-line distance, the shortest path across the curve of the earth, often called the great-circle or as-the-crow-flies distance. It does not follow roads, so a real drive between the same two points will be longer.
How accurate is the result?
The tool uses the haversine formula on a spherical earth, which is accurate to a fraction of a percent for everyday distances. The tiny remaining error comes from the earth being slightly flattened rather than a perfect sphere, which almost never matters in practice.
Which units can I get?
Miles, kilometers, and nautical miles, switched with one tap. The result panel also shows the distance in feet, so you have the small-scale figure ready without any conversion.
What is the bearing shown with the distance?
The bearing is the initial compass heading from Point A toward Point B, given in degrees from north and as a compass direction like NE or W. It tells you which way the second point lies, not only how far.
Can I enter degrees, minutes, and seconds?
The calculator reads decimal degrees, like 40.7128, -74.0060. If your coordinates are in degrees, minutes, and seconds, convert them to decimal first — for example 40°42'46"N becomes 40.7128 — then paste the two decimal values.
Can I measure distances for a whole list of points?
This tool handles one pair at a time. For a full list, import it into Maptive and use the distance matrix to measure every point against every other point at once.