Speed, distance and time calculator

Enter how far you went and how long it took to get your average speed and pace, then see how long a different distance would take at the same speed.

parkrun 5 km, half marathon 21.0975 km, marathon 42.195 km
Use decimals: 1 h 15 min is 75 min or 1.25 h
How long would this take at the same average speed?
Average speed–
Pace–
Time for the other distance, same speed–
Running race estimate (Riegel)–

See it for real: play Topple the Dominoes or play Park It.

The formula

Average speed is simply the distance covered divided by the time it took:

s = d / t   so   d = s × t   and   t = d / s

Here s is the average speed, d the distance and t the time. Many schools teach this as a formula triangle with d on top and s and t side by side below: cover the one you want and the other two show you whether to multiply or divide. The key to getting it right is units. If the distance is in kilometres and the time in hours, the speed comes out in km/h; mix kilometres with minutes and you get km per minute, which is 60 times smaller than km/h. The calculator converts everything for you.

Pace is the same thing turned upside down, time per distance: pace = t / d. Runners and walkers prefer it because it tells you directly how long each kilometre or mile takes. A pace of 6:00 per km is 10 km/h; 5:00 per km is 12 km/h. Note that the calculator gives pace as decimal minutes, so 5.6 min per km means 5 minutes 36 seconds.

Average speed is not the average of speeds

If you drive 60 km at 60 km/h and the next 60 km at 120 km/h, your average is not 90 km/h. The first half takes 1 hour, the second 30 minutes, so 120 km in 1.5 hours is 80 km/h. Always divide total distance by total time. This catches out a lot of exam candidates and a lot of drivers who think a fast stretch will make up for a slow one.

Predicting race times

For running, a straight same-speed prediction is too optimistic for longer races, because everyone slows down as distance grows. In 1977 the American engineer Peter Riegel noticed that world-record and club times fit a simple power law, published in American Scientist in 1981:

t2 = t1 × (d2 / d1)1.06

The exponent 1.06 means doubling the distance takes about 2.08 times as long. It works best for races between about 3.5 minutes and 4 hours by runners trained for the longer distance; for a first marathon most people end up slower than Riegel predicts.

Typical speeds

Moving thingSpeedTime for 1 km
Walking5 km/h (1.4 m/s)12 min
Easy jog10 km/h (2.8 m/s)6 min
Cycling around town18 km/h (5 m/s)3 min 20 s
Usain Bolt’s 100 m record, 9.58 s (2009)37.6 km/h average (10.4 m/s)1 min 36 s
Car on a UK motorway, 70 mph113 km/h (31.3 m/s)32 s
Sound in air at 20 °C1,235 km/h (343 m/s)2.9 s

Average versus instantaneous speed

This calculator gives the average speed over the whole trip. Your instantaneous speed, what a speedometer shows, goes up and down around that average. Bolt’s average over 100 m was 10.4 m/s, but his top speed between 60 and 80 m was about 12.4 m/s (44.7 km/h), because the first few metres from the blocks are slow. Speed is also different from velocity: velocity includes direction, so a runner who finishes a 400 m lap where they started has an average velocity of zero but an average speed of 400 m divided by their time.

Everyday uses

Measure real speeds yourself by timing the wave in Topple the Dominoes, where the toppling front races along at a steady speed set by domino spacing, or by thinking about how speed changes the space you need in Park It.

Worked example

You ran a 5 km parkrun in 28 minutes. What was your average speed and pace, and how long might a half marathon (21.0975 km) take?

Distance5 km
Time taken28 min
Another distance to predict21.1 km
Average speed10.71 km/h
Pace5.6 min per km
Time for the other distance, same speed118.1 min
Running race estimate (Riegel)128.8 min

At an unchanged 10.7 km/h a half marathon would take about 118 minutes. Nobody holds the same pace for four times the distance, though: the Riegel estimate of about 129 minutes (2 h 9 min) is the more realistic goal for a first half marathon.

Frequently asked questions

What is the formula for speed, distance and time?
Speed = distance ÷ time, distance = speed × time and time = distance ÷ speed. For example, 150 km in 2 hours is 75 km/h, and 75 km/h for 3 hours covers 225 km.
How do I convert km/h to m/s?
Divide by 3.6, because 1 km/h is 1,000 m in 3,600 s. So 90 km/h is 25 m/s. To go the other way multiply by 3.6: 10 m/s is 36 km/h.
How do I work out my running pace?
Divide your time by the distance. 50 minutes for 10 km is 5 minutes per km. To turn pace into speed, divide 60 by the minutes per km: 60 ÷ 5 = 12 km/h.
How long does it take to walk a mile?
About 20 minutes at a typical walking speed of 3 mph (4.8 km/h). A brisk walk at 4 mph takes 15 minutes per mile.
Why is my average speed lower than I expected?
Because slow sections take up more time than fast ones. Driving half the distance at 30 km/h and half at 90 km/h averages only 45 km/h, not 60, since the slow half takes three times as long.
How accurate is the Riegel race-time formula?
For trained runners it is usually within a few per cent between 5 km and the half marathon. It tends to be optimistic for a marathon, especially for beginners, who often finish 5–15% slower than predicted.

Sources

Related calculators

Play it