A bottle of sports drink costs a few dollars, and it is mostly water, sugar and salt. This calculator turns those three ingredients into an exact recipe for any batch size: enter how many litres you want, pick a carbohydrate percentage and a sodium level inside the ranges the American College of Sports Medicine recommends, and it tells you the grams of table sugar and table salt to dissolve in the water, the total carbohydrate and sodium in the batch, and what the batch costs if you enter your ingredient prices. At the defaults, 1 litre at 6% carbohydrate and 500 mg of sodium per litre needs 60 g of sugar and 1.27 g of salt. That is about 5 level tablespoons of sugar and about a quarter of a teaspoon of salt. This free diy sports drink calculator is for triathletes and endurance athletes who train for over an hour and want a homemade drink that matches the published guidance instead of guessing with pinches and spoonfuls.
At the defaults the recipe is 60 g of table sugar and 1.3 g of table salt dissolved in 1 litre of water: 6% carbohydrate and 500 mg of sodium per litre, both inside the ACSM ranges of 4 to 8% carbohydrate and 500 to 700 mg of sodium per litre for exercise lasting over an hour. Stir until fully dissolved and chill before use. This is a homemade drink, not a medical product.
Please check the inputs: batch size 0.1 to 10 litres, carbohydrate 0 to 12%, sodium 0 to 1500 mg/L, prices 0 or more.
| Batch Size | Sugar | Table Salt | Total Carbs | Total Sodium | Cost per Batch |
|---|
Each row mixes the same carbohydrate percentage and sodium per litre as your current settings, at a different batch size. The row matching your current batch size is highlighted.
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.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
A DIY sports drink calculator works out the recipe for a homemade sports drink from three numbers: the batch size in litres, the carbohydrate concentration as a percentage, and the sodium concentration in milligrams per litre. Carbohydrate percentage means grams of sugar per 100 ml, so a 6% drink carries 60 g of sugar per litre. Sodium is supplied by ordinary table salt, and because sodium is only 39.34% of table salt by mass, the calculator converts your sodium target into grams of salt with the fixed factor 0.3934. The result is a plain recipe: so many grams of sugar and so many grams of salt in so many litres of water.
The ranges come from the American College of Sports Medicine position stand on exercise and fluid replacement, which recommends 4 to 8% carbohydrate and 500 to 700 mg of sodium per litre for fluids drunk during exercise lasting over an hour. A drink in that band is isotonic, meaning its concentration is close to body fluids, so it empties from the stomach at a reasonable rate while still delivering fuel. Below 4% the drink is hypotonic and mainly replaces fluid; above 8% it is hypertonic, empties more slowly and is more likely to upset the stomach during exercise. The calculator accepts 0 to 12% carbohydrate and 0 to 1500 mg of sodium per litre so you can check a plain water or salt only mix, and the diagram tells you whenever your settings fall outside the ACSM ranges.
That is a different job from the calculators that plan the session itself. The Training Pace Calculator turns your fitness into training paces, the Marathon Pace Calculator works out the pace a target marathon time needs, and the Running Pace Calculator converts pace and time for any run. To see what a session at those paces burns, use the Running Calorie Calculator. This calculator answers the bottle question only: what goes in the water. Two related pages are not live yet, so neither is linked here: Race Predictor, which predicts race times at other distances from a single result, and Triathlon Nutrition, which will cover fuelling across swim, bike and run.
Sugar in grams = batch size in litres x carbohydrate percent x 10
Salt in grams = sodium in mg/L x batch size in litres / 1000 / 0.3934
Total carbohydrate in grams = sugar in grams
Total sodium in mg = sodium in mg/L x batch size in litres
Water in litres = batch size in litres
Cost per litre = sugar in kg per litre x sugar price per kg + salt in kg per litre x salt price per kg
Cost per batch = cost per litre x batch size in litres
Carbohydrate percent means grams of sugar per 100 ml, so multiplying by 10 converts a percentage into grams per litre, and multiplying by the batch size gives the total sugar. Salt is sodium chloride, NaCl, and sodium is 39.34% of its mass, because sodium has an atomic mass of 22.99 and sodium chloride a molar mass of 58.44, and 22.99 divided by 58.44 is 0.3934. Dividing the sodium you want by 0.3934 gives the grams of table salt that contain it. Total carbohydrate equals the sugar grams because table sugar, sucrose, is all carbohydrate. The water is the batch size itself: the sugar and salt dissolve into the water, and the finished drink is for practical purposes the same volume as the water you started with. Cost is the two ingredient weights in kilograms times their prices per kilogram, added together.
A triathlete mixes 1 litre at 6% carbohydrate and 500 mg of sodium per litre, the calculator defaults. All steps below use the unrounded values; displayed figures are rounded as shown.
Sugar = 1 x 6 x 10 = 60.0 g.
Salt = 500 x 1 / 1000 / 0.3934 = 0.5 / 0.3934 = 1.27 g.
Total carbohydrate = 60 g. Total sodium = 500 x 1 = 500 mg. Water = 1 litre.
As kitchen measures, 60 g of sugar is about 5 level tablespoons, and 1.27 g of salt is about a quarter of a teaspoon.
Cost with sugar at $1.20 per kg and salt at $0.80 per kg: sugar cost = 0.060 x 1.20 = $0.072, salt cost = 0.00127 x 0.80 = $0.001, cost per litre = $0.073, shown as $0.07, and cost per batch = $0.07.
So 1 litre at 6% and 500 mg/L needs 60.0 g of sugar and 1.27 g of salt in 1 litre of water, costs about $0.07, and carries 60 g of carbohydrate and 500 mg of sodium.
At the test case, a 2 litre batch at 8% carbohydrate and 700 mg of sodium per litre, the top of both ACSM ranges: sugar = 2 x 8 x 10 = 160 g. Salt = 700 x 2 / 1000 / 0.3934 = 1.4 / 0.3934 = 3.56 g. Total carbohydrate = 160 g. Total sodium = 700 x 2 = 1400 mg. Water = 2 litres. Cost per litre with the same prices: sugar cost = 0.080 x 1.20 = $0.096, salt cost = 0.00178 x 0.80 = $0.001, cost per litre = $0.097, shown as $0.10, and cost per batch = $0.097 x 2 = $0.195, shown as $0.19. As a check, doubling the batch at the same settings doubles both ingredients exactly, and the 2 litre row in the Compare tab agrees: 120 g of sugar and 2.54 g of salt at the 6% and 500 mg/L defaults.
For the two things a sports drink is for, carbohydrate and sodium, yes, provided the recipe matches the published ranges. A shop bought isotonic drink is typically 6% carbohydrate with 400 to 700 mg of sodium per litre, and this calculator mixes exactly that from sugar, salt and water. What a homemade drink does not have is flavouring, colouring, and the small amounts of potassium and other minerals some commercial drinks add, and it will not taste the same. Johns Hopkins dietitians describe the same homemade approach, water with juice or honey or sugar and a little salt, as a working sports drink. The difference that matters is accuracy: a shop bought bottle is mixed in a factory, while a homemade bottle is only as good as the weighing, so use scales or the tablespoon and teaspoon measures in the worked example rather than guessing. If you want flavour, a squeeze of lemon or a splash of juice is fine, but count the juice sugar in the carbohydrate total if you add more than a splash.
At the calculator defaults, 6% carbohydrate and 500 mg of sodium per litre, you need 60 g of sugar and 1.27 g of salt per litre. That is about 5 level tablespoons of sugar and about a quarter of a teaspoon of salt. At the top of the ACSM ranges, 8% and 700 mg/L, you need 80 g of sugar and 1.78 g of salt per litre. At the bottom, 4% and 500 mg/L, you need 40 g of sugar and 1.27 g of salt per litre. The salt is the part people get wrong by eye: a level teaspoon of table salt weighs about 6 g, so a full teaspoon would give roughly 2,360 mg of sodium per litre, far above the recommended range, and a heaped teaspoon would be more again. Weigh the salt if you can, and use the quarter teaspoon measure if you cannot.
Use a sports drink for exercise lasting over an hour, especially in heat, and use plain water for shorter sessions. The ACSM position stand reserves carbohydrate and sodium drinks for efforts over an hour, because that is when glycogen and sweat sodium losses start to matter. Mayo Clinic gives the same rule in plainer terms: for most people plain water is best, and a drink with electrolytes and some carbohydrate earns its place when the exercise is extensive. A triathlon bike leg or a long run over an hour is the use case; a 30 minute easy run is not. Drink to thirst as the main guide, and use the drink to replace part of your fluid rather than all of it: many athletes drink about half water and half sports drink across a long session. For the energy a long session burns, see the Running Calorie Calculator.
Honey and juice work, because they are sugars and they count towards the carbohydrate percentage in the same way, but you must weigh them rather than copying the sugar grams. Honey is about 82% sugar by weight, so 60 g of carbohydrate needs about 73 g of honey. Orange juice is about 10% sugar, so it cannot reach 6% on its own without making the drink mostly juice, which is why the Johns Hopkins homemade recipe uses half a cup of juice for flavour and potassium and adds honey or sugar for the rest of the carbohydrate. A sugar free sweetener does not work at all for this job: it adds sweetness with no carbohydrate, so the drink would carry no fuel, and it would be a flavoured electrolyte drink rather than a sports drink. Table sugar is the simplest choice because it is pure sucrose, it dissolves easily, and the calculator maths assumes it.
Ask a clinician first. The salt in this drink is the issue for high blood pressure and kidney problems: at 500 mg of sodium per litre, a litre of the drink adds 500 mg of sodium to your day, and two litres add 1,000 mg, which is a large share of a low sodium diet. The sugar is the issue for diabetes: 60 g of carbohydrate per litre is a substantial dose, and it will raise blood glucose, so it needs to fit your medication and meal plan rather than being drunk casually. Johns Hopkins makes the same point, that people with very high blood pressure or kidney problems should check with a doctor or dietitian before taking extra salt. This calculator is a recipe tool, not medical advice, and a homemade drink is not a treatment for dehydration from illness, vomiting or diarrhoea: that needs a proper oral rehydration solution and medical care.
ACSM Position Stand: Exercise and Fluid Replacement — the American College of Sports Medicine position stand, the source of the 4 to 8% carbohydrate and 500 to 700 mg of sodium per litre ranges for exercise over an hour.
Sports and Hydration for Athletes: Q and A with a Dietitian — Johns Hopkins Medicine on sports drinks, a homemade recipe, 3 to 6% carbohydrate guidance, and the warning to check with a clinician for high blood pressure or kidney problems.
Mayo Clinic Q and A: What to drink to stay hydrated — Mayo Clinic on plain water for most exercise, sports drinks for extensive exercise, and drinking to thirst.
Sports drink — the definition of sports drinks and the isotonic, hypotonic and hypertonic categories.
Sodium chloride — table salt, sodium chloride, molar mass 58.44, the basis of the 0.3934 sodium fraction used in the salt calculation.
This calculator mixes a homemade sports drink from the American College of Sports Medicine guidance: 4 to 8% carbohydrate and 500 to 700 mg of sodium per litre for exercise lasting over an hour. Sugar in grams equals batch size in litres times carbohydrate percent times 10. Salt in grams equals sodium in mg per litre times batch size in litres divided by 1000 divided by 0.3934, because sodium is 39.34% of table salt by mass. The result is a recipe, not a medical product, and it is not a treatment for dehydration from illness, vomiting or diarrhoea, which needs a proper oral rehydration solution and medical care. If you have high blood pressure, kidney problems, diabetes or any medical condition, ask a clinician before drinking a salty or sugary mix. Do not exceed the recommended ranges without a reason, and never use a homemade drink as a substitute for medical advice.
ADVERTISEMENT
ADVERTISEMENT
Last updated: 27 November 2026