Skip to content
Tutorials Center
My learning

Topics

Lesson 24 of 39 · Ionic and Covalent Bonding

Ions and Ionic Bonds

See how atoms form cations and anions by transferring electrons, how ionic bonds hold a crystal together, and why ionic solids have their properties.

Atoms are neutral, but they can gain or lose electrons to become charged particles called ions. When oppositely charged ions attract each other, the attraction is an ionic bond. Table salt, chalk and most rocks are held together this way.

This lesson shows how ions form, how to predict their charges from the periodic table, and why ionic compounds have the properties they do.

Forming ions

A cation is a positive ion (lost electrons). An anion is a negative ion (gained electrons). Sodium, a group 1 metal, has one valence electron:

Na → Na⁺ + e⁻

Chlorine, in group 17, has seven valence electrons and takes one more:

Cl + e⁻ → Cl⁻

When sodium reacts with chlorine, an electron moves from the sodium atom to the chlorine atom. Both ions end up with a stable, noble-gas-like arrangement: Na⁺ has the 2, 8 arrangement of neon, and Cl⁻ has the 2, 8, 8 arrangement of argon. This is often called the octet idea: many main-group atoms tend to end with eight valence electrons. It is a useful guide, not a strict law.

Predicting charges

Group Typical ion Example
1 1+ Na⁺, K⁺
2 2+ Mg²⁺, Ca²⁺
13 3+ Al³⁺
15 3- N³⁻, P³⁻
16 2- O²⁻, S²⁻
17 1- F⁻, Cl⁻

Metals from groups 1, 2 and 13 lose their valence electrons. Nonmetals from groups 15, 16 and 17 gain enough electrons to reach eight. Transition metals can form more than one ion (iron gives Fe²⁺ and Fe³⁺), so their charge is written in the name, such as iron(III).

The ionic bond and the lattice

An ionic bond is the electrostatic attraction between cations and anions. But in a solid there are no separate pairs. Each ion is surrounded by ions of opposite charge in a repeating three-dimensional pattern called a crystal lattice. In sodium chloride each Na⁺ has six Cl⁻ neighbors, and each Cl⁻ has six Na⁺ neighbors.

flowchart LR
    A["Na atom<br/>1 valence electron"] -->|"gives 1 e⁻"| B["Na⁺ ion"]
    C["Cl atom<br/>7 valence electrons"] -->|"takes 1 e⁻"| D["Cl⁻ ion"]
    B --- E["Attraction in a lattice"]
    D --- E

Electron transfer from sodium to chlorine, followed by attraction of the ions.

The strength of the attraction depends on the charges and the sizes of the ions. According to Coulomb's law, the force grows with the product of the charges and falls with the square of the distance between them. So MgO (2+ and 2-) has a much higher melting point than NaCl (1+ and 1-); magnesium oxide melts at roughly 2850 °C while sodium chloride melts at about 801 °C.

Properties of ionic compounds

  1. High melting and boiling points. Many strong attractions must be overcome.
  2. Hard but brittle. Striking a crystal shifts layers so that like charges line up, repel, and the crystal splits.
  3. Conduct electricity when molten or dissolved, not when solid. Conduction needs mobile charged particles. In a solid the ions are locked in place; in a liquid or solution they can move.
  4. Many dissolve in water. Water molecules surround the ions and separate them, though some ionic compounds (such as calcium carbonate) are almost insoluble.
Python Predict the ion from the group

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Python Coulomb's law: why MgO binds more strongly than NaCl

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The second program uses a single pair of ions. A real crystal sums over a whole lattice, but the idea (bigger charges and smaller distances mean stronger bonding) carries over.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What happens to the sodium atom when it reacts with chlorine?

    Sodium has one valence electron and loses it to form Na⁺.
  2. 2. What is the typical ion formed by a group 16 element such as oxygen?

    Group 16 atoms have six valence electrons and gain two to reach eight, giving 2-.
  3. 3. Why is solid sodium chloride a poor conductor of electricity?

    The ions are present but held in fixed positions, so no charge can flow until the solid melts or dissolves.
  4. 4. Which ionic compound has the higher melting point, NaCl or MgO?

    MgO has ions with 2+ and 2- charges, which attract each other more strongly than 1+ and 1-.

Summary

  • Metals lose electrons to form cations; nonmetals gain electrons to form anions.
  • Group number predicts the common charge of main-group ions.
  • An ionic bond is the attraction between oppositely charged ions, arranged in a crystal lattice.
  • Ionic compounds have high melting points, are brittle, and conduct electricity only when molten or dissolved.
  • Higher charges and smaller ions give stronger bonding.

Next: Formulas and Names of Ionic Compounds