GCSE · Chemistry · OCR Gateway · Spec J248

Writing chemical formulae

A salt crystal holds a vast number of ions, yet chemists write the lot as NaCl. Formulae are a code — and you’re about to crack it.

Ionic lattices

Why isn’t it Mg₁₂S₁₂?
Magnesium sulfideLithium oxideMg²⁺S²⁻Li⁺O²⁻

View: 1 · Count them. Showing 2 layers: Slices, Ions

View

Layers

Explore

count first, then step through the views

Count each kind of ion in both slices. A bigger slice would give bigger numbers — so which part of the count stays the same however much crystal you draw?

Small flat slices of two ionic lattices. A real crystal keeps on going.

Predict, then check

Ratios aren’t only for lattices. Molecules have one too.

Ethane molecules are C₂H₆. Is CH₃ also a correct formula for ethane?

Where the charges come from

Sort the ions

Pick an ion, then choose where it belongs. Sort them by charge first, then switch to the second rule.

What charge does this ion carry? Use the clue under each name.

Still to sort

1+ (0)

2+ (0)

3+ (0)

1− (0)

2− (0)

11 of 11 still to sort.

Charges to zero

Build calcium nitrate

Write the formula of calcium nitrate. Fill in each missing step.

  1. Calcium is in group 2, so its ion is Ca²⁺.
  2. Nitrate is a polyatomic ion with a 1− charge: NO₃⁻.
  3. missing step
Which line is step 3?

Roman numerals

Where did Jordan go wrong?

Write the formula of iron(III) nitrate.

Jordan’s answer — which line goes wrong?

Reading the name

What does the name give away?

Read each name. Tick every statement that is true of that compound, then check your grid.

potassium iodide
magnesium oxide
sodium hydroxide
potassium sulfate
calcium carbonate
ammonium chloride
copper(II) nitrate

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Find each ion’s charge, combine the ions until the total is zero, then write the simplest ratio.

What you need to know

  • A formula is a code of symbols and small numbers: H₂O means two hydrogen atoms and one oxygen atom (no number means one).
  • Have a goQuick count: how many atoms are in one molecule with the formula C₂H₆O?

    9 atoms: 2 carbon, 6 hydrogen and 1 oxygen.

    Each small number counts only the atom just before it, and a symbol with no number counts once — 8 forgets the lone oxygen.

  • Molecules have a molecular formula (the actual atoms) and an empirical formula (the simplest whole-number ratio): ethane, C₂H₆, gives CH₃.
  • Ionic compounds are lattices with no fixed number of ions, so their formula is an empirical formula: MgS, not Mg₆S₆ or 6MgS.
  • Every ionic compound is neutral overall, so combine the ions in whatever ratio makes the charges add up to zero.
  • Group 1 metals (lithium, sodium, potassium) form 1+ ions, magnesium and calcium form 2+ ions, and aluminium forms 3+.
  • Halogens form 1− ions (fluoride, chloride, bromide, iodide), oxide and sulfide are 2−, and hydrogen — a non-metal — forms H⁺.
  • Have a goYour mate insists calcium chloride is CaCl: “one of each, keeps it fair.” What should it be?

    CaCl₂

    Ca²⁺ is 2+ but each Cl⁻ is only 1−, so it takes two chloride ions to reach zero — one of each only works when the charges match.

  • Learn the polyatomic ions, charged groups of atoms: ammonium NH₄⁺, hydroxide OH⁻, nitrate NO₃⁻, carbonate CO₃²⁻ and sulfate SO₄²⁻.
  • Need two or more of a polyatomic ion? Bracket it with the number outside: Ca(NO₃)₂. Just one? No brackets: CaCO₃.
  • Transition metals such as iron can form more than one ion, so a Roman numeral gives the charge: iron(III) nitrate is Fe(NO₃)₃.
  • Have a goHave a go: write the formula of iron(II) hydroxide.

    Fe(OH)₂

    Iron(II) means Fe²⁺, so you need two OH⁻ ions in brackets. The II is the charge, not a number of iron ions — so not Fe₂OH.

  • In a metal–non-metal compound the metal comes first and the non-metal ends in -ide (potassium iodide, KI); -ate compounds here contain oxygen (K₂SO₄).

The big picture

A chemical formula uses element symbols and small numbers to show which atoms or ions a compound contains, and in what ratio. For an ionic compound you find the charge on each ion, combine the ions so the charges cancel to zero, and write the simplest ratio.

Key points

1Step 1: get each ion’s charge — from its group, from a Roman numeral, or from the polyatomic ions you’ve learned.
2Step 2: combine the ions so the positive and negative charges add up to zero.
3Step 3: write the simplest ratio as small numbers after each symbol, metal first, with brackets round a polyatomic ion used more than once.
4A molecule has a molecular formula (the real atom count) and an empirical formula (the simplest ratio); an ionic compound has only the ratio.

Worked example

Problem

Write the formula of aluminium oxide.

⚠ Watch out

Mixing up sulfide and sulfate. Sulfide is S²⁻, a single sulfur ion, so sodium sulfide is Na₂S. Sulfate is SO₄²⁻, which carries oxygen, so sodium sulfate is Na₂SO₄.

🧠

Memory hook

Zero is the hero: keep adding ions until the charges cancel, then write the ratio. Two or more of a polyatomic ion? Brackets on.

✓

Check yourself

Cover this line and write the formulae of potassium bromide, sodium carbonate, ammonium sulfate and iron(III) oxide. Then check: KBr, Na₂CO₃, (NH₄)₂SO₄ and Fe₂O₃.

Flashcards

(15)
What does the formula H₂O tell you?
Each water molecule contains two hydrogen atoms and one oxygen atom.
What is an empirical formula?
The simplest whole-number ratio of the atoms of each element in a compound.
Why is the formula of an ionic compound an empirical formula?
A lattice has no fixed number of ions, so the formula can only give their ratio — e.g. NaCl.
Why must the charges in an ionic formula add up to zero?
An ionic compound is neutral overall, so its positive and negative charges cancel.
What charge do the ions of group 1 metals (Li, Na, K) carry?
1+: Li⁺, Na⁺, K⁺.
Which ions do magnesium, calcium and aluminium form?
Mg²⁺ and Ca²⁺ (group 2), and Al³⁺.
What charge do halide ions carry?
1−: F⁻, Cl⁻, Br⁻, I⁻.
Formulae of the oxide and sulfide ions?
O²⁻ and S²⁻ — single atoms, each with a 2− charge.
Hydrogen is a non-metal. Which ion does it form?
H⁺, a positive ion.
Formulae of the hydroxide and nitrate ions?
OH⁻ and NO₃⁻ (both 1−).
Formulae of the carbonate and sulfate ions?
CO₃²⁻ and SO₄²⁻ (both 2−).
Formula of the ammonium ion?
NH₄⁺ — a positive polyatomic ion.
When does a formula need brackets?
When more than one of a polyatomic ion is needed — e.g. Mg(OH)₂. With only one, no brackets: NaOH.
What does the (II) in copper(II) sulfate tell you?
The copper ion has a 2+ charge, Cu²⁺, so the formula is CuSO₄.
What does an -ate ending tell you about a compound?
It contains oxygen plus at least two other elements — e.g. potassium sulfate, K₂SO₄.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More OCR Gateway GCSE Chemistry topics

See the full OCR Gateway Chemistry curriculum →

How this lesson was checked. This OCR Gateway GCSE Chemistry (specification J248)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 9 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.