Cycling Speed Calculator
Average Speed Erases the Bumps
No ride is ridden at one constant speed — there are climbs, tailwind stretches, coasting descents, and stoplights. Average speed smooths all of that into a single figure that's genuinely useful for comparing rides, planning a route's expected duration, or tracking fitness gains over a season. This calculator takes a ride's total distance and total elapsed time and returns that average, in either km/h or mph.
The Formula
The calculation is a direct application of the distance-time-speed relationship:
Hours, minutes, and seconds entered separately are combined into a single time-in-hours figure before the division runs, so a ride logged as "1 hour, 45 minutes, 30 seconds" is converted to 1.7583 hours internally before producing the final speed.
Where This Calculation Matters
- Route time estimation — once you know your typical average speed on similar terrain, you can estimate how long an upcoming route will take before riding it.
- Training log analysis — tracking average speed across a training block, on comparable routes, is one of the simpler ways to see fitness improving over time.
- Group ride planning — matching riders to a group with a compatible average speed avoids either dropping riders or under-training the group's stronger members.
- Comparing computer readouts — cross-checking a bike computer's average speed display against a manual distance/time calculation.
How to Use This Calculator
- Enter the Distance covered.
- Select the unit — Kilometers (returns km/h) or Miles (returns mph).
- Enter the total ride time as Hours, Minutes, and Seconds.
- Select Calculate to see average speed along with the total time used in the calculation.
Related Calculations
To evaluate effort relative to body weight rather than distance, see the Cycling Power-to-Weight Ratio Calculator. For a fitness-focused threshold measurement, check the Cycling FTP Calculator.
Principles of Cycling Aerodynamics and Mechanical Power Modeling
A cycling speed calculator models the non-linear physical relationship between rider mechanical power output (measured in Watts), cycling velocity (km/h, mph), aerodynamic drag resistance, tire rolling friction, gravitational climbing resistance, and mechanical drivetrain losses. In road cycling and triathlon sports science, aerodynamic drag represents over 80% of total resistive forces at speeds exceeding 30 km/h (18.6 mph).
The Fundamental Total Cycling Power Equation
Decomposition of Physical Cycling Resistance Forces
- 1. Aerodynamic Drag Power (Paero): Dominates at high speeds and scales with velocity cubed (v³):
Paero = 0.5 × ρ × CdA × ( v + vwind )² × vWhere ρ is air density (1.225 kg/m³ at sea level), CdA is the effective frontal drag area (m²), and v is road speed (m/s).
- 2. Tire Rolling Resistance Power (Prolling): Scales linearly with velocity:
Prolling = Crr × mtotal × g × cos(θ) × vWhere Crr is the tire rolling resistance coefficient (typically 0.003 for high-end race tubeless tires), and mtotal is combined bike + rider mass (kg).
- 3. Gravitational Climbing Power (Pgravity):
Pgravity = mtotal × g × sin [ arctan(Grade % / 100) ] × v
Rider Frontal Area (CdA) by Riding Position
| Cycling Position / Setup | Typical CdA Range (m²) | Aerodynamic Efficiency |
|---|---|---|
| Triathlon / Time Trial Aerobars | 0.22 to 0.25 m² | Maximum aerodynamic penetration; lowest frontal area |
| Road Bike — Drops Position | 0.28 to 0.32 m² | Aggressive road race sprint / descending posture |
| Road Bike — Brake Hoods Position | 0.35 to 0.40 m² | Standard endurance climbing / group riding posture |
| Upright City / Mountain Bike | 0.50 to 0.70 m² | High aerodynamic drag; high upright frontal cross-section |
Step-by-Step Worked Calculation Example
Example: Calculating Power Required to Cruise at 40.0 km/h (11.11 m/s) on Flat Road
Problem: A cyclist and racing bike have a combined total mass m = 80.0 kg. The rider rides in an aggressive aero hood position with CdA = 0.30 m². Sea level air density ρ = 1.225 kg/m³. Tire Crr = 0.0035 on smooth asphalt. Wind speed is 0.0 m/s. Road grade is 0.0%. Drivetrain mechanical efficiency η = 97% (0.97). Calculate total mechanical pedaling power required in Watts to cruise at 40.0 km/h (11.11 m/s ≈ 24.85 mph).
Step 1: Calculate Aerodynamic Drag Power (Paero):
Paero = 0.5 × 1.225 kg/m³ × 0.30 m² × (11.11 m/s)³
Paero = 0.18375 × 1,371.74 = 252.06 Watts
Step 2: Calculate Tire Rolling Resistance Power (Prolling):
Prolling = 0.0035 × 80.0 kg × 9.80665 m/s² × 11.11 m/s
Prolling = 0.28 × 9.80665 × 11.11 = 30.51 Watts
Step 3: Sum road powers and apply 97% drivetrain efficiency (Ptotal = [Paero + Prolling] / 0.97):
Net Wheel Power = 252.06 W + 30.51 W = 282.57 Watts
Crank Pedaling Power = 282.57 W / 0.97 = 291.31 Watts
Conclusion: The rider must sustain 291.3 Watts of continuous mechanical power to maintain 40 km/h on flat asphalt.
Functional Threshold Power (FTP) and Power-to-Weight Ratio
Cyclists benchmark athletic fitness using Power-to-Weight Ratio (W/kg = FTP / Body Mass in kg). While flat road time trials reward absolute raw wattage (Watts), steep mountain ascents (>7% grade) are determined strictly by W/kg (e.g., Tour de France climbers sustain 5.5 to 6.2 W/kg on alpine climbs).
Aerodynamic Wheel Depth and Wind Yaw Angle Dynamics
In competitive road racing and triathlons, rotating bicycle wheels generate both translational aerodynamic drag and rotational skin friction. Modern aerodynamic carbon wheelsets utilize deep-section toroidal rim profiles (40mm to 80mm rim depths):
- Apparent Wind Yaw Angle: In real outdoor riding, crosswinds combine with forward velocity to create an effective yaw angle ψ = arctan(vcrosswind / vforward). Deep toroidal rims act as aerodynamic airfoils, capturing "sail effect" thrust that reduces total CdA drag by 15 to 30 Watts at 45 km/h.
- Full Rear Disc Wheels: In time trials, solid rear disc wheels eliminate spoke turbulence, delivering the highest aerodynamic efficiency at high yaw angles.
Atmospheric Density Scaling at High Altitudes
Because air density ρ decreases exponentially with altitude according to the barometric formula, cyclists race significantly faster at high-altitude velodromes (e.g., Aguascalientes, Mexico at 1,887m altitude has ρ ≈ 1.01 kg/m³ vs 1.225 kg/m³ at sea level), enabling world-record UCI 1-Hour Track attempts.
Crank Cadence and Neuromuscular Pedaling Efficiency
In cycling biomechanics, maintaining an optimal pedaling cadence of 85 to 95 revolutions per minute (RPM) balances mechanical muscular torque against cardiovascular aerobic load. Spinning at higher cadences relies on slow-twitch oxidative muscle fibers, sparing fast-twitch glycogen reserves for final sprint attacks and steep alpine summit climbs.
Aerodynamic Helmet and Skin Suit Benefits
In competitive cycling aerodynamics, upgrading from a standard vented road helmet and loose jersey to a teardrop time-trial aero helmet and smooth textured skinsuit reduces total system CdA by 0.03 to 0.05 m², saving 20 to 35 Watts at 45 km/h (approx. 60 to 90 seconds over a 40 km time trial).
Chain Lubrication and Drivetrain Friction Savings
Switching from standard oil-based wet chain lube to hot-melt paraffin wax reduces mechanical drivetrain friction losses from 10 Watts down to 3 Watts at race power.