Mg

Magnesium Symbol (Mg)

Magnesium is element 12 of the periodic table. Copy its symbol Mg and see its atomic weight, electron configuration and common compounds.

What does Mg mean?

Mg is the chemical symbol for magnesium, element number 12 in the periodic table. Magnesium is an alkaline earth metal in group 2, period 3. It is a light metal used in alloys; it is at the centre of the chlorophyll molecule.

Codes and properties

Chemical symbolMg
Atomic number (Z)12
Standard atomic weight24.305
Group / period2 / 3
Element categoryalkaline earth metal
Electron configuration1s² 2s² 2p⁶ 3s²
State at 20 °CSolid
Oxidation states+2
Electronegativity (Pauling)1.31
Melting point923 K (649.85 °C)
Boiling point1363 K (1089.85 °C)
Density1.74 g/cm³
Discovered1808
Common compoundsMgO, MgSO₄, Mg(OH)₂

How to type Mg

  • Plain text: type Mg — element symbols are ordinary Latin letters, with the first letter capitalised and the second lowercase.
  • Subscripts in formulas: use Unicode subscript digits (₀₁₂₃₄₅₆₇₈₉) for formulas such as MgO — copy them from the chemistry keyboard.
  • LaTeX: write \mathrm{Mg} in math mode, or use the mhchem package: \ce{Mg}.
  • HTML: Mg; for subscripts use <sub>, e.g. H<sub>2</sub>O.

Frequently asked questions

What is the chemical symbol for magnesium?

The chemical symbol for magnesium is Mg.

What is the atomic number of magnesium?

Magnesium has atomic number 12, meaning each atom has 12 protons.

What is the electron configuration of magnesium?

The ground-state electron configuration of magnesium is 1s² 2s² 2p⁶ 3s².

Related symbols

Reference: Magnesium on PubChem (NIH)