Magnesium Requirement Calculator

See exactly how much magnesium you need each day.

Result

320 mg
0.32 g
119 g

How it is calculated

This is a table lookup, not a formula. The engine picks a daily target in mg from your age in years and your sex: up to 6 months 30 mg, over 6 months to under 1 year 75, 1 to 3 years 80, 4 to 8 years 130, 9 to 13 years 240. From 14 to 18 it is 410 for males and 360 for females, from 19 to 30 it is 400 and 310, and from 31 upward it is 420 and 320. Below 14 the sex choice makes no difference, and if no sex is given the male value is used. The grams value is mg ÷ 1000. The almond figure assumes 76.5 mg of magnesium per 28.35 g (one ounce) of almonds: grams = mg ÷ 76.5 × 28.35. Age must be above 0 and at most 120, otherwise there is no result. There is no setting for pregnancy or breastfeeding.

Worked example

A 35-year-old woman falls in the 31-and-over band, which the tool sets at 320 mg per day. In grams: 320 ÷ 1000 = 0.32 g. For the almond equivalent: 320 ÷ 76.5 ≈ 4.18 ounces of almonds, and 4.18 × 28.35 ≈ 119, so the tool shows 119 g. About 119 g of almonds alone would supply the whole daily target, but in practice you would spread it over several magnesium-rich foods. The same age entered as male gives 420 mg.

Try this example →

Common mistakes

  • Reading the result as a supplement dose. It is a total daily target from all food and drink, not an amount to take as a pill.
  • Taking the almond figure as a recommendation. 119 g of almonds is a lot of calories; the number only shows scale.
  • Entering a baby's age in months. Age is in years, so use 0.5 for six months; 0 gives no result.
  • Leaving the sex field unset for a woman. The tool then falls back to the male value, which is 100 mg higher for a 35-year-old.
  • Ignoring pregnancy or breastfeeding. The tool does not adjust for them, so ask a clinician for the target in those cases.

Sources

About this calculator

The recommended dietary allowance (RDA) for magnesium varies by age and sex — in the U.S., adult men need roughly 400-420 mg/day and adult women roughly 310-320 mg/day, according to National Institutes of Health Office of Dietary Supplements reference values. Pregnancy and breastfeeding have their own, somewhat higher targets, which this calculator does not cover. Magnesium is a cofactor in more than 300 enzymatic reactions in the body, playing roles in muscle and nerve function, blood glucose regulation, blood pressure regulation, and bone structure, which is why it's tracked as a core micronutrient rather than an optional supplement.

Dietitians and nutrition-tracking apps calculate personalized magnesium targets because population surveys, including U.S. NHANES data, have repeatedly found that a substantial share of adults fall short of the RDA from diet alone, particularly those who eat few magnesium-rich foods like leafy greens, nuts, seeds, and whole grains — a gap worth quantifying since chronically low intake has been studied in connection with muscle cramps, fatigue, and increased cardiovascular risk markers.

Age and sex are matched to the official RDA reference table to give your recommended daily magnesium intake.

Was this helpful?

You can pick up to 3 reactions.

Comments (1)

  • Editorial team

    The figure is a daily recommended intake for a healthy person by age band and sex, so it does not cover pregnancy, breastfeeding or kidney problems, where a doctor should set the target. The almond figure only translates milligrams into a food you can picture, since real meals mix many sources. Which foods do you rely on for magnesium? Tell us if another comparison food would be more useful.

Popular calculators

All Calculators