Electron Configuration and Orbital Diagram Tool
Pick any element on the periodic table or type an ion charge to get its configuration, orbital box diagram, Bohr shells, valence and unpaired electrons.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Pick an element
Tap it on the periodic table or choose it from the menu.
- 2Set a charge
Type a positive or negative charge for an ion, or leave 0 for the atom.
- 3Read the notation
Switch between shell order and filling order and read the shorthand.
- 4Study the diagrams
Check the orbital boxes and the shell diagram for paired and unpaired electrons.
- 5Follow the steps
Read the worked steps, including any exception or ion rule used.
- 6Practise
Try generated questions on configurations, unpaired electrons and ions.
About this tool
Electron configurations explain the periodic table, chemical bonding and the colours of transition metal compounds, and chemistry students are asked to write them in several ways. This tool gives every form for any of the 118 elements, and for ions too. Tap an element on the periodic table and set a charge if you need an ion. You get the full configuration in shell order or filling order, the noble-gas shorthand, an orbital box diagram drawn with Hund's rule, a shell (Bohr) diagram, the number of valence and unpaired electrons, whether the species is paramagnetic, and the four quantum numbers of the last electron added. The known exceptions, such as chromium and copper, are flagged and explained, and the step-by-step working shows how the answer was built.
The rules
Electrons fill subshells in order of increasing energy, the Aufbau order 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p and so on. Each orbital holds at most two electrons with opposite spins (the Pauli exclusion principle). Within a subshell electrons occupy separate orbitals with parallel spins before they pair (Hund's rule), which is why nitrogen has three unpaired 2p electrons.
Exceptions
A half-filled or completely filled d subshell is especially stable, so chromium is [Ar] 3d5 4s1 rather than 3d4 4s2, and copper is [Ar] 3d10 4s1. Several heavier elements, including molybdenum, silver, gold and platinum, also differ from the simple order. The tool uses the experimentally established ground states for these elements.
Ions
Cations lose electrons from the outermost shell first. For transition metals this means the 4s electrons leave before the 3d electrons, even though 4s filled first: iron is [Ar] 3d6 4s2 but Fe2+ is [Ar] 3d6 and Fe3+ is [Ar] 3d5. Anions gain electrons in the normal filling order, so Cl− has the same configuration as argon.
Worked example
Iron, Z = 26: 1s2 2s2 2p6 3s2 3p6 3d6 4s2, or [Ar] 3d6 4s2. In the 3d boxes five electrons go in singly and the sixth pairs up, leaving four unpaired electrons, so iron atoms are paramagnetic. Fe3+ loses the two 4s electrons and one 3d electron, leaving [Ar] 3d5 with five unpaired electrons.
Limits
Configurations for the heaviest elements beyond about Z = 103 are predictions, not measurements. The quantum numbers follow the convention of filling mₗ from −l upwards; some books start at +l, which changes mₗ but nothing else. Ion configurations use the simple rule of removing the outermost electrons first; a few heavy ions behave differently.
Worked example
Fe: [Ar] 3d6 4s2, 4 unpaired electrons; Fe3+: [Ar] 3d5 with 5 unpaired electrons.
Quick facts
- Category: Math & Science
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: OpenStax Chemistry 2e, section 6.4 Electronic Structure of Atoms (Aufbau order, Hund's rule, exceptions such as Cr and Cu)
Frequently asked questions
Why does 4s fill before 3d but empty first?
In neutral atoms of potassium and calcium 4s is lower in energy, so it fills first. Once 3d is occupied, 3d falls below 4s, and ionisation removes the 4s electrons first.
Why are chromium and copper exceptions?
A half-filled 3d5 or full 3d10 subshell gives extra stability, so one 4s electron moves into 3d.
How do I get the configuration of an ion?
Choose the element and type the charge, for example 2 for Fe2+ or −1 for Cl−. Negative numbers add electrons.
What is the noble-gas shorthand?
The configuration of the previous noble gas is written in square brackets, followed by the remaining electrons, for example [Ne] 3s2 3p4 for sulfur.
What do the quantum numbers mean?
n is the shell, l the subshell (0 = s, 1 = p, 2 = d, 3 = f), mₗ the orbital within the subshell and mₛ the spin, +½ or −½.
Does it cover all elements?
Yes, all 118, although configurations of the superheavy elements are theoretical.
