Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Chemistry
  3. /Periodic Table & Element Calculators
  4. /Quantum Numbers Calculator

Quantum Numbers Calculator

Calculator

Results

Max Electrons in Shell n

—

Max Electrons in Subshell

—

Orbitals in Subshell

—

Total Orbitals in Shell n

—

n + l Value

5

Results

Max Electrons in Shell n

—

Max Electrons in Subshell

—

Orbitals in Subshell

—

Total Orbitals in Shell n

—

n + l Value

5

The Quantum Numbers Calculator analyzes the four quantum numbers that uniquely describe the state of every electron in an atom. According to quantum mechanics, each electron is characterized by: the principal quantum number (n) determining energy level and shell size, the angular momentum quantum number (l) determining orbital shape, the magnetic quantum number (ml) determining orbital spatial orientation, and the spin quantum number (ms) determining electron spin direction. Together, these four numbers provide a complete quantum mechanical description of an electron's state and, by the Pauli exclusion principle, no two electrons in an atom can share the same set of all four quantum numbers. This calculator computes the maximum electron capacity, number of orbitals, and energy ordering information for any valid combination of quantum numbers.

Visual Analysis

How It Works

The four quantum numbers follow strict rules derived from solving the Schrodinger equation for the hydrogen atom:

  • n (principal): n = 1, 2, 3, ... (positive integers). Determines the energy level and average distance from the nucleus. Maximum electrons in shell n = 2n².
  • l (angular momentum): l = 0, 1, 2, ..., (n-1). Determines orbital shape: l=0 (s), l=1 (p), l=2 (d), l=3 (f). Maximum electrons in subshell l = 2(2l+1).
  • ml (magnetic): ml = -l, -l+1, ..., 0, ..., l-1, l. Determines orbital orientation in space. Number of orbitals = 2l+1.
  • ms (spin): ms = +1/2 or -1/2. Represents the intrinsic angular momentum (spin) of the electron.

The n + l value determines the filling order according to the Aufbau principle (Madelung's rule). Orbitals with lower n + l fill first; for equal n + l, lower n fills first. This explains why 4s fills before 3d (4+0=4 vs 3+2=5).

Understanding Your Results

The maximum electrons in a shell (2n²) shows the total capacity of an energy level: shell 1 holds 2, shell 2 holds 8, shell 3 holds 18, shell 4 holds 32. The subshell capacity (2(2l+1)) gives s=2, p=6, d=10, f=14. The number of orbitals in each subshell determines how many distinct spatial orientations exist. The n + l value helps predict the order in which orbitals fill during the Aufbau process. These results provide a complete picture of the quantum mechanical structure underlying the periodic table.

Worked Examples

Example 1: 3d orbital electron

Inputs

n3
l2
ml0
ms0.5

Results

max electrons shell18
max electrons subshell10
num orbitals subshell5
total orbitals shell9
orbital energy order5

An electron in a 3d orbital (n=3, l=2) has ml=0 and spin up (ms=+1/2). The 3d subshell has 5 orbitals holding up to 10 electrons. Shell 3 has 9 total orbitals (1s + 3p + 5d) with capacity for 18 electrons. The n+l value of 5 means 3d fills after 4s (n+l=4).

Example 2: 2p orbital electron

Inputs

n2
l1
ml-1
ms-0.5

Results

max electrons shell8
max electrons subshell6
num orbitals subshell3
total orbitals shell4
orbital energy order3

An electron in a 2p orbital (n=2, l=1) with ml=-1 and spin down (ms=-1/2). The 2p subshell has 3 orbitals (px, py, pz) holding up to 6 electrons. Shell 2 has 4 total orbitals with capacity for 8 electrons. This explains the octet rule for second-period elements.

Frequently Asked Questions

The Pauli exclusion principle states that no two electrons in an atom can have the same set of all four quantum numbers (n, l, ml, ms). This means each orbital (defined by n, l, ml) can hold at most 2 electrons, which must have opposite spins (+1/2 and -1/2). This principle is fundamental to all of chemistry and explains the structure of the periodic table.

s orbitals (l=0) are spherically symmetric. p orbitals (l=1) are dumbbell-shaped along the x, y, z axes. d orbitals (l=2) have four-lobed or toroidal shapes. f orbitals (l=3) have complex multi-lobed shapes. These shapes represent regions where there is a high probability of finding the electron.

This restriction comes from the mathematical solution of the Schrodinger equation. The angular momentum quantum number l is constrained by the principal quantum number n because higher angular momentum states require more energy, and this energy cannot exceed the total energy of the shell. Physically, an electron cannot have more angular momentum than its total energy allows.

Electron spin is an intrinsic form of angular momentum with no classical analog. It is not the electron literally spinning on an axis. The spin quantum number ms has only two values (+1/2 and -1/2), corresponding to spin-up and spin-down states. Spin was discovered by Stern and Gerlach in 1922 and explained theoretically by Dirac in 1928.

The periodic table's structure directly reflects quantum numbers. Each period corresponds to filling a new shell (n). The s-block (2 columns) reflects l=0 orbitals. The p-block (6 columns) reflects l=1. The d-block (10 columns) reflects l=2. The f-block (14 columns) reflects l=3. The lengths 2, 6, 10, 14 are exactly 2(2l+1) for l = 0, 1, 2, 3.

Valid combinations require: n is a positive integer (1, 2, 3, ...), l ranges from 0 to n-1, ml ranges from -l to +l in integer steps, and ms is either +1/2 or -1/2. For example, (n=2, l=2) is invalid because l must be less than n. Similarly, (n=3, l=1, ml=2) is invalid because |ml| cannot exceed l.

Sources & Methodology

Source: Griffiths, D.J., Introduction to Quantum Mechanics, 3rd Edition, Cambridge University Press (2018). Reference: Atkins, P. & Friedman, R., Molecular Quantum Mechanics, 5th Edition, Oxford University Press (2011). NIST Atomic Spectra Database.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Electron Configuration Calculator

Periodic Table & Element Calculators

Effective Nuclear Charge Calculator

Periodic Table & Element Calculators

Electronegativity Calculator

Periodic Table & Element Calculators

Ionization Energy Calculator

Periodic Table & Element Calculators

Isotope Distribution Calculator

Periodic Table & Element Calculators

Atomic Radius Calculator

Periodic Table & Element Calculators