The formula for magnesium chloride is MgCl2.

How many magnesium atoms are there in one molecule?

There is only one magnesium atom in one molecule of magnesium chloride (MgCl2).