Home » Home With One Sidebar » How Does a Map App Work Out How Long a Journey Will Take?

How Does a Map App Work Out How Long a Journey Will Take?

by Bebup Editorial Team
0 comments

How long a journey will take is a sum and not a single measurement. A map app cuts the route into short stretches, forecasts the speed on each stretch for the minute you’ll reach it, and adds the times together. Phones already on the road supply the live part, and past weeks of traffic fill in the rest. Our example is an 18 km weekday commute in Leeds. The speeds and times are invented samples, and real apps vary in how they handle the details. The commute shows the mechanism and doesn’t measure any real product.

How Long a Journey Will Take: The Short Answer

In one sentence, the app sums a forecast time per road stretch. For each stretch it needs a length and a speed. Length never changes. Speed is the guess, built from two sources: what the road did at this hour on earlier days, and what moving phones report right now. Divide length by speed and you get a time. Add the times along your route and you get the estimate. A stretch can be as short as a few hundred metres. A long road may hold dozens of them, each with its own number. The sum also changes with the minute of departure, because the same road behaves differently at 08:10 and at 11:10.

Several things sit outside that sentence. How the app weighs live reports against history isn’t covered, because each app balances them differently. Waiting at lights isn’t covered, nor is finding a space or walking from the car to the door; most estimates exclude those parts or treat them roughly. Nor does it mention what happens once you set off, since the sum is recalculated as you drive. Keep the sentence as a frame, then read on for the detail.

Tracing One Commute From Door to Desk

Take one commute to see how long a journey will take in actual numbers. Priya leaves home at 08:10.

The app divides her 18 km route into six stretches and looks up a typical speed for the minute she would reach each. The first stretch, 2.0 km of side streets at a typical 30 km/h, takes 2.0 ÷ 30 = 0.067 hours, or 4.0 minutes. Next comes 5.0 km of ring road at 50 km/h: 6.0 minutes. A junction-heavy corridor of 3.0 km follows, typically crawling at 24 km/h, which takes 7.5 minutes. Then 4.0 km at 60 km/h adds 4.0 minutes. A further 2.5 km at 30 km/h adds 5.0. The final 1.5 km of town centre, at 18 km/h, adds another 5.0. The lengths total 18.0 km and the times 31.5 minutes. On that sum the app tells Priya she’ll arrive at 08:41.

At 08:16 a stalled vehicle appears in the corridor. Phones passing it report 12 km/h, and the app swaps the typical 24 for the live figure. The corridor now takes 3.0 ÷ 12 = 0.25 hours, or 15 minutes, which is 7.5 minutes more than before. That brings the new total to 39.0 minutes, and the arrival slips to 08:49.

Later stretches shift as well. Priya now reaches the town centre at about 08:44 and not 08:36. The app therefore looks up its forecast for that later minute. In our sample the speed there is unchanged. In a real city the later forecast could be slower or faster, and the estimate would move a little.

A recalculation runs every minute or so from the position of her phone. By 08:30 the stalled vehicle has cleared, the live speed in the corridor recovers and the remaining total falls again.

The number on screen is a running sum, never a promise made once.

A Recipe Timer, and Where It Breaks

Think of a cook working from a recipe. Each step has a usual duration, and the dish is ready when the steps are added up. If the oven runs hot, the cook trims the baking time. That is the app’s method: usual times per step, adjusted by what’s happening now.

Three differences break the comparison. Recipe steps don’t affect each other, whereas a queue in the corridor backs up onto the ring road and slows it too. A recipe’s duration is known, while a road’s speed is a forecast with a range around it. And a cook can taste the sauce, but the app can’t see why a stretch is slow. It sees only how fast phones are moving.

How Long Will a Journey Take When Nothing Is Typical

The estimate is a central guess. It says what’s most likely, not what’s certain, and people misread that more than any other limit. Suppose the corridor took between 6 and 11 minutes across a sample of 20 weekdays. The typical figure of 7.5 sits near the middle and hides a spread of 5 minutes on that stretch alone.

Other limits stack on top. The app can’t know about a delivery van that stops for ten minutes, or a school event that starts at nine. A new road layout or a recent change to roadworks may not appear in past data for days. Your own driving matters too, since a cautious driver may spend 10% longer than the average speeds suggest. On a quiet stretch with few phones, the live speed rests on a handful of reports and may be noisy.

The figure covers the moving part of the trip only.

Three Beliefs About Arrival Times

Beliefs about how long a journey will take cluster around three ideas, and each has an origin. A common view is that the app counts cars. It formed because the coloured lines look like a traffic count. Most apps use speed reports from phones, which show how fast vehicles move and nothing about how many there are.

Another says the shortest route is the quickest. It formed because distance is the number on the screen. A road of 15 km through the town at an average of 30 km/h takes 30 minutes, whereas 17 km on the ring road at 51 km/h takes 20.

A last belief says the first estimate should hold all the way. It formed because the figure looks exact. The arrival time drifts because each new minute rebuilds the sum from fresh speeds, and the drift shows the app is working.

A Rule for Leaving on Time

Decide with a margin that scales with the estimate. Add 15% to the figure for any fixed appointment, and leave when that total fits the time you have. In our sample 31.5 minutes plus 15% is 36.2 minutes, and the live figure of 39.0 becomes 44.9. For a train or a booked slot, add a further 10 minutes for parking and walking. A casual visit needs only the raw estimate. Log how long a journey will take on three ordinary days and compare the log with the app. If you’ve arrived late twice this month, raise 15% to 20%, which turns 31.5 minutes into 37.8.

Look at the estimate when you plan and again at the door. A jump of more than 5 minutes between the two looks means you should leave earlier than planned. With a margin chosen, the number on the screen stops being a worry, since you know what it measures and what it ignores. Over a month, note how far the estimate was off on each trip. After a few weeks you’ll know which stretches the app handles well, and your margin can follow.

Questions and Answers

Why does the estimate sometimes turn out wrong?

Because it’s a forecast built from typical and live speeds, and neither can see a van that stops without warning or a driver who is slower than average. Stretches with few phones are the least reliable. A range of 10% either way is a fair expectation for a routine commute.

Do I need to check the estimate before leaving?

For a fixed appointment, yes, twice: once at planning and once at the door. For a casual trip the estimate rarely matters. The second check catches an incident that appeared since you planned, and a jump of more than 5 minutes is the signal to move earlier.

Is the estimate better than dividing distance by the speed limit?

Almost always. A speed limit says what’s allowed, not what’s happening. Our 18 km commute at a limit of 50 km/h would suggest 21.6 minutes, while the typical sum of the stretches gives 31.5. Junctions and queues in the town centre make up the difference.

You may also like

Leave a Comment

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?
-
00:00
00:00
Update Required Flash plugin
-
00:00
00:00