Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Chemistry · Unit 1 · Step-Through Animation

Atomic Structure and Electron Configuration

Electrons Fill by Energy, Not by Number

You'll learnwhy electrons fill subshells by energy, lowest empty rung first.

Fifteen electrons and a nucleus. They do not queue up by shell number; they queue up by height on an energy ladder, and the nucleus sets that height. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · PHOSPHORUS Z = 15 · v3

one ladder · lowest empty rung first · height decides
Before you start
What you're looking at
An empty energy ladder with rungs 1s through 3p, beside 15 phosphorus electrons waiting to be placed.
The question
Where does each electron go — and why isn't it simply shell 1, then 2, then 3?
Step 1 / 12

Read all 12 steps as text
Step 1

Fifteen electrons and an empty ladder

A phosphorus nucleus holds 15 protons, so a neutral phosphorus atom brings 15 electrons, and every one of them has to be put somewhere.

Step 2

Closer in means held harder

There is an energy order at all because the nucleus pulls, and that pull grows with the nuclear charge and falls off with distance, so an electron held tightly is one that sits low.

Step 3

Electrons take the lowest empty rung

That height order is the whole filling rule, and it is called Aufbau: each new electron drops to the lowest rung that still has room, whatever digit is written in front of the letter.

Step 4

Two electrons per orbital, no more

Pauli caps one orbital at two electrons with opposite spins, and that is where the capacities come from: s is one orbital, p is three, d is five.

\(\text{capacity} = 2 \times (\text{orbitals in the subshell}) \;:\quad s\!=\!2,\;\; p\!=\!6,\;\; d\!=\!10\)
Step 5

Spread out before you pair up

Hund settles that: two electrons crammed into one orbital repel each other, so while a rung still has an empty orbital the electrons take one each, with parallel spins.

Step 6

Pour fifteen electrons up the ladder

Each electron takes the lowest rung with space, Hund spreads them out inside a rung, and the configuration writes itself as they land.

\(\text{P}\;(Z=15):\quad 1s^{2}\;2s^{2}\;2p^{6}\;3s^{2}\;3p^{3}\)
Step 7

Hund leaves three unpaired at the top

Look at the last rung: 3p has three orbitals and got three electrons, so Hund put them one apiece with parallel spins, which leaves phosphorus with 3 unpaired electrons.

Step 8

Valence is the whole top shell

Everything in the highest occupied shell is valence and everything below it is core, and for phosphorus that shell is n = 3, which holds the 3s pair as well as the 3p electrons.

\(\underbrace{1s^{2}\,2s^{2}\,2p^{6}}_{\text{core}=10} \;\; \underbrace{3s^{2}\,3p^{3}}_{\text{valence}=5}\)
Step 9

Two more rungs, and they cross

Add the next two rungs and the ladder does not go 3d next: it goes 4s, and only then 3d, with the smallest gap on the whole ladder between them.

Step 10

4s sits below 3d, so 4s fills first

Calcium has 20 electrons, and after the argon core its last two go into 4s and leave 3d completely empty, because the rule never changed: lowest empty rung first.

\(\text{Ca}\;(Z=20):\quad 1s^{2}\;2s^{2}\;2p^{6}\;3s^{2}\;3p^{6}\;4s^{2}\)
Step 11

Order is set by energy, not spelling

The tempting rule says shell 3 owes 3d before shell 4 can start, and it is reading the digit rather than the ladder: scandium fills 4s first and gives its 21st electron to 3d.

Step 12

Height decides, every time

Count the electrons, pour them up the rungs in order, cap each rung, spread before pairing, and check that the superscripts sum to Z.

What orders the fillingenergy · lowest empty rung first
What sets a rung’s heightnuclear charge and distance
Pauli2 per orbital → s 2, p 6, d 10
Hundone each, parallel, before pairing
Phosphorus valence3s² + 3p³ = 5
Phosphorus core1s² 2s² 2p⁶ = 10
The famous one4s fills before 3d — 4s is lower

One caveat worth carrying: rung heights are Coulomb outcomes, not fixtures. Once 3d starts filling, the added nuclear charge pulls 3d below 4s, which is why a transition metal loses its 4s electrons first when it ionises — Fe²⁺ is 3d⁶, not 4s² 3d⁴. Next up, Topic 1.7 runs the same charge-and-distance sentence across a whole row and down a whole group.