LeukosScience, data and education PTENES Contact us
Home / Education / Chemistry
Education · Chemistry · High school

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.

26 Fe Iron 26 electrons
Common exam examples

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…

Orbitals (Hund's rule and Pauli exclusion principle)
Filling order (energy)

Shell order

Noble gas notation

Electrons per shell
Highest-energy subshell

Valence shell

Quantum numbers of the last electron

Understand

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.

Did you know?

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.

For teachers

How to use it in 15 minutes of class.

  1. 3 min

    Show

    In projector mode, choose iron and press "Fill step by step". Ask the class to follow the arrows.

  2. 4 min

    Ask for a prediction

    Before showing, students write the configuration of calcium and bromine. Then check on screen.

  3. 6 min

    Practice in pairs

    On their phones, pairs answer five practice questions. The feedback explains each mistake.

  4. 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.

Leukos · Data analysis

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