Quantum Numbers Calculator

Calculate, validate, and understand the four quantum numbers that describe electron states.

Quantum Numbers

Quantum Numbers Status

VALID

(2, 1, 0, +0.5)

nOrbital
2p
lShape
Dumbbell
2n2Max e- (Shell)
8
4l+2Max e- (Subshell)
6

Node Information:

0

Radial Nodes

1

Angular Nodes

1

Total Nodes

Spin State:

Up (alpha)

The Four Quantum Numbers

n (Principal)

Energy level/shell. Values: 1, 2, 3, ... Determines size and energy.

l (Angular Momentum)

Subshell shape. Values: 0 to n-1. s=0, p=1, d=2, f=3.

ml (Magnetic)

Orbital orientation. Values: -l to +l. Determines spatial orientation.

ms (Spin)

Electron spin. Values: +1/2 or -1/2. Intrinsic angular momentum.

What are Quantum Numbers?

Quantum numbers are a set of four numbers that completely describe the state of an electron in an atom. Derived from the solutions to the Schrödinger equation for hydrogen-like atoms, these numbers specify the electron's energy level, orbital shape, orbital orientation, and spin direction. Together, they form a unique address for every electron in an atom, analogous to how a street address identifies a specific house in a city.

The principal quantum number (n) determines the electron's energy level and the approximate size of the orbital. The angular momentum quantum number (l) determines the shape of the orbital—whether it is spherical (s), dumbbell-shaped (p), cloverleaf (d), or more complex (f). The magnetic quantum number (ml) specifies the orientation of the orbital in three-dimensional space. Finally, the spin quantum number (ms) describes the intrinsic angular momentum of the electron, which can be either spin-up (+1/2) or spin-down (−1/2).

Understanding quantum numbers is essential for electron configuration, which predicts chemical bonding, magnetic properties, and the periodic trends of elements. The rules governing allowed quantum number values explain why electron shells have specific capacities and why the periodic table has its characteristic structure.

Rules for Allowed Quantum Numbers

Each quantum number has specific allowed values determined by quantum mechanical principles. These rules ensure that the wavefunction solutions are physically meaningful and satisfy boundary conditions.

The Pauli exclusion principle states that no two electrons in an atom can have the same set of all four quantum numbers, which limits each orbital to a maximum of two electrons with opposite spins. This principle, combined with the allowed quantum number values, determines the electron capacity of each shell and subshell.

Quantum Number Constraints

n = 1, 2, 3, ... ; l = 0 to n−1 ; ml = −l to +l ; ms = ±1/2

Where:

  • n= Principal quantum number (positive integer: 1, 2, 3, ...)
  • l= Angular momentum quantum number (0 to n−1: s=0, p=1, d=2, f=3)
  • ml= Magnetic quantum number (integer from −l to +l)
  • ms= Spin quantum number (+1/2 or −1/2 only)

Properties Derived from Quantum Numbers

From the four quantum numbers, several important orbital properties can be calculated:

  • Orbital name: Combines n and the letter designation of l (e.g., 2p, 3d, 4f)
  • Maximum electrons in shell: 2n² electrons can occupy shell n
  • Maximum electrons in subshell: 2(2l+1) electrons can occupy subshell l
  • Radial nodes: n − l − 1 spherical nodes in the orbital
  • Angular nodes: l planar or conical nodes in the orbital
  • Total nodes: n − 1 total nodes in the orbital

The number of nodes increases with quantum number values, and more nodes correspond to higher energy orbitals. The shape of the orbital (spherical for s, dumbbell for p, cloverleaf for d) is determined by l.

How to Use This Calculator

This calculator validates quantum number sets and displays all derived orbital properties:

  1. Enter n (Principal): Select the principal quantum number from 1 to 7. This sets the energy level and limits the range of l.
  2. Enter l (Angular): Choose the angular momentum quantum number from 0 to n−1. The dropdown labels show both the number and orbital letter (s, p, d, f).
  3. Enter ml (Magnetic): Select the orbital orientation from −l to +l.
  4. Enter ms (Spin): Choose +1/2 (spin up) or −1/2 (spin down).
  5. View Results: The calculator indicates whether the set is valid or invalid, and displays the orbital name, shape, electron capacities, node counts, and energy level.

Real-World Applications

Quantum numbers are fundamental to understanding the periodic table's structure. The filling order of orbitals (1s, 2s, 2p, 3s, 3p, 4s, 3d, ...) follows from the rules governing quantum numbers and explains why elements in the same group share similar chemical properties—they have similar valence electron configurations.

In spectroscopy, quantum numbers describe the initial and final states of electronic transitions that produce absorption or emission spectra. The selection rules for transitions (Δl = ±1, Δms = 0) determine which spectral lines are allowed. In MRI technology, the spin quantum number of hydrogen nuclei is exploited to generate detailed images of soft tissues. Quantum computing research uses qubits that can exist in superpositions of spin states, leveraging the quantum nature of the ms quantum number.

Worked Examples

Validating a 2p Electron

Problem:

Is the quantum number set (n=2, l=1, ml=0, ms=+1/2) valid? What orbital does it describe?

Solution Steps:

  1. 1Check n: 2 ≥ 1 and integer ✓
  2. 2Check l: 1 is in range 0 to n−1 = 1 ✓
  3. 3Check ml: 0 is in range −l to +l = −1 to +1 ✓
  4. 4Check ms: +1/2 is allowed ✓
  5. 5Orbital name: 2p, shape: dumbbell, max electrons in subshell: 2(2×1+1) = 6

Result:

VALID — 2p orbital, dumbbell shape, 2 radial nodes, 1 angular node

Invalid Quantum Numbers

Problem:

Is the set (n=2, l=2, ml=0, ms=+1/2) valid?

Solution Steps:

  1. 1Check n: 2 ≥ 1 ✓
  2. 2Check l: 2 is NOT in range 0 to n−1 = 1 ✗
  3. 3For n=2, l can only be 0 or 1
  4. 4The set is INVALID because l cannot equal n

Result:

INVALID — l must be 0 to n−1; for n=2, l cannot be 2

Node Count for 3d Orbital

Problem:

How many radial and angular nodes does a 3d electron have?

Solution Steps:

  1. 1Identify quantum numbers: n=3, l=2 (d orbital)
  2. 2Radial nodes: n − l − 1 = 3 − 2 − 1 = 0
  3. 3Angular nodes: l = 2
  4. 4Total nodes: n − 1 = 3 − 1 = 2

Result:

3d has 0 radial nodes, 2 angular nodes, and 2 total nodes

Tips & Best Practices

  • Remember the hierarchy: n limits l, and l limits ml. Always check constraints from the innermost quantum number outward.
  • Use the orbital letter codes: l=0 is s, l=1 is p, l=2 is d, l=3 is f, l=4 is g.
  • The total number of orbitals in a subshell is 2l+1, and each holds 2 electrons, giving 2(2l+1) max electrons.
  • Radial nodes represent spherical surfaces where the electron probability drops to zero; more nodes mean higher energy.
  • For hydrogen-like atoms, energy depends only on n; for multi-electron atoms, both n and l affect energy.
  • The Pauli exclusion principle is why the periodic table has 2 elements in each s-block, 6 in each p-block, 10 in each d-block, and 14 in each f-block position.

Frequently Asked Questions

The spin quantum number ms = ±1/2 arises from the relativistic quantum mechanical treatment of the electron as a spin-1/2 particle. There are only two possible projections of the spin angular momentum along a chosen axis: +ℏ/2 (spin up) and −ℏ/2 (spin down). This is an intrinsic property of the electron, not a result of orbital mechanics.
When l = 0, the orbital has no angular nodes, making it perfectly spherical. These are called s orbitals. An s orbital has a single maximum probability density at the nucleus (for 1s) or at increasing radii for higher principal quantum numbers (2s, 3s, etc.). The lack of angular dependence means s orbitals are spherically symmetric.
The n=3 shell can hold a maximum of 2n² = 2(3²) = 18 electrons. This includes the 3s subshell (2 electrons), 3p subshell (6 electrons), and 3d subshell (10 electrons), for a total of 2 + 6 + 10 = 18 electrons.
The periodic table's structure directly reflects the filling order of quantum states. Periods correspond to the principal quantum number n of the outermost shell being filled. Blocks (s, p, d, f) correspond to the angular momentum quantum number l. Groups share similar valence configurations, explaining their similar chemistry.
Yes, but only if they have different ms values. The Pauli exclusion principle states that no two electrons can have the same set of all four quantum numbers. This means each orbital (defined by n, l, ml) can hold exactly two electrons: one with ms = +1/2 and one with ms = −1/2.

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.

Source

Formula Source: Chemistry: The Central Science

by Brown, LeMay, Bursten

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.