Milk of magnesia has the chemical formula Mg(OH)2. What is the mass of 3.2 moles of milk of magnesia? The molar mass of magnesium is 24.3 grams per mole. The molar mas of hydrogen is 1.0 grams per mole. The molar mass of oxegyn is 16.0 grams per mole.