Electron Configuration Builder

Pick any element from hydrogen to krypton and watch its ground-state electron configuration and Bohr shell diagram build up in Aufbau order, including the chromium and copper exceptions.

Written and reviewed by the PrepOK team Last reviewed How we check these lessons

24C6
CCarbon

Atomic number Z = 6

Electron configuration

Electrons per shell

Element 6, Carbon, symbol C. Ground-state configuration: 1s 2, 2s 2, 2p 2. Electrons per shell: shell 1 2, shell 2 4.

What an electron configuration tells you

An electron configuration is the address book for an atom’s electrons: it lists which subshells (1s, 2s, 2p, 3s, …) hold electrons and how many each holds, written as a superscript. Read it left to right and the superscripts add up to the atomic number Z: the number of protons, and in a neutral atom, the number of electrons. Carbon (Z = 6), for example, is 1s² 2s² 2p²: two electrons in each of 1s and 2s, and two of the six possible 2p electrons.

Drag the slider (or use the −/+ buttons, or arrow keys when the slider is focused) to step through every element from hydrogen to krypton and watch the configuration rebuild itself.

The Aufbau order

Electrons fill the lowest-energy subshell available first: the Aufbau (“building-up”) principle. The catch is that energies overlap: the 4s subshell sits slightly below 3d, so it fills first. That gives the famous order 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p. Each subshell type has a fixed capacity: s holds 2, p holds 6, d holds 10. When written in standard notation, subshells are grouped by shell number, so iron appears as 1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s².

Shells and the two exceptions

The Bohr diagram sums each principal shell n, whose capacities are 2, 8, 18, and 32. Iron’s electrons land as 2, 8, 14, 2 across its four shells.

Two elements in this range break the simple pattern, because a half-filled or completely filled 3d subshell is unusually stable. One 4s electron drops into 3d:

Land on either element to see the exception flagged. Turn on noble-gas shorthand to compress the inner core, e.g. iron as [Ar] 3d⁶ 4s².

Using this with a class

Project it and play “name that element” from a configuration, or have students predict Cr and Cu before revealing the exceptions. The widget is free to embed on a class site or LMS page.

Frequently asked questions

What is an electron configuration?
An electron configuration describes how an atom's electrons are distributed across its energy levels and subshells: for example, 1s² 2s² 2p⁴ for oxygen.
How do you write an electron configuration?
Fill subshells in order of increasing energy (1s, 2s, 2p, 3s, 3p, 4s, 3d, and so on), placing up to 2 electrons in each s subshell, 6 in p, 10 in d, and 14 in f, until all of the atom's electrons are placed.
What is noble-gas (shorthand) notation?
Shorthand notation replaces the inner electrons with the previous noble gas in brackets. For example, sodium is [Ne] 3s¹ instead of 1s² 2s² 2p⁶ 3s¹.
Why do chromium and copper break the pattern?
Chromium ([Ar] 3d⁵ 4s¹) and copper ([Ar] 3d¹⁰ 4s¹) each move one electron from 4s into 3d because a half-filled or completely filled d-subshell is especially stable.

Sources

The figures in this interactive are computed from unit-tested code and the sources above, not typed in by hand. See how we build and check these lessons, and tell us at support@prepok.com if you spot an error.

Embed this on your site

Free to use. Paste this anywhere; a link back to PrepOK is included.

Related