Marathon Wall Calculator
Predict when you'll hit the wall in a marathon based on your glycogen stores, pace, and body weight. Plan your fueling strategy to avoid bonking.
What Is 'The Wall' in Running?
"Hitting the wall" — or bonking in cycling terminology — is one of the most notorious phenomena in endurance sports. It refers to a sudden, dramatic decrease in running speed caused by glycogen depletion. At around km 29–35 in a typical marathon, unprepared runners experience heavy legs, inability to maintain pace, cognitive impairment, and in extreme cases, stopping entirely.
The physiology: Your muscles and liver together store approximately 90–120 minutes worth of glycogen at marathon pace — roughly 400–600g of carbohydrate depending on body size and training status. When these stores are depleted, your body is forced to rely primarily on fat oxidation, which: (1) cannot produce ATP fast enough to sustain race pace, and (2) produces ketones which impair muscle function at high intensities.
Blood glucose crash: The liver's glycogen is converted to glucose to maintain blood sugar. When liver glycogen depletes, blood glucose drops. The brain is glucose-dependent — the mental symptoms of hitting the wall (confusion, difficulty concentrating, emotional distress) come from this glucose drop.
It's not inevitable: Elite runners at world record pace don't hit the wall because they've: (1) maximized glycogen storage through training adaptations and carb loading, (2) fueled optimally during the race, and (3) maintained a pace within their aerobic capacity, burning less glycogen per km than undertrained runners.
When Will You Hit the Wall? The Glycogen Math
The timing of wall onset depends on four factors: your glycogen stores, your pace (how fast you deplete them), your fueling (how much you replenish), and your fat-burning efficiency.
Glycogen stores by body weight:
- Muscle glycogen: ~15g per kg of body weight (for a trained runner)
- Liver glycogen: ~100–120g (roughly 400–480 kcal)
- Total for a 70kg trained runner: ~1,150g glycogen = ~4,600 kcal of carbohydrate energy
Glycogen burn rate at marathon pace: Approximately 3.5–4.0g per minute, or 210–240g per hour at typical marathon intensities. This varies with pace — faster paces burn more glycogen per minute.
Example calculation for a 3:30 marathon (5:00/km) for a 70kg runner:
- Glycogen available: 70 × 15 + 110 = 1,160g
- Burn rate: ~220g/hour
- Without fueling: walls at 1,160 / 220 = 5.3 hours — well after 3:30 finish
- BUT this assumes 100% glycogen utilization, which overestimates stores significantly
In practice, the body begins significantly upregulating fat oxidation around 60–70% glycogen depletion, and performance starts declining before complete depletion. The wall typically hits at 70–80% glycogen depletion.
Training Adaptations That Prevent the Wall
Elite marathon runners can sustain marathon pace for 2+ hours without hitting the wall. Here's what training does to prevent it:
1. Increased glycogen storage: Endurance training increases the amount of glycogen muscle cells can store by 20–50%. A trained marathoner may store 600g in muscles vs. 300g for an untrained person. This directly pushes back wall onset.
2. Fat adaptation: Long slow runs train your aerobic system to burn fat at higher percentages even at marathon pace. Elite marathoners may derive 30–40% of energy from fat at their race pace vs. 10–15% for undertrained runners. Every gram of fat-derived energy is a gram of glycogen saved.
3. Running economy: Elite runners use less glycogen per kilometer than beginners — they're more efficient. Better running economy (from strength training, form improvements, more mileage) directly reduces glycogen burn rate per km.
4. Heat acclimation: Running in heat improves plasma volume and cardiovascular efficiency, reducing the relative glycogen cost of marathon pace.
The long run's secret purpose: Your weekly long run, run at 60–70% glycogen stores depleted, specifically trains the fat-burning enzymes and pathways that prevent the wall. Don't fuel too aggressively in training long runs — let your body practice fat burning.
Carbohydrate Loading to Maximize Glycogen
Carbohydrate loading (carb loading) is the practice of intentionally maximizing glycogen stores before a marathon. Research shows it can increase muscle glycogen by 20–40% compared to a normal diet.
The modern 3-day protocol: Unlike the old depletion-then-loading method (which required exhausting runs to deplete glycogen), modern carb loading simply requires 3 days of high-carbohydrate intake before race day:
- 3 days before: 8–10g carbohydrate per kg body weight per day (560–700g for a 70kg runner)
- 2 days before: Same high carbohydrate intake
- Day before (race eve): 8–10g/kg carbohydrate. Keep protein and fat moderate. Familiar foods only.
- Race morning: 2–3g/kg carbohydrate 2–3 hours before start (pasta, toast, banana, sports drink)
High-carbohydrate foods: pasta, rice, bread, oats, potatoes, bananas, sports drinks. Reduce fiber on race day to minimize GI risk. Expect to gain 1–2 kg of water weight — glycogen is stored with water. This is normal and not extra body fat.
Race Day Fueling to Avoid the Wall
Even with maximum glycogen stores, a marathon lasting over 2.5 hours benefits enormously from in-race carbohydrate intake:
The evidence: Studies by Jeukendrup (2011) show that 60g carbohydrate per hour improves marathon performance by 4–7 minutes in 3:00–4:00 runners. For 90g/hour (glucose + fructose combination), improvement reaches 6–10 minutes.
Practical fueling plan to avoid the wall:
- Take first gel at 40 minutes — before you need it
- Gel every 30–35 minutes thereafter
- Use caffeinated gels in the second half for additional benefit
- Always take gels with water (150–200mL) to ensure absorption
- Aim for 60g carbohydrate per hour minimum
Pacing strategy: Going out 10–15 seconds per km too fast in the first half is the single biggest wall-inducing mistake. Too-fast early pace burns glycogen at an exponential rate (glycogen burn increases steeply above lactate threshold). Negative splits or even splits dramatically reduce wall risk.
What to Do When You're Hitting the Wall
If you feel the wall coming — heavy legs, sudden exhaustion, despair — you're already 60–70% glycogen depleted. Here's how to salvage your race:
Immediate action: Slow down by 10–15 seconds per km. This reduces glycogen burn rate significantly and allows your fat-burning system to contribute more. It feels terrible, but fighting through at the same pace leads to a catastrophic blow-up rather than a controlled slowdown.
Fuel aggressively: Take a gel (or two) immediately, wash down with 200–300mL of sports drink. This takes 15–20 minutes to absorb but can partially replenish blood glucose and help the final miles.
Caffeine: If you have a caffeinated gel, use it now. Caffeine raises blood glucose, reduces perceived effort, and can temporarily override glycogen depletion symptoms.
Mental strategy: Break the race into short segments. "Just get to the next km marker." Cognitive impairment from glycogen depletion makes long-term thinking difficult. Short goals are more achievable. Salt tablets can address cramping that often accompanies the wall.
Frequently Asked Questions
At what km does the wall usually hit in a marathon?
For most recreational runners, the wall hits between km 29–35. This varies with pace, training, body size, and fueling. Elite runners rarely hit the wall because they've maximized glycogen storage, fuel aggressively, and run at an intensity where fat burning is more efficient. Positive-splitters (who go out too fast) often hit the wall earlier, around km 25–30.
Can I avoid the wall entirely?
Yes, with proper preparation the wall can be largely prevented: (1) adequate training — long runs of 30+ km and 50+ km/week mileage for 16+ weeks, (2) 3-day carbohydrate loading before the race, (3) aggressive in-race fueling starting at 40 minutes and every 30–35 minutes thereafter, and (4) conservative first-half pacing at or below goal race pace.
Does running more miles prevent the wall?
Significantly yes. High weekly mileage (60+ km/week) builds fat oxidation enzymes, increases muscle glycogen storage capacity by up to 20%, and improves running economy (so you use less glycogen per kilometer). Runners with 6+ months of consistent high-mileage training are far less likely to hit the wall than those who've done only 3–4 months of preparation.
Is 'the wall' physical or mental?
Both, inseparably. The physical cause is glycogen depletion. But the brain is the body's largest glucose consumer, and dropping blood glucose causes cognitive symptoms (inability to focus, emotional distress, feeling of impossibility) that amplify the physical sensations. Elite runners who've experienced glycogen depletion many times develop mental strategies to persist through it.
What should I eat the night before to prevent the wall?
The night before: eat a large carbohydrate-rich meal (pasta, white rice, bread, potatoes) 10–14 hours before race start. Aim for 8–10g of carbohydrate per kg body weight. Strictly avoid high-fiber, high-fat, or unfamiliar foods that could cause GI issues on race morning. Keep protein moderate. This meal completes a 3-day carbohydrate loading protocol.
Why do some runners hit the wall even when they take gels?
Several reasons: starting too fast (burns glycogen faster than gels can replace it), insufficient gel frequency (e.g., only 2 gels in a 4-hour marathon vs. the needed 6–7), taking gels without water (poor absorption), GI distress preventing gel absorption, or insufficient pre-race carb loading. In-race gels can only supplement, not replace, good glycogen stores and pacing.