Uni-Sine
ChemistryAnalysis

Tests for ions

Tests for ions identify what an ionic compound is made of. Metal ions (positive) are identified with flame tests or by adding sodium hydroxide solution and noting the colour of the precipitate. Negative ions are identified with three tests: dilute acid for carbonates, silver nitrate for halides, and barium chloride for sulfates. In AQA GCSE Chemistry these are part of required practical 7.

Flame tests

Dip a clean wire loop into the solid or solution and hold it in a hot, non-luminous Bunsen flame. AQA lists these colours:

Metal ionFlame colour
Lithium, Li⁺Crimson
Sodium, Na⁺Yellow
Potassium, K⁺Lilac
Calcium, Ca²⁺Orange-red
Copper, Cu²⁺Green

Clean the loop between tests, for example by dipping it in hydrochloric acid and heating it until it gives no colour, so traces of one sample don't colour the next. AQA notes that if a sample contains a mixture of ions, some flame colours can be masked: a strong yellow from sodium can hide others.

Metal hydroxide precipitates

Add a few drops of sodium hydroxide solution to a solution of the compound. Many metal ions form an insoluble hydroxide, which appears as a coloured precipitate:

Metal ionPrecipitate with NaOH(aq)In excess NaOH
Aluminium, Al³⁺WhiteDissolves
Calcium, Ca²⁺WhiteStays
Magnesium, Mg²⁺WhiteStays
Copper(II), Cu²⁺BlueStays
Iron(II), Fe²⁺GreenStays
Iron(III), Fe³⁺BrownStays

Three ions give white precipitates. Adding more sodium hydroxide tells aluminium apart, because only aluminium hydroxide dissolves in excess. To tell calcium from magnesium, use a flame test: calcium gives orange-red, magnesium no colour.

The precipitates form in reactions like these:

  • Cu²⁺(aq) + 2OH⁻(aq) → Cu(OH)₂(s) blue
  • Fe³⁺(aq) + 3OH⁻(aq) → Fe(OH)₃(s) brown

Tests for negative ions

Carbonate ions, CO₃²⁻

Add dilute acid, such as hydrochloric acid. Carbonates react to release carbon dioxide, so the mixture fizzes. Bubble the gas through limewater: carbon dioxide turns it milky (cloudy). The tests for gases guide covers the limewater test.

Halide ions: Cl⁻, Br⁻ and I⁻

Add dilute nitric acid, then silver nitrate solution. A precipitate means a halide is present, and its colour tells you which one:

Halide ionPrecipitateColour
Chloride, Cl⁻Silver chloride, AgClWhite
Bromide, Br⁻Silver bromide, AgBrCream
Iodide, I⁻Silver iodide, AgIYellow

The nitric acid removes any carbonate ions first, which would also make a precipitate with silver nitrate. Don't use hydrochloric acid here: it contains chloride ions and would give a white precipitate whatever the sample.

Sulfate ions, SO₄²⁻

Add dilute hydrochloric acid, then barium chloride solution. Sulfate ions give a white precipitate of barium sulfate: Ba²⁺(aq) + SO₄²⁻(aq) → BaSO₄(s). The acid again removes carbonate ions first. Don't use sulfuric acid, because it contains sulfate ions.

practice
Pick an answer, then check it.
A solution gives a cream precipitate with dilute nitric acid and silver nitrate. Which ion does it contain?

Identifying an unknown compound

To identify a single ionic compound, test for the positive ion and the negative ion separately, then put the names together.

Example 1

Compound A gives a lilac flame. Its solution gives a cream precipitate with dilute nitric acid and silver nitrate. Lilac means potassium; cream means bromide. A is potassium bromide, KBr.

Example 2

Compound B's solution gives a green precipitate with sodium hydroxide, and a white precipitate with dilute hydrochloric acid and barium chloride. Green hydroxide means iron(II); the barium chloride result means sulfate. B is iron(II) sulfate, FeSO₄.

Example 3

Compound C gives a crimson flame. It fizzes with dilute acid, and the gas turns limewater milky. Crimson means lithium; the gas is carbon dioxide, so C contains carbonate ions. C is lithium carbonate, Li₂CO₃.

Instrumental methods: flame emission spectroscopy

Chemical tests work well for single compounds, but AQA notes that instrumental methods are accurate, sensitive and rapid. In flame emission spectroscopy, the sample is put into a flame and the light it gives out is passed through a spectroscope. The output is a line spectrum that can be analysed to identify the metal ions in the solution. Unlike a flame test, it can pick out several metals in a mixture.

Common mistakes

  • Using hydrochloric acid in the halide test. It adds chloride ions. Use nitric acid.
  • Using sulfuric acid in the sulfate test. It adds sulfate ions. Use hydrochloric acid.
  • Forgetting the excess NaOH step for white precipitates: only aluminium hydroxide dissolves.
  • Mixing up the iron ions. Iron(II) gives green; iron(III) gives brown.
  • Calling copper's flame blue. Copper gives a green flame but a blue hydroxide precipitate.

To practise chemical analysis in a short timed paper, try today's GCSE Chemistry Higher or GCSE Chemistry Foundation paper.

Common questions

What are the flame test colours?
Lithium crimson, sodium yellow, potassium lilac, calcium orange-red and copper green.
How do you test for halide ions?
Add dilute nitric acid, then silver nitrate solution. Chloride gives a white precipitate, bromide cream and iodide yellow.
How do you test for sulfate ions?
Add dilute hydrochloric acid, then barium chloride solution. A white precipitate of barium sulfate shows sulfate ions.
How do you test for carbonate ions?
Add dilute acid. If it fizzes and the gas turns limewater milky, carbon dioxide was released, so carbonate ions are present.
How do you tell aluminium, calcium and magnesium ions apart?
All give white precipitates with sodium hydroxide. Only aluminium hydroxide dissolves in excess. Calcium gives an orange-red flame; magnesium gives no flame colour.
Why is acid added before testing for halides and sulfates?
To remove carbonate ions, which would otherwise form a precipitate too and give a false positive.

Tests for ions practice questions

1. A solid gives an orange-red flame. Which metal ion is present?
Calcium, Ca²⁺.
2. A solution gives a white precipitate with a little sodium hydroxide, which stays when more is added. It gives no flame colour. Which ion is it?
Calcium would give an orange-red flame, and aluminium hydroxide would dissolve, so it is magnesium, Mg²⁺.
3. Name the compound that gives a green flame and a white precipitate with dilute nitric acid and silver nitrate.
Green flame: copper(II). White silver halide: chloride. Copper(II) chloride, CuCl₂.
4. Why must a sample be tested with barium chloride after adding hydrochloric acid, not sulfuric acid?
Sulfuric acid contains sulfate ions, so it would give a white precipitate even if the sample had none.

Revision cards

Say the answer first, then flip the card to check it.

Where to go next

  • Test it

    GCSE Chemistry Higher

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
  • Test it

    GCSE Chemistry Foundation

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
Read next
Chemistry · AnalysisTest for hydrogen, oxygen, carbon dioxide and chlorineThe GCSE tests for gases: the squeaky pop test for hydrogen, a glowing splint for oxygen, limewater for carbon dioxide and damp litmus paper for chlorine.