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

Predicting ion charges and ionic formulas

Use group number and valence electrons to predict common ion charges and write formulas for ionic compounds.

In one minute

Metals tend to lose electrons and nonmetals tend to gain them, and the number involved depends on the group. That makes the periodic table a predictor: from an element's position you can guess its ion charge, and from two charges you can write a compound's formula.

This topic puts the electron-configuration ideas of 1.5 to 1.7 to a practical use, and it prepares for ionic bonding in unit 2.

Key terms

Valence electrons
Outer-shell electrons; for main-group elements the count equals the group number's ones digit (1 to 8).
Cation
A positive ion, formed when an atom loses electrons; metals form cations.
Anion
A negative ion, formed when an atom gains electrons; nonmetals form anions.
Ionic compound
A compound made of cations and anions held together by electrical attraction, with no net charge.
Formula unit
The simplest whole-number ratio of ions in an ionic compound.
Charge balance
The requirement that total positive charge equals total negative charge in the formula.
Transition metal
A d-block element that often forms more than one possible ion, such as iron forming Fe2+\text{Fe}^{2+} and Fe3+\text{Fe}^{3+}.

From valence electrons to charge

Main-group atoms tend to reach the electron configuration of the nearest noble gas. Sodium has one valence electron outside a neon core; losing it gives Na+\text{Na}^+ with the neon configuration. Magnesium loses two to become Mg2+\text{Mg}^{2+}. Oxygen has six valence electrons and gains two to complete an octet, forming O2−\text{O}^{2-}. Chlorine has seven and gains one, forming Cl−\text{Cl}^-.

Because the loss or gain depends only on how many electrons sit in the valence shell, elements in the same group form ions with the same charge. Coulomb's law explains why this is the cheapest route: a metal's few, loosely held outer electrons are easy to remove, and the next electron would have to come from a core shell at a huge energy cost, as the ionization data in 1.7 show.

Typical main-group ion charges
GroupValence electronsTypical ionExamples
11+1Na+\text{Na}^+, K+\text{K}^+
22+2Mg2+\text{Mg}^{2+}, Ca2+\text{Ca}^{2+}
133+3Al3+\text{Al}^{3+}
155-3N3−\text{N}^{3-}, P3−\text{P}^{3-}
166-2O2−\text{O}^{2-}, S2−\text{S}^{2-}
177-1F−\text{F}^-, Cl−\text{Cl}^-

Writing a formula for an ionic compound

A compound is neutral overall, so the positive and negative charges must cancel. Find the smallest whole-number counts of each ion that give a total charge of zero. A shortcut is the crisscross: the magnitude of each ion's charge becomes the subscript of the other, then reduce to the lowest ratio. Always check by multiplying out.

Worked example. What is the formula for the compound of calcium and nitrogen? Calcium is in group 2, so it forms Ca2+\text{Ca}^{2+}. Nitrogen is in group 15, so it forms N3−\text{N}^{3-}. The crisscross puts 3 on calcium and 2 on nitrogen, giving Ca3N2\text{Ca}_3\text{N}_2. Check: 3(+2)=+63(+2) = +6 and 2(−3)=−62(-3) = -6, which total zero.

More cases. Sodium and oxygen: Na+\text{Na}^+ and O2−\text{O}^{2-} need two sodium ions per oxide ion, so Na2O\text{Na}_2\text{O}. Magnesium and chlorine: Mg2+\text{Mg}^{2+} with Cl−\text{Cl}^- gives MgCl2\text{MgCl}_2. Aluminum and oxygen: Al3+\text{Al}^{3+} and O2−\text{O}^{2-} give Al2O3\text{Al}_2\text{O}_3, since 2(+3)=+62(+3) = +6 and 3(−2)=−63(-2) = -6, which total zero. Aluminum and sulfur: Al2S3\text{Al}_2\text{S}_3. If the subscripts share a common factor, such as magnesium and oxygen (Mg2+\text{Mg}^{2+}, O2−\text{O}^{2-}), reduce to MgO\text{MgO}, not Mg2O2\text{Mg}_2\text{O}_2.

Same group, similar compounds

Elements in one group have the same valence configuration, so they form ions with the same charge and compounds with the same pattern of subscripts. Na2O\text{Na}_2\text{O} and K2O\text{K}_2\text{O} have the same formula type. MgCl2\text{MgCl}_2 and CaCl2\text{CaCl}_2 do too. Their properties are alike as well: all are crystalline solids with high melting points that conduct electricity when molten. The chlorides dissolve in water to give conducting solutions, while the oxides react with water to form solutions of metal hydroxides. Differences in degree come from size: down a group the ions are larger, so the attractions are weaker.

This lets you predict. Given that CaO\text{CaO} is an ionic solid, you can predict that SrO\text{SrO} is as well, with a similar formula, and that it will be somewhat different in melting point because the ion is bigger.

Transition metals and exceptions

Transition metals do not follow one rule, because their dd electrons can be lost in different numbers. Iron forms both Fe2+\text{Fe}^{2+} and Fe3+\text{Fe}^{3+}, so a name such as iron(III) oxide uses the Roman numeral to say which. For these metals the charge is given in the name or the problem; use the charge balance rule as before. The exam focuses on the predictable main-group ions.

How it connects

  • Back to 1.5: ion charges follow from valence electron configurations and the stability of noble-gas-like arrangements.
  • Back to 1.7: ionization energies and electronegativity explain why metals lose and nonmetals gain electrons.
  • Forward to 2.1: ionic bonds form between metals and nonmetals, using exactly these ions.
  • Forward to 2.3: ionic solids are built from the cations and anions found here.

Common mistakes

  • Writing the charge as a subscript. In Al2O3\text{Al}_2\text{O}_3 the 2 and 3 are counts of ions, not charges; the ions are Al3+\text{Al}^{3+} and O2−\text{O}^{2-}.
  • Not reducing the formula. Mg2O2\text{Mg}_2\text{O}_2 should be MgO\text{MgO}, since formula units use the lowest whole-number ratio.
  • Mixing up the sign. Metals form positive ions; nonmetals form negative ions.
  • Giving the same charge to every transition metal. Many have more than one possible charge, so the problem or name states which.

How it shows up on the exam

  • Students predict the formula of an ionic compound from the elements, or the charge of an ion from the group, and the answer must balance charge.
  • A question about two elements in the same group asks you to predict a similar compound and explain it using valence electrons.
  • Particle diagrams of ionic solids may be used to check that the ratio of ions matches the formula.

Check yourself

  1. What charge would you expect for an ion of barium, and why?
  2. How do you know that Al2O3\text{Al}_2\text{O}_3 is electrically neutral?
  3. Write the formula for the compound of potassium and sulfur, and show the charge balance.
  4. Why do elements in the same group form compounds with similar formulas?

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