Magnesium Electron Configuration
Interactive reference for magnesium's electron configuration (1s² 2s² 2p⁶ 3s²), orbital diagram, shell fill, and key atomic properties.
Z = 12
Mg
Magnesium
Magnesium — Electron Configuration
Atomic number 12 · Alkaline earth metal · Period 3, Group 2 · s-block
1s² 2s² 2p⁶ 3s²
[Ne] 3s²
12 electrons
2 valence e⁻
Subshell Breakdown
| Subshell | Type | Electrons | Max Capacity | Notation |
|---|---|---|---|---|
| 1s | s orbital, shell n=1 | 2 | 2 | 1s² |
| 2s | s orbital, shell n=2 | 2 | 2 | 2s² |
| 2p | p orbitals (×3), shell n=2 | 6 | 6 | 2p⁶ |
| 3s | s orbital, shell n=3 (valence) | 2 | 2 | 3s² |
| Total | 12 | |||
Full Configuration
1s² 2s² 2p⁶ 3s²
All subshells written explicitly in Aufbau order.
Noble-Gas Shorthand
[Ne] 3s²
[Ne] = 1s² 2s² 2p⁶ (the filled neon core, 10 electrons).
Shell Fill Summary
Shell 1 (n=1) — 1s²
2 / 2 electrons (100%)
Shell 2 (n=2) — 2s² 2p⁶
8 / 8 electrons (100%)
Shell 3 (n=3) — 3s² only (valence)
2 / 18 electrons (11%)
Shell 3 can hold up to 18 electrons (3s + 3p + 3d). Magnesium uses only the 3s subshell, leaving 3p and 3d empty.
Summary
Interactive reference for magnesium's electron configuration (1s² 2s² 2p⁶ 3s²), orbital diagram, shell fill, and key atomic properties.
How it works
- The Aufbau principle fills subshells from lowest to highest energy: 1s, 2s, 2p, then 3s.
- Magnesium's 12 electrons fill three complete subshells (1s², 2s², 2p⁶) and one valence subshell (3s²).
- The orbital box diagram represents each orbital as a box; paired arrows show electrons with opposite spins (Pauli exclusion principle).
- Noble-gas notation replaces the inner filled core with the nearest noble gas in brackets: [Ne] 3s².
- The three interactive tabs let you explore the configuration, orbital diagram, and element data separately.
Use cases
- Quick reference for chemistry homework or exam review on electron configuration.
- Visualize how the Aufbau principle fills the 1s, 2s, 2p, and 3s subshells.
- Understand why magnesium forms a +2 ion by losing both 3s valence electrons.
- Compare magnesium to other alkaline earth metals such as beryllium and calcium.
- Learn noble-gas shorthand notation using [Ne] 3s² as a clear example.
- Teaching aid for introductory atomic structure and periodic table lessons.
- Reference quantum numbers for each of magnesium's 12 electrons.
Frequently Asked Questions
Last updated: 2026-06-18 ·
Reviewed by Nham Vu