Magnesium Intake Calculator | RDA for Kids, Teens & Adults

Use this Magnesium Intake Calculator to find how much magnesium a child, teen, or adult needs each day, based on age, sex, and life stage — plus how their current intake compares, and which foods can help close the gap.

Magnesium Intake Calculator

For all ages — children through adults

Your Details
years
Magnesium needs differ by sex from age 14 onward
Magnesium needs rise during pregnancy and stay elevated while breastfeeding
Current Intake (optional)
Tap + for each serving you've had today — the total below updates automatically.
Almonds
1 oz (~23 nuts) · 80 mg
Spinach, cooked
1/2 cup · 78 mg
Cashews
1 oz · 74 mg
Black beans, cooked
1/2 cup · 60 mg
Peanut butter
2 tbsp · 49 mg
Whole wheat bread
2 slices · 46 mg
Avocado
1 cup, cubed · 44 mg
Brown rice, cooked
1/2 cup · 42 mg
Yogurt, plain low-fat
1 cup · 42 mg
Banana
1 medium · 32 mg
Milk
1 cup · 24 mg
mg
Today's total so far 0 mg
—
of target
Daily Magnesium Target
—
—
RDA
—
this age/sex
Supplement UL
—
from supplements only
From Food
No Limit
food magnesium has no set UL
Status: —

—

Magnesium Content of Common Foods
Per typical serving — highest-magnesium options shown first
Pumpkin seeds, roasted
1 oz
156 mg
Chia seeds
1 oz
111 mg
Almonds
1 oz
80 mg
Spinach, cooked
1/2 cup
78 mg
Cashews
1 oz
74 mg
Black beans, cooked
1/2 cup
60 mg
Banana
1 medium
32 mg
Supports Absorption & Status
Adequate vitamin D status Spreading intake across meals Whole grains, legumes & leafy greens
Reduces Absorption or Status
High-dose zinc or calcium supplements Regular alcohol use Certain diuretics & GI conditions
Summary
Age / sex—
RDA—
Supplement upper limit—
Intake entered—
Note: This is a general nutrition reference, not a substitute for medical advice. The upper limit shown applies only to magnesium from supplements or medications — dietary magnesium from food has no established upper limit, since the body excretes excess through the kidneys. If someone is on magnesium supplements or has kidney disease, talk with a doctor before making changes.

Why Magnesium Matters at Every Age

Magnesium is a cofactor in more than 300 enzyme systems in the body, involved in energy production, nerve and muscle function, blood sugar regulation, and blood pressure control. About 50–60% of the body's magnesium is stored in bone, where it plays a direct structural role and helps regulate the calcium balance bones depend on for normal mineralization. In children and teens, adequate magnesium supports the same bone-building process that calcium and vitamin D contribute to. During pregnancy, magnesium needs rise to support fetal development, which is why requirements increase and stay elevated through breastfeeding.

Magnesium RDA by Age and Life Stage (Recommended Dietary Allowance)

Age / Life StageRDA (mg/day)Supplement Upper Limit (mg/day)
1–3 years8065
4–8 years130110
9–13 years240350
14–18 years, boys410350
14–18 years, girls360350
19–30 years, men400350
19–30 years, women310350
31+ years, men420350
31+ years, women320350
Pregnant, 14–18 years400350
Pregnant, 19–30 years350350
Pregnant, 31+ years360350
Breastfeeding, 14–18 years360350
Breastfeeding, 19–30 years310350
Breastfeeding, 31+ years320350

The upper limit is not what it looks like. Unlike zinc or vitamin D, magnesium's tolerable upper intake level of 350 mg/day applies only to supplements and medications — it doesn't apply to magnesium from food. There's no established upper limit for dietary magnesium, because a healthy body simply excretes what it doesn't need through the kidneys. The main risk from too much magnesium is diarrhea and GI upset from high-dose supplements, not from eating magnesium-rich foods.

What Affects Magnesium Absorption and Status

Whole foods are reliable sources. Nuts, seeds, legumes, whole grains, and leafy greens are all good dietary sources — refining grains removes much of their natural magnesium content, so whole-grain versions matter here.
Vitamin D and magnesium are connected. Magnesium is required to activate vitamin D in the body, and adequate vitamin D status supports normal magnesium handling — the two nutrients work together rather than independently.
High-dose mineral supplements can compete. Very high intakes of zinc or calcium from supplements can interfere with magnesium absorption; spacing these out over the day, rather than taking them all at once, helps.
Alcohol increases losses. Regular alcohol use increases how much magnesium the kidneys excrete, which is one reason heavy or frequent drinkers are considered a higher-risk group for marginal magnesium status.

Signs of Low Magnesium and Who's Most at Risk

Muscle cramps or twitches: Magnesium is directly involved in muscle relaxation, so persistent cramping or twitching can sometimes point toward low status, though it has many other causes too.
Fatigue or low energy: Because magnesium is a cofactor in energy production, marginal intake can contribute to a general sense of low energy in some people.
Pregnant and breastfeeding women: Rising magnesium needs during these periods make inadequate intake more consequential than usual for both parent and baby.
Diets low in whole foods: Highly processed diets low in whole grains, legumes, nuts, and vegetables are one of the most common drivers of marginal magnesium intake in otherwise healthy people.
Certain medical conditions: Type 2 diabetes, Crohn's disease, and other conditions affecting the gut or kidneys can impair magnesium absorption or increase losses.
Chronic alcohol use: As noted above, regular drinking increases urinary magnesium losses, making this another at-risk group in adulthood.

These signs overlap with many other common health issues — they point toward a conversation with a doctor, not a self-diagnosis.

Frequently Asked Questions

How do I know if I (or my child) need a magnesium supplement?

Most people get enough magnesium from a varied diet rich in whole grains, nuts, legumes, and leafy greens. Supplements are generally best started on a doctor's advice, particularly since symptoms of low magnesium overlap with many other conditions.

Can too much magnesium be harmful?

From food, essentially no — the kidneys excrete what the body doesn't need, which is why there's no established upper limit for dietary magnesium. From supplements, excess intake above 350 mg/day can cause diarrhea, nausea, and abdominal cramping, and very high doses can be dangerous for people with reduced kidney function.

Does magnesium help with sleep or muscle cramps?

Magnesium's role in muscle relaxation and nerve function is well established, and some people report improved sleep or fewer cramps with adequate intake. This is a reasonable part of overall nutrition, but it's not a substitute for addressing other causes of persistent sleep issues or cramping.

Do magnesium and calcium compete with each other?

At very high supplemental doses, yes — they can compete for absorption. At typical dietary intakes from food, this isn't usually a practical concern, and both minerals are important for normal bone health.

References

1
Magnesium — Health Professional Fact Sheet National Institutes of Health, Office of Dietary Supplements ods.od.nih.gov/factsheets/Magnesium-HealthProfessional
2
Dietary Reference Intakes for Calcium, Phosphorus, Magnesium, Vitamin D, and Fluoride Institute of Medicine (US) Standing Committee on the Scientific Evaluation of Dietary Reference Intakes. National Academies Press, 1997 ncbi.nlm.nih.gov/books/NBK109825
3
Magnesium in Man: Implications for Health and Disease de Baaij JH, Hoenderop JG, Bindels RJ. Physiological Reviews. 2015;95(1):1–46 pubmed.ncbi.nlm.nih.gov/25540137
4
Subclinical Magnesium Deficiency: A Principal Driver of Cardiovascular Disease and a Public Health Crisis DiNicolantonio JJ, O'Keefe JH, Wilson W. Open Heart. 2018;5(1):e000668 pubmed.ncbi.nlm.nih.gov/29387426
Height Growth Blog – Maximize Height for Kids, Teens & Young Adults
Logo
Enable registration in settings - general
Shopping cart