Electrolyte Needs Calculator

Estimate daily electrolyte needs for sodium, potassium, and magnesium based on activity level, sweat rate, climate, and diet. Built for hydration planning and comparison.

lbs
average daily
Daily Electrolyte Targets
2,400.00
mg Sodium
3,580.00
mg Potassium
438.00
mg Magnesium
Sodium
2,400.00 mg
2,040.00–2,760.00 range
Potassium
3,580.00 mg
3,043.00–4,117.00 range
Magnesium
438.00 mg
372.00–504.00 range
Fluid Target
124 oz
3,659.00 mL

Needs Breakdown

ComponentSodium (mg)Potassium (mg)Magnesium (mg)
Base needs1,500.003,400.00420.00
Exercise sweat losses+900.00+180.00+18.00
Total Daily Target2,400.003,580.00438.00

Top Electrolyte Food Sources

FoodNa (mg)K (mg)Mg (mg)
Potato (medium, baked)1792648
Avocado (1 whole)1470858
Banana (medium)142232
Spinach (1 cup cooked)126839157
Sweet potato (medium)7254133
Greek yogurt (1 cup)6824022
Salmon (4 oz)5953430
Almonds (1 oz)020077
Dark chocolate (1 oz)720365
Coconut water (1 cup)25260060

Supplement Forms Guide

  • Sodium: Table salt (¼ tsp = 575 mg Na), bouillon, electrolyte drinks, Himalayan salt
  • Potassium: Potassium citrate or chloride supplements (99 mg tablets — food sources preferred)
  • Magnesium: Glycinate (best absorbed, no GI issues), citrate (good, mild laxative), oxide (cheap, poor absorption)
Planning notes, formulas, and examples

About the Electrolyte Needs Calculator

This worksheet estimates sodium, potassium, and magnesium targets using a baseline intake plus exercise, climate, sweat, and diet adjustments. It is aimed at day-to-day planning for active people rather than lab-based assessment or treatment decisions.

The result is most useful as a starting estimate: a cooler rest day and a hot high-sweat training day should not look the same, and this page lets you compare those scenarios quickly.

When This Page Helps

Electrolyte needs shift more with sweat loss and diet pattern than with generic hydration advice alone. This page helps you estimate what may need to change between lighter days and harder, hotter sessions without turning the estimate into a medical directive.

How to Use the Inputs

  1. Enter your body weight in pounds or kilograms.
  2. Select your daily exercise duration and intensity.
  3. Choose your climate/environment (cool, moderate, hot/humid).
  4. Rate your perceived sweat rate (light, moderate, heavy).
  5. Select your dietary pattern (affects baseline electrolyte intake).
  6. Review your personalized sodium, potassium, and magnesium targets.
  7. Check the food source recommendations for each electrolyte.
Formula used
Base Needs (from NIH/IOM Adequate Intake): • Sodium: 1,500 mg/day (AI) | UL: 2,300 mg/day (non-active) • Potassium: 2,600–3,400 mg/day (AI by sex) • Magnesium: 310–420 mg/day (RDA by sex/age) Exercise Adjustment: • Sweat sodium loss: 500–1,000 mg per hour of exercise • Sweat potassium loss: 100–200 mg per hour • Sweat magnesium loss: 10–20 mg per hour Climate Multiplier: • Cool: ×1.0 • Moderate: ×1.2 • Hot/humid: ×1.5 Sweat Rate Multiplier: • Light sweater: ×0.7 • Moderate: ×1.0 • Heavy sweater: ×1.4 Total = Base + (Exercise hours × sweat loss rate × climate multiplier × sweat rate multiplier)

Example Calculation

Result: Na: 3,075 mg | K: 3,820 mg | Mg: 462 mg

Base needs (male): Na 1,500 mg, K 3,400 mg, Mg 420 mg. Exercise sweat losses: Na 750 mg/hr, K 150 mg/hr, Mg 15 mg/hr. For 1.5 hours: Na 1,125 mg, K 225 mg, Mg 22.5 mg. Climate multiplier (hot): ×1.5. Sweat rate (heavy): ×1.4. Adjusted exercise loss: Na 1,125 × 1.5 × 1.4 = 2,363 mg, but capped at reasonable ranges. Total: Na ≈ 3,075, K ≈ 3,820, Mg ≈ 462.

Tips & Best Practices

  • The best electrolyte source is real food: bananas, potatoes, spinach, avocados, nuts, dairy, and salted foods.
  • If exercising >60 minutes, add an electrolyte drink rather than plain water.
  • Weigh yourself before and after exercise: each pound lost = ~16 oz fluid + ~500 mg sodium to replace.
  • Low-carb and keto diets dramatically increase sodium excretion — add 1,000–2,000 mg extra sodium/day.
  • Magnesium glycinate is the best-absorbed supplement form; magnesium oxide (the cheapest) has only ~4% absorption.
  • Coffee and alcohol increase electrolyte excretion — compensate if you consume them regularly.
  • Signs of electrolyte deficiency: muscle cramps, twitching, headache, fatigue, brain fog, irregular heartbeat.

Understanding Sweat Composition

Sweat is not just water — it contains significant amounts of sodium (the primary electrolyte lost), potassium, magnesium, calcium, and chloride. Sweat rate varies from 0.5 L/hour (light exercise, cool conditions) to 2.5+ L/hour (intense exercise, hot/humid conditions). Sodium concentration in sweat varies by individual genetics, heat acclimatization, and fitness level. Heat-acclimatized athletes actually produce more dilute sweat, conserving sodium more effectively.

The Hyponatremia Danger

Drinking too much plain water during prolonged exercise can dilute blood sodium to dangerous levels (hyponatremia), causing nausea, confusion, seizures, and in rare cases death. This is most common in marathon runners and ultra-endurance athletes who drink excessive water without electrolytes. The solution: drink to thirst (not on a schedule) and include sodium in your hydration strategy.

Practical Electrolyte Strategy

For most active people, a practical daily strategy includes: salting food liberally (don't fear sodium if you exercise), eating 2–3 potassium-rich foods daily (potato, banana, avocado, spinach), taking 200–400 mg magnesium glycinate at bedtime, and using an electrolyte drink during exercise lasting more than 60 minutes or in hot conditions.

Sources & Methodology

Last updated:

Methodology

This worksheet starts with standard intake references for sodium, potassium, and magnesium, then applies broad adjustments for exercise duration, climate, and self-reported sweat tendency. It is intended to give a planning range, not a biochemical diagnosis.

Electrolyte needs depend heavily on diet pattern, kidney function, medications, and how much is actually lost in sweat, so the result should be treated as a rough estimate.

Sources

Frequently Asked Questions

  • Sodium, potassium, and magnesium are the three most critical for daily function and exercise performance. Sodium regulates fluid balance and nerve transmission. Potassium is essential for muscle contraction and heart rhythm. Magnesium is a cofactor in over 300 enzymatic reactions including energy production and muscle relaxation. Calcium and chloride are also electrolytes but are typically adequate in most diets.