Homemade energy gel: recipe, calculator and ratios
Blog
Nutrition12 min read

Homemade energy gel: recipe, calculator and ratios

Calculate and make your gel with maltodextrin and fructose: 2:1, 1:0.8 or 1:1 ratios, carbohydrate per hour, water, sodium and how many gels to carry in a half marathon or marathon.

JPJuanPaCreator of TrainingForever·November 5, 2025

Why make your own gels

On long runs, half marathons, marathons or long rides, taking carbohydrate during exercise helps you hold the intensity when glycogen starts to run low. Commercial gels work, but a homemade gel has two clear advantages: you know exactly what is in it (grams of carbohydrate, sugar ratio, sodium, no additives you do not want) and it usually costs less, because maltodextrin and fructose can be bought in bulk.

A mix of maltodextrin (a glucose source) and fructose is the base of almost every gel because each sugar is absorbed in the gut by a different transporter. Combining them allows more carbohydrate per hour to be absorbed and oxidised than glucose alone when intake is high (Jeukendrup, 2010; Rowlands et al., 2015).

TrainingForever messaging with a chat linked to a training session
Every chat linked to its session and feedback

Homemade energy gel calculator

Choose the ratio, grams per hour, duration and how much carbohydrate you want in each gel. The recipe updates instantly and you can copy, share or print it. It is free and you do not need to sign up.

Preparing for a half marathon or marathon?

TrainingForever helps coaches plan and manage their athletes' training on a single platform.

Discover TrainingForever

How the recipe is calculated

The calculator multiplies your hourly target by the duration (in minutes, to avoid rounding errors) and splits that total according to the chosen ratio. If the total does not give a whole number of gels, it rounds the number of containers up, but not the carbohydrate: with "Same amount in each" it splits the total evenly, and with "Full gels, smaller last one" it fills each container with your amount and leaves the rest in the last one. It never prepares more carbohydrate than you asked for, and it tells you how much would be left over if you filled every container.

  • Total carbohydrate = g/h × duration in hours.
  • Maltodextrin = total ÷ (1 + R) and fructose = total × R ÷ (1 + R), with R = 0.5 for 2:1, 0.8 for 1:0.8 and 1 for 1:1.
  • Containers = total ÷ grams per gel, rounded up.
  • Table salt (g) ≈ sodium (mg) ÷ 393, because sodium is roughly 39.3% of the weight of sodium chloride.
TrainingForever wellness and post-session forms
Wellness and post-session: answers land on the profile

Ingredients you need

IngredientWhat it doesNotes
MaltodextrinGlucose source, not very sweetDissolves well in lukewarm water; it is the base of the gel.
FructoseSecond sugar, with a different gut transporterVery sweet; too much, or without adaptation, can cause gut discomfort.
WaterGives the textureThe less water, the thicker the gel and the more you will need to drink afterwards.
Table salt (optional)Provides sodiumMostly useful in long sessions or with heavy sweating; needs are individual.
Lemon juice, coffee or cocoa (optional)FlavourTest it first: it changes the taste and, with coffee, the caffeine you take.

If you have no maltodextrin or fructose, table sugar (sucrose) is already glucose and fructose in equal parts once digested, and honey provides both sugars in similar proportions. They are fine to start with, although you control the ratio less precisely.

Equipment

  • Digital kitchen scale with 1 g precision. Spoons are not accurate enough for powders.
  • Bowl or jug and a whisk to mix without lumps.
  • Funnel to fill the containers without spilling.
  • Reusable containers (silicone flasks or resealable pouches), clean and dry, with their capacity noted.

How to make a homemade energy gel step by step

  1. Weigh the maltodextrin shown by the calculator.
  2. Weigh the fructose and mix it dry with the maltodextrin.
  3. Add the water gradually, lukewarm, while stirring. A thick mixture is easier to correct than one that is too runny.
  4. Mix until smooth, with no lumps or powder at the bottom.
  5. Add the salt, if you use it, and mix again.
  6. Divide into the containers with the funnel. If you use the scale, weigh each container so they all hold the same.
  7. Close, label and refrigerate with the date and the grams of carbohydrate in each container.
Example: 80 g/h for 2 hours at a 1:0.8 ratio is 160 g of carbohydrate: 88.9 g of maltodextrin and 71.1 g of fructose, divided into 4 gels of 40 g. With the calculator's standard texture that would be about 120 ml of water in total.

Maltodextrin and fructose: 2:1 vs 1:0.8

The ratio refers to grams of each carbohydrate, by weight. It is not the absorption rate, not the amount you should take and not the total weight of the gel.

  • 2:1 means 2 g of maltodextrin for every 1 g of fructose (two thirds maltodextrin, one third fructose).
  • 1:0.8 means 1 g of maltodextrin for every 0.8 g of fructose (about 56% and 44%).
  • 1:1 means the same amount of each, like table sugar.
A 40 g carbohydrate gel at each ratio
RatioMaltodextrinFructose
2:126.7 g13.3 g
1:0.822.2 g17.8 g
1:120.0 g20.0 g

The 2:1 ratio is the most studied: intestinal glucose absorption saturates at around 60 g/h, and adding fructose allows that figure to be exceeded (Jeukendrup, 2010). Two studies by the same group, using drinks in cyclists, found more oxidation of ingested carbohydrate, better performance and less discomfort with a fructose:maltodextrin ratio of 0.8:1 than with 0.5:1 (O'Brien et al., 2013). They are small studies with drinks rather than gels, so treat it as a reasonable option to test, not as a rule. The review by Rowlands et al. (2015) concludes that glucose and fructose blends improve performance compared with glucose alone when large amounts are taken.

How many grams of carbohydrate per hour

There is no single figure for everyone. It depends on duration, intensity, your training status and, above all, what your gut tolerates. These are the general reference values from the guidelines:

Session durationGeneral guidance
Under 45 minCarbohydrate is usually not needed.
45–75 minSmall amounts or a mouth rinse.
1–2.5 h30–60 g/h.
Over 2.5 hUp to 90 g/h, with glucose and fructose blends.

Sources: Jeukendrup (2014); position stand of the ACSM, the Academy of Nutrition and Dietetics and Dietitians of Canada (Thomas et al., 2016); Burke et al. (2011).

Above 90 g/h the evidence is more recent and less conclusive. A study in trained athletes compared 120 g/h as a drink, gel, jelly chews or a combination and found similar oxidation of ingested carbohydrate with every format (Hearris et al., 2022). Recent reviews regard it as a promising line of research, but individual and not applicable to everyone (Podlogar and Wallis, 2022). If you want to go above 60 g/h, do it gradually and in training: the gut adapts with practice (Jeukendrup, 2017). We explain it in how to train your gut and, for the days before a race, in carbohydrate loading before competing.

How many gels you need for a half marathon or marathon

Examples worked out with the calculator, with gels of up to 40 g and the same amount in every container. They are calculation examples, not recommendations: your hourly target is the one you have tested in training.

RaceTargetTotalContainersPer container
Half marathon in 1 h 45 min45 g/h79 g239.4 g
Half marathon in 2 h 10 min50 g/h108 g336.1 g
Marathon in 3 h 30 min70 g/h245 g735.0 g
Marathon in 4 h 15 min60 g/h255 g736.4 g

If you will also drink sports drink from the aid stations during the race, subtract its carbohydrate from the total. If you are preparing for the race, these can help: intervals for the half marathon, mistakes when preparing a marathon and, on trails, nutrition for a trail half marathon.

How to adjust the water and texture

The calculator suggests three starting points based on the grams of carbohydrate. They are not validated recipes: the texture changes with the brand of maltodextrin, the temperature of the water and the weather, and how much you mix.

TextureWater per gram of carbohydrate40 g gel
Concentrated0.5 ml20 ml
Standard0.75 ml30 ml
More liquid1 ml40 ml

A very concentrated gel takes up less space, but it is worth washing it down with water so your stomach tolerates it better. In the cold the gel thickens; in the heat it becomes runnier. If you want a specific figure, choose "Manual (ml)" in the calculator. For how much to drink, see hydration in cold weather.

Should you add salt or sodium?

It depends on you. Sweat rate and sweat sodium concentration vary enormously between people, and even within the same person depending on heat and intensity (Baker, 2017). That is why guidelines recommend individualising fluid and electrolyte replacement (Sawka et al., 2007). In long, hot sessions, heavy or very salty sweaters may need more sodium; in short, cool sessions it is often not necessary to add it to the gel.

To convert sodium to table salt, the calculator uses salt (g) ≈ sodium (mg) ÷ 393. It is an approximation: sea salt, iodised salt and potassium-based salts have different compositions.

SodiumApproximate table salt
200 mg0.51 g
300 mg0.76 g
500 mg1.27 g

More details in sodium and sweat in endurance sports.

Storage, hygiene and carrying homemade gels

  • Hygiene: wash your hands and use clean, dry utensils and containers.
  • Fridge: homemade gel has no preservatives. Keep it in the fridge in well-closed containers and only make what you will use within a few days.
  • Label: write down the date and the grams of carbohydrate in each container.
  • If the smell or colour changes, or mould appears, throw it away. There is no universal expiry date for a homemade recipe.
  • Carrying: check that the caps do not leak before you set off and carry the containers where you can reach them without stopping.

Common mistakes when making gels

  • Measuring by eye. A spoonful of maltodextrin can weigh very different amounts depending on how you fill it. Use the scale.
  • Confusing the ratio with the amount. 2:1 or 1:0.8 describe how the carbohydrate is split, not how much to take.
  • Jumping straight to 90 g/h or more. Without adaptation it is a common cause of gut discomfort.
  • Trying the gel for the first time on race day. Test it on several long runs, at race pace.
  • Filling every container to the top when the total is not a whole number: you prepare more than you planned. The calculator only splits what you need.
  • Forgetting the water. The more concentrated the gel, the more important it is to drink.

"The stomach does not care about pretty recipes. I first test a simple mix with the athlete in training, and only when they tolerate it well do we start adjusting flavour and quantity." — Marc Bañuls, coach with more than 15 years of experience

Worked example for a 1:45 half marathon

If your strategy is 60 g of carbohydrate per hour at a 2:1 ratio (maltodextrin:fructose), the numbers for a 1 h 45 min race (1.75 h) are:

g CHO/hourMaltodextrin (g/h)Fructose (g/h)Race total (g)
604020105
906030158

With 30 g gels, 105 g means 3–4 gels. Always test the amount in long training sessions before race day.

Try it with your athletes
Plan the long run and the rest of the week on the same calendar. Free for up to 5 athletes.
Start for free

Frequently asked questions

How many gels should I take in a half marathon?

It depends on your finishing time and your hourly target. As an example, 1 h 45 min at 45 g/h is about 79 g: two gels of about 40 g. Work out your own case with the calculator and test it first.

Can I make a homemade gel for 90 g of carbohydrate per hour?

Yes: enter 90 g/h in the calculator and choose a ratio that includes fructose (2:1 or 1:0.8). But 90 g/h is a reference for sessions longer than 2.5 hours and trained guts, not a starting point.

How long does a homemade gel keep?

As it has no preservatives, keep it in the fridge, make small batches and use it within a few days. If you notice any change in smell or appearance, throw it away.

Can I use other sugars?

Yes. Table sugar and honey provide glucose and fructose; dextrose is pure glucose. With them you control the ratio less precisely, so weigh carefully and write down what you use.

How does temperature affect the gel?

In the cold it thickens and is harder to take; in the heat it becomes runnier. Adjust the water to the season and always keep the gel in the fridge until you leave.

How much maltodextrin and fructose is in a 30 g gel at a 2:1 ratio?

20 g of maltodextrin and 10 g of fructose, plus whatever water you need for texture.

Read also

Scientific sources

Educational content. It does not replace advice from a registered dietitian or a doctor, especially if you have digestive problems, diabetes or another health condition.

  1. Jeukendrup AE. Carbohydrate and exercise performance: the role of multiple transportable carbohydrates. Curr Opin Clin Nutr Metab Care. 2010;13(4):452-7.
  2. Jeukendrup A. A step towards personalized sports nutrition: carbohydrate intake during exercise. Sports Med. 2014;44(Suppl 1):S25-33.
  3. Jeukendrup AE. Training the gut for athletes. Sports Med. 2017;47(Suppl 1):101-10.
  4. Thomas DT, Erdman KA, Burke LM. Nutrition and athletic performance (ACSM/AND/DC position stand). Med Sci Sports Exerc. 2016;48(3):543-68.
  5. Burke LM, Hawley JA, Wong SH, Jeukendrup AE. Carbohydrates for training and competition. J Sports Sci. 2011;29(Suppl 1):S17-27.
  6. O'Brien WJ, Stannard SR, Clarke JA, Rowlands DS. Fructose-maltodextrin ratio governs exogenous and other CHO oxidation and performance. Med Sci Sports Exerc. 2013;45(9):1814-24.
  7. Rowlands DS, Houltham S, Musa-Veloso K, Brown F, Paulionis L, Bailey D. Fructose-glucose composite carbohydrates and endurance performance: critical review and future perspectives. Sports Med. 2015;45(11):1561-76.
  8. Hearris MA, Pugh JN, Langan-Evans C, et al. 13C-glucose-fructose labeling reveals comparable exogenous CHO oxidation during exercise when consuming 120 g/h in fluid, gel, jelly chew, or coingestion. J Appl Physiol. 2022;132(6):1394-406.
  9. Podlogar T, Wallis GA. New horizons in carbohydrate research and application for endurance athletes. Sports Med. 2022;52(Suppl 1):5-23.
  10. Baker LB. Sweating rate and sweat sodium concentration in athletes: a review of methodology and intra/interindividual variability. Sports Med. 2017;47(Suppl 1):111-28.
  11. Sawka MN, Burke LM, Eichner ER, et al. American College of Sports Medicine position stand. Exercise and fluid replacement. Med Sci Sports Exerc. 2007;39(2):377-90.
Try it with your athletes
Coach more athletes. With fewer admin hours. Free for up to 5 athletes.
Start for free
JP
Written by
JuanPa

Creator of TrainingForever.

TrainingForever

The training platform for endurance and strength coaches and clubs.

© 2026 TrainingForever. All rights reserved.