Track progress, take quizzes and save notes on this lesson.

Free forever · no card needed

Start free
Intermediate

Testing for Ions: Flame Tests, Hydroxides, Halides and Sulfates

4.8.3.1 Flame tests·4.8.3.2 Metal hydroxides·4.8.3.3 Carbonates·4.8.3.4 Halides·4.8.3.5 Sulfates

Aligned to the AQA 8462 specification

Level
Intermediate
Reading time
7 min
Published
2 July 2026
On this page
  1. 1.Scope of This Topic
  2. 2.Flame Tests for Metal Ions
  3. 3.Metal Hydroxide Precipitates
  4. 4.Balanced Equations for the Precipitates
  5. 5.Carbonate, Halide and Sulfate Tests
  6. 6.Why the Acid Is Added First
  7. 7.Required Practical 7: Identifying Ions in an Unknown
  8. 8.Common Exam Mistakes

Key takeaways

  • Flame test colours: lithium crimson, sodium yellow, potassium lilac, calcium orange-red, copper green; a mixture of ions can mask some colours.
  • With sodium hydroxide, aluminium, calcium and magnesium ions give white precipitates, but only aluminium hydroxide redissolves in excess NaOH; copper(II) is blue, iron(II) green and iron(III) brown.
  • Carbonates react with dilute acid to give carbon dioxide, which turns limewater milky.
  • Halide ions with silver nitrate solution and dilute nitric acid give precipitates: chloride white, bromide cream, iodide yellow.
  • Sulfate ions with barium chloride solution and dilute hydrochloric acid give a white precipitate of barium sulfate.

Scope of This Topic

(Separate Chemistry only) The identification of ions by chemical means in section 4.8.3 is assessed only in AQA GCSE Chemistry (8462). Students taking Combined Science do not need it.

Identifying ions means finding which positive ion (cation) and which negative ion (anion) a compound contains. This lesson covers the chemical tests: flame tests and metal hydroxide precipitates for cations, and carbonate, halide and sulfate tests for anions. Together they let you work out the identity of an unknown ionic compound, which is the aim of Required practical 7.

Throughout, the standard warning about mixtures applies: these tests are most reliable on a single unknown compound, because a mixture of ions can hide or confuse individual results.

Flame Tests for Metal Ions

A flame test identifies some metal ions (cations) by the colour they give to a flame. Dip a clean nichrome wire loop in the sample, hold it in a blue Bunsen flame, and note the colour.

You must know five colours exactly:

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

A mixture of ions may mask some colours: the strong yellow of sodium in particular can hide the flame colours of other ions present. This is one reason chemical tests can be less reliable than instrumental methods.

The wire must be clean each time (dip it in acid and reheat until no colour shows) so that a leftover ion from a previous test does not give a false result. Flame colours for metal ions other than these five are not required.

Metal Hydroxide Precipitates

Adding sodium hydroxide solution to a solution of a metal salt can produce a coloured, insoluble metal hydroxide precipitate, which identifies the cation.

Metal ionPrecipitate colour with NaOH
Aluminium (Al³⁺)White (dissolves in excess NaOH)
Calcium (Ca²⁺)White
Magnesium (Mg²⁺)White
Copper(II) (Cu²⁺)Blue
Iron(II) (Fe²⁺)Green
Iron(III) (Fe³⁺)Brown

Three ions (Al³⁺, Ca²⁺, Mg²⁺) all give a white precipitate, so you need a second step to tell them apart. Add excess sodium hydroxide: only the aluminium hydroxide precipitate dissolves again. Calcium and magnesium can then be separated by a flame test (calcium gives orange-red; magnesium gives no flame colour).

Only aluminium hydroxide redissolves in excess sodium hydroxide. Calcium and magnesium hydroxides stay as white solids. (Equations for the sodium aluminate formed when it redissolves are not required.)

Balanced Equations for the Precipitates

The spec requires you to write balanced equations for the reactions that produce the insoluble hydroxides. The metal ion combines with hydroxide ions; the number of hydroxide ions equals the charge on the metal ion so that charges balance.

Full ionic equations:

Check the charge balance on iron(III): the ion is 3+, so it needs three OH⁻ (each 1−), giving a neutral Fe(OH)₃. Iron(II) is only 2+, so it takes two OH⁻. Getting the number of hydroxide ions to match the metal-ion charge is what balances the equation.

How much of this have you taken in?

Quiz yourself on this section, free, no card needed.

Test myself

Carbonate, Halide and Sulfate Tests

Three anions are identified by producing a gas or a coloured precipitate. Learn the reagent and the result for each.

Carbonates (CO₃²⁻) react with dilute acid to give carbon dioxide, which turns limewater milky. For example:

Halides (Cl⁻, Br⁻, I⁻) in solution give a precipitate with silver nitrate solution in the presence of dilute nitric acid. For chloride:

Halide ionPrecipitate with silver nitrateColour
Chloride (Cl⁻)Silver chloride, AgClWhite
Bromide (Br⁻)Silver bromide, AgBrCream
Iodide (I⁻)Silver iodide, AgIYellow

Sulfates (SO₄²⁻) in solution give a white precipitate with barium chloride solution in the presence of dilute hydrochloric acid:

Why the Acid Is Added First

The dilute acid in the halide and sulfate tests is not optional. It removes ions that would otherwise give a false positive.

Add the acid before the test reagent. It reacts away carbonate ions, which would themselves form a precipitate with silver nitrate or barium chloride and be mistaken for a halide or sulfate.

  • In the sulfate test, dilute hydrochloric acid is used, not sulfuric acid, because sulfuric acid would add sulfate ions and guarantee a white precipitate whatever the sample was.
  • In the halide test, dilute nitric acid is used, not hydrochloric acid, because hydrochloric acid would add chloride ions and give a false white precipitate with the silver nitrate.

Choosing the wrong acid ruins the test, so match the acid to the anion you are looking for: nitric acid for halides, hydrochloric acid for sulfates.

Required Practical 7: Identifying Ions in an Unknown

Required practical 7 uses these chemical tests to identify the ions in unknown single ionic compounds, working through cations and then anions.

A sensible order to work in:

  1. Cation, flame test: clean the wire, hold the sample in the flame, and record the colour against the five known colours.
  2. Cation, sodium hydroxide: add NaOH to a fresh sample and note the precipitate colour; add excess to check whether a white precipitate redissolves (aluminium).
  3. Anion, carbonate: add dilute acid; fizzing that turns limewater milky shows a carbonate.
  4. Anion, sulfate: add dilute hydrochloric acid then barium chloride; a white precipitate shows sulfate.
  5. Anion, halide: add dilute nitric acid then silver nitrate; white, cream or yellow shows chloride, bromide or iodide.
VariableIn this practical
Independent variableThe unknown compound being tested
Dependent variableThe observations (flame colour, precipitate colour, gas produced)
Control variablesSame volumes/concentrations of reagents, clean apparatus each time

Cleaning apparatus between tests and doing the anion tests on fresh samples matters, so that a reagent left from an earlier test does not contaminate the next observation.

Common Exam Mistakes

1. Mixing up the flame colours

Lithium is crimson, sodium yellow, potassium lilac, calcium orange-red, copper green. Lithium (crimson) and calcium (orange-red) are the pair most often confused; learn all five precisely.

2. Not using excess NaOH to separate the white precipitates

Aluminium, calcium and magnesium all give white precipitates with sodium hydroxide. You must add excess to see that only aluminium hydroxide redissolves.

3. Getting the hydroxide equations unbalanced

The number of OH⁻ ions must equal the charge on the metal ion: two for 2+ ions (Ca²⁺, Mg²⁺, Cu²⁺, Fe²⁺) and three for 3+ ions (Al³⁺, Fe³⁺). Check the charges balance to zero.

4. Using the wrong acid before silver nitrate or barium chloride

Use nitric acid before silver nitrate (halides) and hydrochloric acid before barium chloride (sulfates). Using hydrochloric acid before silver nitrate, or sulfuric acid before barium chloride, gives a false positive.

5. Confusing the silver halide colours

Silver chloride is white, silver bromide is cream, silver iodide is yellow. Cream sits between white and yellow; describe it as cream, not "pale yellow" or "off-white".

Key terms

Flame test
A test that identifies some metal ions by the colour they give to a flame.
Precipitate
An insoluble solid that forms and separates out when two solutions are mixed.
Halide ion
A negative ion from Group 7: chloride, bromide or iodide, identified using silver nitrate solution.

Frequently asked questions

Lithium burns crimson, sodium yellow, potassium lilac, calcium orange-red and copper green. These five metal ions are the only flame colours AQA requires. A mixture of ions can hide some colours.

All three give a white precipitate with sodium hydroxide solution. Add excess sodium hydroxide: only the aluminium hydroxide precipitate dissolves again, so aluminium is identified. Calcium and magnesium can then be separated using a flame test, since calcium gives an orange-red flame.

Add dilute hydrochloric acid then barium chloride solution. A white precipitate of barium sulfate confirms sulfate ions are present. The acid is added first to remove carbonate ions that would also give a precipitate.

Generate revision on any topic you study

Type any topic you're studying and Aicademy generates a complete lesson, quiz, and flashcard set, personalised to your level.

Lessons on anything

Structured, level-matched lessons on any topic you study

Practice quizzes

Find out what you actually know before the exam does

Flashcard sets

Lock in key concepts with instant revision cards

Ask Aica

Stuck on something? Get a clear explanation, any time

Prev

Tests for Common Gases

Next

Instrumental Methods and Flame Emission Spectroscopy

Related lessons

5 min

Lesson

Tests for Common Gases

AQA GCSE Chemistry · AQA 8462

19 days ago

7 min

Lesson

Transition Metals

AQA GCSE Chemistry · AQA 8462

19 days ago

Top students don’t revise more. They revise what counts.

Start revising free

Free to start. No card needed.