Electrolytes calculator

Calculate recommended sodium, potassium, and magnesium intake based on activity, temperature, and adaptation stage.

When to use

Quick guide on when this calculator is most useful and when to recalculate your values.

  • If you feel fatigue, cramps, or headaches.
  • If you're within the first 4 weeks and still going through keto adaptation.
  • If training volume or heat exposure increased.
  • If you want to optimize hydration and mineral balance together.

Enter parameters

Recommendations

3,750 mg
Sodium
3,730 mg
Potassium
380 mg
Magnesium

Reference ranges

Sodium
3,375 - 4,125 mg
Potassium
3,357 - 4,103 mg
Magnesium
342 - 418 mg

Why it matters

4

A quick overview of how the result is formed and how to apply it in practice.

On keto, the body excretes more sodium and water, so electrolyte needs increase.
Low electrolytes can lead to fatigue and cramps.
Balance matters more than a single large dose, so it is usually better to spread electrolytes through the day.
High sweat loss can raise needs faster than appetite changes.

Foods and habits

5

Small practical steps to help you apply the result day to day.

Add a pinch of salt to water or broth.
Avocado, leafy greens, and nuts help with potassium and magnesium.
Increase sodium gradually and monitor how you feel.
Evening magnesium can be easier to tolerate for some people.
On hot days, keep salty fluids available.

FAQ

5

Short answers to common questions about calculations and interpretation.

Can I overdo sodium?

Yes, consider blood pressure and personal limits.

Do I need supplements?

Food is often enough, but supplements can help with heavy activity.

Why do symptoms persist if water is enough?

The issue is often sodium deficit, not just fluid volume.

Can I take electrolytes only post-workout?

Daily distribution is usually more stable, especially during adaptation.

Can I get electrolytes only from food?

Yes, in many cases food is enough. But during keto adaptation, hot weather, or heavy activity, needs can be higher, and supplements or salted drinks may help.

Recommendations are averages. Consult a clinician for kidney or heart conditions.

13 tools

Explore all calculators

Need a different metric? Open the full tools page and switch between keto and body calculators in one place.

See all calculators