On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Chemistry · Structure of Matter · Grade 9-12

Electron Configuration

The specific arrangement of electrons in an atom's orbitals, described using subshell notation that indicates the energy level, sublevel type, and number of electrons in each subshell.

Aufbau order: 1s, 2s, 2p, 3s, 3p, 4s, 3d, ...

Quick Answer

The specific arrangement of electrons in an atom's orbitals, described using subshell notation that indicates the energy level, sublevel type, and number of electrons in each subshell. Oxygen is 1s22s22p4: 2 electrons in 1s, 2 in 2s and 4 in 2p. Electrons fill subshells in order of energy (1s, 2s, 2p, 3s, 3p, 4s, 3d, ...), with at most 2 in an s subshell, 6 in p and 10 in d. Use configurations to find valence electrons, to explain the blocks of the periodic table, and to predict ions such as Fe2+.

Why This Matters

Configurations explain the layout of the periodic table: the s, p, d and f blocks are where those subshells are being filled, and the row lengths 2, 8, 18 and 32 follow from subshell capacities. They predict which electrons an ion loses (4s before 3d in iron), how many unpaired electrons an atom has, and why chromium and copper break the simple filling pattern.

Intuitive Explanation

Each shell is split into subshells with different shapes and energies: s (1 orbital, up to 2 electrons), p (3 orbitals, up to 6), d (5 orbitals, up to 10) and f (7 orbitals, up to 14). Shell 2 has 2s and 2p, so it holds 2+6=8; shell 3 has 3s, 3p and 3d, so it holds 18. A configuration lists each occupied subshell with its electron count as a superscript: sodium is 1s22s22p63s1, and the superscripts add up to its 11 electrons.

Electrons fill the lowest-energy subshell available, the Aufbau principle. The order is 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, and the surprise is 4s before 3d: potassium's 19th electron goes into 4s, not 3d. Within a subshell, electrons spread out one per orbital before any pair up (Hund's rule), so nitrogen's three 2p electrons sit in three separate orbitals. Noble-gas shorthand saves writing: sodium becomes [Ne] 3s1.

Filling order is not removal order. Iron is [Ar] 4s23d6, but Fe2+ is [Ar] 3d6: the 4s electrons, in the outermost shell, leave first. A few atoms also rearrange for stability: chromium is [Ar] 4s13d5 and copper [Ar] 4s13d10, because half-filled and filled d subshells are especially stable. The simpler shell picture (2, 8, 8, 2 for calcium) tells you how many electrons are in each shell; a configuration also tells you which subshell they occupy.

Think of it like this. Filling subshells is like booking hotel rooms priced by energy rather than by floor: each room type (subshell) has a fixed number of beds, guests take the cheapest available first, and one room type on floor 4 (4s) costs less than the best rooms on floor 3 (3d). Within a room type, guests take empty beds before sharing one.

Core idea. Electrons fill subshells (s, p, d, f) in order of increasing energy, spreading out within each before pairing, and the resulting configuration accounts for the periodic table's blocks, an atom's valence electrons and the ions it forms.


When to Use

Write a configuration when a problem uses subshell notation like 1s22s22p6, asks which orbitals hold an atom's electrons, asks how many unpaired electrons it has, or asks for the configuration of an ion or a transition metal. Use the order 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p. If you only need the electrons per shell for an element up to calcium, the simpler Electron Shell arrangement, such as 2, 8, 8, 2, is enough.

Tip. Ask: Do you need to list which subshells, such as 3s or 3d, hold an atom's electrons and how many each holds?

How to Recognize It

Electron configuration describes one atom or ion subshell by subshell, so first check how much detail about its electrons the question wants.

  1. Does the answer need subshell labels like 2p or 4s, not just shell totals like 2, 8, 1?

    Yes means electron configuration. A shell-by-shell count such as 2, 8, 1 for sodium only needs Electron Shell, which ignores the s, p and d split inside each shell.

  2. Is the atom or ion a transition metal, such as Fe, Cu or Cr?

    Then configuration is essential, because the 4s and 3d order and exceptions such as chromium's 4s13d5 cannot be read from the group number alone.

  3. Do you only need the number of outer electrons available for bonding?

    Then the shortcut is Valence Electron, read from the group of a main-group element. Writing the full configuration also works but gives more than the question asks.

  4. Is the question about magnetism or how many electrons are unpaired?

    Yes needs the orbital-box form of the configuration with Hund's rule. A Lewis Structure counts pairs between atoms but cannot show how electrons spread over an atom's d orbitals.

Electron Configuration vs Electron Shell vs Valence Electron vs Lewis Structure

These all describe where electrons are, at different zoom levels. Decide whether you need every subshell of one atom, totals per shell, only the outer count, or the bonds between atoms.

Electron Configuration

Meaning
Electron configuration is the subshell-by-subshell list of an atom's electrons, written like 1s22s22p4 for oxygen.
Key test
Names subshells (s, p, d, f) and counts the electrons in each.
Formula
subshell capacity=2(2l+1)
Example
Calcium is [Ar]4s2: the 4s subshell fills before any 3d electron arrives.

Electron Shell

Meaning
An electron shell is one main energy level, numbered n=1,2,3 and so on, that can hold up to 2n2 electrons.
Key test
Counts electrons per shell only, ignoring subshells.
Formula
max electrons=2n2
Example
Sodium's 11 electrons fill its shells as 2, 8, 1.

Valence Electron

Meaning
Valence electrons are the outermost electrons of an atom, the ones that take part in bonding.
Key test
Needs one number only, usually from the group of a main-group element.
Example
Every group 17 element, from fluorine to iodine, has 7 valence electrons.

Lewis Structure

Meaning
A Lewis structure draws the valence electrons of bonded atoms as shared lines and lone-pair dots.
Key test
Shows several atoms bonded together, with no subshell labels.
Example
Methane drawn as C with four lines to H atoms, using all 8 valence electrons.

Formula & Notation

Aufbau order: 1s, 2s, 2p, 3s, 3p, 4s, 3d, ...
Electron configuration is written as nlx, where n is the principal quantum number, l is the subshell (s, p, d, f), and x is the number of electrons. The Aufbau principle fills lowest-energy orbitals first. The Pauli exclusion principle limits each orbital to 2 electrons with opposite spins.

How to read it: Notation format: 1s22s22p63s2… The noble gas shorthand uses brackets: [Ne]3s1 for sodium. Orbital diagrams show individual boxes with arrows representing electron spins.

Worked Examples

Example 1 — Configuration of sulfur

Easy

Write the full electron configuration and the noble-gas shorthand for sulfur (Z=16), and give its number of valence electrons.
Show the steps and the answer
  1. Fill in order: 1s2 (2), 2s2 (4), 2p6 (10), 3s2 (12), 3p4 (16).

    Each subshell fills to capacity, s to 2 and p to 6, before the next one starts; stop when all 16 are placed.

  2. Shorten it: neon is 1s22s22p6, so sulfur is [Ne] 3s23p4.

    The bracket stands for the filled inner shells shared with the previous noble gas.

  3. Count the valence electrons: shell 3 holds 2+4=6.

    Valence electrons are those in the highest occupied shell, here n=3.

Answer: 1s22s22p63s23p4, or [Ne] 3s23p4; 6 valence electrons.

Takeaway: Fill in energy order, check that the superscripts add up to Z, and read the valence count from the highest shell.

Example 2 — Iron and the Fe3+ ion

Standard

Write the configurations of iron (Z=26) and of the Fe3+ ion, and give the number of unpaired electrons in each.
Show the steps and the answer
  1. Fill iron: [Ar] holds 18, then 4s2 (20), then 3d6 (26), giving [Ar] 4s23d6.

    4s is lower in energy than 3d, so it fills first.

  2. Remove 3 electrons for Fe3+: both 4s electrons first, then one 3d, giving [Ar] 3d5.

    When ions form, electrons leave the outermost shell, n=4, before the 3d subshell.

  3. Unpaired in iron's 3d6: one electron in each of the 5 orbitals, then the 6th pairs up, so 4 are unpaired.

    Hund's rule: spread out singly before pairing.

  4. Unpaired in Fe3+'s 3d5: one in each orbital, so 5 unpaired.

    A half-filled d subshell is especially stable, one reason Fe3+ is so common.

Answer: Fe: [Ar] 4s23d6, with 4 unpaired electrons. Fe3+: [Ar] 3d5, with 5 unpaired.

Takeaway: 4s fills before 3d, but it also empties before 3d when an ion forms.

Example 3 — Find the mistake: pairing too early

Application

Jay fills nitrogen's three 2p orbitals as one orbital with 2 electrons, one with 1 electron and one empty, and concludes that nitrogen has 1 unpaired electron. Find the mistake and correct it.
Show the steps and the answer
  1. Write nitrogen's configuration: 7 electrons, 1s22s22p3.

    Jay's total is right; the problem is how the three 2p electrons are placed.

  2. Apply Hund's rule: the three 2p orbitals have equal energy, so the 3 electrons go one per orbital, with parallel spins.

    Electrons repel each other, so they spread out before sharing an orbital.

  3. Count the unpaired electrons: 3.

    Each 2p orbital now holds exactly one electron.

  4. Check Jay's version: pairing two electrons while an equal-energy orbital sits empty adds repulsion, so it is not the lowest-energy arrangement.

    The ground state is always the arrangement with the least energy.

Answer: Nitrogen's three 2p electrons occupy all three 2p orbitals singly with parallel spins, so nitrogen has 3 unpaired electrons.

Takeaway: In p, d and f subshells, put one electron in each orbital before pairing any.

Where You'll See It

  • Theatre seating, cheapest seats first

    Electrons fill the lowest-energy orbitals first (1s, then 2s, then 2p), like fans grabbing the cheapest front seats before moving back — that filling order is the Aufbau principle.

  • Why chromium is unusual

    You'd guess chromium is [Ar]4s²3d⁴, but it's actually [Ar]4s¹3d⁵ because a half-filled d subshell is extra stable — a real example of why memorizing electron configurations beats guessing.

  • Why iron sticks to a fridge magnet

    Iron's 3d6 subshell spreads 6 electrons over 5 orbitals, so by Hund's rule 4 of them are unpaired, and each unpaired electron acts like a tiny magnet. In solid iron these tiny magnets line up in regions called domains, which is why iron is attracted to a magnet. Unpaired electrons are needed but not enough: chromium has 6 and is not pulled the same way.

Common Mistakes

  1. The slip: The 3d subshell fills before 4s because 3 comes before 4.

    Why it's tempting: The numbering suggests shell 3 should be completely filled before starting shell 4.

    Instead: 4s is lower in energy and fills before 3d (Aufbau order: ...4s, 3d...). But when forming cations, 4s electrons are removed first: Fe is [Ar]4s²3d⁶, yet Fe²⁺ is [Ar]3d⁶.

  2. The slip: When filling a p or d subshell, just pair electrons up in the first orbital as you go.

    Why it's tempting: It seems efficient to fill one orbital completely before starting the next.

    Instead: Hund's rule: electrons singly occupy each degenerate orbital with parallel spins before any orbital is doubly occupied, because electrons repel and spread out to minimize repulsion.

  3. The slip: Chromium is [Ar] 4s23d4, because it follows the filling order like its neighbors.

    Why it's tempting: The filling order gives the right answer for vanadium ([Ar] 4s23d3) and manganese ([Ar] 4s23d5), so chromium, between them, seems to fit the same pattern.

    Instead: Chromium is [Ar] 4s13d5: one 4s electron moves into 3d to make a half-filled d subshell, which is especially stable. Copper does the same, [Ar] 4s13d10. Check the total for chromium: 18+1+5=24, its atomic number.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Write the electron configuration of oxygen, which has 8 electrons.

    Hint: Fill 1s, then 2s, then 2p. The superscripts must add to 8.

  2. Write potassium's configuration (19 electrons) in full and in noble-gas shorthand.

    Hint: Follow the Aufbau order carefully after 3p.

  3. How many unpaired electrons does nitrogen, 1s2 2s2 2p3, have?

    Hint: There are three 2p orbitals. How do electrons spread over orbitals of equal energy?

  4. Iron is [Ar] 4s2 3d6. Write the configuration of Fe2+.

    Hint: When a transition metal forms a cation, which subshell loses electrons first?

  5. A question asks only how many electrons are in each shell of chlorine (17 electrons). Do you need the subshell configuration, or is a shell arrangement enough?

    Hint: Does the question mention orbitals or sublevels?

  6. A student writes chromium (24 electrons) as [Ar] 4s2 3d4. What is the accepted configuration, and why?

    Hint: Chromium is a known exception. Think about a half-filled d subshell.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why does 4s fill before 3d, yet lose its electrons first when iron forms an ion?

The two are a near tie in energy, and the order shifts as electrons are added. After calcium, the 3d orbitals actually drop below 4s, but the neutral atom still keeps two electrons in 4s, because 4s is larger and placing electrons there lowers the repulsion between them. When iron is ionized, the electrons removed are the 4s ones, which sit farthest from the nucleus.

Why do copper and chromium break the filling order?

Copper is [Ar]4s13d10[\text{Ar}]4s^1 3d^{10}, not 4s23d94s^2 3d^9, for the same reason chromium moves an electron: 4s and 3d are so close in energy that a full or half-full d subshell is worth more than a second 4s electron. These exceptions were found by measurement, not predicted by the simple rule, so tests usually expect you to know Cr and Cu by name.

How does electron configuration explain the shape of the periodic table?

Each block of the table matches the subshell being filled. Groups 1 and 2 are the s block, groups 13 to 18 the p block, the ten transition-metal columns the d block, and the two rows printed below the table the f block, 14 elements wide. That is why rows hold 2, 8, 18 or 32 elements: each is the total capacity of the subshells filled in that row.

How do scientists know what an atom's configuration is?

Mostly from light. When an atom's electrons are excited and drop back, the atom gives off light at exact wavelengths that a spectroscope can measure, and each line matches an energy gap between orbitals. Magnetic measurements add how many electrons are unpaired. Configurations such as chromium's were worked out this way, which is why a few disagree with the simple filling rules.

Learning Path

Electron Configuration

You are here

You need Electron Shell and Valence Electron first: configurations split each shell into subshells and pin down which electrons are outermost. This concept adds the s, p, d and f subshells, the filling order and Hund's rule. Next, the Periodic Table reads as blocks of these subshells, and Chemical Bond uses the outer configuration to explain how atoms connect.

See Also