Free tool · Magnesium Calculator

How much magnesium do you really get?

Tap what you eat on a typical day. In 30 seconds you'll see your number next to the official daily target.

USDA nutrition dataTakes 30 secondsNothing is saved or sent
Pumpkin seeds 1 oz (28 g), roasted
156mg / serving 0
Quinoa 1 cup cooked (185 g)
118mg / serving 0
Chia seeds 1 oz (28 g)
95mg / serving 0
Almonds 1 oz (about 22 nuts), dry roasted
79mg / serving 0
Spinach ½ cup cooked (90 g)
78mg / serving 0
Cashews 1 oz (28 g), dry roasted
74mg / serving 0
Dark chocolate 1 oz (28 g), 70–85% cacao
65mg / serving 0
Soymilk 1 cup (243 g), unfortified
61mg / serving 0
Black beans ½ cup cooked (86 g)
60mg / serving 0
Oatmeal ½ cup dry oats (40 g)
56mg / serving 0
Peanut butter 2 tbsp (32 g), smooth
54mg / serving 0
Edamame ½ cup prepared (78 g)
50mg / serving 0
Baked potato 1 medium (173 g), with skin
48mg / serving 0
Brown rice ½ cup cooked (101 g)
39mg / serving 0
Banana 1 medium (118 g)
32mg / serving 0
Avocado ½ avocado (100 g)
29mg / serving 0
Plain yogurt 1 cup (245 g), whole milk
29mg / serving 0
Salmon 3 oz cooked (85 g), Atlantic
26mg / serving 0
Chicken breast 3 oz roasted (85 g)
25mg / serving 0
Milk 1 cup (244 g), whole
24mg / serving 0
Whole-wheat bread 1 slice (32 g)
24mg / serving 0
Broccoli ½ cup cooked (78 g)
16mg / serving 0
White rice ½ cup cooked (79 g)
9mg / serving 0
Apple 1 medium (182 g), with skin
9mg / serving 0

Values per serving from USDA FoodData Central (SR Legacy), rounded. Daily targets are the Recommended Dietary Allowances from the NIH Office of Dietary Supplements. Your body absorbs only part of the magnesium in food (about 30–40%), and water and fortified foods can add more. General education, not medical advice.