Quantum Numbers Calculator
Explore and validate quantum number sets for electrons, with orbital identification and energy calculations.
d
5
10
Up
2
0
2
-1.51 eV
Quantum Number Rules
- n (Principal): 1, 2, 3, ... - determines shell and energy
- l (Angular momentum): 0 to n-1 - determines subshell shape
- ml (Magnetic): -l to +l - determines orbital orientation
- ms (Spin): +1/2 or -1/2 - determines electron spin
Understanding Quantum Numbers
Quantum numbers are the set of four numerical labels that uniquely identify every electron in an atom. They arise directly from solving the Schrödinger equation for hydrogen-like systems and provide a complete description of an electron's quantum state. The four quantum numbers are the principal quantum number (n), the angular momentum quantum number (l), the magnetic quantum number (ml), and the spin quantum number (ms).
Each quantum number carries specific physical meaning. The principal quantum number n determines the electron's energy and the size of its orbital—larger n means higher energy and a more diffuse orbital. The angular momentum quantum number l determines the shape of the orbital, with l=0 giving spherical s orbitals, l=1 giving dumbbell-shaped p orbitals, l=2 giving cloverleaf d orbitals, and l=3 giving complex f orbitals. The magnetic quantum number ml specifies how the orbital is oriented in space relative to an applied magnetic field. The spin quantum number ms describes the intrinsic angular momentum of the electron, which is always either +1/2 or −1/2.
The allowed values of these quantum numbers are not arbitrary—they follow strict rules derived from the mathematical requirements of wave-like solutions. These rules explain why electron shells have specific capacities and why the periodic table has its characteristic arrangement of elements.
Allowed Values and Constraints
The quantum mechanical rules governing allowed quantum number values ensure physically meaningful solutions for atomic orbitals:
| Quantum Number | Symbol | Allowed Values | Physical Meaning |
|---|---|---|---|
| Principal | n | 1, 2, 3, 4, ... | Shell, energy level, orbital size |
| Angular momentum | l | 0, 1, 2, ..., n−1 | Subshell, orbital shape |
| Magnetic | ml | −l, ..., 0, ..., +l | Orbital orientation |
| Spin | ms | +1/2 or −1/2 | Electron spin direction |
Orbital Capacity Formula
Where:
- l= Angular momentum quantum number (determines subshell type)
- 2l + 1= Number of orbitals in the subshell
- 2(2l+1)= Maximum electrons (2 per orbital due to Pauli exclusion)
Nodes in Atomic Orbitals
Atomic orbitals contain nodes—regions where the probability of finding an electron drops to zero. Understanding node counts helps visualize orbital complexity and relative energies:
- Radial (spherical) nodes: n − l − 1. These are concentric spherical shells where the wavefunction changes sign. The 2s orbital has one radial node, while the 3s orbital has two.
- Angular (planar) nodes: l. These are flat planes or cones passing through the nucleus. A 2p orbital (l=1) has one angular node, while a 3d orbital (l=2) has two.
- Total nodes: n − 1. The sum of radial and angular nodes determines the overall complexity of the orbital.
More nodes correspond to higher energy because the wavefunction oscillates more rapidly, creating regions of alternating positive and negative amplitude. The total number of nodes is always n−1 for any orbital in shell n.
How to Use This Calculator
This calculator validates and analyzes quantum number sets for electrons:
- Select n (Principal): Choose the energy level from 1 to 7 using the dropdown.
- Select l (Angular): Choose the subshell type from 0 to n−1. The dropdown shows both the number and letter designation.
- Select ml (Magnetic): Choose the orbital orientation from −l to +l.
- Select ms (Spin): Choose +1/2 (spin up) or −1/2 (spin down).
- View Results: The calculator displays a validity check, orbital name, orbital type, number of orbitals in the subshell, maximum electrons, node counts, and approximate hydrogen-like energy.
Real-World Applications
Quantum numbers explain the structure of the periodic table. The s-block (groups 1-2) fills l=0 orbitals, the p-block (groups 13-18) fills l=1 orbitals, the d-block (transition metals) fills l=2 orbitals, and the f-block (lanthanides and actinides) fills l=3 orbitals. Each block's width corresponds to the number of orbitals in that subshell multiplied by 2 for electron spin.
In atomic spectroscopy, transitions between quantum states produce characteristic emission and absorption lines. The Balmer series of hydrogen (visible light) corresponds to transitions from higher n levels to n=2. Selection rules (Δl = ±1) determine which transitions are allowed, explaining why some expected spectral lines are missing. In MRI technology, the spin quantum number of hydrogen nuclei is manipulated to produce detailed images of biological tissues, demonstrating quantum mechanics at the macroscale.
Worked Examples
Identifying a 3d Electron
Problem:
A set of quantum numbers is (n=3, l=2, ml=−1, ms=−1/2). Validate it and describe the orbital.
Solution Steps:
- 1Check n=3: valid (positive integer) ✓
- 2Check l=2: valid (0 ≤ l ≤ n−1 = 2) ✓ → d subshell
- 3Check ml=−1: valid (−2 ≤ ml ≤ +2) ✓
- 4Check ms=−1/2: valid ✓
- 5Orbital: 3d, orbitals in subshell: 2(2×2+1) = 10, max electrons: 10
Result:
Valid — 3d electron with 0 radial nodes, 2 angular nodes, energy ≈ −1.51 eV (H-like)
Invalid Quantum Number Set
Problem:
Are (n=3, l=0, ml=1, ms=+1/2) valid quantum numbers?
Solution Steps:
- 1Check n=3: valid ✓
- 2Check l=0: valid (s orbital) ✓
- 3Check ml=1: INVALID — for l=0, ml can only be 0
- 4The magnetic quantum number cannot exceed ±l
Result:
INVALID — ml=1 is not allowed when l=0; ml must be 0 for an s orbital
Shell Electron Capacity
Problem:
How many electrons can the n=4 shell accommodate, and what subshells does it contain?
Solution Steps:
- 1Maximum electrons: 2n² = 2(4²) = 32
- 2Subshells: l = 0 (4s), l = 1 (4p), l = 2 (4d), l = 3 (4f)
- 34s holds 2 electrons, 4p holds 6, 4d holds 10, 4f holds 14
- 4Total: 2 + 6 + 10 + 14 = 32 ✓
Result:
n=4 shell holds 32 electrons across four subshells: 4s, 4p, 4d, and 4f
Tips & Best Practices
- ✓Always start by choosing n, since it limits the possible values of all other quantum numbers.
- ✓Use the letter designations (s, p, d, f) for l values 0, 1, 2, 3 to quickly identify orbital types.
- ✓Remember that each orbital holds exactly 2 electrons, so the subshell capacity is 2(2l+1).
- ✓The total number of nodes in any orbital is always n−1, regardless of the subshell.
- ✓For hydrogen, energy depends only on n; for other atoms, both n and l determine energy.
- ✓The Pauli exclusion principle is why no two electrons in an atom can have identical quantum numbers.
Frequently Asked Questions
Sources & References
Last updated: 2026-06-06
Help us improve!
How would you rate the Quantum Numbers Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Chemistry: The Central Science
by Brown, LeMay, Bursten