Quantum Number Calculator

Validate the four electron quantum numbers and identify orbital type, capacities, and hydrogen-like energy.

Quantum State Calculation
Enter n, l, m_l, and m_s to test whether they describe an allowed one-electron state.

About Quantum Numbers

Quantum numbers are a compact description of an electron state in an atom. The principal quantum number n identifies the shell and is any positive integer. Larger n values generally correspond to orbitals with greater average distance from the nucleus and, in hydrogen-like atoms, less negative energy. The angular momentum quantum number l identifies the subshell and may be any integer from zero through n minus one. Conventional letters map l values of 0, 1, 2, and 3 to s, p, d, and f orbitals. The magnetic quantum number m_l specifies an orbital orientation within a subshell. It takes integer values from negative l through positive l, including zero. That range contains 2l plus 1 possible orbitals. Each spatial orbital can hold two electrons because the spin quantum number m_s has two allowed projections, positive one-half and negative one-half. The Pauli exclusion principle states that no two electrons in one atom can share the same complete set of four quantum numbers. This calculator first checks all four selection rules. For a valid state, it reports the spectroscopic orbital label, the maximum population of the selected shell, and the maximum population of its subshell. A shell has n squared spatial orbitals and can therefore hold 2n squared electrons. A subshell has 2l plus 1 orbitals and can hold twice that number of electrons. These capacities describe the available states; they do not say how many electrons actually occupy an atom without additional electron-configuration information. The displayed energy uses the simple hydrogen-like expression negative 13.6 electron volts divided by n squared. It is exact only for hydrogen in the nonrelativistic approximation and is a useful baseline for one-electron ions when nuclear charge is included separately. In multi-electron atoms, shielding, penetration, electron repulsion, spin-orbit coupling, and other effects split energies that this elementary model treats as equal. Use the result to learn selection rules and shell structure, not as a high-precision prediction for complex atomic spectra.

Quantum Number Examples

Each row is an allowed state and shows the corresponding orbital.

Quantum numbersOrbitalInterpretation
n=1, l=0, m_l=0, m_s=0.51sGround-state spin-up option
n=2, l=1, m_l=0, m_s=-0.52pOne of six 2p states
n=3, l=2, m_l=-1, m_s=-0.53dOne of ten 3d states

How to Check Quantum Numbers

  1. Enter the positive integer principal quantum number n.
  2. Choose an integer l from zero through n minus one.
  3. Enter an integer m_l between negative l and positive l.
  4. Enter either 0.5 or -0.5 for electron spin and calculate the state.

Frequently Asked Questions

What does the principal quantum number describe?

The principal number identifies an electron shell and strongly influences orbital size and hydrogen-like energy. It must be a positive integer beginning with one.

Why must l be smaller than n?

The angular momentum selection rule permits l values from zero to n minus one. This is why the first shell contains only an s subshell, while later shells add p, d, and f subshells.

How many orbitals are in a subshell?

A subshell contains 2l plus 1 spatial orbitals, corresponding to all allowed m_l values. Its electron capacity is twice that count because each orbital allows two spin projections.

Can two electrons have the same quantum numbers?

No two electrons in the same atom can have all four quantum numbers equal. Two electrons may share one spatial orbital only when their spin quantum numbers are opposite.

Is the calculated energy valid for every atom?

No, the displayed negative 13.6 divided by n squared value is the elementary hydrogen result. Multi-electron atoms require models that account for shielding and electron-electron interactions.