Electron configuration in order lists the distribution of electrons among an atom’s orbitals, written by increasing principal quantum number (n) and, within the same n, by increasing orbital energy (s, p, d, f). To write it, you fill orbitals following the Aufbau principle (1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p) and then list them in that same order. This article explains the exact sequence, how to derive it for any element, and common exceptions you will encounter.
Formula
The electron configuration is built by assigning electrons to orbitals in order of increasing energy. The standard filling order is given by the n + ℓ rule (Madelung rule): an orbital with lower (n + ℓ) fills first; if two orbitals have the same (n + ℓ), the one with lower n fills first. Here, n is the principal quantum number (shell, 1–7) and ℓ is the azimuthal quantum number (0 for s, 1 for p, 2 for d, 3 for f).
Each orbital holds a maximum number of electrons:
- s orbitals: 2 electrons (1 subshell, ℓ = 0)
- p orbitals: 6 electrons (3 subshells, ℓ = 1)
- d orbitals: 10 electrons (5 subshells, ℓ = 2)
- f orbitals: 14 electrons (7 subshells, ℓ = 3)
The order by increasing (n + ℓ) is: 1s (1), 2s (2), 2p (3), 3s (3), 3p (4), 4s (4), 3d (5), 4p (5), 5s (5), 4d (6), 5p (6), 6s (6), 4f (7), 5d (7), 6p (7), 7s (7), 5f (8), 6d (8), 7p (8).
Worked Example
Find the electron configuration of iron (Fe), atomic number 26. The atom has 26 electrons. Using the filling order:
- 1s2 (2 electrons, total 2)
- 2s2 (2, total 4)
- 2p6 (6, total 10)
- 3s2 (2, total 12)
- 3p6 (6, total 18)
- 4s2 (2, total 20)
- 3d6 (6, total 26)
So the configuration is 1s2 2s2 2p6 3s2 3p6 4s2 3d6. The calculator above produces the same result for Z = 26.
Assumptions
- The filling order follows the Aufbau principle (Madelung rule) for ground-state neutral atoms.
- No relativistic effects are considered; these become significant for heavy elements (Z > ~70).
- Exceptions due to half-filled and fully filled subshells (e.g., Cr, Cu) are not automatically applied in the simple order; see below.
How to Read the Filling Order
The sequence 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p is often memorized, but you can derive it from the periodic table. Each row (period) corresponds to a principal quantum number, and the block (s, p, d, f) tells you which subshell is being filled. For example, the fourth period starts with 4s (K, Ca), then 3d (Sc–Zn), then 4p (Ga–Kr). This is why the 3d subshell appears after 4s in the written configuration, even though 3d has n = 3.
When writing the configuration, the convention is to list orbitals in order of increasing n, and within the same n, increasing ℓ. So for iron, you write 1s2 2s2 2p6 3s2 3p6 3d6 4s2 in some textbooks, but the more common order is 4s before 3d because that reflects the filling sequence. Both are acceptable; the Aufbau order is more intuitive for understanding electron addition.
Common Exceptions and Why They Happen
Not every element follows the simple order. Chromium (Z = 24) is expected to be [Ar] 4s2 3d4, but the actual configuration is [Ar] 4s1 3d5. Copper (Z = 29) is [Ar] 4s1 3d10 instead of [Ar] 4s2 3d9. These exceptions occur because a half-filled or fully filled d subshell is extra stable due to exchange energy and electron repulsion. Similar exceptions appear in the f-block, such as for cerium (Ce) and gadolinium (Gd).
For most elements, the Aufbau order works, but you should check a periodic table for the transition metals and lanthanides/actinides. The calculator above does not apply these exceptions; it gives the simple Aufbau configuration, which is correct for the majority of elements but wrong for about 20 known exceptions.
How to Write Configurations for Ions
For cations, remove electrons starting from the highest n orbital first, not from the last filled. For example, Fe2+ has 24 electrons: remove the two 4s electrons first, giving [Ar] 3d6. Fe3+ has 23 electrons: [Ar] 3d5. This is because the 4s orbital is higher in energy than 3d in the neutral atom, but when the atom ionizes, the 4s electrons are lost first. For anions, add electrons to the next available orbital following the Aufbau order.
For transition metal ions, the 3d orbitals are lower in energy than 4s in the ion, so the 4s electrons are removed first. This is a common source of error; always remove from the highest n.
Using the Periodic Table as a Shortcut
Instead of memorizing the entire filling order, you can read the configuration from the periodic table. Each period number gives the principal quantum number for the s and p blocks. The d block (groups 3–12) is one period behind (e.g., 3d in period 4), and the f block is two periods behind (4f in period 6, 5f in period 7).
For example, to write the configuration of bromine (Z = 35):
- Period 1: 1s2
- Period 2: 2s2 2p6
- Period 3: 3s2 3p6
- Period 4: 4s2 3d10 4p5
Total: 1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p5. The shorthand uses [Ar] for the first 18 electrons: [Ar] 4s2 3d10 4p5.
Common Mistakes and How to Avoid Them
- Mixing up the order of 4s and 3d: Always write 4s before 3d in the filling order, but when writing the final configuration, either order is acceptable as long as you are consistent.
- Overfilling orbitals: Remember that s holds 2, p holds 6, d holds 10, f holds 14. Check that the superscripts sum to the atomic number.
- Forgetting exceptions: For elements like Cr, Cu, Nb, Mo, Ru, Rh, Pd, Ag, Pt, Au, and some lanthanides, the simple order fails. Always verify with a reliable periodic table.
- Ionization errors: For cations, remove electrons from the highest n first (e.g., 4s before 3d). For anions, add to the lowest energy empty orbital.
Why Electron Configuration Matters
The electron configuration determines an element’s chemical properties: its valence electrons (those in the outermost shell) dictate how it bonds, its oxidation states, and its position in the periodic table. For example, the configuration of carbon (1s2 2s2 2p2) shows four valence electrons, explaining its tetravalency. Similarly, the noble gases have full s and p subshells, making them inert. Understanding the order helps predict trends like atomic radius, ionization energy, and electronegativity.
Frequently Asked Questions
What is the order of electron configuration?
The order is 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. This is the sequence in which orbitals are filled according to increasing energy.
Why does 4s come before 3d?
Because the 4s orbital has a lower energy than 3d for neutral atoms, as predicted by the (n + ℓ) rule. 4s has n + ℓ = 4, while 3d has n + ℓ = 5, so 4s fills first.
How do I write the configuration for an element with an exception like chromium?
For chromium, the actual configuration is [Ar] 4s1 3d5 instead of [Ar] 4s2 3d4. You need to learn the exceptions or use a periodic table that lists them.
What is the difference between electron configuration and orbital diagram?
Electron configuration is a shorthand notation listing subshells and electron counts (e.g., 1s2 2s2). An orbital diagram shows each orbital as a box with arrows representing electron spins, following Hund’s rule.
Can I use the periodic table to get the configuration?
Yes, the periodic table is the best shortcut. The period number gives the n for s and p blocks, and the block position tells you which subshell is filling. For d and f blocks, subtract 1 or 2 from the period number.
Why do ions lose electrons from the highest n first?
Because in ions, the orbitals with higher principal quantum number are higher in energy, even if they were filled earlier. For example, in Fe, the 4s electrons are removed before 3d because 4s is higher in energy than 3d in the neutral atom.
Related
Formula used
in z | Atomic number Z | - | 26 | 1 | 118 out config | Electron configuration | - | electron_config(z) | 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
- QPP Calculator Canada: How It Works & How to Use It
- PPP Calculator World Bank: How It Works & How to Use It2,000.00
- PPP Calculator: India vs USA Cost Comparison1,000.00 USD
- PPP Calculator USD to INR: How It Works2,335 INR
- PPP Calculator India vs UK: Real Cost Comparison103.63 GBP
- PPP Calculator India vs Dubai: Real Cost Comparison8,954.58 AED