Cycling Speed and Time Calculator
Calculate your average cycling speed from distance and moving time, automatically subtracting rest stops. Use it after any ride to find true pace or to plan target finish times for upcoming events.
About this calculator
Average cycling speed is calculated by dividing the distance covered by the net moving time — the total elapsed time minus any stops. The formula is: speed (km/h) = distance / ((hours + minutes / 60) − (restTime / 60)). Converting minutes to hours ensures all time units are consistent before division. This gives moving average speed rather than overall average speed, which is more useful for comparing fitness across rides since it strips out café stops, traffic lights, and mechanical delays. Pace, expressed as minutes per kilometre, is simply the reciprocal: pace (min/km) = 60 / speed. Elevation gain is not used in the core speed formula but provides context for interpreting pace — a slower speed on a hilly route may represent a stronger performance than a faster speed on flat terrain.
How to use
You rode 80 km in 2 hours 45 minutes with 15 minutes of rest stops. hours = 2, minutes = 45, restTime = 15. Net moving time = (2 + 45/60) − 15/60 = 2.75 − 0.25 = 2.5 hours. Speed = 80 / 2.5 = 32.0 km/h. Pace = 60 / 32.0 = 1.875 min/km, or about 1 min 52 sec per kilometre. If total elevation gain was 600 m, this pace on hilly terrain is equivalent to roughly 35–36 km/h on flat roads — a strong result.
Frequently asked questions
What is the difference between average speed and moving average speed in cycling?
Overall average speed divides total distance by total elapsed time, including every stop at traffic lights, café breaks, and mechanical pauses. Moving average speed divides the same distance by only the time the wheels were actually turning. Moving average speed is far more useful for comparing fitness between rides and setting training targets because it isolates your physical output from logistical delays. Most cycling computers and GPS apps report both; the moving average is typically 5–15% higher than the overall average on a ride with normal stops. This calculator uses the moving average approach by subtracting rest time from elapsed time.
How does elevation gain affect my average cycling speed and how should I adjust my targets?
Climbing costs significantly more power than flat riding for any given speed, so rides with substantial elevation gain will naturally show lower average speeds even if your effort level is identical. A rough rule of thumb is that every 100 m of climbing per 10 km of distance slows average speed by approximately 1–1.5 km/h compared to flat terrain, depending on gradient distribution. Many cyclists use 'virtual flat speed' or normalised speed tools to compare hilly and flat rides fairly. When setting pace targets for hilly events, always factor in the elevation profile — a target of 30 km/h that is realistic on flat ground may require elite fitness on a course with 1,500 m of climbing.
How can I use my average cycling speed to estimate finish time for a sportive or gran fondo?
Rearrange the speed formula to solve for time: time (hours) = distance / speed. If your recent rides average 28 km/h over similar terrain and a sportive is 120 km, estimate the moving time as 120 / 28 ≈ 4.29 hours, or about 4 hours 17 minutes of riding. Add expected rest stop time — typically 20–40 minutes for a supported event — to get total finish time. Also consider that longer distances cause fatigue-related speed drop-off; it is realistic to budget for a 5–10% speed reduction in the final third of a very long ride. Using several recent rides of varying lengths to calibrate your estimate improves accuracy significantly.