Estimate sodium, potassium, and magnesium losses from sweat during exercise. Get personalized electrolyte replacement recommendations based on your sweat rate.
This calculator estimates sodium, potassium, and magnesium losses during a workout from sweat rate, duration, and sweat sodium category, then turns those losses into a replacement target. It is intended for exercise planning, especially for longer or hotter sessions, not for diagnosing cramps or medical electrolyte problems.
The result is a practical estimate rather than a measured sweat test. It works best when you want a starting point for training or race fueling and know roughly how much you sweat.
For shorter sessions, water may be enough; for longer or hotter sessions, sodium loss becomes more relevant. This page gives a practical starting range for replacement instead of assuming one sports-drink recipe fits everyone.
Sodium Loss (mg) = Sweat Rate (L/hr) × Sweat [Na⁺] (mg/L) × Duration (hr) Potassium Loss (mg) = Sweat Rate × ~200 mg/L × Duration Magnesium Loss (mg) = Sweat Rate × ~15 mg/L × Duration Typical Sweat Sodium Concentrations: • Low: ~300 mg/L • Average: ~600 mg/L • High (salty sweater): ~1,100 mg/L Replacement Window: • During exercise (>60 min): 300–600 mg Na/hr • Post-exercise: Replace 100–150% of losses over 4–6 hours
Result: Na loss: 1,080 mg | K loss: 360 mg | Mg loss: 27 mg
Sweat volume = 1.2 L/hr × 1.5 hrs = 1.8 L total. Sodium = 1.8 × 600 = 1,080 mg. Potassium = 1.8 × 200 = 360 mg. Magnesium = 1.8 × 15 = 27 mg. During the 90-minute session, aim for 450–900 mg sodium intake (300–600 mg/hr). Post-exercise, consume 1,080–1,620 mg sodium through food and fluids.
Sodium is the main electrolyte to plan around during prolonged exercise. It helps maintain blood volume, supports fluid absorption in the gut, and contributes to muscle and nerve function. Sodium losses of 3–4 grams during a marathon are common for average sweaters, and salty sweaters can lose substantially more. Inadequate replacement can contribute to progressive performance decline, cramps, and GI distress.
A simple homemade electrolyte drink: 500 mL water + 1/4 teaspoon salt (~590 mg Na) + 2 tablespoons honey (30g carbs) + squeeze of lemon. This provides approximately 1,180 mg Na/L, suitable for salty sweaters. For average sweaters, use 1/8 teaspoon salt per 500 mL.
For events lasting 2+ hours, plan electrolyte intake in advance: 300–600 mg sodium per hour, consumed in small frequent doses every 15–20 minutes alongside fluid. Test the strategy during training runs at race intensity. GI tolerance varies significantly between individuals, and race day is not the time to experiment.
Last updated:
The calculator multiplies sweat rate by exercise duration and then applies approximate electrolyte concentrations for low, average, or high sodium sweaters. Potassium and magnesium are estimated with conservative exercise-loss assumptions so the output stays useful for planning rather than overstating precision. The result is a replacement guide for training or recovery, not a medical diagnosis of electrolyte status.
Signs include: white residue or stains on dark workout clothes, sweat that stings your eyes or any cuts, a preference for salty foods after exercise, frequent muscle cramps during prolonged activity, and sweat that tastes noticeably salty. You can also get a clinical sweat test for precise sodium concentration measurement.
Absolutely. Post-exercise, whole foods are an excellent electrolyte source. A typical recovery meal with soup, bread with salt, cheese, and a banana can replace most electrolyte losses. However, during exercise, concentrated liquid or tablet sources are more practical since they're easier to consume and absorb.
Standard sports drinks contain about 400–500 mg sodium per liter — adequate for average sweaters but insufficient for salty sweaters during intense exercise. They also provide carbohydrates (6–8%) which help fuel exercise. For heavy sodium losers, consider adding extra sodium to a sports drink or using higher-sodium products.
EAH occurs when blood sodium drops below 135 mmol/L, typically from drinking excessive plain water without adequate sodium during prolonged exercise. Symptoms include nausea, headache, confusion, and in severe cases, seizures and death. It's more common in endurance events lasting >4 hours and in slower participants who have more time to drink.
For most people, a balanced diet provides adequate potassium and magnesium. Sweat losses of these minerals are relatively small compared to sodium. However, prolonged exercise (>2–3 hours) in heat can deplete stores. Including banana, coconut water, or electrolyte products with K and Mg during ultra-endurance events is reasonable.
One quarter teaspoon of table salt (NaCl) contains approximately 590 mg of sodium. A full teaspoon has about 2,360 mg. This is useful for DIY sports drinks: 1/4 teaspoon salt + 2 tablespoons honey in 500 mL water creates an effective electrolyte solution.