Daily Electrolyte Needs Calculator

Get personalized daily targets for sodium, potassium, and magnesium based on your activity level, diet, climate, and health profile.

By Clay Lengel, Staff Writer for saltstackapp.com · Updated

Your daily electrolyte needs depend on far more than a generic nutrition label can tell you. Factors like your activity level, the climate you live in, the diet you follow, and certain health conditions all influence how much sodium, potassium, and magnesium your body actually requires each day.

Most people have no idea whether they're getting enough -- or too much -- of these critical minerals. The standard dietary guidelines provide a useful starting point, but they weren't designed for someone doing CrossFit in Houston humidity, or for someone following a ketogenic diet, or for someone managing POTS.

This calculator takes your individual profile into account and gives you a personalized daily target for each of the three key electrolytes. Answer a few quick questions and get your numbers in under a minute.

1
Profile
2
Activity
3
Diet

Your Profile

Basic information to establish your baseline needs.

Understanding Your Results

The numbers above represent your estimated daily needs for three essential electrolytes, adjusted for your specific profile. Here is what each one does and why the targets matter.

Sodium

Sodium is the primary electrolyte lost in sweat and the one most people in the health and fitness space underestimate. It regulates fluid balance, blood pressure, and nerve signaling. If you are active, live in a warm climate, or follow a low-carb diet, your body excretes sodium at a much higher rate than someone sedentary on a standard diet.

The NIH Adequate Intake for sodium is 2,300mg per day for most adults, but this is a baseline for an average sedentary person in temperate conditions. Athletes, keto dieters, and people with conditions like POTS often need two to three times that amount.

Potassium

Potassium works hand-in-hand with sodium. It supports muscle contraction, heart rhythm, and fluid balance inside your cells. Most Americans fall well short of the recommended intake -- the average diet provides roughly 2,500mg against a target of 3,400mg for men and 2,600mg for women.

Potassium-rich foods include potatoes, avocados, bananas, salmon, and leafy greens. If your calculated target is significantly above the average intake, supplementation or deliberate food choices may be necessary.

Magnesium

Magnesium participates in over 300 enzymatic reactions in the body, from energy production to protein synthesis to nervous system regulation. It is one of the most common nutrient deficiencies because modern diets and soil depletion have reduced the magnesium content of foods over the past several decades.

Signs of low magnesium include muscle cramps, poor sleep, anxiety, and fatigue. Many people benefit from supplementation with forms like magnesium glycinate, citrate, or malate.

Where to Get Your Electrolytes

Meeting your daily targets comes down to a combination of whole foods, seasoning, and targeted supplementation.

Food Sources

Sodium: Table salt and sea salt (about 2,300mg per teaspoon), olives, cheese, bone broth, soy sauce, and cured meats.

Potassium: Potatoes (926mg per medium potato), avocados (708mg each), bananas (422mg each), salmon (534mg per fillet), spinach, sweet potatoes, and coconut water.

Magnesium: Pumpkin seeds (156mg per ounce), dark chocolate (65mg per ounce), almonds (80mg per ounce), spinach (157mg per cooked cup), black beans, and avocados.

Supplementation

If your calculated targets are significantly higher than what you can realistically get from food, an electrolyte supplement can help bridge the gap. Look for products that provide meaningful doses of all three minerals without added sugar or unnecessary fillers.

When choosing a supplement, check the actual milligram amounts on the label. Many popular electrolyte products contain only token amounts of each mineral. A good sodium supplement or electrolyte mix should provide at least 500-1,000mg of sodium per serving if you are using it for athletic or low-carb purposes.

For more guidance on choosing the right product, see our comparison of the best electrolyte drinks.

How the Calculator Works

This calculator starts with the NIH Adequate Intake values as a baseline, then applies multipliers and additive adjustments based on your inputs.

Activity multipliers scale your needs based on sweat loss and metabolic demand. An athlete may need double the sodium of a sedentary person due to sweat losses during training.

Climate modifiers add additional sodium to account for increased perspiration in warm and humid environments. Someone in Phoenix or Miami will lose substantially more sodium through sweat than someone in Seattle.

Diet modifiers account for the physiological changes certain diets cause. Ketogenic and low-carb diets cause the kidneys to excrete more sodium (a phenomenon sometimes called "keto flu" in early adaptation). Fasting has a similar effect. These modifiers add back what your body is losing.

Condition overrides handle special cases. POTS (Postural Orthostatic Tachycardia Syndrome) patients are frequently advised by their physicians to consume at least 5,000mg of sodium daily to help manage symptoms. Pregnancy and breastfeeding increase mineral needs to support fetal development and milk production.

For a deeper dive into the science, read our complete electrolyte guide.

Frequently Asked Questions

Is it possible to get too much sodium?

For most healthy adults with functioning kidneys, the body is efficient at excreting excess sodium. However, people with kidney disease, heart failure, or certain other conditions should follow their physician's guidance on sodium limits. This calculator is designed for generally healthy adults.

Should I hit these numbers every single day?

Think of these as average daily targets rather than hard requirements. Your body maintains electrolyte balance over time, so hitting the target most days is more important than being exact every single day. That said, consistency matters more when you are very active or following a restrictive diet.

Why are my sodium numbers so much higher than the FDA recommendation?

The FDA's 2,300mg recommendation is a general guideline aimed at the overall population, many of whom are sedentary and consuming highly processed diets already high in sodium. If you are active, low-carb, or in a hot climate, your body is excreting far more sodium than the average person, and you need to replace it.

Do I need to supplement, or can I get everything from food?

It depends on your targets. Most people can meet baseline potassium and magnesium needs through a varied whole-food diet. Sodium is the easiest to supplement since you can simply add salt to food. If your targets are elevated due to activity, diet, or conditions, a dedicated electrolyte supplement can make it much simpler to stay consistent.

How does this calculator compare to blood testing?

This calculator provides estimated targets based on population-level data and known physiological multipliers. Blood testing (specifically a comprehensive metabolic panel) can show your current serum electrolyte levels, but serum levels are tightly regulated and often do not reflect total body stores. For example, only about 1% of your magnesium is in your blood. Both approaches have value -- use this calculator for daily intake planning and blood work for clinical monitoring.

I have POTS -- should I trust these numbers?

The calculator sets a minimum of 5,000mg sodium for POTS, which aligns with common clinical recommendations. However, many POTS patients need even more (up to 10,000mg). Use these numbers as a starting point and work with your physician to adjust. Tracking your actual intake with an app like SaltStack can help you and your doctor fine-tune the amount.

For more information on electrolytes and keto, see our keto electrolytes guide.

Disclaimer: This tool is for informational purposes only. Results are estimates and should not replace medical advice. Consult your healthcare provider.