Quantum numbers provide a compact way to describe an electron’s state in an atom. This visual reference explains what each of the four quantum numbers means, how shells, subshells, and orbitals relate, and how to use the rules to check electron configurations without mixing up the notation.
Overview
In introductory chemistry and physics, an electron configuration is a map of how electrons occupy available atomic states. The map is built from four quantum numbers: the principal quantum number, n; the angular-momentum quantum number, l; the magnetic quantum number, ml; and the spin quantum number, ms.
These numbers are related, but they do not describe the same thing. The principal number identifies the main energy level or shell. The angular-momentum number identifies a subshell and its general orbital shape. The magnetic number identifies one particular orbital within that subshell. The spin number describes one of the two allowed spin states for an electron in that orbital.
A useful hierarchy is:
Shell → subshell → orbital → electron spin
For example, a label such as 3p refers to the third shell and the p subshell. It does not identify one specific orbital yet. The p subshell contains three orbitals, distinguished by their possible ml values. Each orbital can hold up to two electrons, provided their spins are opposite.
| Quantum number | Symbol | What it identifies | Allowed values |
|---|---|---|---|
| Principal | n | Main shell or energy level | 1, 2, 3, … |
| Angular momentum | l | Subshell and orbital shape | 0 through n − 1 |
| Magnetic | ml | Specific orbital within a subshell | −l through +l |
| Spin | ms | Electron spin state | +1/2 or −1/2 |
What to track
1. The principal quantum number: n
The principal quantum number is a positive whole number: n = 1, 2, 3, and so on. It names the electron’s main shell. A larger n generally corresponds to a shell that is farther from the nucleus and, in a hydrogen-like atom, a higher energy level.
Do not treat n as the number of electrons in a shell. The maximum capacity of a shell is commonly written as 2n2, but that capacity follows from the available subshells and orbitals; it is not the definition of the quantum number.
2. The angular-momentum quantum number: l
For a given value of n, the allowed l values run from 0 to n − 1. Letter notation is used in introductory courses:
| l value | Subshell letter | Number of orbitals | Maximum electrons |
|---|---|---|---|
| 0 | s | 1 | 2 |
| 1 | p | 3 | 6 |
| 2 | d | 5 | 10 |
| 3 | f | 7 | 14 |
Thus, when n = 2, the possible subshells are 2s and 2p. A 2d subshell is not allowed because l cannot equal 2 when n equals 2. This is one of the fastest checks for an invalid label.
The familiar orbital shapes are simplified visual models. An s orbital is commonly shown as spherical, while p orbitals are shown as two-lobed shapes. d and f orbitals have more complex patterns. The shapes help organize the subshells, but they should not be interpreted as fixed paths that electrons travel around the nucleus.
3. The magnetic quantum number: ml
The magnetic quantum number identifies an individual orbital within a subshell. Its values go from −l to +l, including zero. Therefore:
- For an s subshell, l = 0, so ml = 0. There is one orbital.
- For a p subshell, l = 1, so ml = −1, 0, or +1. There are three orbitals.
- For a d subshell, l = 2, so ml = −2, −1, 0, +1, or +2. There are five orbitals.
The orbital count can be calculated as 2l + 1. In basic orbital diagrams, the individual orbitals are often drawn as boxes. The labels −1, 0, and +1 are a useful quantum-number description, but they should not automatically be treated as three universally fixed spatial directions in every context.
4. The spin quantum number: ms
Each electron has one of two allowed spin quantum-number values: +1/2 or −1/2. Spin is an intrinsic quantum property, not a literal tiny ball rotating in the everyday mechanical sense.
The Pauli exclusion principle states that no two electrons in one atom can have the same complete set of four quantum numbers. As a result, an orbital can contain two electrons only when their spin values are opposite. In an orbital diagram, this is usually represented by paired arrows pointing in opposite directions.
Cadence and checkpoints
Use the following workflow whenever you write or check an electron configuration.
- Identify the shell. In a label such as 4d, the number gives n = 4.
- Identify the subshell. The letter d means l = 2. Check that 2 is allowed for n = 4, since the possible values are 0, 1, 2, and 3.
- Count the orbitals. For d, 2l + 1 = 5 orbitals.
- Apply the capacity. Five orbitals can hold up to 10 electrons, with no more than two per orbital.
- Fill according to the course rules. Use the Aufbau ordering, Hund’s rule, and the Pauli exclusion principle at the level expected in your class. In an orbital diagram, place one electron in each equal-energy orbital before pairing within that subshell.
- Check the total. Add the superscripts in the configuration and compare the result with the atom’s electron count. For an ion, account for the charge.
For example, nitrogen has seven electrons. Its configuration is 1s2 2s2 2p3. The 2p portion contains three electrons distributed across the three p orbitals before any pairing is needed. A compact orbital diagram would show three separate arrows in the three 2p boxes, with matching spin direction in the usual introductory representation.
For an individual electron in a 3p orbital, the allowed values are n = 3, l = 1, ml = −1, 0, or +1, and ms = +1/2 or −1/2. A proposed set such as (3, 1, 0, +1/2) is allowed. A set such as (3, 3, 0, +1/2) is not allowed because l cannot equal 3 when n = 3.
How to interpret changes
Most errors come from changing one layer of the hierarchy while assuming the others change automatically. A new shell does not always mean a new type of subshell, and a subshell label does not specify one orbital by itself.
When reading a configuration, separate the notation into parts. In 3d7, the 3 is the principal quantum number, d identifies the subshell, and the superscript 7 is the number of electrons assigned to that subshell. The superscript is not a quantum number and does not describe one electron.
Also distinguish an electron configuration from a single-electron quantum-number set. The configuration 2p3 summarizes three electrons across the 2p subshell. To describe one of those electrons completely, you would need a particular ml value and a spin value as well. When several electrons occupy equivalent orbitals, more than one valid set of quantum numbers may be possible.
Electron configurations are also a simplified starting point. In multi-electron atoms, energy ordering can be affected by electron interactions, and some elements are commonly taught as exceptions to the simplest filling pattern. If your course provides a periodic-table convention or a specific exception list, use that framework and explain the convention rather than forcing every case into a memorized sequence.
When to revisit
Revisit this reference at three useful checkpoints: when beginning atomic structure, before an exam or problem set, and whenever a configuration or quantum-number question produces an unexpected result. A short review is usually more effective than rereading the entire topic. Write the four allowed-value rules from memory, test one valid and one invalid set, then complete an orbital diagram for a small atom or ion.
Teachers and students can also refresh the notation at the start of each academic term or when moving from introductory chemistry into modern physics. The underlying rules are stable, but course expectations may differ in how much detail is required about orbital shapes, energy ordering, ions, or exceptions.
For a practical study routine, keep a one-page checklist containing the hierarchy, the quantum-number table, subshell capacities, and three common error checks: Is l between 0 and n − 1? Is ml between −l and +l? Does every electron have a spin of +1/2 or −1/2, with no duplicate complete sets? Pair this reference with visual physics lessons, an atomic-structure diagram, or a short problem-solving video, then return to it when your notation changes from shells to subshells or from configurations to individual electron states.
For broader study, connect this topic to the electromagnetic spectrum and atomic observations, and use the guide to physics units and notation when checking symbols and mathematical conventions.