Magnesium Requirement Calculator
See exactly how much magnesium you need each day.
Result
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.
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
- Magnesium - Health Professional Fact Sheet — NIH Office of Dietary Supplements
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.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
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.