The Four Quantum Numbers in Plain Language
Understand n, l, mₗ and mₛ, the rules that limit their values and how to tell whether a given set can describe a real electron.
Key takeaways
- The principal number n sets the shell and mostly controls energy and size.
- The angular momentum number l runs from 0 to n − 1 and sets the orbital type: s, p, d or f.
- The magnetic number mₗ runs from −l to +l, so each subshell contains 2l + 1 orbitals.
- The spin number mₛ is +½ or −½, which limits every orbital to two electrons.
Quantum numbers are a four-part address for an electron in an atom. The first gives the shell, the second the shape of the orbital, the third its orientation and the fourth the direction of the electron's spin. No two electrons in one atom can share all four.
The rules that link these numbers look arbitrary at first. Once you see them as limits that build on one another, you can reconstruct the layout of the periodic table from scratch.
Why numbers at all
An electron bound to a nucleus can exist only in certain states. Solving the quantum mechanical equation for hydrogen produces solutions that are labeled by whole numbers, in much the way that the vibrations of a string come in a first, second and third harmonic.
Three numbers come out of the spatial solution and together specify an orbital, a region-by-region description of probability. The difference between that and a path is covered in orbitals are not orbits. The fourth number, spin, is an extra property of the electron itself.
The principal quantum number, n
n takes positive whole values: 1, 2, 3 and so on. It names the shell.
As n increases, the electron is on average farther from the nucleus and its energy is higher, meaning less tightly bound. In hydrogen, energy depends on n alone. All the orbitals with n = 3 have the same energy there.
The number of orbitals in a shell is n², and the maximum number of electrons is 2n².
| n | orbitals | maximum electrons |
|---|---|---|
| 1 | 1 | 2 |
| 2 | 4 | 8 |
| 3 | 9 | 18 |
| 4 | 16 | 32 |
A helpful comparison is a set of floors in a building, with a warning attached. The floor number tells you roughly how high you are, and higher floors take more energy to reach. Unlike floors, though, the shells of a hydrogen atom get closer together in energy as n rises, and they overlap in space, since an electron in a higher shell still spends some time close to the nucleus.
In hydrogen the energy is proportional to −1/n². The ground state, n = 1, lies far below the others. As n grows very large, the energy approaches zero, the point at which the electron escapes and the atom is ionized.
The angular momentum quantum number, l
l can be any whole number from 0 up to n − 1. It describes the orbital angular momentum, and in practice it tells you the shape. Each value has a letter.
l = 0 s spherical
l = 1 p two lobes
l = 2 d mostly four lobes
l = 3 f more complex, often six or eight lobes So the first shell has only s. The second has s and p. The third has s, p and d. There is no 1p or 2d orbital, because l must be smaller than n.
In atoms with several electrons, l affects energy too. Within one shell the order is s below p below d below f, because the electrons differ in how closely they approach the nucleus. That effect is the topic of shielding and effective nuclear charge.
Shape has consequences for how an electron samples space. An s electron has a nonzero probability right at the nucleus. Electrons with l of 1 or more do not, because their orbitals have a node passing through the center.
The letters s, p, d and f are left over from early descriptions of spectral line series as sharp, principal, diffuse and fundamental. The words no longer carry any useful meaning, so treat the letters simply as labels for l = 0, 1, 2 and 3. Beyond f the sequence continues alphabetically with g, though no ground-state atom of a known element needs a g subshell.
The magnetic quantum number, mₗ
mₗ takes whole values from −l to +l, including zero. It describes the orientation of the orbital, specifically the component of angular momentum along a chosen axis.
| l | allowed mₗ | number of orbitals |
|---|---|---|
| 0 | 0 | 1 |
| 1 | −1, 0, +1 | 3 |
| 2 | −2, −1, 0, +1, +2 | 5 |
| 3 | −3 to +3 | 7 |
In a free atom with no external field, the orbitals of a subshell have the same energy. A magnetic field splits them, which is where the name comes from.
The familiar labels px, py and pz are combinations of the three mₗ states. Only pz matches a single value, mₗ = 0. The other two are mixtures of +1 and −1, so do not try to assign px to one of them.
The spin quantum number, mₛ
The fourth number has only two values, +½ and −½, often drawn as up and down arrows. Electrons have an intrinsic angular momentum and a tiny magnetic moment.
The name invites the image of a spinning ball, but that does not work physically. Spin is a quantum property with no everyday counterpart. Its consequences are large, from magnetism to the signals used in spectroscopy, and electron spin gets its own treatment.
A walk through one atom
Carbon has six electrons. Assigning quantum numbers to each shows how the rules work together in a real case.
| Electron | n | l | mₗ | mₛ |
|---|---|---|---|---|
| first | 1 | 0 | 0 | +½ |
| second | 1 | 0 | 0 | −½ |
| third | 2 | 0 | 0 | +½ |
| fourth | 2 | 0 | 0 | −½ |
| fifth | 2 | 1 | −1 | +½ |
| sixth | 2 | 1 | 0 | +½ |
The first two fill the 1s orbital, and the next two fill 2s. The last two go into the 2p subshell. They take different values of mₗ, which means different orbitals, and in the lowest energy arrangement their spins match.
The choice of −1 and 0 for the last pair is a convention. Picking 0 and +1, or giving both spins as −½, would describe an arrangement with the same energy in a free atom with no field applied. The labels "first" and "second" are also only bookkeeping, since electrons cannot be told apart.
What the numbers say about real chemistry
Each number connects to something observable. Differences in n and l show up as separate lines in atomic spectra. The splitting of those lines in a magnetic field reflects mₗ and spin. The count of electrons allowed in each subshell sets how many elements fit across each block of the table.
Chemical families follow too. Lithium, sodium and potassium each have a single outermost electron with l = 0, in the shells n = 2, 3 and 4. Fluorine, chlorine and bromine each have five electrons in an outermost p subshell. Similar outer quantum numbers apart from n go with similar behavior, and the steady change in n explains why that behavior shifts gradually down a group.
For atoms with many electrons, the four numbers come from an approximation in which each electron moves in an average field created by the others. n and l remain very good labels in most light atoms. In heavy atoms, spin and orbital motion couple strongly, and spectroscopists switch to other combinations of numbers.
Putting the rules together
The Pauli exclusion principle states that no two electrons in an atom can have the same set of four quantum numbers. Two electrons in one orbital already share n, l and mₗ, so they must differ in mₛ. That is why an orbital holds two at most.
Count the second shell to see everything fit.
n = 2
l = 0: mₗ = 0 1 orbital × 2 spins = 2 electrons
l = 1: mₗ = −1, 0, +1 3 orbitals × 2 spins = 6 electrons
total 4 orbitals 8 electrons The 2, 6, 10 and 14 electrons of s, p, d and f subshells match the widths of the blocks of the periodic table.
Checking whether a set is allowed
Test the numbers in order.
- Is n a positive whole number?
- Is l a whole number from 0 to n − 1?
- Is mₗ a whole number from −l to +l?
- Is mₛ either +½ or −½?
| Set (n, l, mₗ, mₛ) | Verdict |
|---|---|
| 3, 2, −2, +½ | allowed, a 3d electron |
| 2, 2, 0, −½ | not allowed, l must be less than n |
| 4, 1, 2, +½ | not allowed, mₗ exceeds l |
| 1, 0, 0, 0 | not allowed, mₛ cannot be zero |
| 5, 0, 0, −½ | allowed, a 5s electron |
Counting questions
How many electrons in an atom can have n = 4 and mₗ = +1? Look at each l from 0 to 3. The s subshell has no mₗ = +1. The p, d and f subshells each have one such orbital. That is three orbitals, so six electrons.
How many can have n = 3 and mₛ = −½? The third shell has 9 orbitals, and each can hold one electron of that spin, so the answer is 9.
Nodes follow from the numbers
The numbers also predict nodes, surfaces where the probability of finding the electron is zero.
angular nodes (planes or cones) = l
radial nodes (spheres) = n − l − 1
total = n − 1 A 3p orbital has one angular node and one radial node. A 4d orbital has two angular nodes and one radial node. More nodes generally go with higher energy.
Where beginners slip
- Mixing up l and mₗ: l chooses the subshell, mₗ chooses an orbital within it.
- Writing l = n. The largest allowed value is always one less than n.
- Thinking quantum numbers give a location. They label a state, and the state gives probabilities.
- Assuming that in a partly filled subshell a particular electron has a fixed mₗ. In introductory problems you assign values by convention, and more than one assignment is acceptable.
With the numbers in hand, the next step is deciding which states fill first, described by the aufbau principle, Pauli exclusion and Hund's rule.