Quantum Number Calculator
The quantum number calculator allows you to list all possible values of quantum numbers for a given electron shell.
The formula
l = 0…n−1; m_l = −l…+l; m_s = ±½; states = 2n²
Each number constrains the next
The principal number n can be any positive integer. Given n, the azimuthal number l runs from 0 to n−1 — which is why there is no 1p orbital and no 2d. Given l, the magnetic number m_l takes 2l+1 values from −l to +l. Spin is always ±½. Multiplying it out gives n² orbitals and 2n² electrons per shell: 2, 8, 18, 32.
The angular momentum magnitude is √(l(l+1))ħ while the largest measurable component is only lħ. The magnitude always exceeds the biggest component, so the vector can never point entirely along the axis you measure — a purely quantum feature with no classical counterpart.
The letters s, p, d and f come from "sharp", "principal", "diffuse" and "fundamental", describing how spectral lines looked decades before orbitals were understood. After f they continue alphabetically, skipping j.