Electron configuration: the filling-order diagram.
Pick an element and watch electrons fill subshells and orbitals, one step at a time. Then test yourself in practice mode, with explained feedback. Works for all 118 elements and for ions.
Follow the arrows from top to bottom: this is the order of increasing subshell energy. K, L, M… are the shells n = 1, 2, 3…
Z = 26
Write the electron configuration in filling order.
Write it like this: 1s2 2s2 2p6 … (noble gas notation such as [Ne] 3s1 also works).
The three rules behind the simulation.
1. Aufbau principle and the n + ℓ rule
Electrons fill the lowest-energy subshells first. The energy depends on the shell (n) and the subshell type (ℓ: s = 0, p = 1, d = 2, f = 3). The lower the sum n + ℓ, the lower the energy; on a tie, the subshell with lower n comes first. That is why 4s (4 + 0 = 4) fills before 3d (3 + 2 = 5). Capacities: s = 2, p = 6, d = 10, f = 14.
2. Pauli exclusion principle
Each orbital holds at most two electrons, with opposite spins (↑↓). An s subshell has 1 orbital; p has 3; d has 5; f has 7.
3. Hund's rule
Within a subshell, electrons first occupy every orbital singly, and only then start pairing. That is why oxygen's 2p⁴ is ↑↓ ↑ ↑, with two unpaired electrons.
Ions
In a cation, electrons are removed from the outermost shell, not from the last subshell filled: Fe²⁺ loses its two 4s electrons and keeps 3d⁶. In an anion, extra electrons follow the normal filling order.
Quantum numbers
The last electron is the one added last in the filling order. This simulation numbers orbitals from −ℓ to +ℓ, left to right, and gives the ↑ arrow a spin of +½, the convention used in most English-language textbooks. Some books use −½: you can switch the convention in the results panel.
Who discovered the filling order?
The building-up (Aufbau) principle was proposed by Niels Bohr in the 1920s. The n + ℓ rule is usually credited to Erwin Madelung (1936) and Vsevolod Klechkowski, and was anticipated by Charles Janet. In Brazil, the diagonal-arrow diagram is popularly called the "Linus Pauling diagram", although Pauling did not propose the rule.
The rule has limits: chromium, copper, silver, gold and other transition metals have measured configurations that differ from the prediction, because filled or half-filled d subshells are more stable. The simulation flags every such case.
How to use it in 15 minutes of class.
- 3 min
Show
In projector mode, choose iron and press "Fill step by step". Ask the class to follow the arrows.
- 4 min
Ask for a prediction
Before showing, students write the configuration of calcium and bromine. Then check on screen.
- 6 min
Practice in pairs
On their phones, pairs answer five practice questions. The feedback explains each mistake.
- 2 min
Close with the ion
Show Fe²⁺: why do the electrons leave 4s and not 3d?
By the end, students can
- write electron configurations in filling order and in shell order;
- use noble gas notation;
- apply the Pauli principle and Hund's rule to orbitals;
- write configurations of cations and anions;
- find the quantum numbers of the last electron.
References: ATKINS, P.; JONES, L. Chemical Principles. W. H. Freeman. · SCERRI, E. The Periodic Table: Its Story and Its Significance. Oxford University Press. · Measured configurations: NIST Atomic Spectra Database. Simulation developed by Leukos under the responsibility of Dr. Washington de Almeida Pereira, chemist and PhD in physical chemistry.
Your company's data can teach you a lot, too.
The same scientific rigor behind this simulation, applied to sales, losses, costs and crop yields. Start with a 7-day Pareto 80/20 diagnosis.
See data analysis consulting