molecalculator

Moles & Molar Mass

Electron Configuration Pattern Explained

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

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

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 electron configuration pattern describes how electrons are arranged in an atom’s orbitals, following a predictable order based on increasing energy levels and the Pauli exclusion principle, Hund’s rule, and the Aufbau principle. This pattern determines an element’s chemical behavior and position in the periodic table.

Formula

The electron configuration is built by filling orbitals in order of increasing energy, which is given by the (n + l) rule: orbitals with a lower sum of principal quantum number (n) and azimuthal quantum number (l) fill first. For equal sums, the orbital with lower n fills first. The order is: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. Each orbital holds a maximum of 2 electrons (Pauli exclusion), and for degenerate orbitals (same energy, e.g., all three 2p orbitals), electrons fill singly with parallel spins before pairing (Hund’s rule). The total number of electrons equals the atomic number Z for a neutral atom.

Worked Example

For iron (Fe, Z = 26), fill orbitals in order: 1s (2), 2s (2), 2p (6), 3s (2), 3p (6), 4s (2), then 3d (remaining 6). That gives 1s2 2s2 2p6 3s2 3p6 3d6 4s2. The noble gas shorthand uses the previous noble gas (argon, Z=18) as a core: [Ar] 3d6 4s2. Note that the 4s orbital fills before 3d because 4s has lower energy (n+l: 4+0=4) than 3d (3+2=5), even though n is higher.

Assumptions

  • The Aufbau principle assumes orbitals fill in a fixed order for neutral atoms in their ground state.
  • The (n+l) rule is a good approximation for most elements but has exceptions for transition metals and lanthanides due to electron-electron repulsion and relativistic effects.
  • This pattern applies to isolated atoms, not to atoms in molecules or solids where orbital energies can shift.

How the Pattern Works

The pattern emerges from quantum mechanics. Electrons occupy orbitals defined by quantum numbers: n (shell), l (subshell: s, p, d, f), ml (orientation), and ms (spin). The Pauli exclusion principle states no two electrons can have the same set of four quantum numbers, so each orbital holds at most two electrons with opposite spins. Hund’s rule states that for a set of degenerate orbitals (same energy), electrons fill them singly with parallel spins before pairing, minimizing electron-electron repulsion. The Aufbau principle (German for ‘building up’) guides the order of filling based on energy levels determined by the (n+l) rule.

How to Write Configurations

To write a configuration for a neutral atom:

  1. Find the atomic number Z on the periodic table.
  2. Use the diagonal rule (Madelung rule) to list orbitals in order of increasing (n+l).
  3. Fill each orbital with up to 2 electrons, following Hund’s rule for degenerate orbitals.
  4. Stop when you have placed Z electrons.
  5. For shorthand, replace the core (noble gas configuration) with the noble gas symbol in brackets.

For example, oxygen (Z=8): 1s2 2s2 2p4. The 2p orbitals (three degenerate) get four electrons: one in each of the three orbitals, then one extra pairs up in the first orbital.

Common Mistakes and Misconceptions

A frequent error is filling 3d before 4s. In the ground state of most transition metals, 4s fills first, but when writing configurations for ions, the 4s electrons are removed first because they are higher in energy once the 3d is occupied. For example, Fe2+ is [Ar] 3d6, not [Ar] 3d4 4s2. Another misconception is that the (n+l) rule is absolute; it has exceptions, such as chromium (Z=24) and copper (Z=29), where a half-filled or fully filled d subshell is more stable, giving [Ar] 3d5 4s1 and [Ar] 3d10 4s1, respectively.

Comparison with the Periodic Table

The periodic table is organized by electron configuration. Each period corresponds to the principal quantum number n. The s-block (groups 1-2) fills the s orbital, the p-block (groups 13-18) fills p orbitals, the d-block (transition metals) fills d orbitals one n below the period number, and the f-block (lanthanides and actinides) fills f orbitals two n below. For example, the fourth period starts with potassium (Z=19) filling 4s, then scandium (Z=21) begins filling 3d. This is why the periodic table has that distinctive shape. Understanding this pattern helps predict ionization energies, atomic radii, and chemical reactivity.

Limits of the Pattern

The simple Aufbau pattern fails for heavier elements, especially lanthanides and actinides, where relativistic effects and electron correlation cause significant deviations. For example, the predicted configuration of some elements like thorium (Z=90) is [Rn] 6d2 7s2, but the actual ground state is [Rn] 6d2 7s2 (which matches), but others like lawrencium (Z=103) have a predicted [Rn] 5f14 7s2 7p1, which is correct. However, for many f-block elements, the order of 5f and 6d is reversed. In practice, experimental spectroscopic data is used to determine the true ground state, and the Aufbau rule is a useful approximation, not a universal law. For most chemistry up to the 6th period, the pattern works well.

Frequently Asked Questions

Why does 4s fill before 3d? Because the 4s orbital has a lower energy than 3d, as determined by the (n+l) rule: 4s has n+l=4, while 3d has n+l=5. Lower energy orbitals fill first, so 4s is occupied before 3d.

What is the electron configuration of chromium and why is it an exception? Chromium (Z=24) is [Ar] 3d5 4s1 instead of [Ar] 3d4 4s2. This is because a half-filled d subshell (5 electrons) has extra stability due to exchange energy and reduced electron-electron repulsion, so one electron from 4s moves to 3d.

How do I write the configuration for an ion? For a positive ion (cation), remove electrons from the highest-energy orbital first. For transition metals, remove 4s electrons before 3d. For a negative ion (anion), add electrons to the next available orbital following the Aufbau order.

What does the superscript in 2p6 mean? The superscript indicates the number of electrons in that subshell. For example, 2p6 means there are six electrons in the 2p subshell, filling all three 2p orbitals completely.

Is there a shortcut to write configurations without memorizing the order? Yes, use the periodic table: read the table row by row, filling s, p, d, and f blocks in order. Or use the noble gas shorthand: start with the previous noble gas and add the remaining orbitals.

Does the electron configuration affect chemical properties? Absolutely. The valence electrons (outermost shell) determine how an atom bonds. Elements with similar configurations, like the halogens (ns2 np5), have similar chemical reactivity. The configuration also explains periodic trends like ionization energy and electronegativity.

Related

Formula used
in z | Atomic number Z | - | 26 | 1 | 118
out config | Electron configuration | - | 1s2 2s2 2p6 3s2 3p6 3d6 4s2 | 0
out noble | Noble gas shorthand | - | [Ar] 3d6 4s2 | 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 →