Average cycling speed:
distance ÷ hours
Turn any ride into an average speed, see why stops change the answer, and use speed to estimate how long a planned route will take.
Calcylator Editorial Team
Updated · 5 min read
Average cycling speed: the formula
Average cycling speed is the distance you rode divided by the time in hours. If you cover 45 kilometres in 2.5 hours, your average speed is 18 kilometres per hour. The only trap is the time: it must be in hours, so 2 hours 30 minutes is written as 2.5.
- speed:
- average speed in kilometres per hour
- distance:
- distance ridden in kilometres
- hours:
- time in hours, with minutes as a decimal
Distance
45 km
Time
2 h 30 min = 2.5 h
Divide
45 ÷ 2.5
Average speed
18 km/h
To convert minutes to hours, divide by 60: 30 minutes is 0.5 hours.
Moving time versus total time
Your watch or app usually shows two times. Moving time stops the clock when you stand still at a traffic light or a tea stall, while elapsed time keeps running. Divide by the one that answers your question.
Suppose the 45 km ride took 2 hours 30 minutes in total, including 20 minutes of stops. Moving time was 130 minutes, or about 2.1667 hours, so the moving average is 45 ÷ 2.1667 = 20.77 km/h, against 18 km/h on elapsed time. Both are correct; they just answer different questions.
Planning ride time from your speed
Rearrange the formula to plan: time = distance ÷ speed. Here is how a 40 km route works out at different steady speeds.
| Average speed | Ride time |
|---|---|
| 15 km/h | 2 h 40 min |
| 18 km/h | 2 h 13 min |
| 20 km/h | 2 h 00 min |
| 25 km/h | 1 h 36 min |
| 30 km/h | 1 h 20 min |
Add time for stops on top. For a 60 km group ride at 24 km/h you need 2.5 hours moving; at 22 km/h it becomes about 2 hours 44 minutes.
The same maths suits a commute. A 12 km ride to work in 40 minutes is 40 ÷ 60 = 0.667 hours, so the average is 12 ÷ 0.667 = 18 km/h. If a 30 km training loop takes 1 hour 40 minutes one week and 1 hour 35 minutes the next, your average rises from 18 to about 18.95 km/h, a clear sign of progress on the same route.
Kilometres per hour and miles per hour
One mile is exactly 1.609344 kilometres. Divide km/h by 1.609344 for mph, so 20 km/h is about 12.43 mph, and 25 km/h is about 15.53 mph. Check the unit in your app settings before comparing with a friend.
Why your average changes from ride to ride
- Hills slow the climb more than they speed the descent, so hilly routes have lower averages.
- Headwinds cost more than tailwinds give back.
- Bike type and tyres matter, as does riding alone or in a group.
- Traffic, junctions and rough surfaces lower the average in towns.
Because of this, compare averages on the same route in similar conditions rather than judging yourself against a stranger. Progress shows when you ride one loop again and finish it faster.
Group rides are a good example. A 60 km club ride with a long café stop may show a moving average of 24 km/h but an elapsed average much lower, so check which figure the group quotes before you compare.
Common mistakes
- Typing 2.30 for two hours thirty minutes. That reads as 2.3 hours, which is 2 hours 18 minutes.
- Mixing a moving-time speed with an elapsed-time plan.
- Averaging the speeds of two legs. Divide total distance by total time instead.
- Comparing km/h with mph without converting.
Common questions
How do I calculate average cycling speed?
Divide the distance by the time in hours. A 45 km ride that took 2.5 hours averages 18 km/h. Convert minutes to a decimal first by dividing by 60, so 2 hours 30 minutes becomes 2.5 hours, not 2.30.
How long does it take to cycle 40 km?
At a steady 20 km/h it takes 2 hours, at 25 km/h about 1 hour 36 minutes, and at 15 km/h about 2 hours 40 minutes. Divide the distance by your expected speed, then add time for any stops along the route.
What is the difference between moving speed and average speed?
Moving average divides distance by the time you were actually riding. Average speed over the whole trip divides by elapsed time including stops, so it is lower. Use moving speed to judge fitness and elapsed time to plan arrival.
How do I convert cycling speed from km/h to mph?
Divide the speed in km/h by 1.609344. For example, 20 km/h is 20 ÷ 1.609344 = 12.43 mph. To go the other way, multiply mph by 1.609344. The factor is exact because the mile is defined as 1.609344 km.
Can I average the speeds of two parts of a ride?
Not by simply adding and halving. Add up the total distance and total time, then divide. Simple averaging gives the wrong answer when the two parts take different amounts of time, as they do with a climb and a descent.
Was this guide helpful?
Continue reading
View all blogsAverage Cycling Speed: How to Work It Out Properly
45 km in 2.5 hours is 18 km/h, or 19.3 km/h if you only count 2 h 20 min of riding. See the formula, unit conversions and ride-time planning.
4 min read
Bicycle Cadence to Speed: The Wheel RPM Method
Speed in km/h = wheel circumference (m) × wheel rpm × 60 ÷ 1000. A 2.1 m wheel turning 200 times a minute covers 25.2 km/h. See how gearing fits in.
5 min read
Cycling Power-to-Weight Ratio: What Your W/kg Means
240 W at 75 kg is 3.2 W/kg. See how the ratio predicts climbing speed, why total mass matters, and what weight or watts changes do to it.
5 min read




