molecalculator

Moles & Molar Mass

Complete Electron Configuration for n: Quantum Number Guide

Calculator No. 01-10298 · Updated · Formula and assumptions shown below

Maximum electrons in shell n 2 electrons
Total orbitals in shell n
1 orbitals
= Principal quantum number n ^ 2
Number of allowed subshells
1 subshells
= Principal quantum number n
Principal quantum number n
1
Set in the form below
You enter
Principal quantum number n
You get
Maximum electrons in shell n (electrons), Total orbitals in shell n (orbitals), Number of allowed subshells (subshells)
Rounding
0 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The complete electron configuration for a principal quantum number n is not a single configuration: n identifies an electron shell, and the allowed subshells and orbitals depend on its value. Use the selector below to choose n and see the total number of orbitals and the maximum electron capacity of that shell; these results follow directly from quantum-number rules, not from a particular element’s ground-state filling order.

Formula

The maximum number of electrons in a shell with principal quantum number n is 2n². The number of distinct orbitals in that shell is n², and the number of allowed subshells is n. Here, n is a positive whole-number principal quantum number, the shell label; an orbital is a one-electron spatial state that can hold up to two electrons with opposite spin.

For example, when n = 3, the shell can contain at most 2 × 3² = 18 electrons, distributed among 9 orbitals and 3 subshells. The calculator displays capacity first because that is the shell-capacity result most often meant by a question about electron configuration for n.

Worked Example

For the default value n = 1:

  • Maximum electron capacity: 2 × 1² = 2 electrons.
  • Total orbitals: 1² = 1 orbital.
  • Allowed subshells: 1 subshell.

So the first shell has one subshell, 1s, containing one orbital and accommodating at most two electrons. The results are 2 electrons, 1 orbital, and 1 subshell.

Assumptions

  • n is a positive integer, selected from 1 through 7, the principal shells commonly used when describing ground-state configurations of known elements.
  • The capacity is the theoretical maximum for the shell under the standard orbital model; it does not say that a particular atom actually has that many electrons in the shell.
  • Subshell and orbital counts come from allowed quantum numbers. The calculator does not determine an element’s configuration or account for the order in which orbitals fill.

What n Means in an Electron Configuration

The principal quantum number n labels a shell and indicates the broad energy level and spatial scale associated with an electron in an atom. The familiar shell names K, L, M, N, and so on correspond to n = 1, 2, 3, 4, and higher. A full electron configuration needs more information than n alone: it specifies subshells, such as 2s or 3p, and the number of electrons in each.

Within a shell, the angular momentum quantum number l identifies the subshell. For a given n, l can be any integer from 0 to n − 1. The conventional letter labels are s for l = 0, p for l = 1, d for l = 2, f for l = 3, followed by further letters for higher values. Thus:

  • n = 1 allows l = 0 only: the 1s subshell.
  • n = 2 allows l = 0 and 1: the 2s and 2p subshells.
  • n = 3 allows l = 0, 1, and 2: the 3s, 3p, and 3d subshells.
  • n = 4 allows 4s, 4p, 4d, and 4f subshells.

How Shell Capacity Is Derived

Each subshell contains orbitals distinguished by the magnetic quantum number ml. For a subshell with angular momentum number l, ml takes integer values from −l through +l, giving 2l + 1 orbitals. Each orbital can accommodate at most two electrons, with opposite spin quantum numbers, so a subshell’s maximum capacity is 2(2l + 1).

Adding the orbital counts for all allowed l values gives the total orbitals in a shell:

1 + 3 + 5 + … + (2n − 1) = n².

Since each orbital can hold two electrons, the total shell capacity is 2n². For n = 3, the subshell orbital counts are 1 for 3s, 3 for 3p, and 5 for 3d, totaling 9 orbitals. Those orbitals hold at most 18 electrons. The formula describes capacity, not the order in which electrons occupy them.

Shell Capacity Versus Electron Configuration

A shell’s maximum capacity is often confused with the number of electrons found there in a real atom. For instance, the n = 3 shell can hold up to 18 electrons, but neutral potassium has the ground-state configuration 1s² 2s² 2p⁶ 3s² 3p⁶ 4s¹. Its third shell contains 8 electrons, while the 4s subshell has begun to fill. This occurs because subshell energies in multi-electron atoms do not follow a simple rule that every orbital in one shell fills before any in the next.

So “complete electron configuration for n” can mean two different things:

  • All subshells allowed for a shell: list the possible subshell labels for that n, such as 3s, 3p, and 3d.
  • A complete configuration of an atom: specify the element or its atomic number, then identify how its electrons occupy subshells.

Knowing n alone cannot give an element’s complete configuration, because it does not tell you the atom’s total electron count. Nor does it specify whether the atom is neutral or an ion. To write an actual configuration, first establish the electron count and then apply the filling rules, while allowing for known exceptions and the fact that orbital energies can be close.

Using the Calculator and Reading the Result

Select the principal quantum number requested in a problem. The calculator returns the shell’s maximum electron capacity, total orbital count, and count of allowed subshells. For example, choosing n = 4 gives 32 electrons, 16 orbitals, and 4 subshells. The subshells are 4s, 4p, 4d, and 4f; their capacities are 2, 6, 10, and 14 electrons, which add to 32.

These counts are useful for checking homework, organizing quantum-number possibilities, and understanding why higher shells offer more possible states. They are not a substitute for the periodic table or for the Aufbau filling sequence when the task is to write a particular atom’s configuration. If a question gives an element, its electron count is the essential additional information.

Frequently Asked Questions

What is the complete electron configuration for n = 2?
As a shell, n = 2 has the 2s and 2p subshells: one s orbital and three p orbitals. Together they provide four orbitals and a maximum capacity of eight electrons. An atom’s actual configuration still depends on its electron count.

How many electrons can shell n hold?
The maximum is 2n². For example, n = 4 can hold up to 32 electrons. This is a capacity rule, not a claim that every atom has a full fourth shell.

How many subshells are in a shell with principal quantum number n?
There are n allowed subshells, with l values from 0 to n − 1. For n = 3, these are 3s, 3p, and 3d.

Does n alone determine an atom’s electron configuration?
No. n identifies a shell, not an element or total electron count. A complete atomic configuration requires the number of electrons and the subshells they occupy.

Why can an atom start filling 4s before 3d is full?
In many neutral atoms, the 4s subshell is lower in energy than 3d at the start of filling, so it begins filling first. Relative subshell energies can shift as electrons are added or removed, which is why shell capacity and filling order are different concepts.

Related

Formula used
sel n | Principal quantum number n | 1=1, 2=2, 3=3, 4=4, 5=5, 6=6, 7=7
out cap | Maximum electrons in shell n | electrons | 2 * n ^ 2 | 0
out orb | Total orbitals in shell n | orbitals | n ^ 2 | 0
out sub | Number of allowed subshells | subshells | n | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →