WayAuto Blog

How to calculate average speed and drive time for a trip

Work out your average speed from distance and time, turn it around to estimate how long a drive will take, and see how stops change the answer. With a calculator, a road trip worked example, and the common mistakes.

You get home from a long drive and someone asks how long it took. Five hours, you say. Then they ask how fast you were going, and you realize you have no idea. The speed limit was 65 most of the way, but you stopped for gas, sat behind a truck on a two-lane road, and spent forty minutes over lunch. Next time you plan the same kind of trip, you'll guess the time from the speed limit again, and you'll be late again.

Several cars and trucks moving along a straight multi-lane highway.

Photo: Horia Varlan on Flickr ( CC BY 2.0 )

Average speed is one division, and once you know it, you can turn it around to estimate how long a drive will really take. The calculator below does the math in miles or kilometers.

Average speed = distance ÷ time in hours. 2 h 15 min is 2.25 hours. Switching miles and kilometers relabels the fields; it does not convert your numbers.

Units
Find

The formula in one line

Average speed is the distance you covered divided by the time it took.

average speed = distance ÷ time

To find average speed: divide the distance by the time in hours. If you drove 180 miles in 3 hours, your average speed was 180 ÷ 3 = 60 mph. In kilometers it works the same way: 180 km in 2 hours is 90 km/h.

The same three numbers can be rearranged to answer the other two questions people usually have before a trip.

drive time = distance ÷ average speed
distance = average speed × time

To find drive time: divide the distance by your average speed. To find how far you'll get: multiply your average speed by the time. At 55 mph, 3 hours of driving gets you 55 × 3 = 165 miles.

Turn hours and minutes into decimal hours

This is the step that's easiest to get wrong. Times come in hours and minutes, but the formula needs hours as one decimal number.

  1. Divide the minutes by 60. For 2 hours 15 minutes, that's 15 ÷ 60 = 0.25.
  2. Add the whole hours. 2 + 0.25 = 2.25 hours.
  3. Use that number in the formula. 180 km ÷ 2.25 hours = 80 km/h.

Notice that 2 hours 15 minutes is 2.25 hours, not 2.15. If you type 2.15 by mistake, 180 ÷ 2.15 gives about 83.7 km/h, which is wrong by almost 4 km/h.

These come up often enough to remember:

Minutes Decimal hours
10 0.17
15 0.25
20 0.33
30 0.5
40 0.67
45 0.75
50 0.83

Going back from decimal hours to minutes

When you work out a drive time, the answer comes out as decimal hours too. Multiply the part after the decimal point by 60. A 350 mile drive at 58 mph is 350 ÷ 58 = 6.03 hours. That's 6 hours plus 0.03 × 60, about 2 minutes, so roughly 6 hours 2 minutes.

Miles or kilometers

Keep the units together. Miles and hours give mph, kilometers and hours give km/h. If you need to switch, 80 km/h is 80 ÷ 1.609344 = 49.7 mph. The km/h to mph converter does that for you, and the guide on how to convert km/h to mph explains the shortcuts.

Know which average you mean

"Average speed" can mean two different things on a road trip, and they give very different numbers.

  • Driving average. Distance divided by the time the car was actually moving between stops. Traffic lights and slow traffic count, but the gas stop and lunch don't. This tells you how fast the roads let you go.
  • Door to door average. Distance divided by the whole time from leaving home to arriving, stops included. This is the one you need to plan when you'll get there.

Neither is wrong. The mistake is planning with one when you need the other. If you use your driving average to plan a trip with a lunch stop, you'll probably arrive late.

Worked example: a Saturday road trip

Say you drive 238 miles to visit family, with a gas stop and lunch on the way. The numbers are made up for the example, but they're the kind of thing you'd write down from a real drive.

Part of the trip Distance Time Average speed
Leg 1, highway 96 miles 1 h 35 min 60.6 mph
Gas and coffee 0 20 min
Leg 2, through two towns 84 miles 1 h 30 min 56.0 mph
Lunch 0 45 min
Leg 3, highway 58 miles 55 min 63.3 mph
Driving total 238 miles 4 h 0 min 59.5 mph
Door to door 238 miles 5 h 5 min 46.8 mph

Here's how the bottom two rows work.

  1. Add the driving time. 1 h 35 min + 1 h 30 min + 55 min = 4 hours exactly.
  2. Driving average. 238 miles ÷ 4 hours = 59.5 mph.
  3. Add the stops. 4 hours + 20 min + 45 min = 5 hours 5 minutes, which is 5.08 hours.
  4. Door to door average. 238 miles ÷ 5.08 hours = 46.8 mph.

Now look at the speed limit guess. At 65 mph, 238 miles would take 238 ÷ 65 = 3.66 hours, about 3 hours 40 minutes. The example drive took 4 hours of driving and over 5 hours door to door. The limit guess was off by almost an hour and a half.

Use it for the next trip

Now say your next trip is 300 miles on similar roads.

  • With your driving average: 300 ÷ 59.5 = 5.04 hours, about 5 hours 3 minutes behind the wheel.
  • With your door to door average: 300 ÷ 46.8 = 6.41 hours, about 6 hours 25 minutes from leaving to arriving, if you stop about as much as last time.

That's the number to give whoever is waiting for you. If you're also budgeting fuel, how to calculate gas cost for a road trip uses the same distance, and the trip fuel cost calculator does the math.

Do the math on your iPhone

You don't need a special app for one calculation.

Use Calculator or Math Notes

  1. Open the Calculator app.
  2. Work out the time in decimal hours first, for example 5 + 5 ÷ 60.
  3. Divide the distance by that number.

If you have several legs to add up, Math Notes in the Calculator app keeps every line on the page and solves each one once you type an equals sign. Type one line per leg, like "96 ÷ (95 ÷ 60) =", and the trip stays readable afterward.

Check the plan against Maps

For the drive time of a planned route, Apple Maps and Google Maps already do the work and include current traffic. The guide on driving distance and time between two places shows where to find it in both apps. What Maps doesn't know is how long you'll stop, so add your own stops on top, or plan with your door to door average.

Let your drives give you the numbers

The hard part of all this isn't the division. It's remembering to write down the time and distance of every leg while you're driving.

WayAuto, an iPhone app I make, logs your drives in the background, so you don't need to start or stop anything. Open My Drives and tap a drive. You'll see its duration and distance, and a speed chart with your Avg and Peak speed above it. There's also an Idle time tile that shows how long you were stopped or barely moving during that drive, which is handy when you want to know how much of a slow drive was traffic.

WayAuto works out Avg the same way as this guide: the drive's distance divided by its whole duration, so time spent creeping in traffic counts. A drive ends once you've been stopped for a few minutes, so a gas stop or lunch usually splits the day into separate drives. That means each drive's Avg is close to the driving average for that leg.

For a longer view, open your License and tap All Drive Stats. The Drive Distance and Drive Time sections show your totals, and dividing one by the other gives your average speed across everything you've driven. Every drive is also added to a map of every road you've driven.

WayAuto doesn't plan routes or predict arrival times, so you still need Maps for that. It's a TestFlight beta right now and free to use while it's in beta. If you'd like to try it, you can sign up with your email at wayauto.app. If you only drive a long trip once a year, a note with the times written down works fine too.

Common mistakes

  • Writing minutes as decimals. 1 hour 30 minutes is 1.5 hours, not 1.3. Always divide the minutes by 60.
  • Averaging the speeds instead of the trip. Drive 60 miles out at 60 mph and back at 40 mph, and your average isn't 50. The trip is 120 miles in 1 + 1.5 = 2.5 hours, which is 48 mph. The slow part takes longer, so it counts for more.
  • Planning with the speed limit. Few trips average the speed limit. Use an average from a real drive on similar roads.
  • Mixing up the two averages. Use the driving average to compare roads, and the door to door average to plan arrival times.
  • Mixing units. Kilometers divided by hours gives km/h. If the signs are in miles and your car shows km/h, convert before you compare.
  • Trusting one short drive. A 10 minute drive across town can swing a lot with a single red light. Longer drives, or several drives together, give a steadier number.

Questions

How do you calculate average speed?

Divide the distance by the time in hours. For example, 150 miles in 2 hours 30 minutes is 150 ÷ 2.5 = 60 mph. Convert the minutes to a decimal by dividing them by 60 first.

How do I calculate how long a drive will take?

Divide the distance by your average speed. A 240 mile drive at 60 mph takes 240 ÷ 60 = 4 hours of driving. Add time for stops, or use a door to door average from a past trip that already includes them.

Is average speed the same as the average of my speeds?

No. If you drive at different speeds for the same distance, the slower part takes more time and pulls the average down more. Always use total distance divided by total time.

Should I include stops in my average speed?

It depends on the question. Leave stops out to see how fast the roads were, and include them to plan when you'll actually arrive.

What's a realistic average speed for a road trip?

It depends on the roads, traffic, and how often you stop, so the best answer is your own. Work out the door to door average from one or two past trips and use that to plan the next one.