Calculating the quantum number is not complicated; after all: the formulas are straightforward, and the values are small. However, the reasoning behind them and the meaning carried by those small integers is worth an entire book. We will condense it by a lot! Follow us, and learn how to calculate the quantum numbers:

  • Learn how to find the principal quantum number nn;
  • Find out what is the azimuthal quantum number and how to find it from the value of nn;
  • Learn the formulas to find the magnetic quantum number and how it relates to the orientation of the orbitals;
  • Discover our quantum number calculator and how to use it.

Quantum numbers

According to the latest atomic model, electrons move around the atom as a delocalized cloud where the double nature of wave and particle allows them to exist without dissipating energy (we talked about this duplicity in our De Broglie wavelength calculator); the inaccuracies that still flawed Bohr's atomic model โ€” we found them in our Bohr model calculator โ€” are finally gone.

Electrons are fermionic particles: other than obeying the Fermi-Dirac statistics (we outlined it in the Fermi level calculator), they follow what's known as Pauli exclusion principle: every electron occupies alone a specific orbital.

We specify the orbital using a collection of numbers, each indicating a peculiar characteristic of the orbital itself. Each orbital can contain two electrons: at that point, a split happens thanks to the fermionic nature of electrons, and two particles with opposite spin fill the shell. We will dwell on this last detail later.

Each combination of quantum numbers defines the energy of the electron in the orbital. For an atom, we have four quantum numbers. In the following sections, we will meet them and, with due detail, learn:

  • How to find the principal quantum number nn;
  • How to find the azimuthal quantum number ll;
  • Ho to find the magnetic quantum number mm; and
  • How to complete the description of an electron orbital with the spin number ss.

How to find the principal quantum number

The first and most important quantum number is the principal quantum number nn. It indicates the energy of the shell (and the electron in it). The larger the value of nn, the farther the electron is from the nucleus โ€” though there are exceptions for heavier atoms.

How do you find the principal quantum number? You can start by checking the periodic table: the value of nn corresponds to the period of the table where the desired electron lies in the outer shell (hydrogen and helium have electrons in the first shell, hence n=1n=1, oxygen's outer electron lies at higher energy and has n=2n=2. After learning how to find the azimuthal quantum number, we will expand this technique.

nn assumes positive, integer, and non-zero values:

n=0,1,2,3,...n = 0, 1, 2 ,3,...

๐Ÿ™‹ In our current chemistry understanding, the maximum principal quantum number allowed is n=7n=7.

How to find azimuthal quantum number

The next step is defining the shape of the orbital. The azimuthal quantum number ll also separates electrons in energetic sublevels. It has multiple values, whose amount depends on one of the principal quantum numbers. For each energetic shell determined by nn, we have:

l=0,1,2,...,nโˆ’1l = 0,1,2,...,n-1

For example:

  • To n=1n=1 we find l=0l=0, a number associated to spherical shells;
  • To n=2n=2 we find l=0,1l=0,1: on top of l=0l=0 we have l=1l=1, that we associate to bilobated shells;
  • For n=3n=3 the values of ll are l=0,1,2l=0,1,2. l=2l=2 corresponds to a "cloverleaf" shape and a bilobated-plus-doughnut shape.

Higher values of nn add more complex shapes that require a more detailed description.

To accelerate the identification of such shapes, chemists associated letters with values of ll:

Value of ll














Unique shapes







๐Ÿ™‹ *The dd orbital also assumes a complex bilobated shape surrounded by a torus.

The shape of the orbital is related to the angular momentum of the electron. We can find a relationship between the azimuthal number and this quantity:

L=(l(l+1)h2ฯ€โ€‹L=\sqrt{ (l(l+1)}\frac{h}{2\pi} โ€‹

If your electron lies in the dd shell, you will find it in the central block of the periodic table, with most metals. In this case, add 11 to the period to see the principal quantum number. If your electron is in the ff shell, you can find it in the two rows of dangerous-and-if-not-artificial elements at the bottom of the table. In this case, add 22 to the period to find nn.

How to find the magnetic quantum number

After dealing with energy and shape, we can define the orientation of the orbitals. This distinction again creates a subdivision of the energy level. The associated quantum number is mm. Following the same pattern we met when we learned how to find the azimuthal quantum number, we find multiple values of mm for each value of ll, according to the formula:

m=โˆ’l,โˆ’(lโˆ’1),...,0,...,lโˆ’1,lm = -l,-(l-1), ..., 0, ..., l-1,l
  • For n=1n=1 and l=0l=0, mm has a single value: m=0m=0. A sphere is always the same in every orientation!
  • For n=2n=2 and l=1l=1, m=โˆ’1,0,+1m=-1,0,+1. In this case, there are three possible orientations: the bilobated orbitals follow the axis, and we find three possible shells: pxp_x, pyp_y, and pzp_z.
  • For the value l=2l=2 the number of magnetic numbers is 55: m=โˆ’2,โˆ’1,0,1,2m=-2,-1,0,1,2. There are four possible orientations for the cloverleaf (one for each axis and one for the xโˆ’yx-y plan) and an extra orientation for the weird bilobated-and-doughnut-shaped orbital.

You can find 77 orbitals for l=3l=3, the ff orbitals, but again, the complexity makes the description not on the scope.

Complete the quantum number calculator: you spin me round

Electrons have an additional property: spin. The spin is a measure of the intrinsic rotation of the particle and has an associated quantum number, ss.

ss can assume values 1/21/2 and โˆ’1/2-1/2, and we add it to the nโˆ’lโˆ’mn-l-m set of quantum numbers we calculated before. This last number creates an additional division in two sublevels in each orbital. Thus, the final tally of electrons in an atomic shell is:

  • l=0l=0: 22 electrons;
  • lโˆ’1l-1: 66 electrons;
  • l=2l=2: 1010 electrons; and
  • l=3l=3: 1414 electrons.

How to find your quantum numbers: calculate the quantum numbers for an energetic shell

How to calculate the quantum numbers with our tools? Insert the value of nn: as you know, it will help you find the other quantum numbers. We will tell you:

  • The values of all the quantum numbers;
  • The number of orbitals;
  • The maximum number of electrons; and
  • A table with all the possible combinations of the quantum numbers.

Now take a periodic table, and try to assign to every element the quantum numbers corresponding to the outermost electron in the cloud.

Discover quantum mechanics with Calctools and other calculators: the two photon absorption calculator, the photoelectric effect calculator, and many more!

Davide Borchia
I know the value of ...
Principal quantum number
Enter the value of ๐‘›
People also viewedโ€ฆ

Photoelectric effect

Discover the math behind the experimental cornerstone of quantum mechanics with our photoelectric effect calculator.

Rydberg equation

Find the wavelength of the spectra of any hydrogen-like atom with our Rydberg equation calculator.

Schwarzschild radius

Discover the fundamental of black hole physics with our Schwarzschild radius calculator.
main background