Skip to content
DataTeo Elements

Electron configuration explained

By DataTeo · Updated

An electron configuration lists how an atom’s electrons are distributed among its shells and subshells. It explains why elements in the same group behave alike, and it is printed on every element page.

Reading the notation

Each part, such as 3p4, has three pieces: the shell number (3), the subshell letter (p) and the number of electrons in it (4). The subshells hold at most 2 (s), 6 (p), 10 (d) and 14 (f) electrons. Sodium’s configuration is [Ne]3s1: the core of neon plus one electron in 3s.

Noble-gas shorthand

Writing every subshell gets long, so the inner electrons are abbreviated with the previous noble gas in square brackets. Iron is [Ar]4s2 3d6, meaning the 18 electrons of argon plus 4s² and 3d⁶.

The filling order

Electrons generally fill subshells in order of increasing n + l (shell number plus subshell number, where s, p, d, f = 0, 1, 2, 3), and for equal values the lower shell first. This is the Madelung, or aufbau, rule. It gives this order:

1s → 2s → 2p → 3s → 3p → 4s → 3d → 4p → 5s → 4d → 5p → 6s → 4f → 5d → 6p → 7s → 5f → 6d → 7p

That is why 4s fills before 3d, and why the d-block appears one period later than you might expect.

Elements that break the rule

Comparing each measured configuration in the dataset with the Madelung prediction picks out 19 exceptions:

The best-known cases are chromium and copper. A half-filled or completely filled d subshell is lower in energy, so one 4s electron moves into 3d. Heavier exceptions come from the closeness in energy of the 4d/5s, 5d/6s and 4f/5d/6s subshells.

Predicted configurations

For the heaviest elements, from meitnerium (109) onward, only a few atoms have ever been made, and only briefly. Their configurations are calculated, not measured, and are marked “predicted” on their pages.

More guides

Source: PubChem (NCBI, U.S. National Library of Medicine) (U.S. government work). Data retrieved 2026-12-05.About this data · Methodology · Report a correction