Cycling Speed Calculator Formula
Understand the math behind the cycling speed calculator. Each variable explained with a worked example.
Formulas Used
Average Speed
speed_mph = round(distance_miles / total_hours * 100) / 100Average Speed
speed_kph = round(distance_miles * 1.60934 / total_hours * 100) / 100Pace
min_per_mile = round(total_hours * 60 / distance_miles * 100) / 100Distance
distance_km = round(distance_miles * 1.60934 * 100) / 100Variables
| Variable | Description | Default |
|---|---|---|
distance_miles | Distance(miles) | 25 |
hours | Hours(hr) | 1 |
minutes | Minutes(min) | 30 |
total_hours | Derived value= hours + minutes / 60 | calculated |
How It Works
How Cycling Speed Is Calculated
Formula
Speed = Distance / Time
Context
Average cycling speeds vary widely: casual riders average 10-14 mph, fitness cyclists 15-18 mph, competitive cyclists 18-25 mph, and professionals 25-30+ mph. Wind, terrain, and bike type significantly affect speed.
Worked Example
You cycled 25 miles in 1 hour 30 minutes.
- 01Total time = 1 + 30/60 = 1.5 hours
- 02Speed = 25 / 1.5 = 16.67 mph
- 03Speed in km/h = 16.67 * 1.609 = 26.82 km/h
- 04Pace = 90 / 25 = 3.60 min/mile
Frequently Asked Questions
What is a good average cycling speed?
For recreational road cycling, 14-18 mph is solid. Competitive riders average 18-25 mph, and professionals sustain 25+ mph.
Why is my average speed lower than expected?
Stops at traffic lights, headwinds, hills, and fatigue all lower your average. Moving time vs. elapsed time can differ significantly.
Does bike type affect average speed?
Yes. Road bikes are 2-5 mph faster than hybrids, which are 2-4 mph faster than mountain bikes on pavement, due to weight and rolling resistance.
Ready to run the numbers?
Open Cycling Speed Calculator