How to calculate distance on a map

Four steps to your route.

  1. 1

    Add your starting point

    Type a place name or click anywhere on the map to set your first location.

  2. 2

    Add more points

    Add as many stops as your trip needs, in any order.

  3. 3

    Choose how you're getting there

    Pick Walk, Bicycle, Bike, Car, Airplane, or another mode for each leg — and toggle Direct or Road distance.

  4. 4

    See your results instantly

    Distance, time, and totals update live as you build your route.

What is a distance calculator?

A distance calculator is a tool that measures how far apart two or more places are and, ideally, tells you how long it will take to get there. Real Distance Calculator does both. Enter any two locations — cities, addresses, airports, landmarks — and it plots the straight-line, great-circle path between them, then adds a second layer most calculators skip: travel time for whichever mode of transport you're actually going to use, whether that's walking, running, biking, driving, or flying. Add more than two stops and it becomes a full multi-leg route planner, totaling distance and time across your entire trip and drawing every leg on an interactive map.

Most distance calculators online do one of two things: they measure driving distance by routing along roads, which depends on traffic and detours, or they measure straight-line distance without saying which mode of travel the number applies to. This tool keeps the two ideas separate on purpose. The core distance is always the great-circle distance — the shortest path between two points on a sphere, the same math airplanes and ships use — shown openly with the formula behind it. Time is then estimated per leg based on the mode you choose, so the same distance reads very differently in a walking distance calculator than it does in a driving distance calculator.

Driving distance calculator: real road-trip numbers

Pick "Drive" for a leg and the calculator estimates driving time using a realistic average road speed, layered on top of the great-circle distance. It won't route you around a specific highway interchange, but for planning purposes — "how long is this drive, roughly" — it gives a fast, honest answer without loading a full mapping API for every leg of a multi-stop trip. That makes it useful as a quick driving distance calculator when comparing several possible routes at once: add a few candidate cities, set every leg to "Drive," and compare totals side by side.

Walking and run distance calculator

Switch a leg to "Walk" and the same base distance converts to walking time using a standard walking pace, turning the tool into a walking distance calculator for anything from "how far is it to the station" to planning a multi-stop walking tour. The same math works as a run distance calculator too — use the walking figure as a baseline and scale it to your own running pace. Because the underlying distance is shown openly, using the haversine formula rather than a hidden black box, you can always sanity-check the number or adjust it for your own pace.

Flight distance calculator: the great-circle route

Every distance in the tool — regardless of transport mode — starts from the same flight distance calculator math: the haversine great-circle formula, the exact path a plane actually flies between two airports. Set a leg to "Fly" and the tool adds airplane cruising speed plus a fixed buffer for takeoff, climb, and landing, giving a realistic total flight time instead of just the raw distance. It's the same reason great-circle routes look curved on a flat map but are, in fact, the shortest possible path on the globe — useful to know if you've ever wondered why a flight from Los Angeles to London flies further north than the "straight" line on a Mercator map suggests.

Time distance calculator: how long will it actually take?

Distance alone rarely answers the question people actually have, which is "how long will this take me." Real Distance Calculator is built as a time distance calculator first: every leg reports distance and time together, and multi-leg trips get a grand total for both. Because you choose the transport mode per leg, a single trip can mix modes realistically — walk to the station, fly to another city, drive the rest of the way — and still get one combined time and distance total at the end.

Map distance calculator: see every leg before you go

Numbers are easier to trust when you can see them. Every route you build is drawn on an interactive map as a great-circle line between each stop, so you can visually confirm the path matches what you expected before committing to it. That makes the tool double as a map distance calculator: add your stops in order, watch the line connect them, and use the map view to catch an obviously wrong location — a misplaced pin, a same-named city in the wrong country — before it throws off your totals.

Why the math is shown in the open

Every result on this page is backed by the same visible formula, shown above: the haversine great-circle equation, evaluated with Earth's mean radius of 6,371 km. There's no hidden markup and no assumed detour baked into the number. It's free, doesn't require an account, and works for any two — or twenty — points on Earth.

Frequently asked questions

How accurate is this distance calculator?

It uses the haversine great-circle formula, which is precise for straight-line distance between two points on Earth's surface. Travel time is estimated from standard average speeds per transport mode rather than live traffic or turn-by-turn routing, so treat times as realistic planning estimates rather than exact durations.

What's the difference between driving distance and straight-line distance?

Straight-line (great-circle) distance is the shortest path between two points, ignoring roads entirely. Driving distance follows the actual road network and is almost always longer, since roads curve and detour around terrain. This tool shows the great-circle distance and estimates driving time from it, so its numbers can read lower than a turn-by-turn maps app for the same two places.

Can I calculate distance for a trip with multiple stops?

Yes. Add as many stops as your route needs, choose a transport mode for each leg individually, and the calculator totals the distance and time across the entire trip.

Does it work as a flight distance calculator between airports?

Yes. Set a leg to "Fly" and the calculator adds cruising speed plus a fixed takeoff-and-landing buffer on top of the great-circle distance, giving a realistic flight time estimate between any two airports or cities.

Is the distance calculator free to use?

Yes. There's no sign-up and no paywall — use it as often as you like.

How to calculate distance and time?

Distance and time are linked by speed: distance = speed × time. If you know the distance and your average speed, divide distance by speed to get time; if you know the time and speed, multiply them to get distance. Real Distance Calculator does this automatically — enter your start and end points, pick a transport mode, and it works out the great-circle distance and applies a standard speed for that mode to estimate the time for you.

What is distance in time?

"Distance in time" usually means expressing how far something is by how long it takes to get there, rather than in kilometers or miles — for example, saying a place is "20 minutes away" instead of "15 km away." It depends on the mode of travel, since 15 km is a very different amount of time to walk versus drive. This calculator shows both figures together for each leg of a trip, so you can read the result as a distance, a time, or both.

What is the formula for time and distance?

The core formula is time = distance ÷ speed (equivalently, distance = speed × time, and speed = distance ÷ time). Keep the units consistent — kilometers with km/h, miles with mph — and the formula holds for any mode of travel, from walking to flying. Real Distance Calculator applies this formula per leg, using the great-circle distance and a standard average speed for whichever mode you select.

How long is 1 km in time?

It depends entirely on how you're travelling. At an average walking pace of about 5 km/h, 1 km takes roughly 12 minutes. Running it at a moderate 10 km/h pace takes about 6 minutes. Cycling at 15–20 km/h takes 3–4 minutes, and driving at 50 km/h in town takes about 1 minute 12 seconds. Set a 1 km leg in the calculator and choose your mode to see the exact estimate.

What is the difference between distance and time?

Distance measures how far apart two places are, in units like kilometers or miles. Time measures how long it takes to travel that distance, in units like minutes or hours. They're related by speed — the same distance takes different amounts of time depending on how fast you're moving — which is why this calculator always reports them together rather than distance alone.

How do I convert distance and time to speed?

Divide distance by time: speed = distance ÷ time. For example, covering 10 km in 2 hours gives an average speed of 5 km/h. Keep units consistent (kilometers and hours for km/h, or miles and hours for mph) before dividing. This is the reverse of what the calculator does internally — it starts from a standard speed per transport mode and works forward to estimate time for a known distance.

How do we measure time?

Time is measured using standardized units — seconds, minutes, and hours — built from the consistent, repeating cycle of a cesium atomic clock, the modern basis for the second. For everyday travel planning, time is simply the duration a journey takes, calculated from distance and speed (time = distance ÷ speed), which is exactly how the estimates in this calculator are produced.

How to calculate running distance?

Multiply your running pace by the time you ran, or, if you know the route, use a distance calculator to measure it directly. This tool works as a run distance calculator by measuring the great-circle distance between two points; enter your route's start and end (or each waypoint of a loop) and it gives you the distance, which you can then compare against your actual pace and time.

How far is a 30 minute run?

At an easy jogging pace of around 8 km/h, a 30-minute run covers about 4 km. A moderate 10 km/h pace covers 5 km, and a faster 12 km/h pace covers 6 km. Your own distance depends on your pace, so use your typical running speed and the formula distance = speed × time to get a more personal estimate.

How far is a 1 km run?

1 km is 1 km regardless of pace — the distance doesn't change, only the time it takes. At a beginner jogging pace of around 8 km/h, 1 km takes about 7.5 minutes; at a faster 12 km/h pace, it takes about 5 minutes. If you're picturing it: 1 km is roughly 2.5 laps of a standard 400 m track, or about 12–15 minutes of brisk walking.