OpenWorldLab

Loading interactive view…

Element 12

Magnesium

Magnesium (Mg), element 12: electron configuration [Ne] 3s², with its shells and orbitals computed and shown in 3D.

The atom

Magnesium (Mg) has atomic number 12: 12 protons, and in the neutral atom 12 electrons, arranged as [Ne] 3s². It is an alkaline earth metal in the s-block, group 2, period 3, with electrons in 3 shells.

Computed here with the Kohn–Sham method, each shell’s electrons are most likely to be found at a radius that shrinks as the nuclear charge grows: the first at 4.53 pm, second at 26.7 pm, third at 133 pm. The total radial density shows only 2 distinct maxima: the outer shells overlap so much that one shows as a shoulder, not a peak.

Its outermost electrons are in 3s, whose orbital peaks 133 pm from the nucleus and lies 4.77 eV below zero in this model. The measured first ionisation energy is 7.65 eV. An orbital energy is not an ionisation energy, and the local-density approximation lets each electron feel some of its own charge, so the computed value sits too high, by 2.9 eV.

The innermost electrons, in 1s, sit 4.53 pm out, 29 times closer to the nucleus than the outermost, and are bound by 1251 eV.

At a glance

380 nm750 nm
Magnesium in a lamp at 5,000 K: the colour is the sum of its lines below, from NIST.
Mg

Magnesium

Z = 12 · Alkaline earth metal · s-block, group 2, period 3

[Ne] 3s²

3s ↑↓

Orbital energies below zero, computed here (Kohn–Sham, log scale)

1 eV10 eV100 eV1 keV10 keV100 keV1s2s2p3s
Atomic weight
24.305
First ionisation energy
7.65 eV
Electronegativity
1.31
State at 25 °C
solid
Melting point
923 K
Boiling point
1363 K
Density
1.740 g/cm³
Discovered
1808

Properties: PubChem (from NIST); Lr from Sato et al. 2015; weights: CIAAW 2021; configuration: NIST ASD.

Sources and the model

  • Configuration: the ground level in NIST’s Atomic Spectra Database (version 5.12).
  • Atomic weight: CIAAW 2021, abridged.
  • Other properties: PubChem’s periodic table (Kim et al. 2021), which draws on NIST and the CRC Handbook.
  • The electron cloud is computed with the lab’s spherical Kohn–Sham approximation. The solver was checked against NIST’s reference calculations using the same approximation. The model averages over spin and leaves out spin–orbit splitting.

How the Atom and Orbitals models differ