Electronic configuration

Every atom's chemistry is written in the address list of its electrons — which orbital each one sits in. That address list is not assigned randomly; it obeys three rules so reliable that you can predict the electron arrangement of any atom on the periodic table just by knowing its atomic number. The Aufbau principle says fill the lowest-energy orbital first; Pauli's exclusion principle caps every orbital at two electrons of opposite spin; Hund's rule says spread electrons across equal-energy orbitals before pairing them. Together these three rules explain why carbon is 1s2 2s2 2p21s^2\,2s^2\,2p^2, why the outermost 4s4s orbital fills before the inner 3d3d orbital yet empties first when a transition-metal ion forms, and why chromium and copper break the "expected" pattern to buy extra stability. This section builds the filling rules into a working toolkit, derives how many electrons a shell can hold, and works a full transition-metal example end to end.

The core insight

Electrons fill atomic orbitals in order of increasing energy (Aufbau, guided by the (n+l)(n+l) rule), never more than two per orbital with opposite spins (Pauli), and singly across degenerate orbitals before pairing (Hund), with extra stability rewarding half-filled and fully-filled subshells.

The core idea

Aufbau principle and the (n+l)(n+l) rule. In the ground state, orbitals fill in order of increasing energy. That order is fixed by the (n+l)(n+l) rule: the orbital with the smaller value of n+ln+l fills first; if two orbitals tie on n+ln+l, the one with the smaller nn fills first. This is why 4s4s (n+l=4+0=4n+l = 4+0=4) fills before 3d3d (n+l=3+2=5n+l=3+2=5), even though 3d3d has the smaller principal quantum number.

Pauli's exclusion principle. No two electrons in the same atom share all four quantum numbers, so each orbital holds at most two electrons, and those two must have opposite spins (ms=+12m_s = +\tfrac12 and −12-\tfrac12).

Hund's rule of maximum multiplicity. Within a set of degenerate orbitals (the three pp, five dd, or seven ff orbitals of a subshell), electrons occupy separate orbitals with parallel spins first; pairing starts only once every orbital in that subshell already holds one electron. This keeps like-spin electrons apart, lowering their mutual repulsion.

Counting capacity. Each subshell of azimuthal quantum number ll has (2l+1)(2l+1) orbitals, so its maximum electron count is 2(2l+1)2(2l+1): an ss subshell (l=0l=0) holds 2, a pp subshell (l=1l=1) holds 6, a dd subshell (l=2l=2) holds 10, an ff subshell (l=3l=3) holds 14. Summing all subshells of a given principal shell nn gives the maximum electrons that shell can carry:

Nmax⁡(n)=2n2N_{\max}(n) = 2n^2

where: Nmax⁡(n)N_{\max}(n) is the maximum number of electrons the nn-th shell can hold, and nn is the principal quantum number (n=1,2,3,…n=1,2,3,\ldots). This is derived below.

Removing electrons to form cations. For a positive ion, electrons are removed first from the subshell with the highest principal quantum number nn present in the atom — not necessarily the subshell filled last by the (n+l)(n+l) rule. That is why 4s4s electrons leave before 3d3d electrons for every first-row transition metal cation, even though 4s4s filled first.

Figure
Orbital box diagrams for chromium and copper showing the 4s and 3d subshells and the electron shifted into 3d to reach a half-filled or fully-filled state
Why chromium and copper break the expected pattern Chromium Z=24: 3d5 4s1 not 3d4 4s2 4s1 3d5 (half-filled) ↑ ↑ ↑ ↑ ↑ ↑ Copper Z=29: 3d10 4s1 not 3d9 4s2 4s1 3d10 (fully-filled) ↑ ↑↓ ↑↓ ↑↓ ↑↓ ↑↓ One 4s electron shifts into 3d to reach a more stable half-filled or fully-filled subshell Half-filled d5 and fully-filled d10 gain extra exchange energy from parallel-spin electrons and a more symmetric charge cloud, which outweighs the small energy gap between 4s and 3d.
Derivation AHow many electrons fit in shell n

Show that the maximum number of electrons a principal shell nn can hold, once every subshell it contains is completely filled according to Pauli's exclusion principle, equals 2n22n^2, by counting orbitals subshell by subshell and adding them up.

Step 1. For principal quantum number nn, the azimuthal quantum number ll can take any integer value from 00 up to n−1n-1, giving nn subshells in that shell (for example n=3n=3 gives l=0,1,2l=0,1,2, i.e. 3s3s, 3p3p, 3d3d).

Step 2. Each subshell with azimuthal quantum number ll contains (2l+1)(2l+1) degenerate orbitals, because the magnetic quantum number mlm_l ranges over the 2l+12l+1 integers from −l-l to +l+l.

Step 3. By Pauli's exclusion principle, each orbital holds at most two electrons with opposite spin, so a subshell with ll holds at most 2(2l+1)2(2l+1) electrons.

Step 4. The total capacity of shell nn is the sum over every subshell it contains:

Nmax⁡(n)=∑l=0n−12(2l+1)=2∑l=0n−1(2l+1)N_{\max}(n) = \sum_{l=0}^{n-1} 2(2l+1) = 2\sum_{l=0}^{n-1}(2l+1)

Step 5. The sum of the first nn odd numbers, ∑l=0n−1(2l+1)=1+3+5+⋯+(2n−1)\sum_{l=0}^{n-1}(2l+1) = 1+3+5+\cdots+(2n-1), is a standard result equal to n2n^2. Substituting gives

Nmax⁡(n)=2n2N_{\max}(n) = 2n^2

Step 6. Check against known shells: for n=1n=1, Nmax⁡=2(1)2=2N_{\max}=2(1)^2=2 (just 1s21s^2); for n=2n=2, Nmax⁡=2(2)2=8N_{\max}=2(2)^2=8 (2s2 2p62s^2\,2p^6); for n=3n=3, Nmax⁡=2(3)2=18N_{\max}=2(3)^2=18 (3s2 3p6 3d103s^2\,3p^6\,3d^{10}). Each matches the known maximum occupancy of that shell, confirming the formula.

Worked example

Question. Write the ground-state electronic configuration of iron (Z=26Z=26). Then write the configuration of Fe2+\text{Fe}^{2+} and Fe3+\text{Fe}^{3+}, and state which ion has more unpaired electrons in its 3d3d subshell.

Step 1. Fill 26 electrons in (n+l)(n+l) order: 1s,2s,2p,3s,3p,4s,3d1s, 2s, 2p, 3s, 3p, 4s, 3d. Assigning maximum capacities (s:2s{:}2, p:6p{:}6, d:10d{:}10) until 26 electrons are used gives

1s2 2s2 2p6 3s2 3p6 4s2 3d61s^2\,2s^2\,2p^6\,3s^2\,3p^6\,4s^2\,3d^6

Check: 2+2+6+2+6+2+6=262+2+6+2+6+2+6=26 ✓. In noble-gas shorthand, iron is [Ar] 3d6 4s2[\text{Ar}]\,3d^6\,4s^2. Unlike chromium or copper, iron's 3d64s23d^64s^2 is the actual ground state — d6d^6 is neither half-filled nor fully-filled, so there is no extra-stability shift here.

Step 2. For Fe2+\text{Fe}^{2+}, remove 2 electrons. Electrons leave the highest-nn subshell first, so both come from 4s4s (not 3d3d):

Fe2+:[Ar] 3d6\text{Fe}^{2+}: [\text{Ar}]\,3d^6

Step 3. For Fe3+\text{Fe}^{3+}, remove 3 electrons. The two 4s4s electrons go first, accounting for 2; the third electron must then come from 3d63d^6:

Fe3+:[Ar] 3d5\text{Fe}^{3+}: [\text{Ar}]\,3d^5

Step 4. Apply Hund's rule to compare unpaired electrons. Distributing 3d63d^6 across five degenerate dd orbitals gives four singly-occupied orbitals and one doubly-occupied orbital, so Fe2+\text{Fe}^{2+} (3d63d^6) has 4 unpaired electrons. Distributing 3d53d^5 gives all five orbitals singly occupied with parallel spins, so Fe3+\text{Fe}^{3+} (3d53d^5) has 5 unpaired electrons — more than Fe2+\text{Fe}^{2+}, because d5d^5 is a half-filled subshell.

Final answer: Fe is [Ar] 3d6 4s2[\text{Ar}]\,3d^6\,4s^2; Fe2+^{2+} is [Ar] 3d6[\text{Ar}]\,3d^6 (4 unpaired electrons); Fe3+^{3+} is [Ar] 3d5[\text{Ar}]\,3d^5 (5 unpaired electrons, the more stable half-filled configuration).

Competitive stretch

Entrance exams often ask for the number of unpaired electrons directly, without asking for the full configuration first — always write the configuration, then draw the orbital boxes for just the outermost subshell before counting arrows, rather than guessing from the superscript alone.

Common traps

  • Filling 3d3d before 4s4s because 3<43<4 — the (n+l)(n+l) rule governs filling order, and 4s4s (n+l=4n+l=4) fills before 3d3d (n+l=5n+l=5).
  • Removing electrons from 3d3d before 4s4s when forming a transition-metal cation — cations always lose electrons from the highest-nn subshell first, here 4s4s, regardless of fill order.
  • Pairing electrons in one orbital of a subshell while another degenerate orbital of the same subshell is still empty — Hund's rule requires spreading electrons singly across all orbitals first.
  • Mechanically writing 3d4 4s23d^4\,4s^2 or 3d9 4s23d^9\,4s^2 for chromium or copper — always check whether shifting one 4s4s electron creates a half-filled (d5d^5) or fully-filled (d10d^{10}) subshell.
  • Using 2n22n^2 for an ion's outer shell without first identifying that shell's actual subshells present — the formula gives the maximum capacity of a full shell, not the electron count of a partially filled or ionized atom.

Ask the tutor: Want to practise deriving the (n+l) filling order from the triangular diagram, or work through the configuration and unpaired-electron count of another transition-metal ion?

Why does 4s fill before 3d, but empty before 3d when a cation forms?

These are two different comparisons. Filling order follows the (n+l)(n+l) rule, which measures orbital energy in the neutral atom being built up, and 4s4s (n+l=4n+l=4) is lower than 3d3d (n+l=5n+l=5) there. But once electrons are already present, the relative energies of the filled 4s4s and 3d3d orbitals shift because 3d3d electrons shield the nuclear charge felt by 4s4s more effectively; in the ion, 4s4s ends up higher in energy than the occupied 3d3d, so it empties first. Both statements are experimentally verified facts about the same atoms, not a contradiction.

Do I need to memorize the full (n+l) order for the exam?

You should be able to reconstruct it, not memorize it blindly. Write the shells and subshells in a triangular grid (1s1s; 2s 2p2s\ 2p; 3s 3p 3d3s\ 3p\ 3d; 4s 4p 4d 4f4s\ 4p\ 4d\ 4f; …) and draw diagonal arrows from bottom-left to top-right through each row — reading off the arrows in order reproduces 1s,2s,2p,3s,3p,4s,3d,4p,5s,4d,5p,6s,4f,5d,6p,…1s,2s,2p,3s,3p,4s,3d,4p,5s,4d,5p,6s,4f,5d,6p,\ldots exactly. Practising this diagram a few times is faster and more reliable than rote memorization, especially for atoms beyond Z=36Z=36.

Are chromium and copper the only exceptions to the expected filling order?

They are the two exceptions that ISC Class 11 expects you to know and explain, because both involve a single electron shifting from 4s4s to 3d3d to reach a half-filled d5d^5 or fully-filled d10d^{10} subshell. A few heavier elements (such as molybdenum and silver, the period-5 analogues of chromium and copper) show the same pattern, but those are beyond this syllabus — focus on being able to explain why the shift happens for chromium and copper rather than memorizing a longer exception list.

Before this

Where this leads