Skip to content
Study Hall
Lesson 5 of 11Matter, Chemical Trends & Bonding
Unit 1 · Lesson 5 of 11

Ionic Bonding & Compounds

How metals and nonmetals transfer electrons to form stable, oppositely-charged ions that pack together into a crystal lattice.

5 min read11 practice questionsAsk AI about this →

Key things to remember

  1. 1The octet rule: atoms are most stable with 8 valence electrons (2 for H/He), matching the nearest noble gas.
  2. 2Metals lose electrons to form cations; nonmetals gain electrons to form anions.
  3. 3Ionic bonds form from electrostatic attraction between oppositely charged ions.
  4. 4Ionic compounds form repeating crystal lattices, not individual molecules.
  5. 5Ionic compounds conduct electricity only when molten or dissolved (ions must be free to move).

Atoms are most stable with a full valence shell — usually 8 electrons (the octet rule), matching the electron arrangement of the nearest noble gas. Metals achieve this by losing their few valence electrons; nonmetals achieve it by gaining electrons to fill their shell. When a metal meets a nonmetal, electrons transfer from one to the other, and the resulting oppositely charged ions attract each other — this is ionic bonding. Table salt, the calcium chloride spread on Ontario roads in winter, the calcium carbonate in limestone and the electrolytes in a sports drink are all ionic compounds, and their shared properties all trace back to this one idea.

Why electrons transfer from metals to nonmetals

Look at the periodic trends from the previous lesson. Metals, on the left, have low ionization energies: their one to three valence electrons are far from the nucleus and weakly held, so they are relatively easy to remove. Nonmetals, on the right, have high electronegativity and a strong pull on incoming electrons, because their is high and their outer shell is nearly full. Put the two together and the electron moves from the atom that holds it loosely to the atom that pulls hard. Removing an electron from sodium actually costs energy, so why does the reaction happen at all? Because the newly formed ions attract each other so strongly that far more energy is released when they pack together than was spent making them. That is why sodium and chlorine react violently to form salt. The octet rule is a handy shorthand for where the transfer stops: each ion ends up with the electron arrangement of a noble gas.

Lewis Dot SymbolsLi1 e⁻Be2 e⁻B3 e⁻C4 e⁻N5 e⁻O6 e⁻F7 e⁻Ne8 e⁻Electron transfer: sodium loses, chlorine gainsNaClNa⁺(0 valence e⁻)[Cl]⁻Cl⁻ now has 8 e⁻ (octet)Na (1 valence e⁻) + Cl (7 valence e⁻) → Na⁺ + Cl⁻, both ions now have a full octet
Fig 1Lewis (electron dot) symbols show only the valence electrons as dots around the element symbol.

A Lewis symbol draws an element's chemical symbol surrounded by dots representing only its valence electrons. Lewis symbols make it easy to see, and predict, how many electrons an atom needs to lose or gain to reach a full octet.

Forming an ionic compound
Metal loses its valence electron(s) → becomes a positively charged cation (smaller than the neutral atom, now matches noble-gas electron count). Nonmetal gains electron(s) → becomes a negatively charged anion (larger than the neutral atom). The cation and anion attract each other electrostatically, and combine in whatever ratio makes the overall compound electrically neutral.
ACation (metal)
  • Loses electrons
  • Becomes positively charged
  • Becomes smaller than the neutral atom
  • e.g. Na → Na⁺ + e⁻
BAnion (nonmetal)
  • Gains electrons
  • Becomes negatively charged
  • Becomes larger than the neutral atom
  • e.g. Cl + e⁻ → Cl⁻

Writing ionic formulas

Every ionic compound is electrically neutral: the total positive charge must exactly cancel the total negative charge. That single rule sets the formula. First, find each ion's charge from its group (Group 1 → 1+, Group 2 → 2+, Group 13 → 3+, Group 15 → 3−, Group 16 → 2−, Group 17 → 1−). Next, find the smallest numbers of each ion that make the charges add to zero. Finally, write the metal first with those numbers as subscripts, leaving out any 1. The criss-cross shortcut does the balancing for you: the size of each ion's charge becomes the other ion's subscript. It always gives a neutral combination, but not always the simplest one, so reduce the subscripts to the lowest whole-number ratio at the end. Because an ionic solid is a lattice rather than a molecule, its formula describes a ratio of ions called a formula unit, not a molecule that exists on its own.

Criss-cross method: charges become subscriptsAluminum oxidealuminum ion + oxide ionAl3+O2−Al2O32 : 3 is already lowest → Al2O3check: 2(+3) + 3(−2) = +6 − 6 = 0Magnesium oxidemagnesium ion + oxide ionMg2+O2−Mg2O2Mg2O2 reduces 2 : 2 → 1 : 1 → MgOcheck: (+2) + (−2) = 0Cross the charge numbers (drop the signs), reduce to the lowest ratio, and leave out any 1.
Fig 2The criss-cross method: each charge becomes the other ion's subscript, then the ratio is reduced (Mg2O2 becomes MgO).
IonsBalancing the chargeFormula
and (+1) + (−1) = 0NaCl
and (+2) + 2(−1) = 0
and 2(+1) + (−2) = 0
and 2(+3) + 3(−2) = 0
and 3(+2) + 2(−3) = 0
and (+2) + (−2) = 0CaO (not )
In every correct formula the positive and negative charges add to zero.

Lattices and the properties they cause

NaCl Ionic LatticeNa⁺Cl⁻Na⁺Cl⁻Na⁺Cl⁻Cl⁻Na⁺Cl⁻Na⁺Cl⁻Na⁺Na⁺Cl⁻Na⁺Cl⁻Na⁺Cl⁻Cl⁻Na⁺Cl⁻Na⁺Cl⁻Na⁺Na⁺Cl⁻Na⁺Cl⁻Na⁺Cl⁻Why is NaCl hard, brittle, and high-melting?• Strong electrostatic attraction between + and − ions extends in all directions(not just one bond) — a lot of energy is needed to pull the lattice apart → high m.p.• A shearing force slides a layer so like charges line up and repel → crystal shatters (brittle)
Fig 3Ions pack into a repeating 3-D crystal lattice, held together by electrostatic attraction in every direction.

Ionic compounds don't exist as individual molecules — they form giant, repeating lattices where each ion is surrounded by ions of the opposite charge on all sides. In a sodium chloride crystal, every touches six ions and every touches six ions, so no single chloride "belongs" to any one sodium. This extensive 3-D network of attractions is what gives ionic compounds their characteristic properties. Larger charges and smaller ions attract more strongly, which is why magnesium oxide ( with ) melts at about 2850 °C while sodium chloride melts at 801 °C.

PropertyExplanation
High melting/boiling pointBreaking apart the lattice requires overcoming many strong electrostatic attractions at once
Hard but brittleA shifted layer lines up same-charge ions, which repel and shatter the crystal
Conducts electricity when molten or dissolved (aqueous)Ions become free to move and carry charge
Does not conduct as a solidIons are locked in fixed lattice positions and cannot move
Many dissolve in waterPolar water molecules surround and pull ions out of the lattice (covered later in this unit)
Ionic properties at work
Because molten ionic compounds conduct, they can be split by electricity: aluminum metal is made by passing a current through aluminum oxide dissolved in a molten salt, and sodium metal is made from molten sodium chloride. Road salt works because dissolved ions interfere with ice forming, and a solution of ions in your body (electrolytes such as , and ) carries the electrical signals in your nerves.

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
Use Lewis symbols to show the formation of an ionic bond between sodium and chlorine.
Example 2
Predict the ionic compound formed between magnesium and oxygen, and explain the ratio.
Example 3
Predict the formula for the ionic compound formed between aluminum and oxygen.
Example 4
Calcium reacts with nitrogen. Predict the formula of the product, and find how many electrons are transferred in total to make one formula unit.

Where marks get lost

  • Drawing Lewis symbols with core (inner-shell) electrons included — only valence electrons are shown.
  • Forgetting that when a metal becomes a cation, it typically loses its entire outer shell, becoming smaller than the neutral atom (not larger).
  • Believing ionic compounds are made of individual, separate molecules — they are giant lattices, so formulas represent a ratio, not a molecule.
  • Thinking solid ionic compounds conduct electricity — they only conduct when the ions are mobile (molten or dissolved).
  • Crossing charges without reducing to lowest whole-number ratio (e.g. writing Mg₂O₂ instead of the reduced MgO).

Flashcards 10

Octet rule
Cation
Anion
Ionic bond
+ 6 more

Practice

1
Which best describes what happens when sodium bonds with chlorine?
2
How many electrons in total does an Al³⁺ ion have?
3
What is the correct formula for the ionic compound formed from calcium and chlorine?
4
Why do ionic solids have high melting points?
5
Does a solid ionic compound conduct electricity? Why or why not?
6
Order these steps in forming an ionic compound from a metal and a nonmetal atom.
  1. 1Nonmetal atom gains the transferred electron(s)
  2. 2Oppositely charged ions attract and form a lattice
  3. 3Both atoms reach a stable octet
  4. 4Metal atom loses its valence electron(s)
7
Which of the following correctly compares the size of an ion to its neutral atom?
8
Match each pair of ions to the formula of the compound they form.
  1. A.
  2. B.
  3. C.
  4. D.
and
and
and
and
9
In forming one formula unit of magnesium nitride, , how many electrons are transferred in total?
10
What is the formula of the ionic compound formed from potassium and sulfur?
11
Write the formula of the ionic compound formed from barium and nitrogen.

Spot a mistake on this page? Let us know