Magnesium metal is a chemical element with the symbol Mg, atomic number 12 and common oxidation state +2. It is an alkaline earth metal and the eighth most abundant element in the Earth's crust, where it constitutes about 2% by mass, and ninth in the known universe as a whole.