Electron Configuration
Fill orbitals electron by electron with the Aufbau principle, Hund's rule and the Pauli exclusion principle
Iron
Transition metal, period 4, group 8, d-block
Full configuration
1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶
Orbital box diagram
Ground state of Fe
- Noble-gas shorthand
- [Ar] 4s² 3d⁶
- Valence electrons
- 8(4s + 3d electrons)
- Unpaired electrons
- 4
- Magnetism
- Paramagnetic
- Electrons per shell
- 2, 8, 14, 2
- Highest occupied subshell
- 3d
Unpaired electrons by subshell
- 1s: 0
- 2s: 0
- 2p: 0
- 3s: 0
- 3p: 0
- 4s: 0
- 3d: 4
Energy-level ladder (lowest at the bottom)
How electrons fill an atom
An electron configuration lists how an atom's electrons are spread over its subshells. Oxygen, with eight electrons, is 1s² 2s² 2p⁴: two in 1s, two in 2s and four in 2p. The superscripts always add up to the number of electrons, which for a neutral atom equals the atomic number Z.
Three rules build the ground state. The Aufbau principle fills the lowest-energy subshell first, in the order 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. The Pauli exclusion principle limits each orbital to two electrons of opposite spin. Hund's rule says electrons in a subshell first occupy separate orbitals with parallel spins, which is why nitrogen has three unpaired 2p electrons rather than one pair and one single.
Notice that 4s fills before 3d. In a many-electron atom, s electrons penetrate close to the nucleus and feel more of its charge, so 4s ends up lower in energy than 3d while it is being filled. The ladder on the right of the visualizer shows this zig-zag order. Writing out the inner shells gets long, so chemists use noble-gas shorthand: iron is [Ar] 4s² 3d⁶, where [Ar] stands for argon's 18 core electrons.
Aufbau principle
Pauli exclusion principle
Hund's rule
Shells and subshells
Key formulas
Capacity of subshells and shells
orbitals per subshell = 2l + 1, electrons per subshell = 2(2l + 1), electrons per shell = 2n²
- l
- angular momentum quantum number (s = 0, p = 1, d = 2, f = 3)
- n
- principal quantum number (shell)
Madelung (n + l) rule
fill in order of increasing n + l; if n + l is equal, the smaller n fills first
Unpaired electrons in a subshell
unpaired = k if k ≤ m, otherwise 2m − k
- k
- electrons in the subshell
- m
- number of orbitals, 2l + 1
Exceptions to the Aufbau order
Measured ground states that differ from the Madelung prediction. The visualizer flags each one.
| Element (Z) | Madelung prediction | Actual ground state | Main reason |
|---|---|---|---|
| Chromium (24) | [Ar] 4s² 3d⁴ | [Ar] 4s¹ 3d⁵ | Half-filled 3d |
| Copper (29) | [Ar] 4s² 3d⁹ | [Ar] 4s¹ 3d¹⁰ | Filled 3d |
| Niobium (41) | [Kr] 5s² 4d³ | [Kr] 5s¹ 4d⁴ | Close 5s/4d energies |
| Molybdenum (42) | [Kr] 5s² 4d⁴ | [Kr] 5s¹ 4d⁵ | Half-filled 4d |
| Ruthenium (44) | [Kr] 5s² 4d⁶ | [Kr] 5s¹ 4d⁷ | Close 5s/4d energies |
| Rhodium (45) | [Kr] 5s² 4d⁷ | [Kr] 5s¹ 4d⁸ | Close 5s/4d energies |
| Palladium (46) | [Kr] 5s² 4d⁸ | [Kr] 4d¹⁰ | Filled 4d, empty 5s |
| Silver (47) | [Kr] 5s² 4d⁹ | [Kr] 5s¹ 4d¹⁰ | Filled 4d |
| Platinum (78) | [Xe] 6s² 4f¹⁴ 5d⁸ | [Xe] 6s¹ 4f¹⁴ 5d⁹ | Close 6s/5d energies |
| Gold (79) | [Xe] 6s² 4f¹⁴ 5d⁹ | [Xe] 6s¹ 4f¹⁴ 5d¹⁰ | Filled 5d |
| La, Ce, Gd, Ac, Th, Pa, U, Np, Cm | all electrons in f | one or two electrons in d | f and d nearly degenerate |
| Lawrencium (103) | [Rn] 7s² 5f¹⁴ 6d¹ | [Rn] 7s² 5f¹⁴ 7p¹ | Relativistic 7p stabilisation |
How to use this visualizer
- 1Choose an element with the dropdown, the Z slider or the Prev and Next buttons. Elements marked "exception" break the Aufbau order.
- 2In Ground state view, read the full configuration, the orbital box diagram and the noble-gas shorthand, valence and unpaired-electron counts.
- 3Switch to Build up electron by electron and press Next electron (or Play). The newest electron is drawn in amber, and the message explains which rule placed it.
- 4Watch the energy-level ladder: the dashed path shows the filling order, and each rung fills from left to right with spin-up arrows before any spin-down arrows.
- 5Pick Cr, Cu, Pd or Au and build to the end. One extra step shows electrons moving from the Madelung prediction into the real ground state.
Common misconception: 4s is always below 3d
4s fills before 3d, but that does not mean 4s electrons are the innermost. Once 3d holds electrons it drops below 4s, which is why transition metals lose their 4s electrons first when they form ions: Fe is [Ar] 4s² 3d⁶, but Fe²⁺ is [Ar] 3d⁶, not [Ar] 4s² 3d⁴.Practice problems
Problem 1: Iron and its ions
Show solutionHide solution
Fe has 26 electrons. After [Ar] (18 electrons), 8 remain: 4s takes 2, then 3d takes 6. Fe = [Ar] 4s² 3d⁶.
3d⁶ in five orbitals: five electrons go in singly (Hund), the sixth pairs. Unpaired = 2 × 5 − 6 = 4.
Fe³⁺ loses three electrons, the two 4s electrons first and then one 3d electron: Fe³⁺ = [Ar] 3d⁵.
3d⁵ puts one electron in each orbital: unpaired = 5.
Fe: [Ar] 4s² 3d⁶ with 4 unpaired; Fe³⁺: [Ar] 3d⁵ with 5 unpaired
Problem 2: Identify the element
Show solutionHide solution
Electrons: 36 (Kr) + 2 + 10 + 3 = 51, so Z = 51, antimony (Sb).
Valence electrons are those in the outer shell n = 5: 5s² 5p³ gives 2 + 3 = 5 (the filled 4d¹⁰ is not counted for a p-block element).
5p³ puts one electron in each of the three 5p orbitals, so 3 unpaired.
Chromium: Madelung predicts [Ar] 4s² 3d⁴ with 4 unpaired (all in 3d). Actual [Ar] 4s¹ 3d⁵ has 1 + 5 = 6 unpaired.
Sb, 5 valence electrons, 3 unpaired; Cr: 4 unpaired predicted, 6 actual
Related visualizations
Discussion
Questions, ideas or a different approach? Join the conversation.