Triathlon Nutrition Calculator

A triathlon is three races in one, and the fuelling plan has to survive all three. You cannot eat on the swim, you do most of your eating on the bike, and whatever you get wrong on the bike arrives on the run. This calculator turns your race duration and your body weight into a complete race day plan: carbohydrate per hour and in total, how many gels that means and how often to take one, fluid per hour and in total, sodium per hour and in total, and a caffeine dose for before the race. At the defaults, a 5 hour race at 75 kg gives 60-90 g of carbohydrate per hour, 300-450 g in total, 12-18 gels, 2,000-4,000 ml of fluid, 1,000-2,800 mg of sodium, and 225-450 mg of caffeine. The numbers are guideline ranges from the American College of Sports Medicine and the sports nutrition literature, not a prescription, and the plan only works if you practise it in training first. If you do not know your race duration yet, estimate it with the Race Predictor first, then bring that time back here.

Your Race

These are guideline ranges for a healthy athlete, not a prescription. Carbohydrate needs depend on race duration, not body weight, so the carb band changes only when the race gets longer. Body weight sets the caffeine dose only. Practise your race plan in training, build up to high intakes gradually, and talk to a clinician or a sports dietitian if you have a medical condition such as diabetes. Do not try anything new on race day.

60-90 g carbs per hour, 300-450 g over 5 hours 400-800 ml fluid, 200-560 mg sodium Gels to carry: 12-18 (25 g each) Bottles (750 ml each): about 4 Race progress: 5 hours of 12 225-450 mg caffeine, one dose about 60 minutes before the race
Your race nutrition plan
Carbohydrate per hour
Total carbohydrate
Gels (25 g each)
Gel timing
Fluid, sodium and caffeine
Fluid per hour
Total fluid
Sodium per hour
Total sodium
Caffeine (one dose, about 60 minutes before)
Note: the 60-90 g per hour band needs products that mix glucose and fructose, and a gut trained to take them. Build up to high intakes over several weeks of training, take a gel with water, and drink to thirst: the fluid range is a starting point, not a target to force down. Weigh yourself before and after a long training session to learn your own sweat rate.
Race DurationCarbs / HourTotal CarbsTotal GelsFluid / HourTotal FluidSodium / HourTotal Sodium

Each row uses the same duration bands as the calculator. Caffeine is not in the table because it depends on body weight, not on race duration: it is 3-6 mg per kg, one dose about 60 minutes before the race. The 5 hour row matches the calculator defaults and is highlighted.

Powered by Techraxy

Creator & Reviewer

Faiq Ur Rahman

Founder & CEO, Techraxy

Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.

Share:

Rate this Tool

User Ratings:

0
0 out of 5 stars (based on 0 reviews)
Excellent
Very good
Average
Poor
Terrible

ADVERTISEMENT

ADVERTISEMENT

What is a Triathlon Nutrition Calculator?

A triathlon nutrition calculator plans what to eat and drink during a triathlon, from the carbohydrate that keeps your muscles fuelled to the fluid and sodium that replace what you sweat out. It takes two inputs, race duration in hours and body weight in kilograms, and returns a full plan for the race. Carbohydrate is set by duration alone, because the research shows carbohydrate advice is independent of body weight: a sprint needs little or nothing during the race, a race of 1 to 2.5 hours needs 30-60 g per hour, and anything over 2.5 hours needs 60-90 g per hour. Body weight sets only the caffeine dose, at 3-6 mg per kilogram. Fluid is 400-800 ml per hour, and sodium is 200-560 mg per hour, worked out from the fluid range and the sodium concentration of a sports drink.

That is different from counting the calories a triathlon burns, which is a different job. The Swimming Calorie Calculator estimates what the swim leg burns, and the Running Calorie Calculator estimates what the run leg burns, but neither tells you what to eat during the race, and neither should be used to set your fuelling: you do not need to replace every calorie you burn, and trying to will make you ill. This calculator is about intake during the race, not about energy burned. The bike leg is where most of the eating happens, because it is the only leg where you can carry bottles and eat comfortably, so check your bike pacing with the Bike Pace Calculator and plan to take most of your carbohydrate there. If you make your own drink, work out the recipe with the DIY Sports Drink Calculator.

How to Use the Triathlon Nutrition Calculator

  1. Enter your race duration in hours, from 0.25 to 20 hours. The default is 5 hours, about the time of a middle distance race for many age group athletes. A sprint is usually about 1 to 1.5 hours, an Olympic distance race about 2 to 3.5 hours, a 70.3 about 4 to 7 hours, and a full Ironman about 9 to 14 hours.
  2. Enter your body weight in kilograms, from 30 to 200 kg. The default is 75 kg. Weight sets the caffeine dose only: carbohydrate, fluid and sodium do not change with weight.
  3. Click Calculate, or just type: the results update as you enter the numbers. The diagram is a triathlete riding a bike with the gels and bottles to carry and a race progress bar, and the picture moves with your inputs: the rider slides further along the road as the race gets longer, the progress bar fills with duration, more gel packets and bottles appear as the totals grow, and the carb, fluid, sodium and caffeine labels all update live.
  4. Read the Summary tab for your carbohydrate per hour, total carbohydrate, gels, gel timing, fluid per hour, total fluid, sodium per hour, total sodium, and caffeine dose.
  5. Open the Compare Race Durations tab to see the same plan for races of 1, 2.5, 5, 8 and 12 hours. The 5 hour row matches the calculator defaults and is highlighted.
  6. Practise the plan on long training sessions before race day. Start at the low end of each range, build up over several weeks, and take every gel with water.

Triathlon Nutrition Calculator Formula

Carbohydrate per hour, by race duration, from the ACSM 2016 joint position statement and Jeukendrup 2014

  • Under 45 minutes: 0 g per hour, no carbohydrate needed during the race, a mouth rinse may help
  • 45 to 60 minutes: 0-30 g per hour, small amounts only
  • 1 to 2.5 hours: 30-60 g per hour
  • Over 2.5 hours: 60-90 g per hour, from products that mix glucose and fructose

Total carbohydrate = carbohydrate per hour x race duration in hours, in grams

Gels = total carbohydrate / 25, counting one gel as 25 g of carbohydrate, so check the label on your brand

Gel timing = 60 / gels per hour, in minutes between gels

Fluid per hour = 400-800 ml, the range the ACSM statement says suits most athletes

Total fluid = fluid per hour x race duration in hours, in millilitres

Sodium per hour = fluid per hour x sports drink sodium concentration of 500-700 mg per litre, which gives 200-560 mg per hour, and 0 mg per hour for races under 1 hour

Total sodium = sodium per hour x race duration in hours, in milligrams

Caffeine = 3-6 mg per kg of body weight, one dose about 60 minutes before the race, in milligrams

The carbohydrate bands are duration bands, not weight bands. Jeukendrup 2014 states plainly that carbohydrate intake advice is independent of body weight as well as training status, and the ACSM bands say the same thing in practice: the same duration gives the same range for a 60 kg athlete and a 90 kg athlete. The reason for the 60 g per hour step is the gut: glucose alone is absorbed through one intestinal transporter, SGLT1, which saturates at about 60 g per hour, so rates above that need a second carbohydrate, fructose, which uses a different transporter, GLUT5, and a mix of the two in roughly a 2 to 1 ratio. The sodium figure is derived, not quoted: 0.4 litres per hour times 500 mg per litre is 200 mg per hour, and 0.8 litres per hour times 700 mg per litre is 560 mg per hour, and the 0.5-0.7 g per litre drink concentration comes from the ACSM 2007 fluid replacement position stand. The caffeine range is the International Society of Sports Nutrition position stand: 3-6 mg per kg, with 9 mg per kg adding side effects without extra benefit.

Worked Example

A 5 hour race at 75 kg, the calculator defaults. All steps below use the unrounded values; displayed figures are rounded as shown.

The race is over 2.5 hours, so the carbohydrate band is 60-90 g per hour.

Total carbohydrate = 60 x 5 = 300 g to 90 x 5 = 450 g.

Gels = 300 / 25 = 12 to 450 / 25 = 18, so 12-18 gels.

Gels per hour = 60 / 25 = 2.4 to 90 / 25 = 3.6, so gel timing = 60 / 3.6 = 16.7, shown as 17 minutes, to 60 / 2.4 = 25 minutes, so one gel every 17-25 minutes.

Total fluid = 400 x 5 = 2,000 ml to 800 x 5 = 4,000 ml.

Sodium per hour = 0.4 x 500 = 200 mg to 0.8 x 700 = 560 mg. Total sodium = 200 x 5 = 1,000 mg to 560 x 5 = 2,800 mg.

Caffeine = 3 x 75 = 225 mg to 6 x 75 = 450 mg, one dose about 60 minutes before the race.

So a 5 hour race at 75 kg gives 60-90 g of carbohydrate per hour, 300-450 g in total, 12-18 gels taken every 17-25 minutes, 2,000-4,000 ml of fluid, 1,000-2,800 mg of sodium, and 225-450 mg of caffeine before the race.

At the test case, a 2 hour race at 60 kg: the race is in the 1 to 2.5 hour band, so carbohydrate is 30-60 g per hour. Total carbohydrate = 30 x 2 = 60 g to 60 x 2 = 120 g. Gels = 60 / 25 = 2.4, shown as 2, to 120 / 25 = 4.8, shown as 5, so 2-5 gels. Gels per hour = 30 / 25 = 1.2 to 60 / 25 = 2.4, so gel timing = 60 / 2.4 = 25 minutes to 60 / 1.2 = 50 minutes, so one gel every 25-50 minutes. Total fluid = 400 x 2 = 800 ml to 800 x 2 = 1,600 ml. Sodium per hour is 200-560 mg, so total sodium = 200 x 2 = 400 mg to 560 x 2 = 1,120 mg. Caffeine = 3 x 60 = 180 mg to 6 x 60 = 360 mg.

At the long event case, a 10 hour Ironman at 80 kg: the race is over 2.5 hours, so carbohydrate is 60-90 g per hour. Total carbohydrate = 60 x 10 = 600 g to 90 x 10 = 900 g. Gels = 600 / 25 = 24 to 900 / 25 = 36, so 24-36 gels. Gel timing is the same as the 5 hour case, one gel every 17-25 minutes, because the per hour rate is the same. Total fluid = 400 x 10 = 4,000 ml to 800 x 10 = 8,000 ml. Total sodium = 200 x 10 = 2,000 mg to 560 x 10 = 5,600 mg. Caffeine = 3 x 80 = 240 mg to 6 x 80 = 480 mg, one dose about 60 minutes before the race, not repeated through the day.

Benefits of Using a Triathlon Nutrition Calculator

  • Turns a race duration into a complete plan in one place: carbohydrate, gels, fluid, sodium and caffeine, with per hour rates and race totals side by side.
  • Uses the published duration bands, so a sprint and an Ironman get genuinely different plans instead of one generic number.
  • Converts grams of carbohydrate into gels and a timing, which is the form you can actually follow on the bike and the run.
  • Shows sodium as a derived figure from your fluid and the drink concentration, so the fluid and sodium numbers always agree with each other.
  • Includes caffeine only as a weight based pre-race dose, with the source and the warning that more is not better.
  • Lets you compare 1, 2.5, 5, 8 and 12 hour races in one table, so you can see how the totals grow even though the per hour rates stay flat.
  • Refuses impossible inputs instead of calculating nonsense: race duration 0.25 to 20 hours, body weight 30 to 200 kg.
  • Free and instant: no sign-up, no download, and the results and diagram update as you type.

Frequently Asked Questions

Q1: Do I need carbohydrate during a sprint triathlon?

Usually not, or very little. A sprint takes about 1 to 1.5 hours for most age group athletes, and the ACSM bands say races under 45 minutes need no carbohydrate at all, while 45 to 75 minutes need only small amounts or a mouth rinse. A single gel on the bike is plenty for most sprint athletes, and many finish happily on water alone. The reason is glycogen: your muscles store roughly 90 to 120 minutes of carbohydrate, so a short race can run on what you ate before it. Eat a normal carbohydrate meal 2 to 3 hours before the start instead of loading up during the race, and save the full fuelling plan for races over 2 hours, where the calculator shows 30-60 g per hour. If your sprint runs past 90 minutes, treat it as a 1 to 2.5 hour race and use the 30-60 g per hour band.

Q2: Why do I need glucose and fructose above 60 g per hour?

Because the gut has a speed limit for each type of sugar. Glucose is absorbed through one intestinal transporter, SGLT1, which saturates at about 60 g per hour, so drinking more glucose alone just leaves carbohydrate sitting in the gut, which is how stomach problems start. Fructose uses a different transporter, GLUT5, so a product that mixes glucose and fructose can be absorbed at up to about 90 g per hour, and Jeukendrup 2014 recommends exactly that mix for ultra endurance events, in roughly a 2 to 1 glucose to fructose ratio. Below 60 g per hour the mix does not matter: any carbohydrate type works, so a plain glucose gel is fine for a 2 hour race. Above 60 g per hour it matters a lot, so check the label of any product you plan to use at the 60-90 g per hour rate, and train your gut to take it over several weeks. The calculator flags this in the tip under the results.

Q3: How much fluid should I drink, and can I drink too much?

Start with 400-800 ml per hour and adjust to your own sweat rate, the heat, and thirst. The ACSM range suits most athletes, but sweat rates vary widely: some athletes lose under 0.5 litres per hour and some lose over 2 litres per hour in the heat, so the range is a starting point, not a prescription. Losing more than 2 percent of body weight as fluid can hurt performance, which for a 75 kg athlete is 1.5 kg, or 1.5 litres. Weigh yourself before and after a long training session to learn your own rate: 1 kg lost is about 1 litre of sweat. Yes, you can drink too much: drinking past thirst for hours can dilute blood sodium and cause exercise associated hyponatraemia, which is dangerous, so do not force the top of the range down on a cool day. Drink to thirst within the range, and take gels with water rather than with sports drink, so you do not double count carbohydrate.

Q4: Is a sports drink enough for sodium, or do I need salt tablets?

For most athletes in most races, a sports drink is enough. The calculator derives sodium from the ACSM drink concentration of 0.5-0.7 g per litre: at 400-800 ml per hour that is 200-560 mg of sodium per hour, which replaces a reasonable share of what average sweat loses. Salt tablets are for the exceptions: very heavy sweaters, very salty sweaters whose kit dries white, and very hot races, where losses can pass 1,000 mg per litre of sweat. If that is you, add sodium on top of the drink rather than replacing the drink, and work out how much from a sweat test or a sports dietitian, not from a guess. Do not take salt tablets just because the race is long: a 10 hour Ironman at 200-560 mg per hour is already 2,000-5,600 mg of sodium, which is a large amount, and more is not automatically better.

Q5: Should I take caffeine, and how much?

Caffeine helps endurance performance for most athletes, but it is optional, not required. The International Society of Sports Nutrition position stand says caffeine improves performance at 3-6 mg per kg of body weight, taken about 60 minutes before the race: for a 75 kg athlete that is 225-450 mg, or roughly 2 to 4 cups of coffee. Doses as low as 2 mg per kg may work, and very high doses around 9 mg per kg add side effects such as anxiety, a racing heart and stomach upset without extra benefit. Only take caffeine if you have used it in training: it can disturb sleep the night before a race, it affects people differently, and some athletes are sensitive to it. If you do use it, count the caffeine already in your gels and drinks towards the dose, so you do not take a pre-race dose and then add caffeinated gels on top of it. If you have a heart condition, high blood pressure or anxiety, ask your clinician before using caffeine for performance.

Calculator Sources

Disclaimer

This calculator plans race day carbohydrate, fluid, sodium and caffeine from published guideline ranges: carbohydrate 0 g per hour under 45 minutes, 0-30 g per hour at 45 to 60 minutes, 30-60 g per hour at 1 to 2.5 hours, and 60-90 g per hour over 2.5 hours; fluid 400-800 ml per hour; sodium 200-560 mg per hour from a sports drink concentration of 0.5-0.7 g per litre; caffeine 3-6 mg per kg of body weight as one dose about 60 minutes before the race. The results are guideline ranges for a healthy athlete, not a prescription and not medical advice. Individual needs vary with sweat rate, heat, humidity, intensity, gut tolerance and medical conditions, and the ranges are drawn from studies of mostly trained athletes, so recreational athletes may need less. Practise the plan in training, build up to high carbohydrate intakes gradually, and do not try anything new on race day. Drinking far beyond thirst can cause exercise associated hyponatraemia, a dangerous fall in blood sodium. Consult a clinician or a registered sports dietitian before changing your nutrition if you have diabetes, kidney disease, high blood pressure, a heart condition, or any condition that affects fluid, salt or blood sugar, and seek medical help if you feel confused, very unwell or unable to keep fluids down during a race.

Last updated: 27 November 2026

ADVERTISEMENT

ADVERTISEMENT