Dove's LibraryDove's Library

1.8 - Valence Electrons and Ionic Compounds

Overview

Why does sodium react violently with chlorine while neon reacts with almost nothing? The answer is in the valence electrons and how strongly each nucleus holds them. This topic connects electron configurations and periodic trends to which elements form bonds, which formulas their compounds have, and which charges their ions carry.

Valence electrons decide whether atoms bond

Whether two elements form a bond depends on the interactions between their valence electrons and their nuclei, the same Coulomb's law ideas as in 1.7.
  • Metals (left side of the table) have few valence electrons and low ionization energies. They lose electrons easily and form cations.
  • Nonmetals (right side) have more valence electrons, high ionization energies, and high electron affinities and electronegativities. They gain electrons to form anions, or they share electrons.
  • A metal and a nonmetal usually transfer electrons: the metal's loosely held valence electrons go to the nonmetal, and the ions that form attract each other. That's an ionic compound, like NaCl.
  • Two nonmetals both hold their electrons tightly, so neither gives them up. They share electrons in covalent bonds, like H2O\mathrm{H_2O} (more in Unit 2).
  • Noble gases have filled valence shells, very high ionization energies, and no tendency to gain an electron, so they almost never form compounds.

Reactivity trends

  • Group 1 metals get more reactive going down the group. Each one has a single valence electron with Zeff≈+1Z_{\text{eff}} \approx +1, but going down the group that electron is in a farther shell, so it is held less tightly. Potassium's first ionization energy is 419 kJ/mol compared with 496 kJ/mol for sodium and 520 kJ/mol for lithium. You can see this in the lab: lithium fizzes steadily in water, sodium melts into a ball and skids across the surface, and potassium bursts into a lilac flame.
  • Group 17 nonmetals get less reactive going down the group. A small halogen atom attracts an incoming electron strongly because that electron gets close to the nucleus. Larger halogens hold an extra electron less tightly, and their electronegativity drops: F 3.98, Cl 3.16, Br 2.96, I 2.66. Fluorine is the most reactive element of all. (An isolated chlorine atom releases slightly more energy than fluorine when it gains an electron, as 1.7 explains, but fluorine still reacts more vigorously, partly because the bond in F2\mathrm{F_2} is unusually weak.)

Same column, same kind of compound

Elements in the same group have the same number of valence electrons, so they tend to form analogous compounds: compounds with the same formula pattern.
Group
Elements
One series
Another series
1
Li, Na, K
LiCl, NaCl, KCl
Li2O\mathrm{Li_2O}, Na2O\mathrm{Na_2O}, K2O\mathrm{K_2O}
2
Mg, Ca, Sr
MgCl2\mathrm{MgCl_2}, CaCl2\mathrm{CaCl_2}, SrCl2\mathrm{SrCl_2}
MgO, CaO, SrO
13
Al, Ga
AlCl3\mathrm{AlCl_3}, GaCl3\mathrm{GaCl_3}
Al2O3\mathrm{Al_2O_3}, Ga2O3\mathrm{Ga_2O_3}
14
C, Si, Ge
CH4\mathrm{CH_4}, SiH4\mathrm{SiH_4}, GeH4\mathrm{GeH_4}
CCl4\mathrm{CCl_4}, SiCl4\mathrm{SiCl_4}, GeCl4\mathrm{GeCl_4}
15
N, P, As
NH3\mathrm{NH_3}, PH3\mathrm{PH_3}, AsH3\mathrm{AsH_3}
NCl3\mathrm{NCl_3}, PCl3\mathrm{PCl_3}, AsCl3\mathrm{AsCl_3}
16
O, S, Se
H2O\mathrm{H_2O}, H2S\mathrm{H_2S}, H2Se\mathrm{H_2Se}
Na2O\mathrm{Na_2O}, Na2S\mathrm{Na_2S}, Na2Se\mathrm{Na_2Se}
17
F, Cl, Br
NaF, NaCl, NaBr
HF, HCl, HBr
This lets you predict formulas you've never seen. Radium is below calcium, so radium chloride should be RaCl2\mathrm{RaCl_2}, like CaCl2\mathrm{CaCl_2}.
Be careful: the same formula pattern doesn't mean the same properties. Water is a liquid at room temperature while H2S\mathrm{H_2S} is a gas, and CO2\mathrm{CO_2} is a gas while SiO2\mathrm{SiO_2} (quartz, sand) is a hard solid. Units 2 and 3 explain why.

Typical charges of ions

The charge an atom usually takes in an ionic compound is set by its number of valence electrons, so you can read it from the periodic table. Main-group atoms tend to lose or gain electrons until they have the same configuration as the nearest noble gas (filled ss and pp subshells in the outer shell).
1.8 - Valence Electrons and Ionic Compounds
  • Group 1: lose 1 electron, charge +1+1. Na ([Ne] 3s1[\mathrm{Ne}]\,3s^1) becomes Na+\mathrm{Na^+} ([Ne][\mathrm{Ne}]).
  • Group 2: lose 2, charge +2+2 (Mg2+\mathrm{Mg^{2+}}, Ca2+\mathrm{Ca^{2+}}).
  • Group 13: lose 3, charge +3+3 (Al3+\mathrm{Al^{3+}}). Boron shares electrons instead of forming ions.
  • Group 15: gain 3, charge −3-3 (N3−\mathrm{N^{3-}}, P3−\mathrm{P^{3-}}).
  • Group 16: gain 2, charge −2-2 (O2−\mathrm{O^{2-}}, S2−\mathrm{S^{2-}}).
  • Group 17: gain 1, charge −1-1 (F−\mathrm{F^-}, Cl−\mathrm{Cl^-}).
  • Group 18: no ions in ordinary compounds.
A few cautions:
  • Group 14: carbon and silicon almost always share electrons rather than forming ions.
  • Hydrogen sits in group 1 but is a nonmetal. It can form H+\mathrm{H^+} or, with very reactive metals, H−\mathrm{H^-} (as in NaH).
  • Transition metals often have more than one possible charge, usually +2+2 or +3+3 (Fe2+\mathrm{Fe^{2+}} and Fe3+\mathrm{Fe^{3+}}, Cu+\mathrm{Cu^+} and Cu2+\mathrm{Cu^{2+}}). They lose their 4s4s electrons first (1.5). Names show the charge with a Roman numeral, as in iron(III) oxide, Fe2O3\mathrm{Fe_2O_3}. On the exam you'll be given the charge or can work it out from a formula.

Why the charges stop where they do: successive ionization energies

You can remove electrons one at a time, and each removal has its own ionization energy. Each one takes more energy than the last, since the same protons are pulling on fewer electrons. But there is a huge jump as soon as you reach the core electrons.
1.8 - Valence Electrons and Ionic Compounds
Magnesium's first two electrons come from 3s3s (738 and 1451 kJ/mol). The third has to come from 2p2p, a shell closer to the nucleus with much less shielding, so it takes 7733 kJ/mol, about 5.3 times the second. The energy released when an ionic compound forms can make up for removing two valence electrons, but not a core electron. That's why magnesium is always Mg2+\mathrm{Mg^{2+}} in its compounds and never Mg3+\mathrm{Mg^{3+}}.
In general, the big jump comes right after the last valence electron. The number of electrons removed before the jump equals the number of valence electrons, which is the usual positive charge.

Writing formulas for ionic compounds

An ionic compound has no overall charge, so the total positive charge must equal the total negative charge. Write the ions, then find the smallest whole-number ratio that makes the charges add to zero. The metal goes first, and charges don't appear in the formula.
  • Ca2+\mathrm{Ca^{2+}} and Cl−\mathrm{Cl^-}: one +2+2 needs two −1-1, so CaCl2\mathrm{CaCl_2}.
  • Al3+\mathrm{Al^{3+}} and O2−\mathrm{O^{2-}}: 2(+3)+3(−2)=02(+3) + 3(-2) = 0, so Al2O3\mathrm{Al_2O_3}.
  • Mg2+\mathrm{Mg^{2+}} and N3−\mathrm{N^{3-}}: 3(+2)+2(−3)=03(+2) + 2(-3) = 0, so Mg3N2\mathrm{Mg_3N_2}.
  • Mg2+\mathrm{Mg^{2+}} and O2−\mathrm{O^{2-}}: the charges already cancel 1 to 1, so MgO (not Mg2O2\mathrm{Mg_2O_2}).

Example 1: Predicting formulas from the periodic table

Predict the formula of the ionic compound formed by (a) strontium and bromine, (b) aluminum and sulfur, (c) potassium and nitrogen.
(a) Strontium is in group 2, so Sr2+\mathrm{Sr^{2+}}. Bromine is in group 17, so Br−\mathrm{Br^-}. Two bromide ions balance one strontium ion: SrBr2\mathrm{SrBr_2}.
(b) Aluminum forms Al3+\mathrm{Al^{3+}} and sulfur (group 16) forms S2−\mathrm{S^{2-}}. The smallest total that both 3 and 2 divide into is 6, so two Al and three S: 2(+3)+3(−2)=02(+3) + 3(-2) = 0, giving Al2S3\mathrm{Al_2S_3}.
(c) Potassium forms K+\mathrm{K^+} and nitrogen (group 15) forms N3−\mathrm{N^{3-}}. Three potassium ions balance one nitride ion: K3N\mathrm{K_3N}.
Answer: SrBr2\mathrm{SrBr_2}, Al2S3\mathrm{Al_2S_3}, and K3N\mathrm{K_3N}.

Example 2: Using successive ionization energies (AP-style)

Element X is in period 3. Its first five ionization energies, in kJ/mol, are 578, 1817, 2745, 11,577, and 14,842. (a) Identify X. (b) Predict the formulas of its oxide and its chloride. (c) Use Coulomb's law to explain the large jump.
Step 1: Find the jump. Compare each ionization energy with the one before it:
1817578=3.1427451817=1.5111,5772745=4.2214,84211,577=1.28\frac{1817}{578} = 3.14 \qquad \frac{2745}{1817} = 1.51 \qquad \frac{11{,}577}{2745} = 4.22 \qquad \frac{14{,}842}{11{,}577} = 1.28
The biggest jump is from the third to the fourth ionization energy.
(a) Three electrons come off before the jump, so X has 3 valence electrons and is in group 13. The group 13 element in period 3 is aluminum.
(b) Aluminum forms Al3+\mathrm{Al^{3+}}. With O2−\mathrm{O^{2-}} the oxide is Al2O3\mathrm{Al_2O_3}, and with Cl−\mathrm{Cl^-} the chloride is AlCl3\mathrm{AlCl_3}.
(c) The first three electrons come from the n=3n = 3 shell (3s2 3p13s^2\,3p^1). The fourth must come from the 2p2p subshell, which is in a shell closer to the nucleus and shielded only by the two 1s1s electrons, so it feels a much larger effective nuclear charge. By Coulomb's law, a closer electron feeling more charge is held much more strongly, so removing it takes far more energy.

Example 3: Explaining reactivity (AP-style)

Potassium reacts with water much more vigorously than sodium does. Explain this in terms of the electronic structure of the atoms.
Step 1: Compare the valence electrons. Na is [Ne] 3s1[\mathrm{Ne}]\,3s^1 and K is [Ar] 4s1[\mathrm{Ar}]\,4s^1. Each has one valence electron with Zeff≈+1Z_{\text{eff}} \approx +1 (11−1011 - 10 and 19−1819 - 18).
Step 2: Compare distance. Potassium's valence electron is in shell 4, farther from the nucleus than sodium's in shell 3.
Answer: By Coulomb's law, the same effective charge at a greater distance gives a weaker attraction, so potassium's valence electron is easier to remove (first ionization energy 419 kJ/mol versus 496 kJ/mol). In the reaction with water, the metal atoms lose that electron, so the atom that loses it more easily reacts more vigorously. This is the link between a particle-level property (how tightly an electron is held) and what you see in the beaker.

Example 4: Predicting analogous compounds

(a) Calcium forms CaO and CaCl2\mathrm{CaCl_2}. Predict the formula of the compound of strontium and sulfur. (b) Hydrogen and oxygen form H2O\mathrm{H_2O}. Predict the formula of the compound of hydrogen and tellurium. (c) Carbon forms CO2\mathrm{CO_2}. Predict the formula of silicon's oxide. Should it also be a gas?
(a) Strontium is in the same group as calcium and sulfur is in the same group as oxygen, so the compound follows CaO: SrS.
(b) Tellurium is in group 16 with oxygen, so the compound follows H2O\mathrm{H_2O}: H2Te\mathrm{H_2Te}.
(c) Silicon is in group 14 with carbon, so its oxide is SiO2\mathrm{SiO_2}. The formula matches, but the properties don't: SiO2\mathrm{SiO_2} is a hard solid (quartz). Same column predicts the formula pattern, not every property.

Common mistakes

  • Writing charges inside a formula (Mg2+Cl2−\mathrm{Mg^{2+}Cl^-_2}) or not balancing them (MgCl). The formula is MgCl2\mathrm{MgCl_2}.
  • Forgetting to reduce: Mg2+\mathrm{Mg^{2+}} and O2−\mathrm{O^{2-}} make MgO, not Mg2O2\mathrm{Mg_2O_2}.
  • Giving transition metals a single fixed charge based on their column.
  • Giving carbon or silicon +4+4 or −4-4 ions in ordinary compounds. They share electrons.
  • Explaining charges only with “atoms want a full octet”. On the AP exam, back it up with ionization energies and Coulomb's law: removing a core electron costs far too much energy.
  • Saying halogens get more reactive going down the group, like the alkali metals. It's the opposite: fluorine is the most reactive halogen.

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.