Quantum numbers are a compact address system for electrons in atoms. This guide explains what the four quantum numbers—n, l, ml, and ms—mean, which values are allowed, how they connect to orbital shapes and electron configurations, and how to check a proposed set without guessing.
Overview
In introductory quantum physics, an electron state is described using four quantum numbers. They do not represent four independent measurements in the everyday sense. Instead, they label properties of a permitted quantum state in an atom: its energy level, orbital angular momentum, orbital orientation, and spin projection.
The first three quantum numbers identify an orbital. The fourth identifies one of the two possible spin states an electron can occupy within that orbital.
| Quantum number | Symbol | What it describes | Allowed values |
|---|---|---|---|
| Principal | n | Main energy level and approximate size | 1, 2, 3, ... |
| Angular-momentum | l | Subshell and orbital shape | 0 through n − 1 |
| Magnetic | ml | Orbital orientation relative to a chosen axis | −l through +l |
| Spin | ms | Electron spin projection | +1/2 or −1/2 |
These rules apply to the usual one-electron orbital model taught in introductory chemistry and quantum physics. Real atoms involve electron–electron interactions, energy-level splittings, and other effects, but the four-number framework remains the standard starting point for electron states.
What to track
1. The principal quantum number, n
The principal quantum number identifies the main shell. It is a positive integer: n = 1, 2, 3, and so on. Larger values generally correspond to orbitals with greater average distance from the nucleus and higher energy in hydrogen-like systems.
For a given value of n, the allowed values of l are limited. This is the first dependency to check: you cannot choose l until you know n.
2. The angular-momentum quantum number, l
The quantum number l labels a subshell and is an integer from 0 to n − 1. Spectroscopic letters provide a convenient translation:
| l | Subshell label | Common description |
|---|---|---|
| 0 | s | Spherical probability distribution |
| 1 | p | Two-lobed family of orbitals |
| 2 | d | More complex angular patterns |
| 3 | f | Still more complex angular patterns |
For example, when n = 3, the permitted subshells are 3s, 3p, and 3d because l can be 0, 1, or 2. A 3f subshell is not allowed in this basic notation because l = 3 is outside the range for n = 3.
3. The magnetic quantum number, ml
For a selected l, the magnetic quantum number can take every integer value from −l to +l, including zero. The number of possible values is therefore 2l + 1. This is also the number of orbitals in a subshell.
- For an s subshell, l = 0, so ml = 0: one orbital.
- For a p subshell, l = 1, so ml = −1, 0, or +1: three orbitals.
- For a d subshell, l = 2, so ml = −2, −1, 0, +1, or +2: five orbitals.
In many classroom diagrams, p orbitals are drawn as px, py, and pz. Those labels are useful visual combinations of states, but they should not be treated as a direct one-to-one replacement for the numerical values of ml in every context.
4. The spin quantum number, ms
For an electron, the spin quantum number has only two allowed values: +1/2 and −1/2. These are often represented by an up arrow and a down arrow. They do not mean that the electron is literally a tiny ball spinning in the same way as a macroscopic object. They label two possible spin projections in the quantum model.
Two electrons may share the same n, l, and ml values only if their spin values differ. This is the Pauli exclusion principle: no two electrons in one atom can have the same complete set of four quantum numbers.
Orbital capacity and configurations
A subshell with angular-momentum number l contains 2l + 1 orbitals, and each orbital can hold two electrons. Therefore, the maximum number of electrons in a subshell is 2(2l + 1). The familiar capacities follow: s holds 2, p holds 6, d holds 10, and f holds 14.
Electron configurations use this structure in shorthand, such as 1s2 2s2 2p6. The superscript counts electrons in a subshell; it does not give the value of ml or ms for a particular electron.
Cadence and checkpoints
For problem solving, use the same checking sequence every time. This prevents a valid-looking number from hiding an invalid dependency.
- Check n: it must be a positive integer.
- Check l: it must be an integer from 0 to n − 1.
- Check ml: it must be an integer from −l to +l.
- Check ms: it must be +1/2 or −1/2.
- Check the electron configuration: confirm that orbital capacities and the Pauli exclusion principle are respected.
Apply this workflow whenever you begin a new set of quantum-number questions, before an exam, and after learning a new subshell or configuration convention. A short reference check is more reliable than trying to memorize isolated examples.
Worked checks
Example A: (3, 2, −1, +1/2)
This set is allowed. For n = 3, l may range from 0 to 2, so l = 2 is valid. With l = 2, ml may be −2, −1, 0, +1, or +2, so −1 is valid. The spin value +1/2 is also allowed. The electron is in a 3d orbital with the specified spin projection.
Example B: (2, 2, 0, −1/2)
This set is invalid. When n = 2, the allowed values of l are only 0 and 1. The value l = 2 would first become possible at n = 3.
Example C: (4, 1, 2, +1/2)
This set is invalid because for l = 1, ml can only be −1, 0, or +1. The value +2 is outside the permitted range.
Example D: (1, 0, 0, 1)
This set is invalid because an electron spin quantum number must be +1/2 or −1/2, not 1.
How to interpret changes
When a proposed state changes, identify which coordinate changed and follow its dependency. Changing n can change the possible values of l; changing l changes the possible values of ml; changing only ms switches the spin projection without changing the orbital.
A common mistake is to treat the numbers as four unrelated choices. For example, ml = +2 is not automatically valid: it requires l to be at least 2, which in turn requires n to be at least 3. Another mistake is to confuse an orbital with a subshell. A 2p subshell contains three orbitals, not one, and can hold six electrons in total.
Energy ordering also requires care. The quantum numbers define allowed states, but the order in which subshells fill in many-electron atoms depends on the atom and on electron interactions. Use the filling order required by your course rather than assuming that increasing n alone determines every energy comparison.
When to revisit
Return to this guide whenever a problem introduces a new subshell, asks whether a set of quantum numbers is possible, or requires you to connect an electron configuration to orbital diagrams. Before a test, review the range rules and complete a few examples that include both valid and invalid sets. After studying electron configurations, revisit the Pauli principle and subshell capacities together.
Teachers and course editors can also use the table as a maintenance checkpoint. Recheck notation, orbital diagrams, and the level of detail against the current introductory syllabus at the start of an academic year or when course standards change. The underlying range rules are stable, but terminology and the amount of atomic-physics detail expected can vary between courses.
Practical next step: write down three four-number sets of your own. Test each one in order—n, l, ml, then ms—and explain the first rule that makes any invalid set fail. That habit turns quantum numbers from a memorization exercise into a repeatable physics problem-solving method.