Electron configuration rules describe how electrons fill atomic orbitals, and the three core rules are the Aufbau principle (fill lowest-energy orbitals first), the Pauli exclusion principle (no two electrons in an atom share the same four quantum numbers), and Hund’s rule (every orbital in a subshell gets one electron before any gets a second). This page explains each rule, shows how to write configurations for elements like oxygen and iron, and covers common exceptions and pitfalls.
What the Rules Mean in Practice
Electron configuration is the distribution of electrons among the orbitals of an atom. The rules exist because electrons are fermions (particles with half-integer spin) and because they occupy quantum states defined by four quantum numbers: n (principal, energy level), l (azimuthal, subshell shape), ml (magnetic, orbital orientation), and ms (spin, +½ or −½). The three rules tell you which combination of these numbers is allowed and which order to fill them.
These rules are not arbitrary—they emerge from quantum mechanics and the Pauli exclusion principle, which was formulated in 1925. They predict the chemical behavior of elements: why noble gases are inert, why transition metals form colored ions, and why some elements have unexpected oxidation states.
Aufbau Principle: Fill Lowest Energy First
The Aufbau principle (German for “building up”) states that electrons occupy the lowest available energy orbital before higher ones. The order is not simply 1s, 2s, 2p, 3s, 3p, 3d, 4s, 4p—because the 4s orbital is lower in energy than 3d for neutral atoms. The standard filling order is:
- 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p
You can remember this with the diagonal (Madelung) rule: write the subshells in rows by n, then draw diagonals from top right to bottom left. The order reflects the sum (n + l); when two subshells have the same sum, the one with lower n fills first (e.g., 4s (4+0=4) before 3d (3+2=5), but 3d (3+2=5) before 4p (4+1=5)).
For example, potassium (Z=19) has configuration [Ar] 4s¹, not [Ar] 3d¹, because 4s is lower in energy than 3d. This is why potassium is an alkali metal, not a transition metal.
Pauli Exclusion Principle: No Two Electrons Alike
The Pauli exclusion principle says that no two electrons in an atom can have the same set of four quantum numbers. Since an orbital is defined by n, l, and ml, the only remaining quantum number is spin (ms), which can be +½ or −½. Therefore, each orbital holds at most two electrons, and they must have opposite spins (one “up”, one “down”).
This rule explains the structure of the periodic table: the 2p subshell has three orbitals, so it holds six electrons maximum. The maximum number of electrons in a subshell is 2(2l+1): s holds 2, p holds 6, d holds 10, f holds 14.
A common misconception is that Pauli’s rule applies only to electrons in the same atom. In fact, it applies to all fermions in any quantum system, but for atomic configurations it means each orbital gets at most two electrons.
Hund’s Rule: Fill Orbitals Singly First
Hund’s rule (also called the rule of maximum multiplicity) states that when electrons occupy a subshell, they first fill each orbital singly with parallel spins before any orbital gets a second electron. This minimizes electron-electron repulsion because electrons in different orbitals are farther apart, and it also maximizes exchange energy (a quantum effect that lowers total energy).
For example, nitrogen (Z=7) has configuration 1s² 2s² 2p³. The three 2p electrons go into three separate p orbitals, all with the same spin (e.g., all up). The orbital diagram shows three half-filled boxes, not one full and one half-empty.
Hund’s rule is why oxygen (Z=8) has one paired electron in a p orbital (1s² 2s² 2p⁴) and why it is paramagnetic (has unpaired electrons).
How to Write a Configuration: Step-by-Step
To write the ground-state electron configuration for any element:
- Find the atomic number Z (number of protons = number of electrons in a neutral atom).
- Use the Aufbau order to fill orbitals, placing two electrons per orbital (Pauli), and applying Hund’s rule within each subshell.
- Write the configuration as a sequence of subshells with superscripts for electron counts, e.g., 1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶ for iron (Z=26).
- Optionally use the noble gas shorthand: [Ar] 4s² 3d⁶ for iron, where [Ar] represents the core configuration of argon (1s² 2s² 2p⁶ 3s² 3p⁶).
For iron, the full configuration is 1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶. Note that the 4s is written before 3d in the standard notation, even though 3d is filled after 4s in the Aufbau order? Actually, the standard order writes subshells in order of increasing n (principal quantum number): 1s, 2s, 2p, 3s, 3p, 3d, 4s. So iron is often written as 1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s². Both notations are seen; the latter is more common in textbooks. The calculator above returns the order by increasing n.
Exceptions to the Rules: Cr and Cu
The Aufbau principle has notable exceptions for some transition metals and lanthanides. For chromium (Z=24) and copper (Z=29), a half-filled or fully filled d subshell is more stable than the expected configuration:
- Chromium: expected [Ar] 4s² 3d⁴, actual [Ar] 4s¹ 3d⁵
- Copper: expected [Ar] 4s² 3d⁹, actual [Ar] 4s¹ 3d¹⁰
The reason is that a half-filled (d⁵) or fully filled (d¹⁰) subshell has extra stability due to exchange energy and reduced electron-electron repulsion. Similar exceptions occur for molybdenum (Mo, Z=42), silver (Ag, Z=47), and gold (Au, Z=79).
These exceptions are not predictable from simple rules; they require experimental data or advanced calculations. For most elements up to Z=118, the Aufbau rule works, but always check a reliable periodic table for the actual configuration.
Common Mistakes and Misconceptions
- Thinking 3d fills before 4s: For neutral atoms, 4s is lower in energy than 3d, so 4s fills first. However, when 3d starts to fill, the 3d electrons end up lower in energy than 4s, which is why transition metals lose 4s electrons first when forming ions.
- Writing 2p⁸: The p subshell has only three orbitals, so it can hold at most 6 electrons. 2p⁸ is impossible.
- Ignoring Hund’s rule: Writing 2p⁴ as two electrons in one orbital and one in each of the other two is wrong; the correct arrangement is one pair and two singles.
- Confusing electron configuration with orbital diagram: The configuration is a list of subshells; the orbital diagram shows individual orbitals and spins.
Frequently Asked Questions
Why does the 4s orbital fill before 3d?
For neutral atoms, the 4s orbital has lower energy than 3d because of penetration: the 4s electron has a higher probability of being near the nucleus, which lowers its energy. This is a consequence of the radial distribution of orbitals. However, when you remove electrons to form cations, the 4s electrons are lost first because they are farther from the nucleus on average.
What is the electron configuration of oxygen?
Oxygen (Z=8) has 8 electrons: 1s² 2s² 2p⁴. The 2p⁴ means one p orbital has a pair, and the other two p orbitals have one electron each, all with parallel spins (Hund’s rule).
How do I use the noble gas shorthand?
Find the noble gas that comes before the element in the periodic table (e.g., argon for iron). Write its symbol in brackets, then continue with the remaining subshells. For iron: [Ar] 4s² 3d⁶ (or [Ar] 3d⁶ 4s²).
Are there exceptions to the Aufbau principle?
Yes, about 20 elements have configurations that differ from the simple Aufbau prediction, mostly in the d and f blocks. Common examples are chromium and copper. These exceptions arise because of the extra stability of half-filled and fully filled subshells.
What is the maximum number of electrons in an f subshell?
An f subshell has 7 orbitals, each holding 2 electrons, so it can hold 14 electrons. That is why the lanthanide and actinide series each have 14 elements.
Limits of the Rules
The three rules work for ground-state configurations of neutral atoms, but they have limitations:
- For ions, the order of filling changes; electrons are removed from the highest n orbital first (e.g., Fe loses 4s electrons before 3d).
- For excited states, electrons occupy higher-energy orbitals, and the rules only predict the ground state.
- For very heavy elements (Z > 100), relativistic effects alter orbital energies, making predictions less reliable.
- For molecules, the rules are replaced by molecular orbital theory, but the Pauli principle still applies.
Despite these exceptions, the Aufbau principle, Pauli exclusion, and Hund’s rule remain the foundation for understanding atomic structure and the periodic table.
Related
Formula used
in z | Atomic number (Z) | - | 26 | 1 | 118 out conf | Electron configuration | - | conf | 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
- PCR Primer Tm Calculation: How to Compute It
- Molecules to Moles Conversion Steps1.0000 mol
- Mean Rate of Reaction: How to Calculate It0.0050 mol/s
- Propane Vapor Pressure Calculator178.7 kPa
- mRNA vs Mature mRNA: Key Differences4,750
- Mass Fraction to Mole Fraction Calculator0.5195 fraction