Free average speed calculator

Free, in your browser, no account. Nothing you type leaves your device.

What you have
km/h
km/h
The legs are equal in

Average speed

24km/h

The average speed is 24 km/h, not 25 km/h: you spend longer on the slower leg.

Pace per km
2:30
Mean of the two figures
25 km/h

An estimate: check it against the source before you rely on it.

Leg 120 km/h
Leg 230 km/h
The length of each band shows the time spent on each leg, over equal distances.

Sources

How it is calculated

Average speed is the total distance divided by the total time. 30 km in 1 hour 30 minutes is 30 / 1.5 = 20 km/h. The calculator also shows the pace per kilometre, which is handy for walking and running: at 20 km/h a kilometre takes 3:00.

The average of two speeds

If you ride 15 km at 20 km/h and come back the same 15 km at 30 km/h, the average speed is not 25 km/h:

average speed on an out-and-back ride at two speeds.
LegDistanceSpeedTime
Out15 km20 km/h45 min
Back15 km30 km/h30 min
Total30 km24 km/h75 min

You spend longer on the slow leg, so it pulls the average down. For two legs of the same length the formula is:

v = 2 × v1 × v2 / (v1 + v2)

which is the harmonic mean: 2 × 20 × 30 / 50 = 24 km/h. For 60 and 40 km/h it gives 48 km/h, not 50.

The ordinary mean, (v1 + v2) / 2, is right only when the two legs take the same time: an hour at 20 km/h and an hour at 30 km/h give 25 km/h. The calculator has both.

Where you use it

  • on a bike ride where the climb and the descent are the same length;

  • on an out-and-back ride with a headwind on the way out;

  • in physics exercises on average speed, which ask for exactly this distinction.

Questions

How do I get the average speed when the legs have different lengths?

Add the distances, add the times and divide. The distance-and-time calculator does this if you enter the totals.

Why does my watch show a different average from my calculation?

Some watches pause on their own at traffic lights or during stops and work out the average over moving time only. The calculation here uses the time you enter.