AP Chemistry · Topic 1.5 · Reading guide, about 5 min

Where electrons sit: shells and subshells

Learn shells, subshells and the filling order, write electron configurations for atoms and ions, and compare removal energies.

In one minute

An atom is a tiny, dense nucleus of protons and neutrons surrounded by electrons. Nearly everything chemists predict, from bonding to color to reactivity, depends on where those electrons are and how tightly the nucleus holds them.

This topic gives you the bookkeeping system: shells, subshells, and the order in which they fill. It also gives you the physical reason electrons differ in energy, which is Coulomb's law. Keep both ideas in mind, because they power the next three topics.

Key terms

Coulomb's law
The attraction or repulsion between charges is proportional to q1q2/r2q_1q_2/r^2: bigger charges strengthen it, greater distance weakens it.
Shell
A group of electrons at a similar average distance from the nucleus, labeled by the number 1, 2, 3 and so on; higher numbers are farther out.
Subshell
A division of a shell labeled ss, pp, dd or ff; each shell nn contains nn subshells at most, and subshells in one shell differ in energy.
Electron configuration
A list of the occupied subshells with the number of electrons as a superscript, such as 1s22s22p61s^2 2s^2 2p^6 for neon.
Aufbau principle
Electrons fill the lowest-energy available subshells first, building up the configuration in order.
Valence electrons
The electrons in the outermost shell, which take part in bonding.
Core electrons
Electrons in inner shells; they sit closer to the nucleus and are held strongly.
Noble-gas shorthand
A shortened configuration that replaces the inner electrons with the symbol of the previous noble gas in brackets, such as [Ne]3s23p4[\text{Ne}]3s^2 3p^4 for sulfur.

The pull of the nucleus: Coulomb's law

Electrons are negative and the nucleus is positive, so they attract. Coulomb's law says the force grows with the product of the charges and shrinks with the square of the distance. Two things follow. More protons in the nucleus means a stronger pull on every electron. And an electron in a shell farther from the nucleus feels a weaker pull, because the distance is larger.

Inner electrons also block part of the nucleus's pull from outer electrons, an effect called shielding. An electron in a high shell feels a nucleus whose charge has been partly canceled by the electrons beneath it. These ideas become the explanation for periodic trends in 1.7.

Shells and subshells

Shells are numbered n=1,2,3,…n = 1, 2, 3, \dots outward. Inside each shell are subshells. The first shell has only 1s1s. The second has 2s2s and 2p2p. The third has 3s3s, 3p3p and 3d3d, and from the fourth shell on there is also an ff subshell. Each subshell holds a fixed number of electrons.

Subshell capacities
SubshellMaximum electronsWhere it appears on the periodic table
s2Groups 1 and 2, plus helium
p6Groups 13 through 18
d10Transition metals
f14Lanthanides and actinides

Filling order and writing configurations

Electrons fill in the order 1s,2s,2p,3s,3p,4s,3d,4p,5s,4d,5p1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p. Notice that 4s4s fills before 3d3d: with the extra shielding and a small energy difference, the 4s4s subshell is slightly lower in energy for atoms until the 3d3d begins filling. To write a configuration, count the electrons (equal to the atomic number for a neutral atom) and place them in order, filling each subshell to its capacity.

The noble-gas shorthand speeds this up. Iron has 26 electrons. Argon has 18 and ends with 3p63p^6, so iron is [Ar]4s23d6[\text{Ar}]4s^2 3d^6. Check by counting: 18 + 2 + 6 = 26. Assigning quantum numbers is not part of this course, so you do not need them to write configurations.

Configurations of ions

For a positive ion, remove electrons from the outermost shell first, which is the highest nn. For transition metals this means the 4s4s electrons leave before any 3d3d electrons, even though 4s4s filled first. For a negative ion, add electrons to the next available subshell.

Worked example 1. Write the configuration of Fe3+\text{Fe}^{3+}. The neutral atom is [Ar]4s23d6[\text{Ar}]4s^2 3d^6 with 26 electrons. The +3 ion has 23. Remove the two 4s4s electrons first, then one 3d3d electron, leaving [Ar]3d5[\text{Ar}]3d^5. Check: 18 + 5 = 23.

Worked example 2. Write the configuration of S2−\text{S}^{2-}. Sulfur has 16 electrons: [Ne]3s23p4[\text{Ne}]3s^2 3p^4. Adding two electrons gives 18 electrons: [Ne]3s23p6[\text{Ne}]3s^2 3p^6, which is the same as [Ar][\text{Ar}]. An ion with the same configuration as a noble gas is stable and common.

Energy needed to remove electrons

Which electron takes the most energy to remove? The one held most tightly. Core electrons, close to the nucleus, are held strongly. Valence electrons, far from the nucleus and shielded by the core, are held weakly. Within sodium, a 1s1s electron takes far more energy to remove than the single 3s3s electron. Between two atoms, the one with more protons holds a given subshell more tightly, as long as the shell number is the same. Coulomb's law gives both answers: closer and more positive means stronger attraction.

How it connects

  • Forward to 1.6: photoelectron spectra measure the energy of each subshell directly, turning these configurations into peaks you can read.
  • Forward to 1.7: atomic size and ionization energy follow from nuclear charge, shielding and the number of shells.
  • Forward to 1.8: the valence configuration decides which ion an element forms.
  • Forward to 2.1: valence electrons are the ones involved in bonding.

Common mistakes

  • Removing 3d electrons before 4s for a transition metal ion. The 4s4s electrons leave first, so Fe2+\text{Fe}^{2+} is [Ar]3d6[\text{Ar}]3d^6, not [Ar]4s23d4[\text{Ar}]4s^2 3d^4.
  • Miscounting electrons for ions. A positive charge means fewer electrons than the atomic number; a negative charge means more. Check by adding the superscripts.
  • Putting more electrons in a subshell than it holds. ss holds 2, pp holds 6, dd holds 10.
  • Ignoring distance and shielding. In the same atom every electron feels the same nuclear charge, so a core electron is held far more tightly than a valence electron because it is closer and less shielded.

How it shows up on the exam

  • Students write a full or noble-gas-shorthand configuration for an atom or an ion, often for a transition metal ion.
  • Short-answer questions ask which of two electrons takes more energy to remove, and the answer must use Coulomb's law, distance and shielding.
  • Representation questions give a configuration and ask for the element, the number of valence electrons, or the charge of the likely ion.

Check yourself

  1. Write the configuration of calcium and of Ca2+\text{Ca}^{2+}, and say why they look different.
  2. Why is a 1s electron harder to remove than a 3s electron in the same atom?
  3. How many valence electrons does phosphorus have, and which subshells hold them?
  4. Why does Fe2+\text{Fe}^{2+} lose its 4s electrons before its 3d electrons?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.