Quantum Numbers

Principal (n), angular momentum (l), magnetic (m_l), and spin (m_s) quantum numbers. Allowed values, ranges, and what each number describes physically.

Solving the Schrödinger equation for hydrogen (The Quantum Model) forces three integers, n, l, and ml. Each allowed combination picks out one solution, an atomic orbital with a specific energy and shape. A fourth number, ms, describes the electron’s spin.

Together these four quantum numbers label the state of the electron in a hydrogen atom or a hydrogen-like ion (one nucleus, one electron, such as He+). In atoms with more electrons, the same four labels describe each electron, as a good approximation.

Principal, n

The principal quantum number, n, indicates orbital size and energy. Larger n means a larger, higher-energy orbital. A 2s orbital is larger than a 1s, and a 3p is larger than a 2p.

The principal quantum number is a positive integer:

\[n = 1, ~2, ~3, \ldots\]

The principal quantum number defines the electron shell (or energy level). An electron with n = 1 occupies the first shell, n = 2 is the second shell, and so on. Higher shells correspond to greater average distance from the nucleus. The word comes from Bohr’s model, where a shell was an orbit at a fixed distance. A modern shell has no sharp radius, because its orbitals are diffuse probability clouds. For hydrogen and one-electron ions, n alone determines energy. In multi-electron atoms, l also affects energy (see Electron Configurations).

Older texts and X-ray spectroscopy still name the shells with letters: K for n = 1, L for n = 2, M for n = 3, and so on. The note on the hydrogen atom explains where the letters came from.

Angular Momentum, l

The angular momentum quantum number (or azimuthal quantum number), l, determines the shape of orbitals and defines a subshell. A subshell is a set of orbitals within a shell that share the same n and l values. For example, the 2p subshell contains three orbitals (2px, 2py, 2pz), all with n = 2 and l = 1.

l is an integer between 0 and n − 1:

\[l = 0, ~1, ~2, ~3, \ldots, ~n-1\]

Each shell (n) contains exactly n subshells. For example, the third shell (n = 3) contains three subshells: 3s (l = 0), 3p (l = 1), and 3d (l = 2). The reason l stops at n − 1 lies in the mathematics of the wave function, and the same note shows how.

Each subshell type has a characteristic shape and letter label:

Table 1: Angular momentum quantum number and subshell labels

Orbitals with l = 0 are called s orbitals, orbitals with l = 1 are called p orbitals, and so on.

s-type orbitals are spherical in shape while p-type orbitals have a dumbbell-like shape. The d and f shapes are more involved (see angular probability distributions for 3D renders of all four shape families).

To translate between quantum numbers and orbital labels: n gives the shell number and l gives the subshell letter. For example, n = 3 and l = 2 corresponds to the 3d subshell. Conversely, a “2p” orbital has n = 2 and l = 1.

Magnetic, ml

The magnetic quantum number, ml, indicates the orientation in space of an orbital within a subshell. In the absence of an external magnetic field, orbitals with different ml values but the same n and l have identical energy. The name “magnetic” comes from the Zeeman effect: in a magnetic field, those orbitals split into 2l + 1 slightly different energies, one for each value of ml (ignoring spin). The magnetic quantum number spans from −l to +l:

\[m_{l} = -l,~ -l+1,~ \ldots,~ 0,~ \ldots,~ l-1,~ l\]

There are 2l + 1 values of ml for a given subshell, l. For example, an electron with a value of l = 1 can have one of three values for ml (−1, 0, +1). That is, an electron in a p orbital can reside in one of the three orientations of that p orbital of shell n.

Why that range? ml measures how much of the electron’s orbital angular momentum points along one chosen direction, and one component of a vector cannot be longer than the whole vector. The hydrogen-atom note gives the details.

Spin, ms

The spin quantum number ms takes only two values:

\[m_{s} = +\dfrac{1}{2} ~~\mathrm{or}~~ -\dfrac{1}{2}\]

We denote these “spin-up” (ms = +½) and “spin-down” (ms = −½). The first three quantum numbers (n, l, ml) specify the orbital, and ms distinguishes the two electrons that can share it.

The Pauli exclusion principle says that no two electrons in an atom can have the same set of four quantum numbers. Within one orbital, the only way to satisfy Pauli is for the two electrons to have opposite ms: one spin-up, one spin-down.

For example, the 1s orbital (n = 1, l = 0, ml = 0) can hold two electrons, and they must differ in ms:

n = 1, l = 0, ml = 0, ms = +½

n = 1, l = 0, ml = 0, ms = −½

A third electron would have nowhere new to go: n, l, and ml are fixed, and both values of ms are taken. So the 1s orbital, like every orbital, holds at most two electrons. The rule itself comes from a property of identical particles, sketched in the note.

Combining the two values of ms with the 2l + 1 orbitals in a subshell gives 2(2l + 1) = 4l + 2 electrons per subshell. The familiar capacities are s = 2, p = 6, d = 10, f = 14. Summing over the subshells in a shell gives n2 orbitals and a total capacity of 2n2 electrons: shell n = 3, for instance, has 1 + 3 + 5 = 9 = 32 orbitals holding 2 + 6 + 10 = 18 = 2(3)2 electrons.

The name spin suggests a classical picture of the electron rotating like a tiny planet. That picture is wrong. Electrons are quantum particles, not little spinning balls. Spin is an intrinsic angular momentum that has no classical analog. The evidence for spin comes from the Stern–Gerlach experiment (1922): a beam of silver atoms passing through an inhomogeneous magnetic field splits into exactly two sharp beams, not a continuous smear. The two-valued result had no classical explanation. In 1925 Uhlenbeck and Goudsmit proposed intrinsic electron spin to explain fine details of atomic spectra. Spin also explains the two beams: silver’s single unpaired electron has two possible spin orientations.

The Stern–Gerlach experiment: predicted and observed patternsTwo side views of the same apparatus: silver atoms leave an oven, pass a slit, fly between the poles of a magnet whose pointed north pole makes the field uneven, and hit a screen. In the top view, the classical prediction, each atom's tiny magnet could point any way, so atoms are pushed up or down by any amount and their hits build one continuous smear on the screen. In the bottom view, what Stern and Gerlach saw in 1922, every atom is pushed up or down by the same amount and the hits build two separate spots, one for each value of the spin quantum number m sub s.Classical predictionsilveratomsNSObserved (1922)silveratomsNSStep 1: if each atom's magnet could point anyway, the hits would make one smearStep 2: the beam splits in two: one spotfor each value of msthe pointed N pole makes the field uneven,which pushes each atom up or downblue dots: where atoms hit the screen
Table 2: Summary of Quantum Numbers

Practice Problems

Practice


For the third shell (n = 3), determine:

  1. all possible values of l
  2. all possible values of ml for each subshell
  3. the total number of orbitals in the shell
  4. the maximum number of electrons that can occupy this shell
Solution

Part a: Possible values of l

Since l ranges from 0 to n − 1:

\[l = 0, ~1, ~2\]

This gives three subshells: 3s (l = 0), 3p (l = 1), and 3d (l = 2).

Part b: Possible values of ml for each subshell

Since ml ranges from −l to +l:

  • For l = 0 (3s): ml = 0 only → 1 orbital
  • For l = 1 (3p): ml = −1, 0, +1 → 3 orbitals
  • For l = 2 (3d): ml = −2, −1, 0, +1, +2 → 5 orbitals

Part c: Total orbitals in the shell

\[1 + 3 + 5 = 9~\text{orbitals}\]

In general, shell n contains n2 orbitals: 32 = 9, as found above.

Part d: Maximum electrons in the shell

Each orbital holds at most 2 electrons (ms = +½ or −½):

\[9~\text{orbitals} \times 2~\text{electrons/orbital} = 18~\text{electrons}\]

In general, shell n holds at most 2n2 electrons: 2(3)2 = 18, as found above.


Practice


Which of the following sets of quantum numbers (n, l, ml, ms) are valid? For each invalid set, explain why.

  1. (2, 2, 0, +½)
  2. (3, 1, −1, −½)
  3. (1, 0, 0, +1)
  4. (4, 3, −2, +½)
Solution

a. (2, 2, 0, +½) is invalid. For n = 2, l can only be 0 or 1 (since l must be at most n − 1). There is no 2d subshell.

b. (3, 1, −1, −½) is valid. l = 1 is allowed for n = 3. ml = −1 is within the range −l to +l. ms = −½ is allowed. This describes a spin-down electron in a 3p orbital.

c. (1, 0, 0, +1) is invalid. ms can only be +½ or −½, never +1.

d. (4, 3, −2, +½) is valid. l = 3 is allowed for n = 4 (the 4f subshell). ml = −2 is within −3 to +3. This describes a spin-up electron in a 4f orbital.


Practice


  1. How many electrons in one atom can have n = 3 and ml = +1?
  2. Which values of l and ml describe the orbitals of a 4d subshell?
Solution

a. For n = 3, l can be 0, 1, or 2. The value ml = +1 requires l ≥ 1, so it occurs once in the 3p subshell (l = 1) and once in the 3d subshell (l = 2): two orbitals. Each orbital holds two electrons (ms = +½ or −½), so 4 electrons can have n = 3 and ml = +1.

b. The letter d means l = 2, so ml runs from −2 to +2: ml = −2, −1, 0, +1, +2. These five values are the five 4d orbitals.


Quantum numbers define which orbitals exist, but what do these orbitals actually look like? The Atomic Orbitals page covers orbital shapes, sizes, and probability distributions (the three-dimensional regions where electrons are likely to be found). You’ll need these shapes to understand chemical bonding and molecular geometry.


Summary

Principal Quantum Number, n

n = 1, 2, 3, … sets the shell: the orbital’s size and, for hydrogen, its energy.

Angular Momentum Quantum Number, l

l = 0 to n − 1 sets the subshell and its shape (s, p, d, f for l = 0, 1, 2, 3). Shell n has n subshells.

Magnetic Quantum Number, ml

ml runs from −l to +l in whole steps and labels the 2l + 1 orbitals of a subshell. Shell n has n2 orbitals.

Spin Quantum Number, ms

ms = +½ or −½. The Pauli exclusion principle (no two electrons in an atom share all four quantum numbers) limits each orbital to two electrons of opposite spin, so shell n holds at most 2n2 electrons.