How Velosplit's cycling power model works
Velosplit turns a GPX course, your FTP and a goal time into a target wattage for every stretch of the route, and works out when to eat along the way. This page documents the model behind that: the equations, where each one comes from, and which parts are established physics and which are judgement calls. Studies are cited by number and listed at the end.
The resistance model
On each segment of the course the model balances the power you put through the pedals against the three forces that resist you: air drag, rolling resistance and gravity. This is the equation of motion of a cyclist set out by di Prampero and colleagues [10] and validated against measured road power by Martin and colleagues [14], who found the modelled power matched measured power with a standard error of 2.7 W when the inputs were measured carefully. That figure validates the equation under controlled conditions, with measured drag and steady speed. It is not a measured error margin for Velosplit, whose inputs are estimates and whose model is simpler.
η · P = ½ · ρ · CdA · (v + w) · |v + w| · v (air drag)
+ Crr · m · g · cos θ · v (rolling resistance)
+ m · g · sin θ · v (gravity)Here P is your power, η the drivetrain efficiency, ρ the air density, CdA your drag area, v your ground speed, w the headwind component, Crr the rolling resistance coefficient, m the combined mass of rider and bike, g gravity (9.80665 m/s²) and θ the slope angle, the arctangent of the gradient. Velosplit solves this for v on every segment.
Air speed is not ground speed
Drag builds on your speed through the air, v + w, while the power it costs is set by your speed over the ground, v. The two only collapse into a single cubed term in still air. The model squares the air speed with its sign preserved, so a tailwind that outruns you pushes you along rather than holding you back.
Solving for speed
The equation is a cubic in v, but the sign of the air speed splits it into cases, so rather than juggle those Velosplit solves it numerically the same way for every wind and slope: it brackets v by bisection and then refines it with Newton–Raphson steps until the power balance is within 0.01 W. Speed is held between 0.5 and 40 m/s (about 1.8 to 144 km/h). On a climb steep enough that your power cannot move you faster than the floor, the model reports the floor rather than stalling, and descents are capped at a maximum speed you can set, 70 km/h by default.
To hit a goal time, the planner searches for the base power, between 50 and 600 W, whose plan finishes within half a second of the goal. A goal outside what that range can produce is reported as unachievable instead of being forced.
Drivetrain losses
Not all pedalling power reaches the wheel. Spicer and colleagues measured chain-drive efficiency across loads, speeds and sprocket sizes and found values from about 81 to 98.6 percent [17], the low end coming from light loads and small sprockets. Velosplit uses a fixed 97.6 percent, from the favourable end of that range, so small sprockets, low loads or a worn, dirty chain can cost more than the model assumes.
Air density
Air gets thinner with altitude, which lowers drag. Velosplit computes the density at the elevation of each segment from the International Standard Atmosphere [20], which falls 6.5 K per kilometre from 288.15 K and 101,325 Pa at sea level:
T = 288.15 − 0.0065 · h (kelvin, h in metres)
p = 101325 · (T / 288.15)^5.255 (pascals)
ρ = p / (287.05 · T) (kg/m³)This is a standard day. Real temperature and pressure are not used, and they matter: at the same pressure, a 35 °C day has air about 6.5 percent thinner than the standard 15 °C.
Drag area (CdA)
Aerodynamic drag is the largest force at racing speed [9], so on fast, flattish roads CdA matters more than any other rider input. On steep climbs, mass and power take over. Velosplit estimates your frontal area from height and mass with a regression reported by Faria and colleagues [11], from Bassett and colleagues [4], for the aero-racing position on aero bars:
A = 0.0293 · H^0.725 · M^0.425 + 0.0604 (H in metres, M in kg)It then multiplies that by a factor for your riding position. The regression was reported for the aero position, but Velosplit uses its output as a drag area at the hoods and scales from there. The factors below were chosen so that a 178 cm, 75 kg rider lands on the CdA values typically measured in each position. They are a calibration, not a result from a study, and fitting one reference rider says little about how well they fit other body sizes or how a given rider sits on the bike.
| Position | Factor | CdA, 178 cm / 75 kg |
|---|---|---|
| Tops (upright) | 1.15 | 0.39 m² |
| Hoods | 1 | 0.34 m² |
| Drops | 0.88 | 0.30 m² |
| Aero bars | 0.73 | 0.25 m² |
This is a population regression rather than a measurement, so a rider who knows their real CdA should enter it and override the estimate. Field-test methods for measuring it are reviewed by Debraux and colleagues [9].
Riding in a pace line
You can plan a ride alone, in a single-file pace line or in a two-abreast pace line. A rider in a slipstream meets slower air, so Velosplit multiplies the CdA by the share of solo drag the rider keeps. Nothing else changes, so the saving shrinks by itself on a climb, where gravity rather than air takes most of the power.
The single-file values come from wind-tunnel measurements of a four-rider team pursuit line, with drag savings of 5, 45, 55 and 57 percent in positions 1 to 4 [2]. Those were elite riders in a tight line; earlier studies of small in-line groups, as summarised by Blocken and colleagues, put drafting riders at 70 to 50 percent of solo drag [5], so a looser amateur line may save less. Places past the end of each row of the table hold at its last value, and using four-rider measurements for every group size is itself a simplification.
| Formation | Front | 2 | 3 | 4+ |
|---|---|---|---|---|
| Single-file pace line | 95% | 55% | 45% | 43% |
| Two-abreast pace line, per row | 100% | 55% | 45% | 43% |
Taking equal turns, a rider spends the same time in every place, so the multiplier is the average over all the places in the line: one per rider in single file, one per row of two abreast. Sitting in, the rider stays at the back and keeps the last place's value. The formation applies to the whole route. Real groups split on climbs and regroup after them, and the model does not.
The two-abreast row is Velosplit's own assumption and has not been validated. Two riders side by side pay over 6 percent more drag than one alone [3], which is about what a rider behind gives back to the one in front, so the front pair is put at solo drag. Each row behind is assumed to shelter like the same place in single file. Whether a pair's wider wake shelters better than that is unmeasured, so no credit is given for it.
The averaged multiplier gives the right average drag, but not the shape of the effort. Taking turns really means hard pulls on the front and easier spells behind, while the plan shows one steady power. Normalized power and intensity factor are computed from that steady power, so they understate the load of taking turns, more so the longer the pulls.
Wind
You enter one wind speed and the direction it blows from, measured clockwise from north, the convention every forecast uses. For each segment the model takes the component of that wind along the direction the road is heading: the wind speed times the cosine of the angle between the two. A headwind is positive and a tailwind negative. The wind is the same for the whole route. Only this along-road component is used, so a pure crosswind is treated as still air.
Gradient-aware power targets
Riding at constant power is not the fastest way to finish a hilly course. Swain modelled that at the same average power, a little more power on climbs and into headwinds and a little less on descents and with tailwinds saves time [18]. Velosplit applies that idea with a multiplier on your base power for each gradient band:
| Terrain | Gradient | Power multiplier |
|---|---|---|
| Descent | steeper than 3% downhill | ×0 (coasting) |
| Gentle descent | −3% to −1% | ×0.85 |
| Flat | −1% to 2% | ×1 |
| Climb | 2% to 5% | ×1.1 |
| Steep climb | 5% to 8% | ×1.15 |
| Very steep climb | above 8% | ×1.2 |
Swain's result supports the direction of these multipliers, not their size. Nor does holding average power equal mean the physiological cost is equal. The normalized power and intensity targets below give a rough measure of that cost, not a guarantee that the plan can be ridden. The numbers are a pacing convention chosen for Velosplit, not measured physiology. The flat band reaches slightly below zero so that ground within the noise of the elevation data reads as flat, instead of being split between two power targets on the sign of the noise.
Before any of this, the route is resampled every 25 metres, its elevation smoothed over 150 metres and its gradient clamped to ±25 percent, so GPS noise does not become phantom hills. Nearby stretches of the same terrain are then merged into the splits you see in the results.
Normalized power, intensity factor and TSS
These are the metrics Allen and Coggan describe [1]. Normalized power estimates the physiological cost of a variable effort, and Velosplit computes it in this order: sample the planned power onto a one-second grid, take a 30-second rolling mean, raise each value to the fourth power, average, and take the fourth root. The order matters. Raising to the fourth power first would leave the averaging with nothing to smooth and report a plain fourth-power mean instead.
The one-second grid is deliberate. Segments rarely last a whole number of seconds, so the samples are placed by the rounded running total of elapsed time rather than by rounding each segment on its own. That keeps the series the same length as the ride instead of letting per-segment rounding errors pile up and skew the weighting.
IF = NP / FTP
TSS = hours · IF² · 100Because the power series is a plan rather than a recording, it is smoother than a ridden one, so the normalized power it produces is likely to be lower than what the same ride records, though the 30-second smoothing already damps the shortest surges.
Pacing by effort
With no goal time, the planner solves for the base power whose normalized power lands on a target intensity factor, to within 0.0005. Solving for intensity rather than setting base power from FTP keeps the levels comparable across courses: a hilly route spends much of its time above the base power, so the same base would be a materially harder ride there than on a flat one.
- Low, intensity factor 0.65: endurance pace you could ride all day.
- Moderate, intensity factor 0.78: tempo effort for a long, committed day.
- High, intensity factor 0.88: race effort near threshold.
Sustainability ceilings
The planner warns that a plan is likely unsustainable when its intensity factor is more than 0.02 above a ceiling for the ride's length, and calls it aggressive when it is within 0.05 below it. These ceilings are heuristics, not measured physiology: they are rules of thumb for how hard a trained rider can go, and individuals differ widely. They also step rather than taper, so a ride just over a band boundary meets a noticeably lower ceiling than one just under it. Treat the warning as a prompt to check the plan, not a verdict on what you can do.
| Ride length | Ceiling (intensity factor) |
|---|---|
| up to 1 h | 1.05 |
| 1 to 2 h | 0.95 |
| 2 to 4 h | 0.85 |
| 4 to 6 h | 0.75 |
| over 6 h | 0.65 |
Fueling: carbohydrate per hour
The planner also estimates how much carbohydrate a ride burns, how much to eat, and where on the route to eat it. The first two are general sports-nutrition guidelines, not individual advice: individuals differ widely, so practise your intake in training.
Energy burned
Mechanical work is average power times time. Only a fraction of the energy burned leaves the pedals as work: the gross efficiency, work divided by total energy expenditure. It differs between riders, in part with muscle fibre type [8]. The model assumes 22 percent for everyone, a modelling choice rather than a measured value. It happens that a kilojoule of work is then close to a kilocalorie burned.
work (kJ) = average power (W) · seconds / 1000
energy (kcal) = work / 0.22 / 4.184
carbs (g/h) = energy · carbohydrate share / 4 kcal per g / hoursCarbohydrate share by intensity
As intensity rises the body shifts from fat towards carbohydrate, the crossover concept [6], and measured substrate use confirms the direction [16, 21]. Those studies express intensity as a share of VO₂max or of maximal workload, not of FTP, so the table below is the model's own estimate of how that trend maps onto intensity factor, not a figure taken from them. The model interpolates linearly between the rows and holds the end values outside them.
| Intensity factor | Energy from carbohydrate |
|---|---|
| 0.5 | 45% |
| 0.65 | 60% |
| 0.75 | 70% |
| 0.85 | 85% |
| 1 | 95% |
How much to eat
The intake targets are based mainly on how long the ride is, and are then adjusted for intensity and for what the rider tolerates [12, 19, 7]. At a low absolute intensity they may need to be lower [12]. The table gives simplified default targets for performance-focused rides. They are not meant to match what the ride burns: about 60 g/h is a rough level for how much glucose alone can be delivered and used, and about 90 g/h for glucose and fructose together. These are approximate levels, not fixed absorption limits, and they are why burn can exceed intake on a long, hard ride.
| Ride length | Carbohydrate (g/h) | Note |
|---|---|---|
| Under 45 min | 0 | Not needed; the body's own stores cover it. |
| 45 min to 1 h | 0 | Small amounts or a mouth rinse. |
| 1 to 2 h | 30 | Single or multiple transportable carbohydrates. |
| 2 to 2.5 h | 60 | Single or multiple transportable carbohydrates. |
| Over 2.5 h | 90 (120 with a trained gut) | Glucose:fructose mixes (multiple transportable carbohydrates). |
The gut adapts to regular high intake in training, absorbing and oxidising more carbohydrate with less stomach trouble [7, 13], which is what the trained-gut option stands for. Its 120 g/h target for the longest rides is an advanced option to work up to and test individually. It has been studied experimentally, but not all of what is eaten is oxidised straight away [15]. Choose it only if you have practised, and build up gradually in training before using it in a race.
Where to eat
- Rides under 45 minutes get no feeds.
- The target is the intake per hour times the ride's planned time, rounded to whole servings. Climbs and descents move feeds but never remove one, so the planned total stays within half a serving of the target. If the servings would come closer than 10 minutes apart there are fewer, larger feeds.
- A key climb is a run of climb splits, joined across one short flat break, that lasts at least 5 minutes or gains at least 80 m. Each gets one of the servings 15 minutes (by default) before its foot. That is a practical rule of thumb for eating while the road still allows it, not a measured optimum. Climbs within one feed interval of each other share a feed.
- The remaining servings fill the time between the start, those feeds and the finish, longest stretch first and evenly within it.
- Reminders start at 20 minutes and stop 10 minutes before the finish. These are practical choices that keep the run-in free of notifications, not limits on when eating helps: carbohydrate can affect performance even before it is used as fuel, through signals from the mouth [12].
- A feed due on a key climb moves to just before it, and one due on a descent to the bottom, because eating at speed is unsafe. Feeds that end up within five minutes or 500 m of each other are eaten as one, carrying both servings.
What the model leaves out
- Groups that change. A pace line holds the same formation for the whole route, and the effort of pulling through and closing gaps is not counted. Large bunches and pelotons are not modelled.
- Acceleration. Each segment is solved at a steady speed, so no energy is carried between a descent and the climb after it.
- Weather. Air density assumes a standard day, and the wind is one constant value.
- Crosswind aerodynamics. A crosswind changes the angle the air meets you at, and with it your drag; the model only uses the headwind or tailwind component.
- Surface. One rolling-resistance coefficient, 0.005 by default, is used for the whole route.
- Braking and cornering, beyond the descent speed cap, and fatigue.
- Fueling beyond carbohydrate per hour: differences in substrate use with body size and sex, glycogen status, the pre-ride meal, fluids and sodium, and heat.
References
- Allen H, Coggan A. Training and Racing with a Power Meter. VeloPress.
- Barry N, Burton D, Sheridan J, Thompson M, Brown NAT. Aerodynamic drag interactions between cyclists in a team pursuit. Sports Engineering. 2015;18(2):93–103. doi:10.1007/s12283-015-0172-8
- Barry N, Sheridan J, Burton D, Brown NAT. The effect of spatial position on the aerodynamic interactions between cyclists. Procedia Engineering. 2014;72:774–779. doi:10.1016/j.proeng.2014.06.131
- Bassett DR Jr, Kyle CR, Passfield L, Broker JP, Burke ER. Comparing cycling world hour records, 1967–1996: modeling with empirical data. Medicine & Science in Sports & Exercise. 1999;31(11):1665–1676.
- Blocken B, van Druenen T, Toparlar Y, Malizia F, Mannion P, Andrianne T, Marchal T, Maas GJ, Diepens J. Aerodynamic drag in cycling pelotons: new insights by CFD simulation and wind tunnel testing. Journal of Wind Engineering and Industrial Aerodynamics. 2018;179:319–337. doi:10.1016/j.jweia.2018.06.011
- Brooks GA, Mercier J. Balance of carbohydrate and lipid utilization during exercise: the "crossover" concept. Journal of Applied Physiology. 1994;76(6):2253–2261.
- Burke LM. Fueling strategies to optimize performance: training high or training low? Scandinavian Journal of Medicine & Science in Sports. 2010;20(Suppl 2):48–58. doi:10.1111/j.1600-0838.2010.01185.x
- Coyle EF, Sidossis LS, Horowitz JF, Beltz JD. Cycling efficiency is related to the percentage of type I muscle fibers. Medicine & Science in Sports & Exercise. 1992;24(7):782–788.
- Debraux P, Grappe F, Manolova AV, Bertucci W. Aerodynamic drag in cycling: methods of assessment. Sports Biomechanics. 2011;10(3):197–218. doi:10.1080/14763141.2011.592209
- di Prampero PE, Cortili G, Mognoni P, Saibene F. Equation of motion of a cyclist. Journal of Applied Physiology. 1979;47(1):201–206.
- Faria EW, Parker DL, Faria IE. The science of cycling: factors affecting performance – Part 2. Sports Medicine. 2005;35(4):313–337.
- Jeukendrup AE. A step towards personalized sports nutrition: carbohydrate intake during exercise. Sports Medicine. 2014;44(Suppl 1):S25–S33. doi:10.1007/s40279-014-0148-z
- Jeukendrup AE. Training the gut for athletes. Sports Medicine. 2017;47(Suppl 1):101–110. doi:10.1007/s40279-017-0690-6
- Martin JC, Milliken DL, Cobb JE, McFadden KL, Coggan AR. Validation of a mathematical model for road cycling power. Journal of Applied Biomechanics. 1998;14(3):276–291.
- Podlogar T, Wallis GA. New horizons in carbohydrate research and application for endurance athletes. Sports Medicine. 2022;52(Suppl 1):5–23. doi:10.1007/s40279-022-01757-1
- Romijn JA, Coyle EF, Sidossis LS, et al. Regulation of endogenous fat and carbohydrate metabolism in relation to exercise intensity and duration. American Journal of Physiology. 1993;265(3):E380–E391.
- Spicer JB, Richardson CJK, Ehrlich MJ, Bernstein JR, Fukuda M, Terada M. Effects of frictional loss on bicycle chain drive efficiency. Journal of Mechanical Design. 2001;123(4):598–605.
- Swain DP. A model for optimizing cycling performance by varying power on hills and in wind. Medicine & Science in Sports & Exercise. 1997;29(8):1104–1108.
- Thomas DT, Erdman KA, Burke LM. American College of Sports Medicine joint position statement: nutrition and athletic performance. Medicine & Science in Sports & Exercise. 2016;48(3):543–568. doi:10.1249/MSS.0000000000000852
- U.S. Standard Atmosphere, 1976. NOAA, NASA and U.S. Air Force.
- van Loon LJC, Greenhaff PL, Constantin-Teodosiu D, Saris WHM, Wagenmakers AJM. The effects of increasing exercise intensity on muscle fuel utilisation in humans. Journal of Physiology. 2001;536(1):295–304.
Normalized Power, Intensity Factor and Training Stress Score are trademarks of Peaksware, LLC.