This tutorial explains what electron configuration is, how to write it for any element, and how to read the shorthand notation that appears in textbooks and chemistry reference tables. You will learn the aufbau principle, Hund’s rule, and the Pauli exclusion principle, then see worked examples for common elements.
What Is Electron Configuration?
Electron configuration is the arrangement of electrons in an atom’s orbitals, listed by increasing energy level and subshell. It tells you how many electrons occupy each orbital type (s, p, d, f) for a given element. For example, carbon (Z = 6) has the configuration 1s2 2s2 2p2, meaning two electrons in the 1s orbital, two in the 2s, and two in the 2p orbitals. This notation is the standard way chemists communicate the electronic structure of atoms, and it explains periodic trends, bonding behavior, and why some elements are reactive while others are inert.
Orbitals and Subshells
Electrons occupy regions of space called orbitals, each of which can hold a maximum of two electrons (with opposite spins). Orbitals are grouped into subshells labeled s, p, d, and f, which have 1, 3, 5, and 7 orbitals respectively. Thus the maximum electron capacity per subshell is:
- s: 2 electrons
- p: 6 electrons
- d: 10 electrons
- f: 14 electrons
Each subshell belongs to a principal energy level (n = 1, 2, 3, …). The first energy level has only an s subshell, the second has s and p, the third has s, p, and d, and the fourth has s, p, d, and f. The order of filling, however, is not simply 1, 2, 3, 4 because the energies of subshells overlap; for example, the 4s subshell fills before the 3d subshell.
The Aufbau Principle and Filling Order
The aufbau principle states that electrons fill the lowest-energy orbitals first. The filling order can be remembered using the diagonal rule (also called the Madelung rule):
- 1s
- 2s, 2p
- 3s, 3p
- 4s, 3d, 4p
- 5s, 4d, 5p
- 6s, 4f, 5d, 6p
- 7s, 5f, 6d, 7p
For example, iron (Z = 26) fills in this order: 1s2 2s2 2p6 3s2 3p6 4s2 3d6. Notice that 4s comes before 3d because the 4s orbital is slightly lower in energy than the 3d. This is true for neutral atoms of most elements, but there are exceptions (like chromium and copper) where a half-filled or fully filled d subshell is more stable, so one electron moves from 4s to 3d.
Hund’s Rule and Pauli Exclusion Principle
Two additional rules govern how electrons fill within a subshell:
- Hund’s rule: When filling orbitals of the same energy (like the three p orbitals), electrons occupy each orbital singly before pairing up. This minimizes electron-electron repulsion.
- Pauli exclusion principle: No two electrons in an atom can have the same set of four quantum numbers. In practice, this means an orbital can hold at most two electrons, and they must have opposite spins (shown as ↑↓).
For nitrogen (Z = 7), the 2p subshell has three electrons, and they occupy the three p orbitals singly (↑ ↑ ↑) rather than pairing in one orbital. This is why nitrogen’s configuration is 1s2 2s2 2p3, not 1s2 2s2 2p4 with a pair in one p orbital.
How to Write Electron Configuration: Step by Step
To write the full electron configuration for any neutral atom:
- Find the atomic number Z (number of protons = number of electrons).
- Follow the aufbau filling order, adding electrons to each subshell until you reach Z.
- Use superscripts to show the number of electrons in each subshell.
- Check that the sum of all superscripts equals Z.
For example, for chlorine (Z = 17): 1s2 2s2 2p6 3s2 3p5. The superscripts add up to 2+2+6+2+5 = 17.
For shorthand, you can use the noble-gas core notation, where the electron configuration of the previous noble gas is replaced by its symbol in brackets. For chlorine, the previous noble gas is neon (Z = 10), so the core notation is [Ne] 3s2 3p5. This is shorter and highlights the valence electrons, which are the ones in the outermost shell (here, 3s2 3p5).
Common Mistakes and Exceptions
A frequent mistake is writing 3d before 4s in the configuration. The correct order for filling is 4s before 3d, but when writing the configuration, it is customary to list subshells in order of increasing principal quantum number (n) for clarity. So iron is written as [Ar] 4s2 3d6, not [Ar] 3d6 4s2 (though the latter is sometimes seen in textbooks). Both are acceptable, but the former is more common.
Another mistake is forgetting exceptions to the aufbau rule. Chromium (Z = 24) has the configuration [Ar] 4s1 3d5 instead of [Ar] 4s2 3d4, because a half-filled d subshell is more stable. Similarly, copper (Z = 29) is [Ar] 4s1 3d10 instead of [Ar] 4s2 3d9. These exceptions involve only a few transition metals and are best memorized.
How to Read Electron Configuration
Reading a configuration tells you the energy levels and subshells where electrons reside. The highest occupied energy level (the largest n with electrons) indicates the period of the element. The number of electrons in the outermost s and p subshells (for main-group elements) gives the group number. For example, chlorine’s configuration [Ne] 3s2 3p5 shows it is in period 3 and group 17 (halogens).
For transition metals, the d electrons are in the (n-1) subshell, so the valence electrons are the s electrons plus any d electrons. This explains why transition metals have multiple oxidation states. The configuration also helps predict magnetic properties: if any orbitals are half-filled, the atom is paramagnetic; if all electrons are paired, it is diamagnetic.
Frequently Asked Questions
Why is 4s filled before 3d?
The 4s orbital has a lower energy than the 3d orbital for neutral atoms, so electrons fill it first. This is due to the penetration effect: the 4s electron spends more time near the nucleus, experiencing less shielding. However, when the 3d orbitals start to fill, they become lower in energy than the 4s, which is why transition metals lose s electrons first when forming ions.
What is the difference between electron configuration and orbital diagram?
An orbital diagram is a visual representation that shows each orbital as a box and each electron as an arrow (↑ or ↓). It explicitly shows electron spins and Hund’s rule. Electron configuration is a compact notation that lists subshells and electron counts, but it does not show how electrons are distributed among orbitals of the same subshell.
How do I write the electron configuration for ions?
For cations, remove electrons from the highest energy level first (the outermost s and p subshells). For anions, add electrons to the next available orbital. For example, Fe2+ (Z = 26) loses two 4s electrons, giving [Ar] 3d6. For O2- (Z = 8), add two electrons to the 2p subshell, giving 1s2 2s2 2p6.
Why do some elements have anomalous configurations?
Chromium and copper are the most common exceptions because a half-filled or fully filled d subshell is more stable than a partially filled one. The energy difference is small, and the exchange energy from having more unpaired electrons stabilizes the atom. Similar exceptions occur in the lanthanides and actinides, but they are less commonly discussed in introductory chemistry.
How do I use the periodic table to write configurations quickly?
Use the periodic table as a map: each row (period) corresponds to a principal energy level, and each block (s, p, d, f) tells you which subshell is being filled. For example, the first two columns are the s block, the last six columns are the p block, the middle ten columns are the d block, and the two rows below the main table are the f block. To write a configuration, just follow the order of the blocks from left to right across each row.
Assumptions
- The calculator uses the aufbau principle for neutral atoms in their ground state.
- It does not account for exceptions like chromium and copper; for those, you must adjust manually.
- The filling order is based on the Madelung rule, which is accurate for most elements.
Related
Formula used
in z | Atomic number Z | - | 26 | 1 | 118 out config | Electron configuration | - | 1s2 2s2 2p6 3s2 3p6 4s2 3d6 | 0 out core | Noble-gas core notation | - | [Ar] 4s2 3d6 | 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