Quantum Number Calculator (Worksheets + Instant Results)

The Quantum Number Calculator computes the allowed quantum numbers for an electron—n, l, m, and ms—and can also estimate its energy level. Enter the electron’s state you know, then the calculator validates what’s physically allowed and fills in the rest.

It follows the standard quantum rules used in chemistry and physics: n is a positive integer, l depends on n, m depends on l, and ms is always ±½.

What the quantum numbers mean

Quantum numbers are labels that describe an electron’s state in an atom. They are not guesses—each one has strict rules that come from the wave nature of electrons and boundary conditions.

  • Principal quantum number (n): sets the electron’s energy level and average distance from the nucleus.
  • Azimuthal quantum number (l): sets the subshell shape (s, p, d, f).
  • Magnetic quantum number (m): sets the orientation of the subshell in space.
  • Spin quantum number (ms): describes intrinsic electron spin.

Core rules the Quantum Number Calculator uses

For a single electron in a hydrogen-like atom (or as a first approximation in many contexts), the following constraints must be satisfied.

1) Principal quantum number (n)

n must be a whole number: n = 1, 2, 3, … Higher n means a larger, higher-energy orbital.

2) Azimuthal quantum number (l)

For each n, l can take integer values from 0 to n − 1:

  • l = 0s subshell
  • l = 1p subshell
  • l = 2d subshell
  • l = 3f subshell

In general, the subshell letters stop at the largest l allowed by your chosen n.

3) Magnetic quantum number (m)

Once l is known, m can be any integer between −l and +l:

m ∈ {−l, −l+1, …, 0, …, +l}

This means a subshell with azimuthal number l has (2l + 1) distinct orbital orientations.

4) Spin quantum number (ms)

The spin quantum number can only be:

  • ms = +1/2
  • ms = −1/2

Each orbital can hold two electrons with opposite spins.

Energy levels (optional, hydrogen-like estimate)

If you choose to estimate the energy, the calculator uses the hydrogen-like energy formula (good for hydrogen and useful for approximations with effective nuclear charge).

Energy formula

The energy depends only on n:

QuantityMeaning
EnEnergy of the electron at principal level n
nPrincipal quantum number (1, 2, 3, …)

Using the common form for hydrogen-like atoms:

En = −13.6 eV / n²

Negative energy means the electron is bound. The magnitude shrinks as n increases.

How to use the Quantum Number Calculator

Start by entering the quantum information you know. The calculator then applies the rules to validate your inputs and compute the missing values.

  • If you enter n and l, it checks whether l lies in the allowed range 0 to n−1.
  • If you enter l and m, it checks whether m lies in the allowed set from −l to +l.
  • If you enter ms, it verifies it is either +½ or −½.

You can also request an energy estimate based on n. The calculator returns energy in electron-volts by default.

Practical examples

Example 1: Find valid m values for a 3d electron

A 3d electron means n = 3 and l = 2. The allowed m values are all integers from −2 to +2.

  • m = −2, −1, 0, +1, +2
  • So there are 2l + 1 = 5 orbitals in the d subshell.

Each of those five orbitals can hold two electrons, giving up to 10 electrons in a fully filled 3d subshell.

Example 2: Validate a proposed set of quantum numbers

Suppose a student proposes: n = 2, l = 2, m = 1, ms = +1/2. The calculator flags this immediately.

  • For n = 2, l must be 0 or 1 (not 2).
  • Because l is invalid, m is invalid too.

Quantum numbers must match the allowed ranges—there is no “almost correct” set.

Frequently Asked Questions

What values can l take for a given n?

For any principal quantum number n, the azimuthal quantum number l can be any integer from 0 through n − 1. For instance, if n = 4, then l can be 0, 1, 2, or 3. This determines the subshell type.

How do I find the allowed m values?

Once you know l, the magnetic quantum number m can be any integer between −l and +l. That gives exactly 2l + 1 possible m values. For example, l = 1 allows m = −1, 0, +1.

Why is ms always ±1/2?

The spin quantum number ms represents the electron’s intrinsic spin and can only take two values: +1/2 or −1/2. This restriction comes from quantum mechanics and does not depend on n, l, or m.

Does the energy depend on l, m, or ms?

In the simple hydrogen-like model, the energy depends only on the principal quantum number n. That means all states with the same n have the same energy, even if l, m, or ms differ. More advanced models include small splittings.

Can this calculator be used for multi-electron atoms?

The quantum number rules still apply to each electron, but the energy estimate is most accurate for hydrogen-like systems. For multi-electron atoms, interactions and effective nuclear charge change the energy. The calculator still helps validate quantum numbers and subshell assignments.

Key takeaways

  • n is a positive integer (1, 2, 3…).
  • l ranges from 0 to n−1.
  • m ranges from −l to +l in integer steps.
  • ms is always ±1/2.
  • Energy estimate uses E = −13.6 eV / n² for hydrogen-like atoms.

Use the Quantum Number Calculator to check your quantum numbers fast and avoid common range mistakes that show up on homework and exams.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top