MoleculeSensei
EN

Quantum numbers

n, l, mₗ and mₛ

Four quantum numbers describe an electron in an atom. The principal (n), angular momentum (l) and magnetic (mₗ) quantum numbers identify an orbital, and the spin quantum number (mₛ) distinguishes the two electrons that can share it.

Updated 3–5 min readFree 3D model, no sign-upSources

Show

Appearance

MoleculeSensei

Quantum numbers. Drag to rotate; click the model, then scroll or use + and − to zoom; click an atom to identify it.

Idealised model: VSEPR angles and bond lengths estimated from covalent radii.

Key points

  • Three quantum numbers define an orbital; the fourth defines spin.
  • Each quantum number has rules limiting its allowed values.
  • No two electrons in an atom share all four values.
  • Node counts follow from n and l.

Principal quantum number, n

n can be 1, 2, 3 and so on. It sets the shell and largely determines the orbital’s size and energy: higher n means a larger orbital farther from the nucleus on average.

In a hydrogen atom, energy depends only on n. In atoms with more electrons, energy also depends on l.

Angular momentum quantum number, l

l can take whole-number values from 0 to n − 1. It defines the subshell and orbital shape: l = 0 is s, 1 is p, 2 is d and 3 is f.

So n = 1 has only 1s, n = 2 has 2s and 2p, and n = 3 has 3s, 3p and 3d. There is no 2d or 1p orbital.

Magnetic quantum number, mₗ

mₗ ranges from −l to +l in steps of one, giving 2l + 1 values. A p subshell (l = 1) has three orbitals, d has five and f has seven.

mₗ describes orbital orientation. The familiar labels px, py and pz are combinations of the mₗ solutions, chosen because they are real-valued and easy to draw.

Spin quantum number, mₛ

Electron spin has two possible values, +½ and −½, often drawn as up and down arrows. Spin is an intrinsic property, not a literal spinning ball.

The Pauli exclusion principle states that no two electrons in an atom can have the same four quantum numbers. Each orbital therefore holds at most two electrons, with opposite spins.

Counting orbitals and electrons

Shell n contains n² orbitals and up to 2n² electrons: 2 for n = 1, 8 for n = 2 and 18 for n = 3.

Each orbital has n − 1 nodes in total: l angular nodes and n − l − 1 radial nodes. A 3p orbital has one angular and one radial node.

Where quantum numbers come from

These numbers come from solving the Schrödinger equation for the hydrogen atom. For many-electron atoms, assigning electrons to hydrogen-like orbitals is a useful approximation.

This page shows the H₂ molecule as its 3D model. Orbital shapes themselves are explored on the s, p, d and f orbital pages.

Common questions

What are the quantum numbers of a 2p electron?

n = 2, l = 1, mₗ = −1, 0 or +1, and mₛ = +½ or −½.

Can l equal n?

No. l ranges from 0 to n − 1.

Why can only two electrons share an orbital?

The Pauli exclusion principle allows only two spin values for one set of n, l and mₗ.

How many orbitals are in the n = 3 shell?

Nine: one 3s, three 3p and five 3d orbitals, which matches n² = 9. With two electrons per orbital, the shell can hold up to 18 electrons.