Magnesium Intake Calculator

Daily magnesium mg vs RDA from foods plus supplement.

Health and FitnessUpdated 2026-10-112 min read
Magnesium Intake Calculator
Almonds 80/oz, cashews 74/oz.
Spinach 78/half-cup cooked.
Black beans 60/half-cup.
Daily intake
...
Target...
Gap...

What it does

Magnesium hides in nuts, greens, and beans in uneven chunks. An ounce of almonds carries 80 mg while half a cup of cooked spinach carries 78, against RDAs of 400-420 mg for men and 310-320 for women. Two handfuls plus greens still leave gaps most days.

The tool above sums four lines against the RDA. Enter nuts, greens, other foods, and supplement milligrams, pick the age-sex RDA, and it prints total, target, gap, and percent. Defaults total 232 mg against 420: 188 mg short at 55.2 %.

NIH tables supply every constant. Its professional sheet sets RDA rows with foods at almonds 80, spinach 78, cashews 74, and black beans 60, while the consumer sheet confirms the 400/420 and 310/320 ladders. The National Academies IOM report stands behind the RDAs with a 350 mg supplemental upper limit.

Gaps close from food first. Beans, whole grains, and nuts stack steadily without pills, and split supplement doses absorb better than single megadoses. Laxative effects and drug interactions make higher doses a clinician conversation.

How to use

  1. Enter nuts mg (almonds 80/oz).
  2. Enter greens mg (spinach 78).
  3. Enter other food and supplement mg.
  4. Pick the RDA for age and sex.
  5. Read total first, then the gap.
  6. Close gaps with food first.

Formula

Total mg = nuts + greens + other + supplement. Gap = RDA minus total (short) or total minus RDA (over).
nuts
Mg from nuts and seeds.
rest
Mg from greens, beans, other foods, pills.
RDA
310/320 women, 400/420 men.

RDA and food mg follow NIH ODS professional and consumer sheets with the IOM 1997 report behind them.

Worked example

Example: 232 mg vs 420 RDA

Defaults: nuts 154, greens 78, RDA 420.

  1. Inputs: nuts 154 mg (almonds 80 + cashews 74), greens 78, RDA 420 (man 35).
  2. Total: 154 + 78 = 232 mg.
  3. Gap: 420 minus 232 = 188 mg short.
  4. Share: 232 / 420 x 100 = 55.2 %.
  5. Tool shows 232 mg, 420 mg RDA, 188 mg short.

Reference table

Magnesium RDA and foods (NIH)
ItemmgNote
Men 19-30 RDA400Baseline
Men 31+ RDA420Higher need
Women 19-30 RDA310Baseline
Women 31+ RDA320Higher need
Almonds 1 oz80Top nut
Spinach 1/2 cup78Top green

Limits

  • Planning math only. Absorption varies.
  • Food mg are averages; brands differ.
  • Upper limits need a clinician.
  • Conditions adjust needs.

Common mistakes

  • Counting one food and ignoring the rest.
  • Megadosing past the 350 supplemental UL.
  • Skipping the percent-of-RDA check.
  • Treating the RDA as a ceiling.
  • Ignoring drug interactions.

Try it yourself

Quick checks. Answers sit tucked under each question.

Nuts 80, other 60, RDA 310?

Total 80 + 0 + 60 + 0 = 140. Gap 310 minus 140 = 170 mg short.

Greens 156, other 60, RDA 400?

Total 0 + 156 + 60 + 0 = 216. Gap 400 minus 216 = 184 mg short.

Questions

How is the gap figured?

Sum food and supplement mg against the RDA. Here 232 vs 420 leaves 188 mg short.

What is the magnesium RDA?

Men 19-30: 400. Men 31+: 420. Women 19-30: 310. Women 31+: 320.

How much magnesium per food?

Almonds 80/oz, spinach 78/half-cup, cashews 74/oz, black beans 60/half-cup.

Can I split food groups?

Yes. Enter nuts, greens, other foods, and supplement lines separately.

Food or pills?

Food first per NIH, then supplements to close gaps. Supplemental UL runs 350 mg for adults.

Can I overdo magnesium?

Yes. Laxative effects and drug interactions need a clinician past food amounts.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.