• Foundation
  • About 17 min
  • 5 practice questions

Ionic bonds, ions and writing chemical formulae

Explain how atoms form cations and anions by transferring electrons and are held by ionic bonds, name ionic compounds, and write formulae of covalent and ionic compounds by crossing over valencies.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Explain how sodium and chlorine form ions and an ionic bond, and describe an ionic crystal.
  • Name ionic compounds and recall the formulae and charges of common ions, including polyatomic ions.
  • Write chemical formulae by crossing over valencies or charges, simplifying and using brackets correctly.

Common salt, sodium chloride, is made from a soft metal that reacts violently with water and a poisonous green gas. Yet it is safe enough to sprinkle on food. In salt, atoms have not shared electrons; one has handed an electron to the other. This second way of bonding gives charged particles called ions.

Transfer of electrons: forming ions

Atoms with fewer than 4 valence electrons usually lose them; atoms with more than 4 usually gain electrons. Sodium (Z = 11) is 2, 8, 1. By losing its one valence electron it reaches 2, 8. It now has 11 protons but only 10 electrons, so it carries a charge of +1: a sodium cation, Na⁺. Chlorine (Z = 17) is 2, 8, 7. By gaining one electron it reaches 2, 8, 8, with 17 protons and 18 electrons: a chloride anion, Cl⁻.

Positive ions are cations, negative ions are anions, and together they are ions. Na⁺ and Cl⁻ attract each other strongly because of their opposite charges. The electrostatic force of attraction between oppositely charged ions is an ionic bond.

Forming sodium chloride

  1. Sodium atom 2, 8, 1 Loses its one valence electron.
  2. Sodium ion Na⁺ (2, 8) 11 protons, 10 electrons: charge +1.
  3. Chlorine atom 2, 8, 7 Gains that electron.
  4. Chloride ion Cl⁻ (2, 8, 8) 17 protons, 18 electrons: charge −1.
  5. Ionic bond Opposite charges attract: NaCl.

Ionic compounds do not form separate molecules. Their ions pack into a regular three-dimensional crystal: in sodium chloride, each Na⁺ is surrounded by six Cl⁻ ions and each Cl⁻ by six Na⁺ ions. Drawn with the ions as points, this pattern is called a crystal lattice. Atoms can also gain or lose two or three electrons: magnesium (2, 8, 2) loses two to become Mg²⁺, oxygen (2, 6) gains two to become O²⁻ (oxide), and sulfur gains two to become S²⁻ (sulfide).

Naming ionic compounds and common ions

Metals usually form cations and non-metals anions, so ionic compounds are typically a metal combined with a non-metal. Write the cation first, then the anion. Simple anions end in -ide: sodium chloride, calcium oxide, magnesium sulfide. Some ions are made of a group of atoms carrying a charge; these polyatomic ions usually do not end in -ide.

Some common ions
CationCharge (valency)AnionCharge (valency)
Sodium Na⁺, potassium K⁺, silver Ag⁺+1 (1)Chloride Cl⁻, bromide Br⁻, iodide I⁻−1 (1)
Ammonium NH₄⁺+1 (1)Hydroxide OH⁻, nitrate NO₃⁻−1 (1)
Copper(I), cuprous Cu⁺+1 (1)Hydrogencarbonate HCO₃⁻−1 (1)
Magnesium Mg²⁺, calcium Ca²⁺, zinc Zn²⁺+2 (2)Oxide O²⁻, sulfide S²⁻−2 (2)
Iron(II), ferrous Fe²⁺; copper(II), cupric Cu²⁺+2 (2)Carbonate CO₃²⁻, sulfate SO₄²⁻−2 (2)
Aluminium Al³⁺; iron(III), ferric Fe³⁺+3 (3)Phosphate PO₄³⁻−3 (3)

Writing chemical formulae: the crossover method

Write the symbols (cation first for ionic compounds), write the valency or charge number under each, cross the numbers over as subscripts, divide by any common factor, and put brackets round a polyatomic ion when there is more than one of it. A subscript of 1 is not written.

Worked example 1: covalent compounds

Phosphorus (valency 3) and chlorine (valency 1): crossing over gives P₁Cl₃, written PCl₃. Nitrogen (3) and hydrogen (1): NH₃.

Worked example 2: ionic compounds

Crossing over charges
IonsCross overFormulaName
Al³⁺ and Cl⁻Al₁Cl₃AlCl₃Aluminium chloride
Na⁺ and O²⁻Na₂O₁Na₂OSodium oxide
Ca²⁺ and O²⁻Ca₂O₂, divide by 2CaOCalcium oxide
Mg²⁺ and NO₃⁻Mg₁(NO₃)₂Mg(NO₃)₂Magnesium nitrate
NH₄⁺ and SO₄²⁻(NH₄)₂(SO₄)₁(NH₄)₂SO₄Ammonium sulfate
Fe³⁺ and OH⁻Fe₁(OH)₃Fe(OH)₃Iron(III) hydroxide, ferric hydroxide
Ca²⁺ and PO₄³⁻Ca₃(PO₄)₂Ca₃(PO₄)₂Calcium phosphate

Check each formula: the total positive and negative charges must cancel. In Ca₃(PO₄)₂: 3 × (+2) = +6 and 2 × (−3) = −6. Brackets matter: Fe(OH)₃ means three OH⁻ groups; FeOH₃ would wrongly mean one O and three H. No brackets are needed when only one polyatomic ion is present, as in CaCO₃. The charges on the ions are not shown in the final formula.

Key takeaways: Atoms that lose electrons become cations and atoms that gain them become anions; the attraction between them is an ionic bond, and ionic compounds form crystals, not molecules. Name the cation first and the anion second (-ide for simple anions). Write formulae by crossing over valencies or charges, simplifying, and bracketing polyatomic ions.

Check your understanding

  1. 1. A sodium atom loses one electron. What does it become?

    1. A sodium anion, Na⁻, with 12 electrons
    2. A neutral sodium atom with 10 protons
    3. A sodium cation, Na⁺, with 11 protons and 10 electrons
    4. A chloride ion
    Show answer

    Answer: C. Losing an electron leaves 11 protons and 10 electrons, a net charge of +1. Positive ions are cations, so it becomes Na⁺ with configuration 2, 8.

  2. 2. What is the formula of aluminium oxide?

    1. AlO
    2. Al₃O₂
    3. AlO₃
    4. Al₂O₃
    Show answer

    Answer: D. Al³⁺ and O²⁻: cross over to get Al₂O₃. Check: 2 × (+3) = +6 and 3 × (−2) = −6, so the charges cancel.

  3. 3. Which is the correct formula of calcium hydroxide?

    1. Ca(OH)₂
    2. CaOH₂
    3. CaOH
    4. Ca₂OH
    Show answer

    Answer: A. Ca²⁺ and OH⁻: cross over to get Ca(OH)₂. Brackets are needed because there are two hydroxide groups; CaOH₂ would mean one oxygen and two hydrogen atoms.

  4. 4. What is the formula of potassium carbonate?

    1. KCO₃
    2. K₂CO₃
    3. K(CO₃)₂
    4. K₃CO₃
    Show answer

    Answer: B. K⁺ and CO₃²⁻: crossing over gives K₂(CO₃)₁, written K₂CO₃ (no brackets with a single polyatomic ion). Check: 2 × (+1) = +2 balances −2.

  5. 5. What ion does magnesium (Z = 12) form, and why?

    1. Mg²⁺, because it loses its 2 valence electrons to leave an octet
    2. Mg²⁻, because it gains 2 electrons
    3. Mg⁺, because it loses 1 electron
    4. It forms no ion because it has 12 electrons
    Show answer

    Answer: A. Magnesium is 2, 8, 2. Losing its 2 valence electrons leaves 2, 8, an octet, with 12 protons and 10 electrons: charge +2, the ion Mg²⁺.

Privacy · Terms · Refunds · Delivery