ToolFeather
Alkaline earth metalElement 12 · s-block

Magnesium (Mg)

Magnesium (Mg) is an alkaline earth metal with atomic number 12 and a standard atomic weight of 24.305. At room temperature it is a solid that melts at 650 °C and boils at 1,090 °C.

Magnesium key facts

12MgMagnesium24.305
Atomic number
12
protons
Atomic weight
24.305
CIAAW 2024
Melting point
650 °C
923.15 K
Boiling point
1,090 °C
1,363.15 K
Density
1.74 g/cm³
near room temperature
Electronegativity
1.31
Pauling scale
State at 25 °C
Solid
 
Discovered
1808
England

Magnesium at a glance

Identity

SymbolMg
Atomic number (Z)12
Atomic weight24.305 ± 0.002 (CIAAW 2024)
CategoryAlkaline earth metal
Group2 — alkaline earth metals
Period3
Blocks-block
CAS number7439-95-4

Atomic properties

Electron configuration[Ne] 3s2
Full: 1s2 2s2 2p6 3s2
Electrons per shell2, 8, 2
Oxidation states+2
Less common: 0, +1
Electronegativity (Pauling)1.31
First ionisation energy7.646 eV (737.7 kJ/mol)
2nd: 15.035 eV · 3rd: 80.144 eV
Atomic radius (empirical)150 pm
Covalent radius139 pm
Van der Waals radius173 pm

Physical properties

State at 25 °CSolid
Melting point650 °C · 1,202 °F · 923.15 K
Boiling point1,090 °C · 1,994 °F · 1,363.15 K
Density1.74 g/cm³
Specific heat capacity1.023 J/(g·K)
Thermal conductivity156 W/(m·K)
Crystal structureHexagonal

Isotopes & abundance

Natural occurrencePrimordial
RadioactiveNo
Natural isotopes (abundance)24Mg 78.965%, 26Mg 11.025%, 25Mg 10.011%
Stable isotopes5
Known isotopes23
Abundance in Earth's crust23,300 mg/kg
Abundance in seawater1,290 mg/L

Atomic weights: CIAAW Abridged Standard Atomic Weights 2024. Other properties: standard reference compilations, checked October 2026; predicted values are marked.

Magnesium electron configuration

Magnesium has 12 electrons. Written in short form, its ground-state configuration is [Ne] 3s2 — the electrons of the noble gas neon, plus 3s2.Written out in full: 1s2 2s2 2p6 3s2.

As a member of group 2 it has 2 valence electrons in its outer shell (shell 3), which largely decide its chemistry.

Mg
3s↑↓

Discovery and name

Discovered

1808 — Humphry Davy (recognised as an element by Joseph Black, 1755) · England.

Name

From Magnesia, a district in Thessaly, Greece.

Known for

A light structural metal used in alloys for cars, aircraft and laptops. Every chlorophyll molecule has a magnesium ion at its centre.

Isotopes of magnesium

Naturally occurring magnesium is a mix of 3 isotopes. Each has 12 protons; they differ in the number of neutrons:

IsotopeProtonsNeutronsNatural abundanceStability
24Mg121278.965%stable
26Mg121411.025%stable
25Mg121310.011%stable

23 isotopes of magnesium are known in our data set (half-lives as published in nuclear data tables).

Magnesium compared with group 2

The other elements in group 2 (alkaline earth metals), from top to bottom of the table:

ElementZAtomic weightMelting pointBoiling pointDensityElectronegativity
Beryllium49.01221,287 °C2,468 °C1.85 g/cm³1.57
Magnesium1224.305650 °C1,090 °C1.74 g/cm³1.31
Calcium2040.078842 °C1,484 °C1.54 g/cm³1
Strontium3887.62777 °C1,377 °C2.64 g/cm³0.95
Barium56137.33727 °C1,845 °C3.51 g/cm³0.89
Radium88[226]696 °C1,737 °C5 g/cm³0.9

Frequently asked questions

6 answers
What is the atomic mass of magnesium?
The standard atomic weight of magnesium is 24.305 ± 0.002 (CIAAW 2024), so one mole weighs about 24.305 grams.
How many protons, neutrons and electrons does magnesium have?
A neutral magnesium atom has 12 protons and 12 electrons. Its most common isotope, magnesium-24, has 12 neutrons.
What is the electron configuration of magnesium?
[Ne] 3s² (in full: 1s² 2s² 2p⁶ 3s²).
What are the melting and boiling points of magnesium?
Magnesium melts at 650 °C (1,202 °F) and boils at 1,090 °C (1,994 °F).
Is magnesium a metal?
Magnesium is a metal. It is in group 2, period 3, and is a solid at room temperature.
Who discovered magnesium?
1808 — Humphry Davy (recognised as an element by Joseph Black, 1755) (England).