How Many Gels for a Marathon? The Complete Fueling Math
Short version: most marathoners need somewhere between 5 and 10 gels, take the first one about 25 minutes in, and space the rest evenly β stopping in the last 20 minutes. Here's the math that turns those rough numbers into your exact plan.
Fueling is the most common way a well-trained marathon quietly falls apart. You can do every long run, nail every workout, and still hit the wall at mile 20 because you carried three gels when the math said nine. The good news: it really is math. Your finish time, your carb target, and the size of your gel are all you need β and this article walks through each one.
How many carbs per hour do you actually need?
Sports-nutrition research has converged on a fairly clear picture for efforts longer than about 90 minutes:
- 30β60 g/hr β the reliable base for most runners on races of one to two and a half hours.
- 60β90 g/hr β helps further in longer events, but only if your gut is trained to absorb it (more on that below).
Most amateur marathoners do best somewhere in the 45β70 g/hr range. Higher isn't automatically better β take on more than your gut can process and it sits in your stomach, which is exactly how you end up doubled over at an aid station.
The gel math, step by step
Once you have an hourly target, the rest falls out of three steps:
- Roughly how much β hourly target Γ race time. A useful ballpark for the size of the job, but not the final gel count (see why below).
- Spacing β one gel every (gel carbs Γ· hourly target). A 22 g gel at 60 g/hr is one every ~22 minutes.
- How many β count how many of those intervals fit between your first gel (~25 minutes in) and your last (~20 minutes before the finish). That window is what actually sets the number.
Take a classic example: a 4-hour marathoner targeting 60 g/hr with standard 22 g gels.
- Ballpark carbs: 60 Γ 4 = 240 g
- Spacing: 22 Γ· 60 of an hour β one gel every ~22 minutes
- Actual count: one every ~22 minutes, from minute 25 to 20 minutes before the finish, works out to ~9 gels
Why not the 240 Γ· 22 β 11 you'd expect from the ballpark? Because you don't fuel the whole race. Skip the first ~25 minutes (stored glycogen has you covered) and the last ~20 minutes (a gel there won't digest in time), and your real fuelling window is about 3ΒΌ hours, not 4. Nine gels at one every ~22 minutes still delivers your 60 g/hr target across the stretch that matters β it just averages out lower (~50 g/hr) over the full race once you count the unfuelled start and finish. That windowed count is exactly what the calculator schedules.
So the plan is: first gel around 25 minutes, then one roughly every 22 minutes, stopping about 20 minutes from the finish.
Before the gun even goes off
Race-day fueling starts hours before your first gel. Get this part right and you toe the line with full glycogen stores and a settled stomach; get it wrong and you're managing a GI problem before mile one.
2β4 hours before the start: 1β4 g of carbs per kg of body weight. That's a wide range on purpose β where you land depends on how much time you have to digest and how sensitive your stomach is. Someone eating 4 hours out can comfortably handle the top of the range; someone with only 2 hours, or a nervous stomach on race morning, should stay near the bottom. For a 70 kg (154 lb) runner, that's roughly 70β280 g β in practice, most people land around 2β3 g/kg.
Keep the meal low in fat and fibre so it clears your stomach in time, and stick to foods you've already used in training β race morning is not the moment to try something new. Good, well-tested options:
- Oatmeal with banana and a drizzle of honey
- A bagel with jam or honey (skip the cream cheese β too much fat)
- Toast with banana
- White rice or rice cakes with honey
- A sports drink alongside any of the above, to add carbs without more volume
15β30 minutes before the start: a small hit of easily digestible carbs. This isn't about topping up glycogen β it's a quick, small dose to keep blood sugar steady as you start moving. A few sips of sports drink or half an energy gel is plenty. Keep it small and simple; this is not the time for another full gel or a big snack, since you'll be racing on it almost immediately.
Timing: the two rules that matter most
Start early β around 25 minutes in. Fueling works preventively, not reactively. Your body has enough stored glycogen to feel fine for the first hour, which is exactly why you have to start fueling before you feel like you need it. By the time a bonk announces itself, a gel can't fully reverse it β glycogen depletion is far easier to prevent than to undo.
Stop in the final 20 minutes. A gel taken in the last stretch simply won't be digested and delivered to your muscles before you cross the line. It's calories your stomach has to deal with for no performance benefit β skip it.
The water rule (this is where races go wrong)
Always take gels with plain water β never with sports drink. Stacking a concentrated gel on top of a sugary drink spikes the sugar concentration in your gut, draws water in to dilute it, and gives you the cramping, sloshing GI distress that ruins so many marathons. Gel plus water: good. Gel plus Gatorade: a gamble you don't need to take.
If your race serves sports drink on course and you plan to use it, count those carbs toward your target β a typical 6 oz cup has 10β14 g β and drop your gel count accordingly.
Gut training: why you can't just decide to take 90 g/hr
Your intestines adapt to absorb more carbohydrate when you practice fueling in training β it's a trainable system, like your aerobic base. You cannot simply pick an aggressive number on race morning and expect your stomach to cooperate. Build up: start at the conservative end on long runs, and add roughly 10 g/hr every couple of weeks until you can hold your race target comfortably.
And rehearse the exact plan β same gels, same flavors, same timing β on at least two long runs before race day. Race day is not the time to discover that a particular gel doesn't sit well.
Half marathon: do you even need them?
Under about 90 minutes, stored glycogen mostly covers you, and a single gel around the 45β60 minute mark is cheap insurance. Once you're over 90 minutes β a 2:00+ half β fueling starts paying off measurably, and the same math applies: a gel or two, taken early and spaced out.
FAQ
How many gels for a 4-hour marathon?
Around 9 standard 22 g gels at a 60 g/hr target β first at ~25 minutes, then one every ~22 minutes, none in the final 20. Adjust up for a bigger carb target, down for larger gels. The calculator works out your exact count.
What if I can't stomach that many gels?
Start with gut training β most "I can't take gels" problems are an untrained gut, not a fixed limit. Mix in other carb sources (chews, on-course drink, even a rice-based option), and use a slightly larger gel so you take fewer of them. See our homemade fueling recipes for cheaper, gentler options.
Do gels expire or go bad in heat?
They have a long shelf life, but check the date on old ones. Heat mostly affects texture, not safety β gels get runnier when hot, thicker when cold. Neither hurts you; it just changes how easy they are to get down mid-race.