This calculator is for general information and education. It is not medical advice and does not replace the advice of your doctor or a registered dietitian.
Magnesium helps muscles, nerves, bones and the heart work, and most people take in less than the recommended amount. This magnesium intake calculator uses your age and sex, servings of nuts, whole grains, beans and greens and any supplement to show your total intake, the share of the daily need, the gap and the supplement dose compared with the upper limit.
How the calculation works
- Daily need = the recommended intake for your age and sex.
- From food = servings × magnesium per serving: about 80 mg for nuts or seeds, 50 mg for whole grains or beans, 30 mg for greens and vegetables.
- Total intake = food + supplement.
- Share of need = total intake ÷ daily need.
- Upper limit = 350 mg a day for adults, which applies to supplements only and not to food.
Example
A person in the group Woman 31 and over needs 320 mg a day. Their food gives 250 mg and supplements 0 mg, so the total is 250 mg, which is 78 % of the need. 70 mg is missing, about 0.9 more servings of nuts or seeds. The supplement dose is 0 % of the upper limit of 350 mg.
Why it matters
Refined foods have little magnesium, so diets built on white bread, rice and snacks fall short. Surveys show that many adults, especially teens and older people, do not reach their needs, and that low intake is linked with higher blood pressure and a higher risk of type 2 diabetes. A look at the number of servings of nuts, whole grains and greens usually points to the easiest change. A reference intake is an average target for a group of healthy people, not a personal prescription, so use the result to spot big gaps and to plan food choices, and keep a doctor or dietitian in the loop for medical conditions.
Good to know
The upper limit of 350 mg only applies to supplements and medicines, because magnesium from food does not cause problems in healthy people. Too much from supplements causes diarrhea, and people with kidney disease can build up dangerous levels. Forms of magnesium such as citrate or oxide absorb differently, and the dose on the label is the elemental magnesium you should compare. Alcohol, some diuretics and acid-lowering drugs can deplete magnesium, so ask your doctor if you take them. Reference values are set by health authorities, they change over time and they differ between countries, so the group you choose and the source matter. Food composition varies by brand and preparation, the servings listed are rough averages, and absorption differs between people. Food first is the usual advice, and supplements are for gaps that diet cannot close, in doses your doctor agrees with.
Related tools
The sodium correction calculator and the salt calculator cover other electrolytes, and the water intake calculator estimates daily fluids.