Glycogen Depletion / Wall Predictor
In short: The glycogen depletion calculator predicts the distance and time at which your stored carbohydrate runs out in a running or cycling event, using your pace or power, VO2max, body weight, carb loading and fueling rate. It is a simplified constant-rate model with fixed store estimates, so treat the predicted wall as an approximation.
General information, not advice for your situation. This page is subject to our Terms of Use.
Before you use these numbers: they come from a published metabolic model (Rapoport 2010) and sports-nutrition guidance (Jeukendrup 2014), which describe healthy, trained adults under study conditions. They are not a recommendation for you. If you have diabetes, high blood pressure, kidney or heart conditions, take diuretics or other regular medication, or are pregnant, talk to your sports physician or dietitian first.
The Science Behind It
What the Calculator Does
The Glycogen Depletion Predictor gives a rough estimate of when you will run out of stored carbohydrate fuel during a running or cycling event, and of the fueling rate that would cover the shortfall. The results are approximations from a simple model, not measurements. Enter your pace or power, target distance, VO2max, body weight, planned fueling rate, and carb-loading status. The calculator outputs:
- The predicted distance and time at which glycogen stores hit zero (the "wall" for runners, "bonk" for cyclists)
- A green/amber status banner showing whether you finish before depletion
- An estimated fueling rate (g/hr) that would cover the shortfall in the model
- A race-day fueling timeline with per-checkpoint targets and pre-race carb-loading protocol
Inputs
| Input | Range | Notes |
|---|---|---|
| Sport | Running / Cycling | Switches the effort input and VO2 estimation method |
| Race pace | 2:00 - 15:00 /km | Running only; parsed as MM:SS |
| Average power | 50 - 500 W | Cycling only |
| Target distance | Preset or custom | Running: half, marathon, 50K, 80K, 100K. Cycling: 40K, 100, 160, 200 km, or custom |
| VO2max | 20 - 90 mL/kg/min | Used to derive %VO2max and substrate partitioning |
| Body weight | 30 - 150 kg | Used in cycling VO2 estimation and energy expenditure |
| In-race fueling | 0 - 120 g/hr | Maximum enforced at input; >120 returns an error |
| Carb loading | Normal / Moderate / Full | Sets starting glycogen store in kcal |
The Metabolic Model
Step 1: Estimate Exercise Intensity (%VO2max)
Running uses the ACSM running metabolic equation:
VO2 (mL/kg/min) = (speedm/min × 0.2) + 3.5
where speed in m/min = 1000 / pace_seconds x 60.
Cycling uses the ACSM cycle ergometry equation:
VO2 (mL/kg/min) = (10.8 × powerW / bodymass,kg) + 7
In both cases, exercise intensity is then:
fractionVO2max = min(0.95, estimatedVO2 / VO2max)
The 0.95 cap prevents the fraction exceeding physiological limits when input pace or power implies a very high VO2 relative to the stated VO2max.
Step 2: Total Energy Expenditure Rate
totalEnergy (kcal/min) = (VO2max × fractionVO2max × weight / 1000) × 4.85
This converts oxygen consumption (L/min) to calories using a fixed 4.85 kcal per litre of O2, a common simplification that sits between the energy yield of fat and of carbohydrate. The term VO2max × fractionVO2max × weight / 1000 is absolute VO2 in L/min.
Step 3: Substrate Partitioning (Carbohydrate Fraction)
carbFraction = min(1.0, 0.15 + 1.1 × fractionVO2max)
This is a linear approximation of the crossover concept (Brooks & Mercier). At 50% VO2max it yields carbFraction = 0.70; at 70% VO2max = 0.92; at 85% VO2max = 1.0 (capped). These values are higher than the classic crossover literature suggests at lower intensities, where the linear formula overestimates the carbohydrate contribution. At high intensity the model assigns up to 100% carbohydrate from about 77% VO2max, which is also a simplification, because fat still contributes some energy there. The model may therefore overstate carbohydrate use at race pace and predict the wall earlier than it happens.
Step 4: Glycogen Starting Stores
The carb-loading selection maps directly to a fixed kcal value:
| Selection | Glycogen (kcal) |
|---|---|
| Normal (~400g) | 1,600 kcal |
| Moderate (~550g) | 2,200 kcal |
| Full carb-load (~700g) | 2,800 kcal |
These values are the calculator's assumptions for total body carbohydrate availability (muscle plus liver glycogen), expressed as kcal. They are rough population-level figures, not measured values. Rapoport (2010) models how muscle mass and liver and muscle glycogen density set the stores, and Karlsson and Saltin (1971) and Bergstrom et al. (1967) report that diet changes muscle glycogen and endurance performance.
Step 5: Net Glycogen Depletion Rate
carbBurn (kcal/min) = totalEnergy × carbFraction
fuelingKcal (kcal/min) = fuelingRateg/hr × 4 / 60
netDepletion (kcal/min) = carbBurn - fuelingKcal
The fueling term converts g/hr of carbohydrate to kcal/min at 4 kcal/g. If netDepletion <= 0, fueling covers carbohydrate demand and the calculator reports "No Wall/Bonk."
Step 6: Distance and Time to Depletion
When netDepletion is positive (stores draining):
timeToWall (min) = glycogenKcal / netDepletion
distanceToWall (km) = (speedKph / 60) x timeToWall
For cycling, speed is estimated from a Newton-Raphson iteration of the flat-road power equation:
0.5 x CdA × ρ × v³ + Crr × mass × g × v = power × 0.97
using CdA = 0.32, Crr = 0.005, ρ = 1.225 kg/m³, g = 9.81 m/s², and a 3% drivetrain efficiency loss. This is a simplified flat-road model; actual speed varies with gradient, wind, and drafting.
Step 7: Recommended Fueling Rate
totalCarbNeeded (kcal) = carbBurn × eventDurationmin
carbDeficit (kcal) = totalCarbNeeded - glycogenKcal
recommendedFueling (g/hr) = max(0, (carbDeficit / 4) / eventDuration_hr)
If the raw recommendation exceeds 120 g/hr, the output is capped at 120 g/hr and a warning is displayed noting that this is above the calculator's fueling ceiling.

Worked Example
Runner profile: 70 kg, VO2max = 55 mL/kg/min, pace 4:30/km, moderate carb loading (2,200 kcal), 60 g/hr fueling, marathon distance.
Step 1: VO2 and intensity
- Speed = 1000/270 × 60 = 222.2 m/min
- estimatedVO2 = 222.2 × 0.2 + 3.5 = 47.9 mL/kg/min
- fractionVO2max = 47.9 / 55 = 0.871
Step 2: Total energy
- Absolute VO2 = 55 × 0.871 × 70 / 1000 = 3.353 L/min
- totalEnergy = 3.353 × 4.85 = 16.26 kcal/min
Step 3: Carb fraction
- carbFraction = min(1.0, 0.15 + 1.1 × 0.871) = min(1.0, 1.108) = 1.0
Step 4: Stores
- glycogenKcal = 2,200 kcal
Step 5: Net depletion
- carbBurn = 16.26 × 1.0 = 16.26 kcal/min
- fuelingKcal = 60 × 4 / 60 = 4.0 kcal/min
- netDepletion = 16.26 - 4.0 = 12.26 kcal/min
Step 6: Wall prediction
- timeToWall = 2200 / 12.26 = 179.4 min
- speedKph = 1000/270 × 3.6 = 13.33 km/h
- distanceToWall = (13.33 / 60) × 179.4 = 39.9 km
At this pace with moderate loading and 60 g/hr fueling, the wall is predicted at ~39.9 km - before the marathon finish. The calculator recommends increasing fueling to cover the deficit.
Fueling Thresholds and Absorption
The calculator uses three absorption tiers to classify in-race fueling sources:
| Rate | Carb source required | Note |
|---|---|---|
| 0 - 60 g/hr | Single-source (glucose / maltodextrin) | Standard gut absorption |
| 61 - 90 g/hr | Dual-source (glucose and fructose) | A second transporter is needed above about 60 g/hr |
| 91 - 120 g/hr | Maximum dual-source | Above the 90 g/hr guidance in Jeukendrup (2014); tolerance varies between athletes |
| >120 g/hr | Error - blocked at input | Above the calculator's ceiling |
Above 90 g/hr, a safety warning fires. If the recommended rate calculation produces a result above 120 g/hr, the output is capped at 120 and an absorption ceiling warning is displayed.
The first tiers follow Jeukendrup (2014): a single carbohydrate source can be oxidized at rates up to about 60 g/hr, and for ultra-endurance events the recommendation rises to about 90 g/hr using multiple transportable carbohydrates, such as glucose and fructose. The 91 to 120 g/hr tier goes beyond that guidance. It is a setting of this calculator, not a recommendation from that paper, and many athletes tolerate less.
Fueling Start Delays
The fueling timeline applies a start delay before counting absorbed carbohydrate:
- Running: 15 minutes post-start before fueling begins
- Cycling: 20 minutes post-start
These delays are practical assumptions about race starts (settling in, sipping water only), not study results. The timeline then calculates per-checkpoint totals assuming one 25g serving every (25 / fuelingRate) x 60 minutes.
Safety Guards
The calculator fires four conditional safety warnings:
-
Absorption ceiling applied - raw recommended fueling exceeds 120 g/hr. Displayed when the recommendation is mathematically infeasible and has been capped.
-
Extreme fueling rate - input fueling above 90 g/hr. Warns of GI distress risk and the need for progressive gut training.
-
Ultra-endurance note - event duration above 6 hours with fueling above 60 g/hr. Gastric emptying slows during prolonged exercise; suggests reducing the fueling target by 10-15 g/hr in later stages. This is a practical rule of thumb, not a study result.
-
Glycogen depletion predicted before finish (critical) - when
distanceToWall < targetDistKm. Shows predicted depletion distance, the shortfall versus target, and the minimum required fueling rate.

Limitations
Carb fraction overestimation at low intensity. The linear formula 0.15 + 1.1 × fractionVO2max produces carbFraction = 0.70 at 50% VO2max, which is higher than the crossover literature suggests at that intensity. At high intensity the model assigns up to 100% carbohydrate, which is also a simplification, so it may overstate carbohydrate use at race pace.
"Tank draining" model. The calculator treats glycogen as a simple depleting reservoir at a constant rate. A more detailed model could let fat oxidation rise as glycogen runs low, which would slow depletion. This calculator does not include that feedback, so it may overestimate the sharpness of the wall. The real transition is gradual - performance degrades progressively as stores fall, not as a binary on/off.
Steady-state assumption. Pace variations, climbs, race surges, and drafting all alter instantaneous substrate partitioning. A surge at 95% VO2max burns carbohydrate much faster than the average intensity predicts.
Cycling speed model is flat-road only. CdA = 0.32 assumes a road bike position; CRR = 0.005 assumes paved surface. Hilly terrain, headwind, or different equipment changes speed and therefore event duration.
VO2 equations have measurement error. The ACSM running equation (VO2 = speed × 0.2 + 3.5) was derived from treadmill ergometry and assumes horizontal running at constant speed. The ACSM cycle equation assumes constant-load cycle ergometry. Both carry standard errors of several mL/kg/min in real-world conditions.
Glycogen stores are fixed estimates. The 1,600/2,200/2,800 kcal tiers are population-level approximations. Actual stores depend on the athlete's muscle mass, starting training status, and the completeness of carbohydrate loading, and can differ noticeably from these tiers.
Gut tolerance is not modeled. The fueling rate inputs and recommendations do not account for individual GI sensitivity, hydration status, or the hypertonic load effect of combining gels with sports drink rather than water.
🚨 CRITICAL SAFETY WARNING
This calculator involves conditions that can cause serious injury or life-threatening complications if misapplied. Consult a physician before use.
ℹ️ IMPORTANT DISCLAIMER
This page summarises published research for educational purposes. It is not individual medical advice. Whether any of it suits you depends on your health, medication and circumstances. Check with a qualified professional before making changes. Use of this site is subject to our Terms of Use. The results are estimates from a published model and the values you enter, not a measurement of you. More in the Risk & Medical Information Notice. Must be 18+.
Before you train on these numbers: Stop and see a doctor if you get chest pain, dizziness or unusual breathlessness. If you have a heart condition or are returning from injury, talk to a physician who knows your situation first.
References
-
Rapoport, B. I. (2010). Metabolic factors limiting performance in marathon runners. PLOS Computational Biology, 6(10), e1000960. https://doi.org/10.1371/journal.pcbi.1000960
-
Coyle, E. F. (2007). Physiological regulation of marathon performance. Sports Medicine, 37(4-5), 306-311.
-
Karlsson, J., & Saltin, B. (1971). Diet, muscle glycogen, and endurance performance. Journal of Applied Physiology, 31(2), 203-206.
-
Bergstrom, J., Hermansen, L., Hultman, E., & Saltin, B. (1967). Diet, muscle glycogen and physical performance. Acta Physiologica Scandinavica, 71(2), 140-150.
-
Jeukendrup, A. E. (2014). A step towards personalized sports nutrition: carbohydrate intake during exercise. Sports Medicine, 44(S1), 25-33.
-
Brooks, G. A., & Mercier, J. (1994). Balance of carbohydrate and lipid utilization during exercise: the "crossover" concept. Journal of Applied Physiology, 76(6), 2253-2261.
-
American College of Sports Medicine. (2006). ACSM's Guidelines for Exercise Testing and Prescription (7th ed.). Lippincott Williams & Wilkins.
Related reading
- How to prepare for a cycling race, pre-race fueling timeline, 24 hours to the start
- One Dial, Two Steady Settings: How Carbohydrate, Protein and Fat Move Across a Training Week
Frequently asked questions
How does the calculator predict when glycogen runs out?
It estimates your intensity as a fraction of VO2max from pace or power using ACSM equations, converts oxygen use to energy, and assumes a share of that energy comes from carbohydrate. It subtracts the carbohydrate you take in, then divides your starting glycogen store by the remaining net burn rate to get time and distance to the wall.
What starting glycogen stores does it assume?
Three fixed values for total body carbohydrate, muscle plus liver: normal (about 400g) at 1,600 kcal, moderate loading (about 550g) at 2,200 kcal, and full carb-loading (about 700g) at 2,800 kcal. The page calls these population-level approximations. Actual stores depend on muscle mass, fiber type, training status and how complete the loading was.
How much carbohydrate per hour can the gut absorb?
The page draws on Jeukendrup's intestinal transporter research. The SGLT1 transporter saturates at about 60 g/hr for glucose or maltodextrin. Adding fructose, absorbed through a separate transporter called GLUT5, allows total absorption to reach about 90 g/hr. The calculator does not model individual gut tolerance.
What are the main limitations of the model?
It treats glycogen as a tank draining at a constant rate. Rapoport's original model included feedback, where fat oxidation rises as glycogen runs low, so the wall here may look sharper than real life. It also assumes steady pace, uses a flat-road cycling model, and uses a linear approximation of the carbohydrate share that overestimates carbohydrate use at low intensity.
What does the worked example show?
A 70 kg runner with a VO2max of 55 mL/kg/min, running 4:30/km, with moderate carb loading (2,200 kcal) and 60 g/hr of fueling, is predicted to hit the wall at about 39.9 km, before the marathon finish. The calculator then recommends increasing fueling to cover the deficit.