Exercise & heat · Free calculator

Electrolyte Replacement Calculator

For long, sweaty sessions: estimate the sodium you lose and how much of it to put back, in milligrams, grams of salt, or sports drink.

Your session

Sodium lost

2000 mg

In 2.0 L (68 fl oz) of sweat over 120 minutes.

Replace during

≈1000 mg

About 500 mg of sodium per hour.

Equivalent table salt

2.5 g

Sports drink (450 mg/L)

2.2 L

Drink strength needed

650 mg/L

Potassium lost

≈400 mg

Fluid to drink during

1.5 L

Electrolyte tabs (300 mg)

4

You don't need to replace all the sodium you lose — 50–70% during long sessions is plenty, and food afterwards handles the rest. Over-salting is as unhelpful as ignoring it. Potassium losses are small and covered by a normal diet.

Estimates only, for healthy people. Not medical advice — if you have a condition that affects fluid balance, follow your doctor's guidance.

Who this calculator is for

Most people never need to think about electrolytes. If your workouts are under an hour and you eat normal meals, your sodium balance takes care of itself. This tool is for the other cases: marathons, long rides, hikes and race days in the heat, physical work outdoors, and anyone who has learned they sweat unusually salty. Our electrolytes explainer covers when they matter and when they're marketing.

How the estimate works

Sweat sodium is remarkably variable, from around 300 mg to over 2,000 mg per liter between individuals. The calculator multiplies your sweat rate by duration to get total sweat volume, then by your sweat sodium concentration to get milligrams lost. It suggests replacing none of it for short sessions, about half for sessions of 90 minutes to three hours, and around 70% beyond that. The remainder comes from food afterwards. If you don't know your sweat rate, measure it first with the sweat rate calculator.

Turning milligrams into something you can drink

Four hundred milligrams of sodium is about one gram of table salt, or a quarter teaspoon. A typical sports drink carries 400–500 mg per liter, which is enough for moderate sessions but too dilute for high losses, because you can only absorb around a liter of fluid an hour. When the calculator shows a required drink strength well above 1,000 mg/L, that's the signal to use salt capsules or high-sodium tabs alongside your fluids.

Cramps, and the limits of sodium

Sodium replacement is often sold as cramp prevention, but the research says cramps are mostly about fatigue. Replace sodium to keep fluid balance and performance steady in long events, not as a magic fix. And don't overshoot: taking far more salt than you lose just makes you thirstier and can upset your stomach.

Frequently asked questions

How much sodium do you lose in sweat?
Typically 500–1,500 mg per liter of sweat, with an average near 1,000 mg/L. At a sweat rate of 1 L/h, a two-hour session loses about 2 g of sodium — the equivalent of 5 g of table salt.
How much sodium should I replace during exercise?
For sessions under 90 minutes, none — your next meal covers it. For longer sessions, replacing about half to two-thirds of what you lose during the activity is a reasonable target, typically 300–800 mg per hour.
Do electrolytes prevent cramps?
The evidence is weak. Exercise-associated cramps are more strongly linked to muscle fatigue and pacing than to sodium or hydration status, though heavy salty sweaters may benefit from sodium in long events.
How do I know if I'm a salty sweater?
White salt streaks on dark clothing or your face, sweat that stings your eyes, and strong salt cravings after training are the classic signs. A sweat test at a sports lab can give you an exact concentration.
Is potassium replacement important?
Rarely. Sweat contains only about 200 mg of potassium per liter, and a normal diet easily replaces it. Sodium is the electrolyte that matters during exercise.

Turn the number into a habit

Realwater sets a goal from your weight, activity and climate, then fills a sphere as you drink. One tap per glass. Free on iPhone and Android.

More calculators

Keep reading