Free race nutrition tool

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
Rated on the App Store · 389 ratings
Race distance
Target finish time
hours
:
min
Gel brand
Gels needed12GU Energy Gel, Marathon in 3h 30m
Carbs/Hour75g
Total carbs263g
Hydration/Hour400ml
Sodium/Hour400mg
Gel timeline
StartFinish 3h 30m

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.

  1. 10:30GU Energy Gel
  2. 20:50GU Energy Gel
  3. 31:10GU Energy Gel
  4. 41:30GU Energy Gel
  5. 51:50GU Energy Gel
  6. 62:10GU Energy Gel
  7. 72:30GU Energy Gel
  8. 82:50GU Energy Gel
  9. 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

For long run and race training

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.

Motera Territory screen: two runners loop city blocks on a 3D map and capture them as territory
You claimed a new territory!
Sunday, October 18Territory Conquered!
0.00KM0:00Time0:00/km
0kcal0Steps22°Temp
Post to Feed
Done
Loop closed, streets claimed
Like Strava, but more fun
Marathon gels

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.

Gels on the timed planCarbs left for drink or extra gels
3:00 marathon68 g/hr, 204 g total
10 gels
3:30 marathon75 g/hr, 263 g total
12 gels
4:00 marathon83 g/hr, 332 g total
16 gels
4:30 marathon90 g/hr, 405 g total
19 gels
5:00 marathon90 g/hr, 450 g total
21 gels

Worked out with the calculator above for a 70 kg runner and a 22 g gel such as GU.

Two energy gel sachets fanned out
4:00 marathon16 gels10 on the timed plan, 112 g of carbs from drink

Bigger gels, fewer packets

Finish22 g25 g28 g
3:001098
3:30121110
4:00161412
4:30191715
5:00211817

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.

3:30 marathon, timed plan9 gels
Carbs per hour

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

1:001:302:002:303:003:304:004:305:00

Grams of carbs per hour the calculator gives for each finish time, from 1:00 to 5:00.

A ripe banana

Real food counts too. The calculator counts a banana as about 25 g of carbs, a little more than one 22 g gel.

1About 1 hourSmall amounts

A carb mouth rinse or a small amount of carbs can help in efforts of about an hour.

22 to 3 hoursUp to about 60 g/hr

A single carb source such as glucose can be used at up to about 60 g an hour.

3Ultra enduranceAbout 90 g/hr

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

Marathon fueling plan

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.

3:00 finish7 gels, 68 g/hr
3:30 finish9 gels, 75 g/hr
4:00 finish10 gels, 83 g/hr
4:30 finish12 gels, 90 g/hr
0:001:002:003:004:00
First gel0:30Before you feel tired, while your stores are still full.
Spacing20 min+At least 20 minutes between gels, wider when you need fewer.
Last gel10 min outThe plan skips the last 10 minutes of the race, when you are nearly home.
Half marathon

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.

1:30 half40 g/hr, 60 g total
0:300:501:10
3 gels3 with 25 g gels
1:45 half45 g/hr, 79 g total
0:300:501:101:30
4 gels4 with 25 g gels
2:00 half50 g/hr, 100 g total
0:300:501:101:30
5 gels4 with 25 g gels
2:15 half55 g/hr, 124 g total
0:300:501:101:301:50
6 gels5 with 25 g gels
2:30 half60 g/hr, 150 g total
0:300:501:101:301:502:10
7 gels6 with 25 g gels
An energy bar torn open at one end

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.

Race morning

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.

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.

55 kg runner83 g carbs65 kg runner98 g carbs75 kg runner113 g carbs85 kg runner128 g carbs

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

55 kg runner220 mg65 kg runner260 mg75 kg runner300 mg85 kg runner340 mg
Try the game

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.

Draw a loop hereEnd where you started
9:41

© OpenStreetMap, OpenFreeMap

Common mistakes

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.

Watch

How many carbs runners burn, measured in a lab

Video, 12 min, The Running Channel

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.

Race day tools

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.

  1. Step 1, Night before
    Race Day ChecklistWhat to pack, what to wear and when to wake upOpen
  2. Step 2, Fuel
    Race Fueling CalculatorGels, carbs per hour and a timed gel planYou are here
  3. Step 3, Drink
    Hydration CalculatorSweat rate, fluid per hour and sodiumOpen
  4. Step 4, After
    Race Recovery PlannerDay by day plan until you race againOpen
Sources

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 Nutrition
Jeukendrup, Sports Medicine, 2014

Carbs 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 review
ISSN position stand, 2021

Caffeine 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 stand
Korey Stringer Institute

Hyponatremia

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 page

The 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.

About this tool

What is a race fueling calculator?

The model
Under 1 hour0 g/hr
1 to 2.5 hours30 to 60 g/hr
2.5 to 4.5 hours60 to 90 g/hr
Over 4.5 hours90 g/hr
GelsTotal carbs / gel size
Meal1.5 g/kg, 2 to 3 h before
A navy GPS running watch
Gel timingFirst gel at 0:30, then at least 20 minutes apart

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.

FAQ

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.