Home / Calculators

Daily Electrolyte Calculator

Type in your sex, weight, and how hard you exercise, and this calculator estimates your daily targets for the four electrolytes that matter most for hydration: sodium, potassium, magnesium, and chloride. The numbers come straight from National Academies Adequate Intakes and RDAs, adjusted for sweat losses so the result actually fits your day.

Sodium2,040 mg / day
Potassium2,600 mg / day
Magnesium320 mg / day
Chloride2,300 mg / day

Sodium = 1,500 mg adequate intake + ~540 mg lost in sweat. The general limit for non-athletes is 2,300 mg.

Food first: most people meet sodium from meals; potassium and magnesium are the ones usually short.

Key takeaways

  • Sodium baseline is 1,500 mg/day from the National Academies AI, plus a sweat-loss add-on for active people.
  • Potassium AI is 3,400 mg for men and 2,600 mg for women — most Americans fall well short.
  • Magnesium has a sex- and age-specific RDA; food usually covers it unless sweat losses are heavy.
  • Food should be your first source; supplements and sports drinks are a backup, not a starting point.

How to Use the Calculator

Choose your biological sex, enter your body weight, pick your typical daily activity level (sedentary, moderate, or heavy exercise), and — if you know it — add your sweat rate from our Sweat Rate Calculator. Hit Calculate and you'll see a personalized daily target for sodium, potassium, magnesium, and chloride.

If you're pregnant or breastfeeding, the targets shift. Our Pregnancy Water Intake Calculator and Breastfeeding Water Intake Calculator cover fluid needs for those groups; for electrolyte questions during pregnancy or a medical condition, check with your provider.

How the Calculator Works

The baseline figures come from the National Academies Dietary Reference Intakes. The sodium baseline is the Adequate Intake of 1,500 mg per day. For potassium, the AI is 3,400 mg for adult men and 2,600 mg for adult women. Magnesium uses the sex- and age-specific RDA (for example, 400–420 mg for adult men, 310–320 mg for adult women). Chloride's AI mirrors sodium on a milligram-equivalent basis.

On top of the baseline, the calculator adds sweat-loss sodium. Research published on PubMed puts average sweat sodium concentration at roughly 35–65 mmol/L (about 800–1,500 mg per liter of sweat), with wide individual variation. The calculator uses a mid-range estimate and multiplies it by the sweat volume implied by your activity level and weight, giving you a realistic daily sodium target rather than just the resting AI.

What to Do With Your Results

Your results show a daily target range, not a prescription. The goal is to hit those numbers through food first. Whole foods — vegetables, legumes, dairy, nuts, and fruits — deliver potassium, magnesium, and chloride together with fiber and micronutrients that no supplement replicates. The USDA and CDC both emphasize food-first strategies for meeting electrolyte needs.

Sodium is the one electrolyte most Americans already over-consume at rest. The calculator's add-on is meant for people who genuinely lose extra sodium through sweat — runners, construction workers, hikers — not an invitation to salt everything. If your result is close to your current intake, you're probably fine without any sports drink or supplement.

  • Drink water with meals that contain electrolyte-rich foods — it helps absorption.
  • Use urine color as a daily check (see our Urine Color Chart) to confirm you're not overdoing plain water and diluting electrolytes.
  • Heavy exercisers: pair this tool with the Endurance Sodium Calculator for race-day or long-session planning.
  • If you take diuretics, have kidney disease, or follow a medically supervised diet, ask your doctor before chasing these numbers.

Where Electrolytes Come From in Food

You don't need a sports drink to hit your targets on a normal day. The table below shows everyday foods that move the needle on each electrolyte. Potassium is the trickiest because the AI is high and ultra-processed diets deliver very little of it.

Magnesium is often called the 'forgotten electrolyte' because surveys show many adults fall short of the RDA — but pumpkin seeds, dark chocolate, and leafy greens can close the gap quickly. Chloride comes almost entirely from table salt and salty foods, so it tracks with sodium intake and rarely needs separate attention.

When Sports Drinks or Supplements Make Sense

For exercise lasting less than an hour at moderate intensity, water alone is usually enough. The American College of Sports Medicine notes that sodium-containing drinks become meaningful for prolonged exercise (typically beyond 60–90 minutes) or in hot conditions where sweat losses are high.

If your calculator result shows a big gap between your baseline AI and your sweat-adjusted target, a low-sugar electrolyte drink or a pinch of salt in your water bottle can help close it. Our page Electrolytes for Hydration: When You Need Them covers the evidence in more detail, and Electrolyte Drinks Compared breaks down popular products side by side.

Limits of This Calculator

Individual sweat sodium concentration varies enormously — elite athletes in heat can lose more than 2,000 mg of sodium per liter of sweat, while others lose far less. The calculator uses population averages; if precision matters (ultra-marathon, occupational heat exposure), a lab sweat test gives a better number.

This tool is designed for healthy adults. It does not account for medical conditions such as hypertension, kidney disease, or heart failure, which change sodium and potassium targets significantly. Always defer to your healthcare provider for personalized medical guidance.

Worked example: 175 lb male, moderate runner (45 min/day)

  1. Baseline sodium AI: 1,500 mg (National Academies).
  2. Estimate sweat volume: a 175 lb (79 kg) runner doing 45 min at moderate effort loses roughly 0.8–1.0 L of sweat. Use 0.9 L as the mid-point.
  3. Sweat sodium add-on: 0.9 L × ~1,000 mg/L (mid-range estimate) = ~900 mg extra sodium.
  4. Total sodium target: 1,500 + 900 = 2,400 mg/day.
  5. Potassium target: 3,400 mg/day (men's AI — unchanged by moderate exercise).
  6. Magnesium target: 400 mg/day (RDA for men 19–30; 420 mg for 31+).
  7. Chloride target: tracks with sodium; no separate add-on needed.
  8. Food check: a banana (422 mg K), 1 cup cooked spinach (~157 mg Mg, ~839 mg K), 1 oz pumpkin seeds (~156 mg Mg), and normal salted meals can cover most of these targets without any supplement.

Daily targets: ~2,400 mg sodium, 3,400 mg potassium, 400–420 mg magnesium. Achievable through food on most days; a low-sugar electrolyte drink can fill gaps after a longer or hotter run.

Top food sources for each electrolyte (approximate values per common serving, USDA FoodData Central)
ElectrolyteFoodServingAmount
SodiumDill pickle (1 spear)1 spear (~35 g)~570 mg
SodiumTable salt¼ tsp~575 mg
PotassiumCooked white beans½ cup~595 mg
PotassiumBaked potato with skin1 medium~925 mg
PotassiumBanana1 medium~422 mg
MagnesiumPumpkin seeds (roasted)1 oz~156 mg
MagnesiumCooked spinach½ cup~78 mg
MagnesiumDark chocolate (70–85%)1 oz~64 mg
ChlorideTable salt¼ tsp~875 mg
ChlorideCanned chicken broth1 cuptracks sodium content

FAQ

What electrolytes does this calculator cover?

The calculator estimates daily targets for sodium, potassium, magnesium, and chloride — the four electrolytes with established Adequate Intakes or RDAs from the National Academies. Calcium is important for bone health but plays a smaller role in daily fluid balance, so it's covered separately in our nutrition guides.

Is 1,500 mg of sodium too low for active people?

The 1,500 mg figure is the resting Adequate Intake set by the National Academies for healthy adults — it's a baseline, not a ceiling for athletes. The calculator adds a sweat-loss estimate on top, so active users will typically see a higher total target. If you're training hard in heat, the Endurance Sodium Calculator gives a more detailed race-day number.

Can I use this calculator if I'm pregnant?

The electrolyte AIs shift slightly during pregnancy (for example, the sodium AI stays at 1,500 mg but potassium AI rises to 2,900 mg). This calculator is built for non-pregnant healthy adults. For pregnancy-specific fluid and electrolyte questions, start with your midwife or OB, and check our Pregnancy Water Intake Calculator for fluid guidance.

Do I need electrolyte supplements if my diet is already healthy?

Probably not on most days. A diet rich in vegetables, legumes, dairy, and minimally processed foods can cover potassium, magnesium, and chloride targets for sedentary or lightly active people. Sodium is the one electrolyte that may need a conscious boost on high-sweat days, and even then a small amount of salty food often does the job.

How is this different from the Endurance Sodium Calculator?

This Daily Electrolyte Calculator gives a general 24-hour target across all four main electrolytes — useful for everyday planning. The Endurance Sodium Calculator is purpose-built for runners and cyclists who need to calculate sodium intake during a specific long workout or race, accounting for pace, duration, and heat.

What if my result seems much higher than what I'm currently eating?

Start with a food diary for a few days to see where the gap is. Potassium is the most common shortfall in American diets, according to the USDA. If the sodium add-on seems large, double-check your sweat rate using our Sweat Rate Calculator — that's the most uncertain input in the formula and will change your result the most.

Sources

  1. National Academies: Dietary Reference Intakes for Sodium and Potassium (2019)
  2. ACSM Position Stand: Exercise and Fluid Replacement (PubMed)
  3. NIH Office of Dietary Supplements: Magnesium Fact Sheet