AP Chemistry · Unit 1: Atomic Structure and Properties

1.8 Valence Electrons and Ionic Compounds

Essential Question

Why do elements form the ions they do?

Why is sodium always +1 and oxygen always −2? By the end of this lesson, you should be able to predict ion charges and write formulas for ionic compounds.

Video not loading? Watch it on YouTube.

Valence Electrons

  • Electrons in the outermost shell
  • They take part in bonding.
  • Main groups: use the group number.
Valence electrons by group: group 1 has 1, group 2 has 2, group 13 has 3, group 14 has 4, group 15 has 5, group 16 has 6, group 17 has 7, and group 18 has 8. Helium is the exception, with 2.

Groups 1 and 2 have 1 and 2 valence electrons. For groups 13 through 18, drop the 1: group 13 has 3, group 17 has 7. Helium is the exception, with only 2.

Gaining and Losing Electrons

  • Metals lose electrons → cations (+)
  • Nonmetals gain electrons → anions (−)
  • Both end with a noble gas configuration.
Na, [Ne] 3s¹, loses 1 electron to become Na⁺, [Ne]. Cl, [Ne] 3s² 3p⁵, gains 1 electron to become Cl⁻, [Ne] 3s² 3p⁶ = [Ar].

Sodium loses its one 3s electron and ends up with neon’s configuration. Chlorine gains one electron and ends up with argon’s configuration.

Predicting Ion Charges

  • Charge comes from position on the periodic table.
  • Atoms lose or gain the fewest electrons needed to look like a noble gas.
Common ion charges by group: group 1 is +1 (Li⁺), group 2 is +2 (Mg²⁺), group 13 is +3 (Al³⁺), group 15 is −3 (N³⁻), group 16 is −2 (O²⁻), and group 17 is −1 (F⁻).

Groups 1, 2, and 13 lose 1, 2, and 3 electrons. Groups 15, 16, and 17 gain 3, 2, and 1 electrons, because gaining a few is easier than losing many.

Why Sodium Stays +1

  • Removing the one 3s electron is easy.
  • The next electron is a core electron.
  • Removing it takes far too much energy.
Bar graph of sodium's ionization energies: IE1 496, IE2 4562, and IE3 6910 kJ/mol.

Sodium’s first ionization energy is 496 kJ/mol, but the second is 4,562 kJ/mol, about 9 times more. The second electron is a core electron in the second shell, much closer to the nucleus, so sodium stops at +1. Successive ionization energies are the evidence for ion charges.

Forming an Ionic Compound

  • Metal + nonmetal: electrons transfer.
  • Opposite charges attract (Coulomb’s law).
  • The result is an ionic compound.
After the electron transfer: Na⁺ with 2 and 8 electrons, and Cl⁻ with 2, 8, and 8 electrons. An orange arrow shows 1 electron moved from sodium to chlorine. Together they form NaCl.

Sodium gave its one valence electron (orange) to chlorine. Now Na+ has 2 and 8 electrons, and Cl− has 2, 8, and 8. The attraction between the opposite charges holds them together as NaCl.

Same Group, Same Pattern

  • Elements in the same group form similar compounds.
Analogous compounds. Group 1 + Cl: LiCl, NaCl, KCl. Group 2 + O: MgO, CaO, SrO. Group 1 + O: Li2O, Na2O, K2O.

Elements in the same group have the same number of valence electrons, so they form ions with the same charge. If you know one compound in a group, you can predict the others.

Writing Ionic Formulas

  • Total charge must equal zero.
  • Use the lowest whole-number ratio.
Crisscross method: the 3 from Al³⁺ becomes the subscript on O, and the 2 from O²⁻ becomes the subscript on Al, giving Al2O3.

With the crisscross shortcut, the 3 from Al3+ becomes oxygen’s subscript and the 2 from O2− becomes aluminum’s subscript, giving Al2O3. Check: 2(+3) + 3(−2) = 0. Always reduce to the lowest ratio, so Mg2+ and O2− make MgO, not Mg2O2.

↑ Back to top


Worked Examples

Try each problem on your own first, then open the solution to check your work.

Example 1: Predicting an Ion

Predict the charge on the most common ion of selenium, Se. Write the ion’s electron configuration.

Show the solution
  1. Group: Se is in group 16, so it has 6 valence electrons.
  2. Charge: gaining 2 is easier than losing 6, so it forms Se2−.
  3. Neutral atom: Se has 34 electrons: [Ar] 4s2 3d10 4p4
  4. Add 2 electrons: [Ar] 4s2 3d10 4p6
  5. Answer: Se2−: [Ar] 4s2 3d10 4p6 = [Kr]
  6. Check: 34 + 2 = 36 electrons, the same as krypton.

Example 2: Writing a Formula

Write the formula of the ionic compound formed from calcium and nitrogen.

Show the solution
  1. Calcium: group 2 → Ca2+
  2. Nitrogen: group 15 → N3−
  3. Crisscross: the 2 becomes nitrogen’s subscript and the 3 becomes calcium’s.
  4. Answer: Ca3N2
  5. Check: 3(+2) + 2(−3) = +6 − 6 = 0

Example 3: Analogous Compounds

Magnesium and chlorine form MgCl2. Predict the formula of the compound formed from barium and bromine. Justify your answer.

Show the solution
  1. Metals: Mg and Ba are both in group 2, so both form 2+ ions.
  2. Nonmetals: Cl and Br are both in group 17, so both form 1− ions.
  3. Answer: BaBr2
  4. Check: +2 + 2(−1) = 0

Sample exam justification: Elements in the same group have the same number of valence electrons and form ions with the same charge, so barium and bromine combine in the same 1 to 2 ratio as magnesium and chlorine.

Example 4: Using Ionization Energy Data

Element X forms an ionic compound with oxygen. Use the ionization energies of X to predict the formula of the compound, using X as the symbol.

Ionization energykJ/mol
IE1590
IE21,145
IE34,912
Show the solution
  1. Compare jumps: 590 → 1,145 is ×1.9, and 1,145 → 4,912 is ×4.3.
  2. Biggest jump: after the second electron, so X has 2 valence electrons and forms X2+.
  3. Oxygen: group 16 → O2−
  4. Answer: XO (+2 and −2 cancel in a 1 to 1 ratio; X is calcium, so the compound is CaO)

↑ Back to top


Practice

Practice with instant feedback

Answer original AP-style questions for Unit 1 and see an explanation right after each one. Choose Topic 1.8 or mix topics. No login needed.

↑ Back to top


Lesson Slides

↑ Back to top


Big Ideas

  • Valence electrons decide how atoms bond.
  • Metals lose e−, nonmetals gain e−.
  • Ion charge comes from group position.
  • Ionic formulas have zero total charge.

Back to the essential question: elements form the ions they do because losing or gaining those electrons takes the least energy and leaves a noble gas configuration. That wraps up Unit 1. Next up, Unit 2 starts with Topic 2.1, Types of Chemical Bonds.

↑ Back to top


AP Alignment

This lesson covers Topic 1.8, Valence Electrons and Ionic Compounds, in Unit 1 (Atomic Structure and Properties) of the College Board AP Chemistry Course and Exam Description (CED). Learning objective:

  • 1.8.A: Explain the relationship between trends in the reactivity of elements and periodicity.

Essential knowledge: 1.8.A.1, 1.8.A.2, 1.8.A.3

Suggested skill: 4.C Model Analysis. Explain the connection between particulate-level and macroscopic properties of a substance using models and representations.

↑ Back to top