Cycling Pace Calculator
Calculate your effective cycling speed in km/h from distance, total time, and elevation gain. Ideal for reviewing ride performance or setting realistic targets for hilly routes.
About this calculator
Average cycling speed is simply distance divided by time: speed = distance / (timeHours + timeMinutes / 60). However, elevation gain slows you down beyond what flat-road averages capture. This calculator applies an elevation correction factor: effective speed = round((distance / (timeHours + timeMinutes / 60)) × (1 − (elevationGain / distance / 100)) × 100) / 100. The term elevationGain / distance / 100 produces a fractional penalty that scales with how much climbing is packed into each kilometer. For example, 1000 m of gain over 50 km yields a 2% speed reduction per the formula. This adjusted speed gives a more honest picture of your effort compared to raw GPS averages, which don't account for vertical work.
How to use
Say you ride 60 km in 2 hours 30 minutes with 900 m of elevation gain. Convert time: 2 + 30/60 = 2.5 h. Raw speed = 60 / 2.5 = 24 km/h. Elevation penalty = 900 / 60 / 100 = 0.15. Corrected speed = round(24 × (1 − 0.15) × 100) / 100 = round(24 × 0.85 × 100) / 100 = round(2040) / 100 = 20.40 km/h. Your elevation-adjusted pace is 20.4 km/h, which better reflects the difficulty of the hilly route.
Frequently asked questions
How does elevation gain affect average cycling speed?
Every 100 meters of climbing per kilometer of distance reduces your speed by roughly 1% in this model, because ascending converts kinetic energy into potential energy. On flat routes the correction is zero, but on mountain stages with 20–30 m of gain per km the penalty becomes significant. This is why professional race organizers use 'virtual elevation' metrics to compare performances across different course profiles.
What is a good average cycling speed for a beginner versus an experienced rider?
Beginner cyclists typically average 15–20 km/h on flat terrain, while experienced recreational riders maintain 25–30 km/h. Competitive club riders often sustain 32–38 km/h for extended periods. These benchmarks assume relatively flat terrain; add significant climbing and all categories drop by several km/h, making the elevation adjustment in this calculator especially useful for hilly regions.
How do I calculate my cycling pace per kilometer from average speed?
Pace per kilometer (min/km) is the inverse of speed: pace = 60 / speed (km/h). For example, an average speed of 24 km/h equals a pace of 60 / 24 = 2.5 minutes per kilometer, or 2 min 30 sec/km. This metric is less commonly used in cycling than in running, but triathletes and gravel riders sometimes prefer it to compare effort across different disciplines.