Home › Map Distance Calculator
Map Distance Calculator
Measure any distance directly on the map: click to drop points along a path, a boundary or a straight line, and the running total is shown in miles, kilometres, metres and feet.
How to use this calculator
- Use the search field at the top of the tool to jump the map to the place you want to measure. Type a town, a landmark or an address and pick the match.
- Zoom in until the feature you are measuring — a path, a plot, a shoreline — fills a good part of the screen. Zoom is your accuracy control.
- Click on the map to drop your first point exactly where the measurement starts.
- Keep clicking along the path or around the shape. Every click adds one straight segment, and the running total updates as you go.
- On a curve, click often. Short segments follow bends; long segments cut across them.
- Made a slip? Use Undo last point to remove the most recent click, or Clear to start again. Finish by reading the total in whichever of the four units suits your purpose.
Note: the exact inputs here are your clicks. There is no From and To to type — the search field only moves the map; the measurement is the sequence of points you place, in the order you place them.
A fully worked example: a four-point path through Lower Manhattan
Suppose you want the length of a walking route that crosses Lower Manhattan in a series of straight legs rather than following one road. Jump the map to New York, zoom in, and drop four points in order: first at 40.7128, −74.0060, then at 40.7200, −73.9950, then at 40.7280, −73.9850, and finally at 40.7350, −73.9750.
Those four points create three segments, and the tool measures each segment on the surface of the Earth and adds them together. The running total for the finished path is 2.24 miles (3.6 kilometres). Notice what the example demonstrates: you did not ask for the distance between two named places at all. You built a small route out of straight pieces, point by point, and the answer is the length of the thing you drew.
It also demonstrates the central skill of this tool. The drawn path is a simplified version of any real walk between those points, because real streets bend between the clicks. If you retraced the same journey with a point at every corner, the total would grow slightly and sit closer to the true walked length. If you used only the first and last points, the total would shrink to the single straight-line distance between them — a correct answer to a different, simpler question. Same map, same endpoints, three different measurements, and the number of points is what separates them.
More worked examples
A gardener measuring a plot clicks the four corners of a roughly rectangular garden and then back to the start: the total is the perimeter, useful for ordering fencing — and clicking just one long side gives its length for a hedge or a row of raised beds. A runner checks a lakeside path by dropping points around the shore; twelve clicks later the total reads 3.1 miles, confirming the loop really is a 5K training circuit. A home buyer, meanwhile, places two points — one on a house, one on the nearest station — and reads the straight-line distance in feet and metres to test the “five-minute walk” claim in a listing against the traced route in the walking distance calculator.
What is a map distance?
A map distance is the length of a line you define on a map: a sequence of points, joined by straight segments, measured on the surface of the Earth and added together. It is not tied to roads, paths or place names. It can describe something that exists — a trail, a boundary, a river — or something that exists only as a plan, such as a proposed fence line or the route of a cable you intend to lay.
Two consequences follow. First, the measurement is exactly as good as the drawing: the tool cannot know that you meant to follow the far bank of the river if your clicks run down the middle of it. Second, a map distance is horizontal distance. It describes the line as projected on the map, not the extra length that slopes, steps and rough ground add when you travel the line on foot. For most planning purposes that is the right figure; for steep ground it is a slight understatement, and the accuracy section below returns to it.
Why too few points fails on a curve
The naive way to measure anything winding is to click its two ends and read the number. That gives you the straight-line distance between the ends, which for a river, a coastline or a switchback path can be a small fraction of the real length. The failure is not in the maths — each segment is measured correctly — but in the drawing: a chord across a bend is always shorter than the bend itself, and the errors all run the same way, so they accumulate instead of cancelling out.
The opposite extreme fails too, in a quieter way. Hundreds of points placed at low zoom add hundreds of small placement errors, and the total becomes fussy without becoming truer. The working rule is simple: zoom in first, then place a point wherever the real feature changes direction, and let straight stretches stay straight. A dozen well-placed points on a curve will beat fifty careless ones every time.
How does this calculator work?
Every click adds one segment to your measurement. For each segment the tool takes the latitude and longitude of its two endpoints and computes the great-circle distance between them — the shortest path over the Earth's curved surface — using the same spherical maths described in our haversine formula guide. The segments are then added together and converted into miles, kilometres, metres and feet, so the four figures you see are four views of one measurement, not four separate calculations. Because each segment is computed on the sphere rather than on the flat screen, a long straight measurement — across a state, say — stays accurate even though the map projection underneath stretches shapes near the top and bottom of the screen.
This also explains why the tool is honest about curves. A river, a coastline or a winding lane has no single “distance between its ends” that captures its length; its length is the sum of many short, nearly straight pieces. The more faithfully your clicks follow the bends, the closer the sum gets to the true length. With only two clicks you get the opposite extreme: the pure straight-line figure explained in the as the crow flies guide.
The process, in order:
- Record the latitude and longitude of the point you click.
- Join it to the previous point to form one segment.
- Calculate that segment's great-circle length with the haversine formula.
- Add the segment to the running total and convert the total into miles, kilometres, metres and feet.
- Repeat for every further click, so the total is always the sum of the segments drawn so far.
What formula does it use?
Two formulas do all the work on this page, and each one below gets its own card, a plain-English restatement, a definition of every symbol in everyday words, and a worked example with real numbers. The haversine formula measures each individual segment; the segment sum then turns your clicks into the total.
In simple words: this first haversine step mixes the north–south gap and the east–west gap between two clicks into a single number that always falls between 0 and 1.
In simple words: this step turns that in-between number into the angle between the two clicks, as seen from the centre of the Earth.
In simple words: multiply that angle by the Earth's radius and you get the length of the one segment between the two clicks, measured over the surface of the Earth.
where:
- φ (phi) is just the latitude of a click — how far north or south the point is — written in radians instead of degrees (to convert, multiply the degrees by π ÷ 180). φ1 is the latitude of the click at one end of the segment and φ2 is the latitude at the other end;
- Δφ (delta phi) is simply the difference between those two latitudes, and Δλ (delta lambda) is the difference between the two longitudes — how far east or west apart the clicks are — both in radians;
- a is a halfway number the formula builds out of those gaps; it always falls between 0 and 1;
- c is the angle between the two clicks as seen from the centre of the Earth, measured in radians;
- R is the Earth's radius — about 3,958.8 miles (6,371 kilometres);
- sin, cos and atan2 are ordinary calculator functions (sine, cosine and a form of inverse tangent) that any calculator or browser provides.
Worked through in full for one long segment — Dallas (32.7767, −96.7970) to Houston (29.7604, −95.3698) placed as two clicks — step by step:
- Convert the latitudes to radians by multiplying each by π ÷ 180: φ1 = 32.7767° becomes about 0.5721 radians, and φ2 = 29.7604° becomes about 0.5194 radians.
- Take the differences: Δφ = 29.7604 − 32.7767 = −3.0163°, which is −0.0526 radians, and Δλ = −95.3698 − (−96.7970) = 1.4272°, which is 0.0249 radians.
- Build the value a: sin²(Δφ ÷ 2) ≈ 0.000693, cos φ1 ≈ 0.8408, cos φ2 ≈ 0.8681 and sin²(Δλ ÷ 2) ≈ 0.000155, so a ≈ 0.000693 + (0.8408 × 0.8681 × 0.000155) ≈ 0.00081.
- Turn a into the angle c: c = 2 × atan2(√a, √(1 − a)) = 2 × atan2(0.0284, 0.9996) ≈ 0.05678 radians.
- Multiply by the Earth's radius: segment length = R × c = 3,958.8 × 0.05678 ≈ 224.8 miles.
The segments you draw on this page are usually far shorter than that example, but the steps are identical every time — only the gaps between the clicks change.
In simple words: measure each straight piece between two neighbouring clicks with the formula above, then add all the pieces together — that sum is the length of the path you drew.
where:
- each segment is one straight piece between two consecutive clicks, measured with the haversine formula above;
- n is the number of segments, which is always one less than the number of points you have placed — four points make three segments;
- the total is then converted for display into miles, kilometres, metres and feet, using one mile equals 1.609344 kilometres.
Worked through with the four-point Lower Manhattan example from earlier on this page, step by step:
- Segment 1, from (40.7128, −74.0060) to (40.7200, −73.9950): a small great-circle distance in its own right, worked out with the haversine steps above — about 0.76 miles.
- Segment 2, from (40.7200, −73.9950) to (40.7280, −73.9850): the same calculation on the next pair of clicks — about 0.76 miles.
- Segment 3, from (40.7280, −73.9850) to (40.7350, −73.9750): the same calculation again — about 0.71 miles.
- Add the pieces: total = 0.76 + 0.76 + 0.71 = 2.23 miles from the rounded segment figures shown here. Adding the unrounded segment lengths instead gives 2.24 miles (3.6 kilometres), which is the total quoted in the worked example — the 0.01-mile difference between the two sums is purely the rounding of the segments.
Common mistakes
Three account for most bad measurements. First, measuring at too low a zoom, where one click spans a whole street. Second, drawing chords across curves, which always under-measures — a bay measured with one segment can read half its true shoreline length. Third, forgetting that the total is horizontal map distance: on steep ground the surface distance you actually walk or fence is a little longer. Avoid those three and a careful trace is accurate enough for quotes, training plans and property decisions.
Measuring on a map vs measuring between places
Most distance tools answer “how far is A from B?” This one answers a different question: “how long is this?” — this trail, this field boundary, this stretch of coastline, this diversion around the roadworks. Because you place every point yourself, the measurement follows whatever shape you draw: a single straight segment for the crow-flies distance between two rooftops, or thirty small segments hugging a winding river path. Each segment is calculated on the surface of the Earth with great-circle maths, so long segments stay honest even though the map underneath is flat.
A few habits make measurements more accurate. Zoom right in before placing points on corners — at street level a click is precise to a few metres, while at country level the same click can be a mile wide. Follow curves with several short segments instead of one long chord, because a chord always cuts the corner and under-measures. And remember what the map cannot show: slopes. A mile measured across a hillside on the map is a mile of horizontal distance; the ground you actually walk over is slightly longer. For a point-to-point answer with no tracing, use the main distance calculator; for a route with walking and running times and a step count, the walking distance calculator uses the same tracing idea with pedestrian numbers built in. Our guide on how to measure distance on Google Maps shows the equivalent feature in Google's app.
Map distance vs driving distance
A driving distance follows the road network whether you like that network or not; a map distance follows your clicks, which may or may not correspond to any road. Use the driving distance calculator when the journey will be driven and you need a time with it.
Map distance vs straight-line distance
A straight-line distance is the special case of this tool with exactly two points — the as the crow flies figure — and the main distance calculator gives it directly between named places without any clicking.
Map distance vs walking distance
A walking distance is a map-style measurement with pedestrian meaning attached: times and step counts built on a traced or routed path, which is the job of the walking distance calculator.
Map distance vs address distance
An address distance, from the distance between addresses tool, fixes its endpoints from real properties rather than from clicks. The choice between all of these is really a choice about who or what decides the line: the road network, a routing engine, an address database, or you.
Measuring across open water or empty land
Nothing stops you clicking across a bay, a lake or a desert, and the tool will happily measure the line. Just be clear about what you have measured: the direct surface distance along your clicks, not a sailing route, a shipping lane or a walkable path. For a flight-style figure between two points, two clicks give you exactly that.
Clicking the same point twice
A repeated click adds a segment of length zero. It does no harm to the total, but it usually signals a slip; undo it and place the point where you meant it to go, because a stray point in the wrong place can bend the next segment badly.
Very long segments
A single segment can span a continent and still be measured correctly, because the maths works on the sphere rather than on the flat screen. What you lose with very long segments is not accuracy of that segment but detail: at that scale there is rarely a real feature that is truly one straight line, so the measurement describes your line, not the terrain.
Forgetting to close a perimeter
When you measure around a shape, the total only becomes the full perimeter when your last click returns to your first point. Stop one side early and you have measured most of a boundary, not all of it — an easy mistake when ordering fencing, and an expensive one. Count the sides as you go.
Trails, runs and rides
Trace a loop or an out-and-back route and check it against the distance you intend to train. A lakeside loop that everyone calls five kilometres either is or is not, and a careful trace settles it before race day rather than during it.
Fencing, boundaries and plots
Click around a plot to get its perimeter for fencing, hedging or edging, or click a single side for the length of one run. At this scale the metres and feet figures are the useful ones, and zooming to property level is what makes them trustworthy.
Cable, pipe and path runs
Anything that will be laid, dug or built along a line — a cable to an outbuilding, a water pipe across a field, a new path through a site — can be estimated by tracing its intended course. Add a sensible allowance for slack and vertical drops before ordering materials; the map gives you the horizontal length, not the extra that real installation consumes.
Checking claims about places
How far is the house from the shore, the plot from the road, the ground from the river? Two clicks answer the direct version of the question honestly, and a traced version answers the walking version. Either is better than repeating a figure from a listing that nobody measured.
Accuracy and limits
Three things limit a map measurement, in this order: your zoom level, your point placement, and the shape of the ground. At street-level zoom a click is precise to a few metres. At town or country zoom the same click can land a street or a field away from where you intended, and every segment inherits that error. Placement on corners matters for the same reason — a point dropped just inside a bend shortens both segments that meet there.
Ground shape is the limit no clicking can remove. The total is horizontal distance over the Earth's surface as the map represents it; a steep hillside path is longer on the ground than on the map, and steps, switchbacks and detours around obstacles all add real length that a tidy trace smooths away. Treat a careful trace as a good planning figure — right for training targets, quotes and comparisons — rather than as a surveyed measurement, which is a different job done with different instruments. If you need coordinates for a specific spot you have clicked around, the latitude and longitude finder works from addresses, and our how to measure distance on Google Maps guide shows the same tracing idea in Google's own app.
What each result means
The running total is the headline result: the sum of every segment you have drawn, updated with each click. It is shown in miles and kilometres for longer measurements, and in metres and feet because short measurements — a plot, a field, a building — read naturally in those units and awkwardly as fractions of a mile. All four figures are the same measurement converted, not four different measurements. The line on the map is also a result in its own right: it shows exactly what was measured, so if the line does not hug the feature you care about, the number beside it is not the number you want, however precise it looks.
Which sibling tool to use instead
If you have two named places and want their distance without drawing anything, use the main distance calculator. If the answer must follow roads with a drive time, use the driving distance calculator. If your endpoints are street addresses or postal codes, use the distance between addresses. If your shape is a circle around a centre point, the radius calculator draws it from a radius instead of asking you to click around an edge, and the circle radius calculator handles the circle maths itself. More background lives in our guides, and our editorial policy explains how we treat accuracy across the site.
When to use this tool vs a sibling tool
Choose this tool when the thing being measured has a shape: boundaries, perimeters, trails, coastlines, pipelines, cable runs. Choose the main distance calculator when you simply have two named places and want the straight-line and driving figures without drawing anything. Choose the distance between addresses tool when your endpoints are street addresses or postal codes, and the driving distance calculator when the answer must follow roads with a journey time attached. If your shape is a circle — a delivery zone, a search area, a coverage ring — the radius calculator draws it from a centre point and a radius instead of asking you to click around the edge.
Frequently asked questions
How accurate is clicking on the map?
As accurate as your clicks. Zoomed in to street level, each point you place is good to a few metres, and the segment maths itself — great-circle distance worked out on the sphere — is far more precise than clicking ever is. The total is therefore limited by how faithfully your points follow the real feature, not by the calculation. A point dropped just inside a bend shortens both segments that meet there, and at low zoom a single click can land a whole street away from where you intended. Zoom in first, place points where the feature changes direction, and a careful trace is accurate enough for quotes, training plans and property decisions.
Can I measure a straight-line distance with this?
Yes — place exactly two points and stop there. With two points there is only one segment, and its length is the great-circle straight-line distance between them: the as the crow flies figure. That is the right way to test a direct claim, such as how far a house really is from the shore or a plot from the road. Just remember it answers the direct question only — it says nothing about the path you would actually walk or drive between the same two points, which will always be longer. Adding a third point anywhere between them turns the measurement into a path, and the total grows accordingly.
Why show metres and feet as well?
Because many of the things this tool measures are small. A garden plot, a sports field, a building footprint or a fencing run reads naturally as 38 metres or 125 feet, and awkwardly as 0.024 miles. Small units also protect you from rounding: a length rounded to the nearest hundredth of a mile can be out by more than 50 feet, which matters when you are ordering materials. So the results show all four units together — miles and kilometres for long traces, metres and feet for short ones — and all four are the same single measurement converted, not four separate calculations. Use whichever unit your purpose already speaks in.
Can I measure the perimeter of an area?
Yes. Click around the shape point by point and make your final click land back on your first point, so the last segment closes the loop; the running total is then the full perimeter. Count the sides as you go — stopping one side early is an easy mistake, and it leaves you with most of a boundary rather than all of it, which is an expensive error when the number is for ordering fencing. For a rough rectangle, four corners plus the closing click are enough. For a circle specifically, the radius calculator is quicker — one centre point and a radius draws the whole ring at once.
Does this work like the measure tool in Google Maps?
Yes, the idea is the same — drop points along what you want to measure and read the total — and the maths underneath is the same great-circle segment maths. The differences are practical: this tool runs directly in the page with no sign-in, keeps the running total visible as you click, and shows miles, kilometres, metres and feet together instead of making you switch units. Google's version is built into its maps app, which may suit you if you already work there. Our Google Maps distance calculator alternatives guide compares the options side by side. Whichever tool you use, the accuracy rules are identical: zoom in, and put a point wherever the feature changes direction.
How many points should I use for a winding path?
One at every clear change of direction, placed after zooming in — that rule covers almost everything. Straight stretches need no intermediate points at all, because a segment is already straight, while tight bends need several short segments to follow them honestly. A useful test while you work: if adding more points keeps changing the total noticeably, the path needed those points; when the total settles, you have enough. Beware the opposite extreme, too — hundreds of points placed at low zoom add hundreds of small placement errors and make the total fussy without making it truer. A dozen well-placed points on a curve will beat fifty careless ones every time.
Can I edit a point after placing it?
Use Undo last point to remove the most recent click, then place it again where it belongs. Undo works one point at a time from the end of the line, so it is ideal for a slip you notice immediately. For an error several points back, undoing means retracing everything after it as well, and at that point it is usually quicker to Clear and retrace the whole measurement. That sounds drastic, but a fresh careful trace is faster than it feels and more trustworthy than a patched one. Either way, check the drawn line before you read the total — the line shows exactly what was measured.
Why is my traced route shorter than the distance I actually walked?
For two reasons that both push the same way. First, a traced line smooths corners: every bend you cut across, even slightly, removes a little real length, and across a whole walk those small removals add up. Second, map distance is horizontal distance, while the ground you walked has slopes, steps, kerbs and small detours around obstacles, all of which add length that a flat trace cannot see. The gap is small on flat, straight routes and grows on steep or very winding ground. Treat the traced figure as the clean planning number, and expect your legs — and a fitness watch — to report a somewhat longer journey.
Can I measure a distance that crosses the sea?
Yes — clicks work anywhere on the map, over water just as over land, and each segment is measured over the surface of the Earth with the same great-circle maths. Two clicks across a bay give you the direct width of the bay, which is a genuinely useful figure for a swim, a cable run or a line-of-sight question. Be clear about what you have measured, though: it is the direct distance along your line, not a ferry route, a sailing course or a shipping lane, all of which bend around headlands, channels and harbours. If the journey will actually be made by boat or plane, use the figure as a sense of scale and plan the real route separately.
What is the difference between this and the radius calculator?
The difference is who draws the shape. This tool measures a line you draw yourself, point by point, so it can follow any shape at all — a boundary, a trail, a coastline. The radius calculator works the other way round: you give it one centre point and a radius, and it draws a perfect circle for you. That makes the radius tool the right choice for coverage areas, delivery zones and “within X miles of” searches, where the question is which places fall inside a ring. Use this map tool when the thing being measured already has a shape of its own; use the radius tool when the shape is a circle you are defining.
Which unit should I use for a small plot of land?
Metres or feet. A plot side of 0.03 miles tells you almost nothing and invites rounding errors, while the same side as about 48 metres or 158 feet can be paced, checked and ordered against directly. Small distances also expose rounding brutally: the nearest hundredth of a mile is over 50 feet, so a mile figure rounded for display can hide a whole fence panel's worth of length. Read small measurements in the small units, and only convert up to miles or kilometres when the trace is long enough for those units to be honest. The conversion itself is exact — one mile is 1.609344 kilometres — so nothing is lost by working in the unit that fits the job.