Potassium Needs Calculator Formula

Understand the math behind the potassium needs calculator. Each variable explained with a worked example.

Formulas Used

Daily Potassium Target

potassium_target = ai_potassium

Potassium from Bananas

from_bananas = banana_servings * 422

Remaining to Fill

remaining = max(ai_potassium - banana_servings * 422, 0)

Variables

VariableDescriptionDefault
ageAge(years)35
banana_servingsBananas per Day(bananas)1
ai_potassiumDerived value= age <= 3 ? 2000 : (age <= 8 ? 2300 : (age <= 13 ? 2500 : (age <= 18 ? 3000 : 3400)))calculated

How It Works

Potassium Adequate Intake (AI)

Potassium is crucial for blood pressure regulation, muscle contractions, and nerve signaling.

AI by Age (Male)

AgeAdequate Intake 1-3 years2,000 mg 4-8 years2,300 mg 9-13 years2,500 mg 14-18 years3,000 mg 19+ years3,400 mg

One medium banana has about 422 mg of potassium.

Worked Example

A 35-year-old who eats 1 banana per day.

age = 35banana_servings = 1
  1. 01AI for adult male = 3,400 mg
  2. 02From 1 banana = 422 mg
  3. 03Remaining = 3,400 - 422 = 2,978 mg

Frequently Asked Questions

How much potassium do I need?

Adult males need about 3,400 mg per day. Most Americans get only about 2,500 mg, which is below adequate intake.

What are good sources of potassium?

Bananas, potatoes, sweet potatoes, spinach, avocados, beans, yogurt, and salmon are excellent potassium sources.

Can you get too much potassium?

Healthy kidneys efficiently excrete excess potassium. However, people with kidney disease should monitor intake carefully.

Ready to run the numbers?

Open Potassium Needs Calculator