Outdoors & maps

Coordinate route distance

Add spherical leg distances along an ordered list of coordinates.

Coordinate route distance
Esc to restore

Your inputs

2–5,000 points, exact example headings. UTF-8 CSV or TSV stays on your device.

Up to 25 MB per file, 50,000 data rows, 200 columns and 2 million data cells. Fully blank rows and columns are ignored before row, column and cell limits are checked. Individual tools may have smaller result or chart limits.

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Calculates the haversine distance between each consecutive pair, with a 6,371 km sphere. Preserves point order and shows each leg and cumulative distance. Uses exact latitude/longitude ranges and 2–5,000 points. Straight spherical legs are not road, trail or navigable route distances.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

CSV: Name,Latitude,Longitude
Name,Latitude,Longitude
London,51.5074,-0.1278
Paris,48.8566,2.3522
Brussels,50.8503,4.3517

Example result

Example result
LegFromToDistance (km)Cumulative (km)
1LondonParis343.556060341343.556060341
2ParisBrussels263.975416408607.531476749