Gravity
When cycling uphill, the rider fights against gravity. When cycling downhill, gravity works with the rider. This doc calculates the steepness of a segment in terms of percentage grade G: rise/run * 100. The heavier the rider and the bike are, the more energy is required to overcome gravity. The combined weight of the cyclist and the bike is W (kg). The gravitational force constant g is 9.8067 (m/s^2).
Rolling Resistance
Friction between the tires and the road surface slows the rider down. The bumpier the road, the more friction; the higher quality the tires and tube, the less friction. As well, a heavier rider and bike experience more friction. The dimensionless parameter, the coefficient of rolling resistance, or Crr, captures the bumpiness of the road and the quality of the tires.
Aerodynamic Drag
A rider’s bike and body need to displace the air, similar to how a snowplow pushes snow out of the way. The air exerts a force against the rider as they ride. Higher velocity V (m/s) creates more force the air pushes against the rider. The rider and bike present a certain frontal area A (m^2) to the air. The larger this frontal area, the more air must be displaced, and the larger the force the air exerts. The air density Rho (kg/m^3) is also important; the more dense the air, the more force it exerts.
Other effects, like the slipperyness of clothing and the degree to which air flows laminarly rather than turbulently around the rider and bike, are captured in another dimensionless parameter called the drag coefficient, or Cd. Aerodynamic drag is the drag coefficient Cd multiplied by the frontal area A or “CdA”.
Total Resisting Force
The sum of the forces acting against the rider.