Skip to content
Menu
Esc

Map Distance Calculator

This map distance calculator measures a path as you click: the straight-line total in miles or feet and in kilometers or meters, with Undo point and Clear.

Measure distance on a map tool

Click points on the map to measure a path.

WGS84 ellipsoid · click points in order

© OpenStreetMap contributors · OpenFreeMap © OpenMapTiles

Keyboard: Tab to the map, move it with the arrow keys, then press Enter to add a point at the center cross. Backspace removes the last point.

Length
—

This is a straight-line path between your clicks, not a road route. This is not a land survey.

You can measure a path on the map without installing anything. Each click adds a point, and the total updates as you go. The details under the map show the total in miles and kilometers, the number of segments and the number of points. The map opens over Boulder, Colorado, so you can try a few clicks before you pan to your own area.

How to use the map distance calculator

  1. Find your start. Pan and zoom the map to the place you want to measure. On a phone, use two fingers to pan without adding a point.
  2. Plan the path. The tool measures straight lines between your clicks, so plan a point at every turn of the road, trail or fence.
  3. Click each point. Click or tap along the route. Each click adds a point, and the answer bar updates with the total. Stop clicking when you reach the end.
  4. Fix a mistake. Press Undo point to remove the last point. Clear removes the whole path at once, with no undo.
  5. Read the total. The total is large in the panel. Below the map, the details give the length in miles or feet and in kilometers or meters, plus the number of segments and points.
  6. Copy or share. Copy result copies the total; Share sends it with the page link.

Points are added by clicking or tapping the map. With a keyboard, Tab to the map, move it with the arrow keys and press Enter to add a point at the center cross; Backspace removes the last point. The page does not save the path, so a reload starts over.

Distance calculator map: straight lines, not roads

The tool measures the shortest path over the Earth’s surface between the points you place. It is the same idea as the distance a bird would fly, and it ignores roads, rivers and terrain. Use it for a quick radius check, a property line or a flight leg.

It does not follow roads. To measure a road with this tool, click along it at every bend; the closer your clicks, the closer the total gets to the road length. For the driving distance between two places, the Distance Calculator asks a routing service that uses OpenStreetMap roads, without live traffic, closures or stops.

Straight lines work best for short paths, open land and any measurement where the route is not on a road. On a long, winding road you need many clicks, and a routing service gives the road distance faster.

How the distance is calculated

The distance map calculator measures each segment on the WGS84 ellipsoid, the model GPS uses, with the geodesic inverse formula. It then adds the segments for the total. A spherical formula would be simpler, but on the checked example the ellipsoid result differs by about 0.2 percent.

Each segment is drawn as a straight line on the flat map but measured along the ellipsoid. Over hundreds of kilometers the shortest path curves away from the drawn line, so add points if you want the drawing to follow your route. Altitude is ignored; the tool measures ground distance, not the extra distance of a climb.

The result is only as exact as your clicks. A screen pixel covers more ground as you zoom out. Zoom in before you click a bend, especially along a trail, a fence or a shoreline.

Understanding your results

What you see What it means What to do
Path length The full path length in miles, or feet for short paths Read the Kilometers row for metric
Segments The number of straight pieces between your points One fewer than the number of points
Points How many clicks the path has Undo point removes the last one
A line that cuts a corner A bend was missed between two clicks Undo the last point and click the bend
Kilometers The same total in kilometers, or meters below 1 km Use it for metric forms and maps

If the total looks too short for a road or trail, the path probably skips bends. Zoom in and add points where the line leaves the route.

Measure distance on a map for running, hiking or fences

For a trail or a fence, zoom in as far as the map allows around the route. Click at each bend and junction. A long jump between points may cut a corner, so add a point wherever the line leaves the route. To see the climb along a route, use the Elevation Profile tool.

The street map shows many OpenStreetMap trails and paths, which helps when the route follows a known trail. The result is still a distance measurement, not a navigation aid. Carry a real map and check conditions before you go.

For a fence line, a ditch or a driveway, zoom in until nearby buildings and roads are clear, and line up your clicks with them. Measure the line once, then read the total: paths under 1,000 feet show in feet, and under 1 kilometer in meters. Keep in mind that the map has its own accuracy, so treat the result as an estimate.

Next steps

Keep the map credits on any screenshot you share. Measured on the WGS84 ellipsoid from the points you placed. Accuracy depends on your clicks and the map imagery. This is not a land survey.

Frequently asked questions

How do I measure distance on a map?

Click the map to add a point at your start, then click each bend or stop along the way. The total updates as you go, and the details below the map add the number of segments and points. Undo point removes the last point and Clear starts over. The tool is free, runs in your browser, and does not ask for an account.

Can I measure distance as the crow flies?

Yes. The tool measures the shortest path over the Earth's surface between your points. That is the same idea as a crow-flies distance, and it ignores roads and terrain. For a road distance between two places, the Distance Calculator adds a driving distance from a routing service.

Can I measure distance on a map for running or hiking?

Yes. Zoom in on the street map, which shows many trails and paths, and click at each bend. On a phone, tap to add a point and use two fingers to pan without adding one. The tool measures straight lines between your clicks, so more points on a winding trail give a truer total.

Can I measure in meters, feet or nautical miles?

Partly. The result shows the total in miles, or in feet below 1,000 feet, and in kilometers, or in meters below 1 kilometer. There is no nautical mile option: a nautical mile is 1,852 meters, or about 1.1508 statute miles, so divide the meters by 1,852 for flight legs.

Does it work on iPhone and Android?

Yes. The page works in Safari on iPhone and Chrome on Android. Tap to add a point, use two fingers to pan, and press Undo to remove the last point. The total, segment count and point count appear as text under the map. No app is needed.

Is this the same as driving distance?

No. This tool measures straight lines between your clicks, so it is shorter than the road distance unless you click every bend of the road. For a driving distance between two places, addresses or ZIP codes, use the Distance Calculator, which asks a routing service. Neither includes live traffic, closures or stops.

How accurate is it?

The math is exact for the points you place: each segment is measured on the WGS84 ellipsoid. The error comes from your clicks and the map. A screen pixel covers more ground when you zoom out, so zoom in before you click a bend. Treat the result as a good estimate, not a land survey.

  • Distance Calculator

    Distance between any two places, addresses, ZIP codes or coordinates: straight-line (geodesic on the WGS84 ellipsoid) and…

  • Elevation Profile

    Draw a route or open a GPX or KML file to get its elevation profile with total climb and descent and more.

  • Draw on Map

    Draw lines, shapes, circles, markers and text notes on a map, measure as you draw, and export KML or GeoJSON.

  • Acreage Calculator Map

    Outline a field, lot or roof on a satellite or street map to get its area in acres, square feet and more.

  • GPX Viewer

    Open a GPX file to see its tracks, routes and waypoints on a map with the track length, then convert it to KML or GeoJSON.

  • Radius Map

    Draw a radius circle around an address, ZIP code or map click in miles, kilometers, air miles, feet or meters and see its area.

All radius and area tools

Built and checked by Handy Map Tools. Each tool names its method and data source, and every map page lists its credits.

Updated · How we measure · Report a problem