Trail Nutrition Calculator
Get hourly calorie, carbohydrate, fluid, and sodium targets for your trail race, adjusted for body weight, intensity, heat, and altitude.
A trail running nutrition calculator gives hourly carbohydrate, calorie, fluid, and sodium targets for a race. Sports-science guidance for ultras is roughly 60-90 g of carbohydrate per hour - TrailMath's free calculator personalises targets to your body weight, race duration, and conditions.
What is trail race nutrition planning?
Trail race nutrition planning means calculating the per-hour targets for calories, carbohydrates, fluids, and sodium your body needs to sustain effort across a multi-hour event. Unlike a road marathon where you take a gel every 45 minutes and call it done, trail racing demands a detailed fueling strategy because effort varies enormously between climbing, descending, and flat sections - and aid station gaps can exceed two hours.
This calculator outputs personalised per-hour targets based on your body weight, race duration, intensity level, temperature, and altitude. It also generates a 2-hour aid station schedule you can use to plan exactly what to carry between checkpoints.
Why nutrition planning is different for trail runners
Road marathon nutrition is simple by comparison: steady pace, flat terrain, aid every 5km. Trail ultras break every one of those assumptions.
Variable intensity means variable energy demand. On a climb like UTMB's Col de la Seigne you might be hiking at 60% effort; on a runnable descent you're pushing 85%+. Your carbohydrate burn rate swings accordingly - which means flat per-hour targets underestimate what you need on climbs and overestimate it on easy descents.
Aid station gaps of 2-4 hours force pre-planning. A road runner can grab a gel at every station and improvise. A trail runner leaving Courmayeur at UTMB with 15km to the next checkpoint needs to carry the right fuel for that segment in advance.
Altitude suppresses appetite above 2500m. The Grand Col Ferret and Col de la Seigne both exceed 2500m. At altitude, appetite hormones are blunted - making it easy to go 2-3 hours without eating, right when your body needs fuel most. Planned eating schedules override this.
Night racing turns eating into a discipline problem. After 12-16 hours of racing, appetite can disappear entirely. Runners who don't pre-plan their night fueling strategy often arrive at Champex-Lac having taken in 400 calories in the last 3 hours. The result is a slow death spiral in the final third of the race.
How to use the Nutrition Calculator
These are general guidelines - consult a sports dietitian for personalised race nutrition advice.
- Enter your body weight Calorie and sodium targets scale directly with body weight - heavier runners burn more and lose more sodium in sweat.
- Set your race duration Enter your goal finish time. The calculator uses this to compute total targets and break them into per-hour figures.
- Choose intensity level For most ultras, select moderate. Hard applies to shorter faster races (under 6-7 hours). Easy applies to very long efforts where you hike large sections.
- Set environmental conditions Adjust temperature and altitude. Both significantly affect fluid needs and calorie burn. UTMB runners should set altitude to high; Templiers runners should account for Mediterranean heat.
- Read your per-hour targets The output shows calories, carbohydrates, fluids, and sodium per hour, plus total race targets and a 2-hour aid station schedule.
The science behind trail nutrition
Calorie targets are derived from MET (Metabolic Equivalent of Task) values for running, scaled to body weight: kcal/hr = weight x MET x 0.0175 x 60. Trail running at race effort uses a MET of approximately 14 (Burke, 2001). Altitude increases metabolic cost by 5-12% above 1500m due to increased ventilation and reduced mechanical efficiency.
Carbohydrate absorption is limited by gut transport capacity. Jeukendrup & Moseley (2010) showed that glucose alone saturates the SGLT1 intestinal transporter at ~60g/hr. Combining glucose + fructose (roughly 2:1, as in most modern trail gels) adds the GLUT5 pathway, raising the ceiling to 80-90g/hr. More recent work (Podlogar et al., 2022) suggests gut-trained athletes using a 1:0.8 glucose:fructose ratio can absorb up to 90-120g/hr after 3-6 weeks of dedicated gut training - treat 90g/hr as a starting ceiling, not an absolute limit. Exceeding absorptive capacity without gut training causes osmotic distress - water is drawn into the intestine, resulting in cramping and nausea. The targets in this calculator respect the 80-90g/hr range for untrained guts.
Fluid and sodium targets follow Maughan & Shirreffs (2010) sweat rate research. Sweat loss increases with temperature (roughly +200-600ml/hr across the cool-to-very-hot range) and with altitude due to respiratory water loss. Sodium replacement prevents hyponatremia - Hew-Butler et al. (2005) documented hyponatremia in 13% of Comrades ultramarathon finishers, with slower runners at highest risk from prolonged sweat-rate-exceeding plain water intake. The calculator targets 400-1000mg/hr of sodium depending on conditions, derived from sweat volume. Importantly, sweat sodium concentration varies 5-10x between individuals (Baker et al., 2016) - far more than sweat volume alone. If you see white salt deposits on clothing or skin after long runs, your personal sodium requirement may be significantly above these estimates. A sweat composition test or supervised salt titration is more reliable than any formula.
Caffeine is one of the most evidence-backed ergogenic aids for endurance events (Spriet, 2014; Graham, 2001). Optimal dose is 2-3mg/kg, capped at 400mg - above this, side effects (anxiety, GI distress, cardiac arrhythmia) can outweigh benefits. The calculator suggests timing caffeine at approximately 50-60% into the event when fatigue compounds, and restricts intake in the final 3-4 hours to protect sleep quality during multi-day events.
Fat vs carbohydrate oxidation shifts with intensity. At easy pace, fat supplies 40-60% of energy. At threshold, carbohydrate dominates at 80-90%. Trail racing involves both extremes within a single race - which is why carbohydrate intake cannot be eliminated even on easy segments. Fat oxidation is too slow to fully cover a hard climb.
Jeukendrup AE, Moseley L. (2010). Multiple transportable carbohydrates enhance gastric emptying and fluid delivery. Scand J Med Sci Sports. Maughan RJ, Shirreffs SM. (2010). Dehydration and rehydration in sport. Scand J Med Sci Sports. Hew-Butler T et al. (2005). Consensus Statement: 1st International Exercise-Associated Hyponatremia Consensus Development Conference. Clin J Sport Med. Graham TE. (2001). Caffeine and exercise. Sports Med. 31(11):785-807. Spriet LL. (2014). Exercise and sport performance with low doses of caffeine. Sports Med. 44(S2):175-184. Burke LM. (2001). Energy needs of athletes. Can J Appl Physiol. 26(S):S202-S219.
Common nutrition mistakes in trail ultras
Starting too conservative and bonking at 60%. Many runners under-fuel in the first half to "preserve their stomach," then arrive at the midpoint of a 100km race with a 1000-calorie deficit they can never recover. Eat on schedule from hour one, even if you don't feel hungry.
Relying exclusively on gels past 50km. Gut tolerance for sweet, concentrated sugar degrades over many hours of running. Runners who have eaten nothing but gels for 8 hours frequently find them nauseating by the midpoint. Plan for real food at aid stations (broth, potatoes, rice) and practice savoury fueling on long training runs.
Ignoring sodium and overdrinking plain water. The instinct in hot weather is to drink as much as possible. Without sodium replacement, excess fluid dilutes blood sodium and causes hyponatremia - bloating, nausea, and in severe cases, seizure. Take sodium every hour, not just when cramping.
Skipping altitude adjustments. Runners often use flat-terrain nutrition plans for mountain races. Above 2500m, appetite suppression and increased metabolic cost require deliberate, scheduled eating - not eating by feel, because the feeling of hunger is blunted.
Frontloading caffeine. Taking 200mg of caffeine at race start to feel sharp is a common mistake. Caffeine tolerance builds quickly and the crash arrives at the worst possible time - around 60-70% into the race. Save caffeine for when you need it most: night sections and the final third.
Nutrition examples from iconic races
UTMB (171km, 10,000m D+, ~20-46 hours). A 75kg runner finishing in 30 hours needs approximately 12,000-13,000 kcal total - around 400-450 kcal/hr. The critical section is the night traverse from Les Chapieux through Italy. Altitude at Col de la Seigne (2516m) suppresses appetite exactly when you most need fuel for the long descent to Courmayeur. Strategy: eat proactively on the climb before appetite fails. At Courmayeur (79km, major crew point), stock up on savoury food - broth, soup, rice - for the long overnight section. Courmayeur to Champex-Lac (125km) is 10+ hours for mid-pack runners with no crew access except La Fouly.
Lavaredo Ultra Trail (120km, 5,850m D+, ~13-30 hours). A warmer race in the Dolomites compared to UTMB. Temperatures in late June can reach 25-28°C in valley sections, pushing fluid needs to 700-900ml/hr. Aid stations are more frequent (roughly every 10-15km), reducing the need to carry large quantities. Focus on the Sesto to Dobbiaco section (15km, hot valley) - this is where dehydration typically sets in. Plan for higher sodium intake across this segment.
Templiers (80.7km, 3,443m D+, ~7-15 hours). A faster race in the Tarn and Dourbie gorges around Millau, southern France. The shorter duration means less total calorie volume but a higher per-hour carbohydrate demand at race pace. Fluid needs are high - Aveyron in late October can still see 20°C afternoons. Because most finishers complete within 15 hours, gut fatigue is less of an issue and gels remain viable throughout, but carrying savoury backup from the Saint-Andre-de-Vezines aid station (36.3km) is still recommended.
Frequently asked questions
How many carbs per hour for a 100km ultra?
For a 100km ultra at moderate-to-high intensity, aim for 60-80g of carbohydrate per hour using a mix of glucose and fructose sources. Pure glucose is capped at around 60g/hr by gut absorption; adding fructose (as in most modern gels and chews) raises the ceiling to 80-90g/hr. Heavier runners and those going harder can push toward the top of that range. Start conservative in the first quarter of the race and increase intake once your gut has warmed up.
Can you eat real food in an ultra marathon?
Yes - and for races over 8-10 hours, real food becomes essential. Gels work well early on, but prolonged reliance on simple sugars causes GI distress and taste fatigue in the back half of long races. Aid stations at UTMB, Western States, and other majors offer broth, potatoes, rice, and bread precisely because runners need caloric density and savoury variety after 80km+. Practice eating real food on long training runs to learn what works for your gut.
How do I train my gut for ultra nutrition?
Gut training means practicing your race nutrition strategy during long training runs. Start by eating at target race intensity 30-45 minutes into a 3-4 hour run. Gradually increase carbohydrate intake over weeks, beginning at 40-50g/hr and building toward your race target. Include your planned race foods - if you plan to use a specific gel brand or aid station food, practise with it. The intestinal transport system adapts to higher carbohydrate throughput over 3-6 weeks of consistent training.
What should I eat at UTMB night sections?
Appetite typically crashes at night due to circadian rhythm effects and accumulated fatigue. At Courmayeur (~100km, typically reached mid-night), switch to savoury foods: soup, broth, mashed potatoes, and salted crackers are easier to stomach than sweet gels. Caffeine strategy is critical here - 2-3mg/kg timed for your lowest point (usually 2-4am) provides the biggest mental benefit. Keep eating even when appetite is absent; a few hundred calories per hour maintained is better than a 2-hour gap.
How does altitude affect race nutrition?
Above 1500m, metabolic cost increases by 5-12% due to increased ventilation effort and reduced mechanical efficiency. More importantly, appetite is suppressed at altitude - a serious problem at UTMB where key sections cross above 2500m (Col de la Seigne, Grand Col Ferret). Force yourself to eat on descents when breathing is easier. Fluid needs also change: altitude increases respiratory water loss, so drink slightly more than thirst dictates even in cooler conditions.
Is hyponatremia a real risk in trail ultras?
Yes, particularly in hot races and for slower runners spending more time on course. Hyponatremia (dangerously low blood sodium) occurs when you drink too much plain water without replacing sodium lost in sweat. Symptoms include bloating, nausea, confusion, and in severe cases, seizure. The fix is simple: replace sodium consistently throughout the race (400-1000mg/hr depending on conditions and sweat rate) and do not drink beyond thirst. Sports drinks, salt tabs, and broth all provide sodium - the calculator shows your target range.
Want your nutrition targets built into your weekly training?
TrailMath uses these models to build periodized plans adjusted to your goals and terrain.
Get started free