Free Quantum Number Calculator

Enter a principal quantum number n to see the quantum number combinations

Quantum numbers are the core descriptors that define the quantum state of every electron within an atom, much like a unique coordinate system. Understanding these four numbers – principal, angular momentum, magnetic, and spin – is essential for predicting electron configurations, atomic spectra, and chemical behavior. The quantum number calculator is a free online tool that quickly determines all possible combinations of these quantum numbers for a given electron shell or subshell, effectively serving as an electron configuration calculator that helps users visualize the allowed quantum states. This guide explains each quantum number and demonstrates how to use the calculator to explore the electron quantum state of any atom.

Principal Quantum Number (n)

The principal quantum number designates the main energy shell (or level) in which an electron resides. Represented by the symbol nn, its allowed values are positive integers: n=1,2,3,…n = 1, 2, 3, \dots. As nn increases, the electron’s average distance from the nucleus grows, along with the atom’s size and the electron’s energy. The shell with n=1n=1 (the first shell or K‑shell) corresponds to the lowest energy state. For the heaviest known element (oganesson, Z=118Z=118), the highest occupied shell is n=7n=7.

Angular Momentum Quantum Number (l)

Also called the azimuthal quantum number, the angular momentum quantum number ll determines the orbital angular momentum of an electron and the shape of its orbital. For a given nn, ll can take integer values from 00 to n−1n-1:

l=0,1,2,…,n−1.l = 0, 1, 2, \ldots, n-1.

The magnitude of the orbital angular momentum is given by L=ℏl(l+1)L = \hbar \sqrt{l(l+1)}.

The value of ll also specifies the number of subshells (or sublevels) within a shell and labels each subshell with a letter:

ll valueSubshell designation
0s
1p
2d
3f
4g
5h

For instance, when n=2n=2, ll can be 0 or 1, meaning the second shell contains an s‑subshell and a p‑subshell. The s‑orbitals are spherical, while p‑orbitals have a dumbbell shape. (In ground‑state configurations, no known element occupies g‑ or h‑subshells.)

Magnetic Quantum Number (mlm_l)

The magnetic quantum number mlm_l describes the spatial orientation of an orbital. For a given ll, mlm_l can range from −l-l through 0 to +l+l:

ml=−l,−(l−1),…,0,…,(l−1),l.m_l = -l, -(l-1), \dots, 0, \dots, (l-1), l.

Thus there are (2l+1)(2l+1) possible orientations. For the p‑subshell (l=1l=1), the allowed values are ml=−1,0,+1m_l = -1, 0, +1, corresponding to the pxp_x, pyp_y, and pzp_z orbitals.

Spin Quantum Number (msm_s)

Electrons possess an intrinsic spin, analogous to rotating around their own axis. The spin quantum number msm_s can take only two values:

ms=±12.m_s = \pm \frac{1}{2}.

These represent the two possible spin orientations (often called “spin up” and “spin down”). The magnitude of the spin angular momentum is S=ℏs(s+1)S = \hbar \sqrt{s(s+1)}.

Using the Quantum Number Calculator

To explore the possible quantum numbers for a given shell, simply select the principal quantum number from the drop‑down menu. For example, with n=3n=3, the calculator returns:

  • Allowed ll values: 0, 1, 2.
  • Allowed msm_s values: +12,−12+\frac{1}{2}, -\frac{1}{2}.
  • Total number of orbitals in the shell: 9.
  • Maximum number of electrons: 18.
  • A table listing every allowed combination of (n,l,ml,ms)(n, l, m_l, m_s).

This electron configuration calculator feature makes it easy to see how many electrons can occupy each subshell and how the Pauli exclusion principle restricts their quantum states.

The Pauli Exclusion Principle

A fundamental rule governing electron arrangements is the Pauli exclusion principle: no two electrons in an atom can share the same set of all four quantum numbers. Consequently, an atomic orbital (specified by nn, ll, and mlm_l) can accommodate at most two electrons, and those two must have opposite spins. This principle explains the maximum electron capacity of each shell and subshell.

FAQ

1. What does the principal quantum number determine?

The principal quantum number (n) defines the main energy shell or level of an electron. It also determines the size and energy of the orbital as well as the overall size of the atom.

2. How do I find the angular momentum quantum number for a given electron?

First identify the principal quantum number n of the electron. The angular momentum quantum number l can then take integer values from 0 up to n−1. For example, if n=3, l can be 0, 1, or 2.

3. What is the magnetic quantum number and how do I determine its possible values?

The magnetic quantum number (m_l) describes the spatial orientation of an orbital. For a given angular momentum quantum number l, m_l can range from −l to +l, including zero, giving (2l+1) possible values. For instance, when l=1, m_l can be −1, 0, or +1.

4. Can two electrons have the same set of quantum numbers?

No. The Pauli exclusion principle states that no two electrons in an atom can have identical values for all four quantum numbers (n, l, m_l, m_s). Therefore, an orbital can hold at most two electrons, and they must have opposite spins.

5. How many electrons can the n=3 shell hold?

For n=3, the possible values of l are 0, 1, and 2 (s, p, d subshells). The total number of orbitals is 1+3+5=9, and each orbital can hold two electrons, so the shell can accommodate a maximum of 18 electrons.

How to Use

  1. Enter a principal quantum number n (a positive integer, e.g., 3) in the input field.
  2. The calculator instantly shows the allowed values of angular momentum (l), magnetic (mₗ), and spin (mₛ) quantum numbers for that shell.
  3. Review the summary of orbital count (n²) and maximum electron capacity (2n²), plus the full table of all allowed quantum number combinations.