Multi-stop distance

Add stops in order and read the distance of every leg and the total, by road with the driving time, or in a straight line. Tick round trip to come back to the start.

How to use it

  1. Add the stops in the order you will visit them: search, use your location, or click the map.
  2. Choose straight line, or a road route by car, bicycle or on foot.
  3. Tick Round trip to add the leg back to the first stop.
  4. Read the legs and the total, then copy the link to share the trip.

5 practical uses

  1. Total the mileage of a delivery round for a log or an expense claim.
  2. Plan a multi-city holiday and the driving days it needs.
  3. Add up the legs of a walking or cycling tour.
  4. Check a sales round against a mileage allowance.
  5. Compare the straight-line total with the road total for a route plan.

The maths behind it

In straight-line mode each leg is the haversine great-circle distance between consecutive stops and the total is their sum. In the road modes the engine routes each leg with an A* search over the road graph and returns its length and time; the page sums them.

Notes

The straight line is the great-circle distance between each pair of stops. Road routes are the fastest route for the mode, with typical speeds and no live traffic. If the order is not fixed, the route optimizer finds the shortest order.

Routes come from Valhalla, an open routing engine on OpenStreetMap data run by FOSSGIS, the German OpenStreetMap association. It is a public, best-effort service: it can be slow at busy times, and a route through a badly mapped area is only as good as the map. Nothing else about you is sent with the request.

Questions and answers

How many stops can I add?

Up to 25. The route request goes to the routing engine in one piece, so long lists can take a few seconds.

Can it find the best order?

Not on this page. The route optimizer takes the same stops and finds the shortest order.

Why does a straight-line leg differ from the road leg?

The straight line is the great-circle distance; the road route follows the network. The road figure is always longer.

Embed this tool on your website

Paste this code where the tool should appear. It shows the tool alone, without this page's text, and links back here. It is free to use; the map data credit stays on the map.

<iframe src="https://waymorphic.com/tools/multi-stop-distance?embed=1" width="100%" height="760" style="border:0;border-radius:12px;max-width:100%" loading="lazy" allow="geolocation; fullscreen; clipboard-write" title="Multi-stop distance – Waymorphic Map"></iframe>

Change height to suit your page. To open the tool with a place already set, add the settings from this page's address bar (the part after #) to the end of the src. The embedded tool asks the visitor's browser for their location only when they press the button, and the allow attribute lets that work inside the frame.