Atomic Structure

Energy Shells & Subshells: How Electrons Are Organised in Atoms

Learn how electrons are arranged in energy levels (shells K–Q), subshells (s, p, d, f), and orbitals. Master the 2n² rule for maximum electron capacity and understand the foundations of electron configuration.

V
Vectora Team
STEM Education
8 min read
2026-04-20

Try this Pro simulation free

Explore this concept with our interactive 3D simulation.
Try It Free

What Are Energy Shells?

In a multi-electron atom, electrons do not all have the same energy. They are organised into distinct energy shells (also called principal energy levels), numbered 1 through 7 and labelled with the letters K through Q.

Shell Number (nn)LetterDistance from Nucleus
1KClosest
2L
3M
4N
5O
6P
7QFurthest

Key principle: Electrons in shells closer to the nucleus have lower energy and are held more tightly. Removing them requires more energy (higher ionisation energy).

Learning Goals: By the end of this guide, you should be able to:

  1. State the number of energy shells and their letter designations.
  2. List the subshells present in each shell.
  3. Calculate the number of orbitals and maximum electrons for any shell or subshell.
  4. Apply the 2n22n^2 formula and explain its derivation.

What Are Subshells?

Each energy shell is further divided into subshells (also called sub-levels), labelled ss, pp, dd, and ff. The number of subshells in a shell equals its shell number nn:

Shell (nn)Subshells PresentNumber of Subshells
11s1s1
22s, 2p2s,\ 2p2
33s, 3p, 3d3s,\ 3p,\ 3d3
44s, 4p, 4d, 4f4s,\ 4p,\ 4d,\ 4f4

The letters originate from early spectroscopy: sharp, principal, diffuse, fundamental. They correspond to the angular momentum quantum number l=0,1,2,3l = 0, 1, 2, 3.

Within a given shell, subshells are ordered by energy: s<p<d<fs < p < d < f.


Orbitals and Electron Capacity

An orbital is a region of space where there is a high probability of finding an electron. Each orbital can hold a maximum of 2 electrons with opposite spins (a consequence of the Pauli exclusion principle).

Orbitals per Subshell

The number of orbitals in a subshell follows the formula 2l+12l + 1:

SubshellllOrbitals (2l+12l+1)Max Electrons
ss012
pp136
dd2510
ff3714

The 2n22n^2 Rule

The maximum number of electrons in shell nn is given by:

Max electrons=2n2\text{Max electrons} = 2n^2
Shell (nn)SubshellsOrbitalsElectron Capacity (2n22n^2)
11s1s12
22s+2p2s + 2p1+3=41 + 3 = 48
33s+3p+3d3s + 3p + 3d1+3+5=91 + 3 + 5 = 918
44s+4p+4d+4f4s + 4p + 4d + 4f1+3+5+7=161 + 3 + 5 + 7 = 1632

Deriving the Formula

Shell nn contains nn subshells. The orbital counts form the odd number sequence: 1,3,5,…,(2n−1)1, 3, 5, \ldots, (2n-1).

The sum of the first nn odd numbers equals n2n^2:

1+3+5+⋯+(2n−1)=n21 + 3 + 5 + \cdots + (2n-1) = n^2

Since each orbital holds 2 electrons: total capacity =2n2= 2n^2.

Energy Shells & Subshells Visualizer

Explore the layered structure of atoms interactively. Click through shells, see subshell breakdowns, and verify the 2n² formula step by step.
Launch Visualizer

Energy Level Ordering and Crossover

Within a single shell, the energy order is straightforward: s<p<d<fs < p < d < f. However, between shells, the energies of subshells can overlap. This is called energy level crossover:

1s<2s<2p<3s<3p<4s<3d<4p<5s<4d<5p<6s<4f<5d<6p<7s<5f<6d<7p1s < 2s < 2p < 3s < 3p < \mathbf{4s < 3d} < 4p < \mathbf{5s < 4d} < 5p < \mathbf{6s < 4f} < 5d < 6p < \mathbf{7s < 5f} < 6d < 7p

Key crossover: The 4s4s orbital is lower in energy than 3d3d in neutral atoms. This is why potassium (Z=19Z = 19) has the configuration [Ar] 4s1[Ar]\ 4s^1 rather than [Ar] 3d1[Ar]\ 3d^1.

This crossover is a consequence of penetration and shielding effects — the 4s4s orbital penetrates closer to the nucleus than 3d3d, experiencing a higher effective nuclear charge.

Important: The 2n22n^2 rule gives the maximum capacity of each shell, not the actual number of electrons present. The actual filling order follows the Aufbau principle, which accounts for energy crossover.


Shapes of Orbitals (Qualitative)

At A-Level, you should know the general shapes:

  • ss orbitals: Spherical. Each successive ss orbital (1s1s, 2s2s, 3s3s, …) is larger.
  • pp orbitals: Dumbbell-shaped, oriented along the xx, yy, and zz axes (pxp_x, pyp_y, pzp_z).
  • dd orbitals: More complex, with four of the five having a cloverleaf shape. dz2d_{z^2} has a unique lobe-and-ring structure.
  • ff orbitals: Even more complex shapes (beyond A-Level examination scope).

Note: Orbital shapes describe probability distributions, not fixed paths. The electron is most likely found within these regions but can be anywhere.


Worked Examples

Example 1: Electron Capacity of Shell 3

Shell n=3n = 3 contains subshells 3s3s, 3p3p, 3d3d.

Orbitals: 1+3+5=91 + 3 + 5 = 9

Maximum electrons: 2×9=182 \times 9 = 18 or 2×32=182 \times 3^2 = 18 ✓

Example 2: Number of Orbitals in Shell 4

Shell n=4n = 4 contains 4s4s, 4p4p, 4d4d, 4f4f.

Orbitals: 1+3+5+7=16=421 + 3 + 5 + 7 = 16 = 4^2 ✓

Maximum electrons: 2×16=322 \times 16 = 32

Example 3: Why Can't Shell 1 Have a pp Subshell?

Shell n=1n = 1 can only have n=1n = 1 subshell. The only possibility is l=0l = 0 (the ss subshell). Since ll ranges from 00 to n−1n-1, and n−1=0n-1 = 0, there is no pp subshell (l=1l = 1 is not allowed).


Common Mistakes

  1. Confusing shells with subshells — Shell 3 contains three subshells (3s3s, 3p3p, 3d3d), not three orbitals. The total number of orbitals is 9.

  2. Assuming 2n22n^2 gives the actual electron count — It gives the maximum capacity. Outer shells are rarely full in ground-state atoms.

  3. Forgetting energy crossover — Students often assume 3d3d fills before 4s4s because n=3<4n = 3 < 4. In reality, 4s4s is lower in energy for neutral atoms.

  4. Mixing up orbital count and electron count — A pp subshell has 3 orbitals but holds 6 electrons. A dd subshell has 5 orbitals but holds 10 electrons.


Exam Tips (A-Level / AP / IB / 高考)

  • Memorise the table: ss = 1 orbital (2e), pp = 3 (6e), dd = 5 (10e), ff = 7 (14e).
  • For 2n22n^2 questions, show your working: list all subshells, count orbitals, multiply by 2.
  • When asked "how many subshells does shell nn have?", the answer is simply nn.
  • Energy crossover (4s4s before 3d3d) explains the position of the transition metals in Period 4.

Frequently Asked Questions

Why are there only 4 types of subshells (s, p, d, f)?

For the elements currently known, only shells 1–7 are occupied. Shell 7 would theoretically contain a gg subshell (l=4l = 4), but no known element has electrons in 5g5g or higher in its ground state.

What determines the shape of an orbital?

The angular momentum quantum number ll determines the orbital shape: l=0l = 0 (spherical), l=1l = 1 (dumbbell), l=2l = 2 (cloverleaf), l=3l = 3 (complex). The shapes represent regions of highest electron probability density.

Is the 2n22n^2 rule universally valid?

Yes, it correctly predicts the maximum capacity of any shell. However, for shells n≥3n \geq 3, the outer subshells may not fully fill before electrons start occupying the next shell — this is governed by the filling order (Aufbau principle), not by shell capacity.


  • Electron Configuration Rules — Learn how electrons fill orbitals using the Aufbau, Pauli, and Hund rules.
  • Atomic Models — Trace the evolution from Bohr's shells to quantum mechanical orbitals.
  • Periodic Trends — How shell structure drives patterns in ionisation energy and atomic radius.

References & Further Reading

This article was created by the Vectora Editorial Team and is reviewed for alignment with AP, IB, and A-Level curricula. Content is based on standard academic sources in chemistry, physics, biology, and mathematics.

Published: 2026-04-20

For corrections or suggestions, contact support@vectora.one.