Race Fueling Calculator
A 4 hour marathon needs about 83 g of carbs an hour, 332 g in total. That is 16 gels of 22 g if gels are your only fuel. Enter your race, finish time and gel brand to get your own count and a timed gel plan.
- Gels for your finish time
- Carbs per hour
- A timed gel schedule
- Fluid and sodium per hour
- Pre race meal and caffeine
Gel Schedule
The schedule spaces gels at least 20 minutes apart from minute 30 and stops 10 minutes before the finish, so it lists 9 of your 12 gels. Take the other 65 g of carbs from sports drink at aid stations or extra gels.
- 10:30GU Energy Gel
- 20:50GU Energy Gel
- 31:10GU Energy Gel
- 41:30GU Energy Gel
- 51:50GU Energy Gel
- 62:10GU Energy Gel
- 72:30GU Energy Gel
- 82:50GU Energy Gel
- 93:10GU Energy Gel
Pre-Race Meal
When: 2 to 3 hours before start
Target: 105g carbs
Example: 105g carbs = 3 slices of toast with jam, or 4 bananas, or a bowl of oatmeal with honey
Stick to foods you have tested in training. Avoid high fiber and high fat.
Caffeine Strategy (optional)
Recommended dose: 280mg
Take 280mg caffeine 45 to 60 minutes before the race, or split into the second half via caffeinated gels
Fuel the long run, then claim its streets.
Motera is a running game for iPhone. Every run that ends where it began claims the streets inside it on a live map of your city, so a long loop on a long run day turns into a big piece of territory. You also earn XP and climb a local leaderboard.

You claimed a new territory!How many gels for a marathon?
Between 10 and 21 gels of 22 g for a 3:00 to 5:00 marathon, if gels are your only carbs. Slower runners need more in total, because they are out longer and the calculator raises the carbs per hour too.
Worked out with the calculator above for a 70 kg runner and a 22 g gel such as GU.

Bigger gels, fewer packets
22 g is GU or SiS GO, 25 g is Maurten Gel 100, 28 g is Spring Energy, as set in the calculator.
Why other guides say 7 to 9 gels
Many plans count gels only and leave the rest to sports drink, or aim near 60 g an hour. The calculator aims higher on long races and counts every gram, so its total is the ceiling.
On race day, take the gels on the timed plan and fill the gap with sports drink at aid stations. Each cup you drink lowers the gels you carry.
Carbs per hour when running
The calculator gives nothing under an hour, 30 g an hour at 1 hour, 60 g at 2.5 hours and 90 g from 4.5 hours. The longer you run, the more carbs you need each hour.
Carbs per hour by race time
Grams of carbs per hour the calculator gives for each finish time, from 1:00 to 5:00.

Real food counts too. The calculator counts a banana as about 25 g of carbs, a little more than one 22 g gel.
A carb mouth rinse or a small amount of carbs can help in efforts of about an hour.
A single carb source such as glucose can be used at up to about 60 g an hour.
Higher intakes need a mix of carbs, such as glucose plus fructose, so the gut can absorb them.
The three bands come from Asker Jeukendrup's 2014 review in Sports Medicine, which also notes that the gut seems trainable: runners who eat carbs often may absorb more. Build up to high intakes on long runs. Read the review
When to take gels in a marathon
The calculator's plan starts at 30 minutes and adds a gel every 20 minutes. Faster runners finish before they reach as many marks, so a 3:00 runner gets 7 timed gels and a 4:30 runner 12.
Half marathon fueling: how many gels you need
A half marathon is long enough to need fuel for most runners. The calculator gives 3 gels of 22 g for a 1:30 half and 7 for 2:30, at 40 to 60 g of carbs an hour.

A bar takes chewing, which is hard at half marathon pace, so it fits better before the start or in longer, slower races.
The chips are the gel times on the calculator's plan. When a row lists fewer chips than gels, take the rest of the carbs from sports drink at aid stations. Under an hour, as for most 10K runners, the calculator gives no mid race fuel.
Pre race meal and caffeine
The calculator puts your last meal 2 to 3 hours before the start, at 1.5 g of carbs per kg of body weight, and suggests 4 mg of caffeine per kg for races of 90 minutes or more.
- 3:00 beforeMeal window opens
- 2:00 beforeMeal done
- 1:00 beforeCaffeine, if you use it
- StartGun
- 0:30First gel
The meal, 2 to 3 hours out
Toast with jam, bananas or oatmeal with honey all work. Stick to foods you have tested before long runs and keep fiber and fat low.
Caffeine, optional
The ISSN position stand finds caffeine helps endurance at 3 to 6 mg per kg, most often taken about 60 minutes before. It also lists side effects at high doses, so test it in training. ISSN, 2021
Your long runs can claim real ground.
In Motera, a run that loops back to where it started turns the area inside into your territory. The longer the loop, the more ground it takes, which is a good reason to get the gels right. Draw a loop on the map with your finger or mouse to see it.
- Zones0
- Area0 m²
- Loop0.00 km
- XP+0
Demo numbers. In the app, your real GPS run draws the loop.
© OpenStreetMap, OpenFreeMap
Six common race fueling mistakes
Trying something new on race day
Never eat or drink anything in a race you have not tested in training. Your gut needs practice digesting fuel while you run, so test the gel brand, timing and drinks on long runs first.
Waiting too long for the first gel
By the time you feel tired, your carbohydrate stores are already running low. The calculator starts every plan at 30 minutes and keeps a steady schedule from there.
Taking gels without water
Most gels need water to go down well. A gel on its own can sit heavy and cause cramps or nausea, so time gels with aid stations or carry a small bottle.
Overdrinking water
Drinking far more than you sweat is the main cause of exercise associated hyponatremia, low blood sodium. Drink to thirst and take electrolytes on runs over 90 minutes.
Eating a big meal too close to the start
The calculator puts your pre race meal 2 to 3 hours before the gun. A large meal much later than that is still digesting when you start running.
Ignoring sodium
You lose sodium in sweat and plain water does not put it back. The calculator gives 400 to 500 mg an hour for races over an hour, from sports drink, salty gels or salt tablets.
How many carbs runners burn, measured in a lab
How Many Carbs Do You Really Need? (Lab Test Results!)
Tom and Mark from The Running Channel run lab tests at Science in Sport to measure how many carbs they burn while running and what that means for a marathon. A good check on the carbs per hour the calculator gives you.
Fuel is one part of race day
This calculator covers carbs and gels. The other three tools cover packing, drinking and the days after, and each one picks up where this one stops.
- Step 1, Night beforeRace Day ChecklistWhat to pack, what to wear and when to wake upOpen
- Step 2, FuelRace Fueling CalculatorGels, carbs per hour and a timed gel planYou are here
- Step 3, DrinkHydration CalculatorSweat rate, fluid per hour and sodiumOpen
- Step 4, AfterRace Recovery PlannerDay by day plan until you race againOpen
Where the fueling numbers come from
The calculator runs its own simple model. These are the published sources behind the ranges on this page.
“A single carbohydrate source can be oxidized at rates up to approximately 60 g/h and this is the recommendation for exercise that is more prolonged (2‑3 h). For ultra-endurance events, the recommendation is higher at approximately 90 g/h.”
Asker Jeukendrup, A Step Towards Personalized Sports NutritionCarbs per hour bands
About 60 g an hour for efforts of 2 to 3 hours, about 90 g for ultra endurance, and multiple carb types at high rates. Also notes the gut seems trainable.
Read the reviewCaffeine and exercise
Caffeine helps endurance at 3 to 6 mg per kg, most often taken about 60 minutes before. Side effects become more likely at high doses such as 9 mg per kg.
Read the position standHyponatremia
Exercise associated hyponatremia is mainly caused by drinking too much. Long races, slow paces and drinking over 1.5 liters an hour raise the risk.
Read the KSI pageThe gel counts, schedules, fluid, sodium, meal and caffeine numbers on this page come from the calculator's own formulas, worked out for the times and weights shown.
What is a race fueling calculator?

A race fueling calculator, also called a marathon fueling calculator or a gel calculator, turns your race distance, target finish time, body weight and gel brand into a plan for what to eat and drink during the race.
This one gives carbs per hour, total carbs, the number of gels, a gel schedule, fluid and sodium per hour, an optional caffeine dose and a pre race meal. It covers the 5K, 10K, half marathon, marathon and 50K.
Carbs per hour rise with time: none under an hour, 30 to 60 g up to 2.5 hours and 60 to 90 g beyond. A 70 kg runner aiming for a 4:00 marathon gets 83 g an hour, 332 g in total and 16 gels of 22 g.
Fluid is 400 ml an hour, or 600 ml above 70 kg, and sodium 400 to 500 mg an hour. Those are starting points: the hydration calculator adjusts fluid for heat, humidity and effort.
It is built for runners training for a half, a marathon or a 50K who want a fueling plan to test on long runs. The calculator is free, runs in your browser and asks for no signup. Motera is a separate iOS app that turns runs into territory on a live map.
Race fueling questions
How many gels do I need for a marathon?
It depends on your finish time and your gel. With a 22 g gel, the calculator gives 10 gels for a 3:00 marathon, 12 for 3:30, 16 for 4:00 and 19 for 4:30, if every gram of carbs comes from gels. Its timed plan spaces gels 20 minutes apart from minute 30, which is 10 gels in a 4 hour race. Carbs from sports drink at aid stations cover the rest.
How many carbs per hour should I eat when running?
For races of 2 to 3 hours, Asker Jeukendrup's 2014 review recommends up to about 60 g of carbs an hour, and about 90 g an hour for longer, ultra endurance efforts, from a mix of glucose and fructose. The calculator ramps from 30 g an hour at 1 hour to 60 g at 2.5 hours and 90 g at 4.5 hours.
Do I need to fuel during a 5K or 10K?
Not for a race under 60 minutes. The calculator gives no mid race fuel below an hour, since your stored energy covers it. Eat a normal meal 2 to 3 hours before and drink well. Jeukendrup notes that in efforts of about an hour, a carb mouth rinse or a small amount of carbs can still help.
When should I take my first gel in a race?
The calculator schedules the first gel at 30 minutes, before you feel tired, and keeps gels at least 20 minutes apart after that. The last one comes no later than 10 minutes before your target finish.
How many gels for a half marathon?
With a 22 g gel, the calculator gives 3 gels for a 1:30 half, 5 for 2:00 and 7 for 2:30. A 2:00 runner on the timed plan takes gels at 0:30, 0:50, 1:10, 1:30.
How much water should I drink during a marathon?
The fueling calculator gives 400 ml an hour for runners up to 70 kg and 600 ml above that, plus sodium. Heat, humidity and your own sweat rate change that a lot, so the hydration calculator on this site works it out from your weight, weather and effort. Do not drink more than you sweat.
What should I eat the morning before a race?
The calculator gives 1.5 g of carbs per kg of body weight, 2 to 3 hours before the start. For a 70 kg runner that is 105 g: about 3 slices of toast with jam, or 4 bananas, or a bowl of oatmeal with honey. Stick to foods you have tested and keep fiber and fat low.
Does caffeine help running performance?
The International Society of Sports Nutrition's 2021 position stand finds that caffeine improves endurance performance at 3 to 6 mg per kg, most often taken about 60 minutes before. The calculator suggests 4 mg per kg for races of 90 minutes or more, 280 mg for a 70 kg runner, taken 45 to 60 minutes before or spread over the second half in caffeinated gels.
Can I use real food instead of gels?
Yes. What matters is the carbs per hour, not the format. Bananas, chews, dates, sports drink and rice cakes all count, as long as your stomach handles them at race pace. Gels are just the easiest to carry and to count.

