Quantum Number Calculator

Enter an electron's principal (n), azimuthal (l), and magnetic (mₗ) quantum numbers to check whether they form a valid state, then see the subshell notation, orbital angular momentum, and hydrogen-like energy level.

Quick Facts

Allowed values
n≥1, 0≤l≤n-1, -l≤mₗ≤l, mₛ=±1/2
Every electron in an atom must have a unique set of four quantum numbers (Pauli exclusion principle).
Orbital angular momentum
L = ħ√(l(l+1))
ħ = h/2π ≈ 1.0546 × 10⁻³⁴ J·s is the reduced Planck constant.
Subshell capacity
2(2l+1) electrons per subshell
A full shell n holds n² orbitals and up to 2n² electrons.
Hydrogen-like energy
Eₙ = -13.6 eV × Z²/n²
Bohr-model energy for a one-electron atom or ion; exact for hydrogen.

Your Results

Calculated
Subshell & Validity
-
Spectroscopic notation, e.g. 3p
Orbitals & Electron Capacity
-
2l+1 orbitals, 2(2l+1) electrons max
Orbital Angular Momentum
-
L = ħ√(l(l+1)), in J·s
Hydrogen-like Energy Level
-
Eₙ = -13.6 eV × Z²/n²

Ready

Enter n, l, mₗ, and Z, then press Calculate.

How the Four Quantum Numbers Work

In the quantum mechanical model of the atom, an electron's state falls out of solving the Schrödinger equation for the Coulomb potential of the nucleus, and the solution is labeled by four quantum numbers. The principal quantum number n sets the electron's shell and, for a single-electron atom, its energy. The azimuthal quantum number l sets the shape of the orbital and its orbital angular momentum. The magnetic quantum number mₗ sets the orbital's orientation in space, and the spin quantum number mₛ describes the electron's intrinsic angular momentum, independent of its motion around the nucleus. This calculator checks whether a given (n, l, mₗ) combination is an allowed quantum state, then reports the orbital notation, orbital angular momentum, subshell capacity, and hydrogen-like energy level that go with it.

Allowed values for each quantum number

  • n (principal): any positive integer — 1, 2, 3, ... Determines the shell and, for hydrogen-like atoms, the energy.
  • l (azimuthal / angular momentum): integer from 0 to n−1. Determines the subshell shape and is labeled s, p, d, f, g, ... for l = 0, 1, 2, 3, 4, ...
  • mₗ (magnetic): integer from −l to +l, so 2l+1 possible values. Determines the orbital's orientation and its angular momentum component along a chosen axis, Lz = mₗħ.
  • mₛ (spin): always +1/2 or −1/2, independent of n, l, and mₗ. Every orbital (fixed n, l, mₗ) holds exactly two electrons, one of each spin — the origin of the "2" in the 2(2l+1) subshell capacity.

Orbital angular momentum, subshell capacity, and energy

The magnitude of an electron's orbital angular momentum is L = ħ√(l(l+1)), where ħ = h/2π ≈ 1.0546 × 10⁻³⁴ J·s is the reduced Planck constant — a quantum result, not simply mvr as in the old Bohr picture. A subshell with quantum number l has 2l+1 degenerate orbitals (one per allowed mₗ) and, by the Pauli exclusion principle, holds at most 2(2l+1) electrons. Summing over every l from 0 to n−1 gives n² orbitals and 2n² electrons in a full shell n (2 for n=1, 8 for n=2, 18 for n=3). For a hydrogen-like atom or ion — one electron orbiting a nucleus of charge +Ze — the Bohr model gives the shell energy as Eₙ = −13.6 eV × Z²/n², negative because the electron is bound, and independent of l and mₗ in this simplified one-electron case.

Where this simplified picture breaks down

Eₙ = −13.6 eV × Z²/n² is exact for hydrogen and hydrogen-like ions (He⁺, Li²⁺, ...) with a single electron, and the shapes, orientations, and capacities derived from l and mₗ apply to any atom. It does not give correct energies for multi-electron atoms: electron-electron repulsion and uneven shielding make the energy depend on l as well as n (which is why, for example, 4s fills before 3d), and finer effects like spin-orbit coupling split levels further. Treat the energy figure here as exact only for one-electron systems, and as an order-of-magnitude reference otherwise.

Frequently Asked Questions

What are the four quantum numbers, and what does each one describe?
n (principal) sets the shell and overall energy; l (azimuthal) sets the subshell shape and orbital angular momentum; mₗ (magnetic) sets the orbital's orientation; and mₛ (spin) describes the electron's intrinsic spin, always +1/2 or −1/2.
What values of l and mₗ are allowed for a given n?
l can be any integer from 0 to n−1 (so n=3 allows l = 0, 1, 2). For each l, mₗ can be any integer from −l to +l, giving 2l+1 possible orientations — for l=2 (a d subshell), mₗ = −2, −1, 0, 1, 2.
How many electrons can a subshell or a shell hold?
A subshell with azimuthal quantum number l has 2l+1 orbitals and holds at most 2(2l+1) electrons — two per orbital, one spin-up and one spin-down. Summed over all subshells in a shell, a full shell n holds up to 2n² electrons: 2 for n=1, 8 for n=2, 18 for n=3, and so on.
Why does hydrogen's energy depend only on n, while other atoms' energies also depend on l?
Hydrogen has only one electron and one Coulomb interaction, so its energy Eₙ = −13.6 eV/n² depends only on the shell. In multi-electron atoms, inner electrons shield the nuclear charge unevenly for different orbital shapes, so subshells within the same shell (3s, 3p, 3d, ...) split apart in energy — which is why orbitals fill in an order that isn't simply 1s, 2s, 2p, 3s, 3p, 3d, 4s.