Marathon nutrition Calculator
Turn your body weight, finish time, and sweat rate into a per-hour plan for carbs, gels, fluid, and sodium — with the formulas, worked examples, and race-day interpretation explained.
Written by Victura Nutrition TeamReviewed by Victura Editorial ReviewLast updated Oct 19, 2026
Quick answer
Most runners need 30–60 g of carbohydrate per hour for events under 2.5 hours, and 60–90 g per hour for marathons lasting 2.5–4 hours. Above 90 g per hour, absorption usually becomes the limiting factor unless you use glucose-plus-fructose products and have trained your gut.
Turn your body weight, finish time, and sweat rate into a per-hour plan for carbs, gels, fluid, and sodium — with the formulas, worked examples, and race-day interpretation explained.
Key takeaways
- Carbs scale with race duration: 30–60 g/h under 2.5 hours, 60–90 g/h beyond.
- Total carbs equal hourly target times race hours; divide by gel carbs to count gels.
- Sweat rate comes from pre- and post-run weights plus fluid drunk, divided by hours.
- Replace about 80% of sweat losses and add 300–600 mg sodium per hour.
- Rehearse race-day intake on long runs before trusting the calculated plan.
The Science Behind the Marathon Nutrition Calculator
Research-backedWhat a marathon nutrition calculator actually does
A marathon nutrition calculator converts three inputs — body weight, expected finish time, and sweat rate — into an hourly plan for carbohydrate, fluid, and sodium. It does not prescribe a diet or diagnose anything. It translates published sports-nutrition ranges into numbers you can pack into a race belt or a bottle.
Most fueling confusion comes from units. Runners think in gels, ounces, and hours, while guidelines are written in grams per kilogram and liters per hour. The calculator closes that gap so you are not dividing numbers at mile 18.
The inputs you need before you start
- Body weight: in pounds or kilograms. Used for carbohydrate and fluid math.
- Expected finish time: hours and minutes, ideally your realistic pace rather than your goal pace.
- Carbohydrate per serving of your products: most gels deliver 20–25 g carbs in a 30–35 g (1.0–1.2 oz) packet, so read the label.
- Sweat rate: weigh yourself nude before and after a 60-minute run, add the fluid you drank during the run, and divide by the run time.
- Sodium habits: note whether you finish long runs with visible salt stains on your shirt or skin.
The formulas behind your plan
Carbohydrate targets scale with duration, not with distance alone. For sessions and races under 2.5 hours, 30–60 g of carbohydrate per hour is the standard range. For events lasting 2.5–4 hours, 60–90 g per hour is recommended, ideally from multiple transportable carbohydrates such as glucose plus fructose in roughly a 2:1 or 1:0.8 ratio. Above 4 hours, 90 g per hour is the ceiling most athletes can absorb, and only after gut training.
The calculator applies four simple equations:
- Body weight in kg = pounds ÷ 2.2.
- Total carbs = hourly carb target × race hours.
- Gels needed = total carbs ÷ carbs per gel, rounded to the nearest half gel.
- Sweat rate (L/h) = [(pre-run weight in kg − post-run weight in kg) + fluid drunk in L] ÷ hours.
Fluid replacement generally aims for about 80% of measured sweat losses, because overdrinking plain water can dilute blood sodium. Sodium targets of roughly 300–600 mg per hour suit most runners, with higher intakes for heavy, salty sweaters.
Worked example: 154 lb runner, 4-hour marathon
| Input | Example value | Result |
|---|---|---|
| Body weight | 154 lb (70 kg) | Base for carb and fluid math |
| Race duration | 4 h 00 min | 4.0 hours |
| Carb tier | 60–90 g per hour | Plan 75 g per hour |
| Total carbohydrate | 75 g × 4 h | 300 g carbs |
| Gel size | 32 g (1.1 oz) packet, 24 g carbs | 12–13 gels |
| Fluid losses | 176 lb to 172 lb (79.8 to 78.0 kg) plus 48 oz (1.4 L) drunk | 3.2 L lost over 4 h = 0.8 L/h |
| Fluid target | 80% of 0.8 L/h | About 0.65 L/h, or 22 oz per hour |
| Sodium target | 300–600 mg per hour | 1,200–2,400 mg total |
How to read your results
Split hourly carbs into three or four doses of 20–30 g taken every 15–20 minutes, starting in the first 30–45 minutes rather than waiting for fatigue. Set a repeating watch timer; appetite lags behind need during hard efforts. If your plan exceeds 60 g per hour, choose products with glucose and fructose and practice the exact race-day combination on long runs first.
For the final 36–48 hours before the race, carbohydrate loading at roughly 8–12 g per kg per day means about 560–840 g of carbs daily for a 70 kg (154 lb) runner. That is a bowl of oatmeal with banana and honey, a large rice or pasta meal, and carb-based snacks, not a single giant dinner.
Key takeaway: Fuel by the clock, not by feel — your calculated hourly carb and fluid targets are the plan, and thirst is only a secondary check.
Example scenarios
- Sub-3 marathon (2 h 45 min at 65 kg / 143 lb): 90 g carbs per hour, about 248 g total, or 10 gels, plus 0.6–0.9 L fluid per hour.
- 4-hour marathon (70 kg / 154 lb): 75 g carbs per hour, 300 g total, 12–13 gels, about 22 oz (0.65 L) fluid per hour.
- 5-hour-plus marathon (80 kg / 176 lb): 90 g carbs per hour from gels plus sports drink, roughly 450 g total, with sodium near the upper end of 600 mg per hour.
Anyone managing diabetes, kidney disease, or a therapeutic low-carbohydrate diet should review these targets with a sports dietitian or physician before race day.
What Runners Log in Practice
Community insightWhat the logs actually show
Across anonymized Victura meal and fueling logs, the most common marathon error is not too little carbohydrate overall but carbohydrate arriving too late. Runners who hit their hourly target from the first 30 minutes report steadier energy than those who start fueling at mile 10 and then try to catch up.
Gut training in practice
The second pattern is a jump in intake on race day that was never rehearsed. If your plan calls for 90 g per hour, build up over four to six long runs, adding roughly 10–15 g per hour each time. Practicing with the exact gels, chews, and drink you will use on course removes most race-day stomach surprises.
Aid station and gel logistics
- Carry the first 60–90 minutes of fuel so you are not dependent on the first aid station.
- Count gels per hour, not per mile, and tape them to a belt or shorts in order.
- Take gels with water, not with a sports drink, to keep the concentration tolerable.
- Use course-provided drink only if you have tested that brand in training.
- Write your hourly plan on your hand or watch band in large numbers.
Common fueling mistakes
- Drinking to a fixed ounce target regardless of sweat rate and weather.
- Skipping sodium entirely, then feeling lightheaded in hot races.
- Trying solid food late in a marathon when chewing feels difficult.
- Copying an elite runner's plan without matching body weight and pace.
- Testing a new caffeine gel for the first time at mile 20.
References
- Nutrition and Athletic Performance — Joint Position Statement of the Academy of Nutrition and Dietetics, Dietitians of Canada, and the American College of Sports Medicine(pubmed)
- Jeukendrup AE. A Step Towards Personalized Sports Nutrition: Carbohydrate Intake During Exercise. Sports Medicine.(pubmed)
- American College of Sports Medicine Position Stand: Exercise and Fluid Replacement(pubmed)
- USDA FoodData Central — food composition data for gels, sports drinks, and carbohydrate foods(usda)
Frequently asked questions
People also ask
How many carbs should I eat during a marathon?
Most runners need 30–60 g of carbohydrate per hour for events under 2.5 hours, and 60–90 g per hour for marathons lasting 2.5–4 hours. Above 90 g per hour, absorption usually becomes the limiting factor unless you use glucose-plus-fructose products and have trained your gut. A 70 kg (154 lb) runner targeting a 4-hour marathon would plan about 75 g per hour, or roughly 300 g total.
How do I calculate my marathon nutrition plan?
Enter your body weight, expected finish time, and sweat rate into the calculator. It multiplies your hourly carb target by race hours for total carbs, divides by the carbs in each gel to give a gel count, and estimates fluid needs from your measured sweat rate. Weight in kilograms equals pounds divided by 2.2, and sweat rate equals weight lost plus fluid drunk, divided by run hours.
How many gels should I take during a marathon?
Divide total carbohydrate by the carbs per gel. A typical 32 g (1.1 oz) gel supplies about 24 g of carbs. A 4-hour marathoner needing 300 g total would use 12–13 gels, spaced as roughly one gel every 20 minutes. If that feels excessive, combine gels with sports drink, but count both toward the hourly total.
How much water should I drink during a marathon?
Estimate your sweat rate by weighing yourself before and after a one-hour run, adding the fluid you drank, and dividing by the time. Then aim to replace about 80% of those losses. A runner losing 0.8 L per hour would drink about 0.65 L (22 oz) per hour. Drinking far above your sweat losses risks exercise-associated hyponatremia, so avoid fixed targets that ignore body weight and weather.
When should I start fueling during a marathon?
Start within the first 30–45 minutes and then take carbohydrate every 15–20 minutes on a timer. Front-loading small doses early keeps intake steady and avoids the catch-up pattern that causes stomach distress later. For carb loading, begin 36–48 hours before the race at roughly 8–12 g of carbohydrate per kg of body weight per day.
What should I eat the night before a marathon?
Choose a familiar, carbohydrate-rich dinner you have eaten before long runs — rice, pasta, potatoes, or bread with a moderate portion of lean protein and low fiber vegetables. Aim for roughly 2–3 g of carbs per kg of body weight at that meal, keep fat and fiber moderate, and drink to thirst rather than forcing extra fluid. Avoid new foods, heavy alcohol, and very spicy dishes.
How many calories should I eat during a marathon?
Most marathoners take in roughly 200–400 calories per hour during the race, almost entirely from carbohydrate, since fat and protein are poorly tolerated at race intensity. At 4 calories per gram, a 75 g per hour carb plan supplies about 300 calories per hour. Total race-day intake is usually a small fraction of the 2,600–3,000 calories a marathon burns, which is why carb loading beforehand matters.
Should I use gels or sports drink during a marathon?
Either works if you count both toward your hourly carbohydrate total. Gels are compact and easy to time, while sports drink adds fluid and sodium. Many runners combine them: gels with water for carbs, plus sports drink for electrolytes. Avoid taking a gel with a sports drink at the same time, since the combined concentration can slow stomach emptying.
How do I carb load before a marathon?
Begin 36–48 hours before the race and aim for roughly 8–12 g of carbohydrate per kg of body weight per day — about 560–840 g daily for a 70 kg (154 lb) runner. Choose familiar, low-fiber, low-fat carbohydrate foods like rice, pasta, potatoes, and bread, keep protein moderate, and avoid new or spicy foods. Carb loading tops up glycogen; it does not replace in-race fueling.
How we review this guide
- Written by
- Victura Nutrition Team
- Reviewed by
- Victura Editorial Review
- Reference sources
- 6
- Last updated
- Oct 19, 2026
Ready to track your meals with AI?
Victura scans your plate, logs macros automatically, and coaches you toward your goals — halal, keto, diabetic-friendly, and more.