Information

Quantum Numbers: Principal, Azimuthal, Magnetic, and Spin Explained

Learn what quantum numbers are and how n, l, ml, and ms describe electron position in an atom. Includes examples for each quantum number, common mistakes, and how they connect to electron configuration.

Guide: Guía práctica Read: 7 min Updated: 2026-07-06

Information

Quantum Numbers: Principal, Azimuthal, Magnetic, and Spin Explained

Quantum numbers are the four coordinates that describe the location and energy of every electron in an atom. Principal (n), azimuthal (l), magnetic (ml), and spin (ms) together define a unique quantum state for each electron.

Think of quantum numbers as the address system for electrons: n tells you the floor (energy level), l tells you the room shape (subshell), ml tells you the specific seat (orbital orientation), and ms tells you which direction the electron faces (spin).

The Four Quantum Numbers Explained

Principal Quantum Number (n)

The principal quantum number (n) specifies the main energy level or shell that an electron occupies. It is a positive integer starting from 1. As n increases, the electron is further from the nucleus, has higher energy, and the orbital is larger.

  • n=1: first shell, holds up to 2 electrons
  • n=2: second shell, holds up to 8 electrons
  • n=3: third shell, holds up to 18 electrons
  • n=4: fourth shell, holds up to 32 electrons

The maximum number of electrons in a shell is 2n².

Azimuthal Quantum Number (l)

The azimuthal quantum number (l), also called the angular momentum quantum number, defines the shape of the orbital and the subshell. For a given n, l can range from 0 to n−1.

  • l=0: s subshell (spherical shape), holds 2 electrons
  • l=1: p subshell (dumbbell shape), holds 6 electrons
  • l=2: d subshell (cloverleaf shape), holds 10 electrons
  • l=3: f subshell (complex shape), holds 14 electrons

Example: For n=3, l can be 0, 1, or 2, meaning the third shell contains s, p, and d subshells.

Magnetic Quantum Number (ml)

The magnetic quantum number (ml) describes the orientation of the orbital in space. It ranges from −l to +l, including 0. This gives 2l+1 possible orbitals for each subshell.

  • s subshell (l=0): 1 orbital (ml=0)
  • p subshell (l=1): 3 orbitals (ml=−1, 0, +1)
  • d subshell (l=2): 5 orbitals (ml=−2, −1, 0, +1, +2)
  • f subshell (l=3): 7 orbitals (ml=−3, −2, −1, 0, +1, +2, +3)

Each orbital can hold a maximum of 2 electrons.

Spin Quantum Number (ms)

The spin quantum number (ms) describes the intrinsic angular momentum (spin) of an electron. Only two values are allowed: +1/2 (spin-up, ↑) and −1/2 (spin-down, ↓). The Pauli exclusion principle states that no two electrons in the same atom can have the same set of all four quantum numbers.

Worked Examples

Hydrogen (atomic number 1): The single electron is in 1s¹. Quantum numbers: n=1, l=0, ml=0, ms=+1/2.

Carbon (atomic number 6): Configuration 1s² 2s² 2p². The outermost electron is in 2p, so n=2, l=1. The ml depends on which p orbital (ml=−1, 0, or +1) and ms is +1/2 or −1/2.

Iron (atomic number 26): The highest-energy electron is in 3d: n=3, l=2. The ml is one of −2, −1, 0, +1, +2, and ms is +1/2 or −1/2.

Quick check

  • n is always a positive integer starting from 1, never 0.
  • l ranges from 0 to n−1, not 1 to n.
  • ml includes 0 and ranges from −l to +l (total 2l+1 values).
  • ms is always +1/2 or −1/2, never 0 or 1.
  • The 4s subshell fills before 3d, but 4s electrons still have n=4.

Common Student Mistakes

Mistake 1: Confusing n and l. Remember: n is the shell number (1, 2, 3...), while l is the subshell shape (0=s, 1=p, 2=d, 3=f).

Mistake 2: Getting ml ranges wrong. For l=1 (p), ml can be −1, 0, or +1 (three orbitals), not just 0 and 1.

Mistake 3: Forgetting that ml values include 0. The total number of ml values is always 2l+1.

Mistake 4: Assigning ms incorrectly. ms is always +1/2 or −1/2, never 0 or 1.

Mistake 5: Thinking n starts at 0. n always starts at 1.

Mistake 6: Confusing Aufbau order with quantum number assignment. The 4s fills before 3d, but its electrons still have n=4.

How Quantum Numbers Connect to Electron Configuration

Quantum numbers directly translate to electron configuration notation. The principal (n) and azimuthal (l) quantum numbers define each subshell: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, and so on.

The magnetic (ml) determines individual orbitals within each subshell. The spin (ms) determines how electrons fill those orbitals following Hund's rule: every orbital in a subshell gets one electron before any gets a second.

When writing an electron configuration, you are effectively listing the n and l values for all occupied subshells, with superscripts showing the total electrons in each. Understanding quantum numbers helps explain why the periodic table is structured the way it is, with shells filling in specific patterns and blocks corresponding to different l values.

Frequently Asked Questions

What are the four quantum numbers and what do they represent?

The four quantum numbers are: principal quantum number (n), which describes the energy level and shell size; azimuthal quantum number (l), which describes the subshell shape (s, p, d, f); magnetic quantum number (ml), which describes orbital orientation in space; and spin quantum number (ms), which describes electron spin direction (+1/2 or −1/2).

How do I find quantum numbers for an element?

Write the electron configuration, identify the highest-energy (outermost) electron, and read its n, l, ml, and ms values. n is the coefficient number (e.g., 3 in 3p), l is 0 for s, 1 for p, 2 for d, 3 for f subshells. ml depends on which orbital within that subshell, and ms is +1/2 for spin-up or −1/2 for spin-down.

What is the difference between n and l in quantum numbers?

n (principal quantum number) tells you the main energy level or shell. Larger n means higher energy and larger orbitals. l (azimuthal quantum number) tells you the subshell shape within that shell. For the same n, different l values give different orbital shapes (s, p, d, f).

Can two electrons have the same quantum numbers?

No. The Pauli exclusion principle states that no two electrons in the same atom can have the same set of all four quantum numbers. Two electrons in the same orbital (same n, l, ml) must have opposite spins (different ms values).

Why do quantum numbers matter in chemistry?

Quantum numbers govern electron configuration, orbital shapes, and chemical bonding. They explain the structure of the periodic table, determine how atoms form bonds, predict magnetic properties, and are essential for understanding atomic spectra and quantum chemistry.

Elena Marquez

Autora de la guia

Elena Marquez

Chemistry educator and study-guide editor

Elena explains electron configurations, orbital diagrams, and periodic trends for learners who need clear steps before memorization. Her guides focus on counting, notation, and common classroom mistakes.

Credenciales: Editorial specialization in introductory chemistry, periodic trends, and student reference material.

Experiencia: More than eight years preparing practical chemistry explainers, worksheets, and reference material for independent learners.

Actualizado: 2026-07-06 Politica editorial Correcciones

Por que confiar

Guides use a repeatable count-and-check method, flag common exceptions, and avoid collecting personal or student data.

Share

Send this guide to a classmate or teacher preparing electron configuration practice.