Identifying Ions: Virtual Practical

Work out which ions are in a salt with the standard school tests: a flame test, sodium hydroxide solution, and the carbonate, halide and sulfate tests. Choose a test and watch it happen, then read what you see in the lab notebook. Learn the results on 28 known salts, then solve a mystery unknown sample.

Lithium chloride: colorless solution. Choose a test. Each test uses a fresh portion of the solution from the rack.

Tests for the metal ion

Tests for the negative ion

Lab notebook

  1. Run a test. What you see, what it tells you and the ionic equation are written here.

About this sample

Lithium chloride, LiCl, dissolves in water to give a colorless solution. It contains lithium (Li⁺) ions and chloride (Cl⁻) ions.

Try every test: the metal ion decides the flame test and the sodium hydroxide test, and the negative ion decides the carbonate, halide and sulfate tests.

How to identify the ions in a salt

  1. 1

    Use a fresh sample for every test

    Pour a little of the salt solution into a clean test tube for each test, so one reagent cannot affect the next result.

  2. 2

    Test for the metal ion (cation)

    Do a flame test, then add a few drops of sodium hydroxide solution to a fresh sample. If a precipitate forms, keep adding sodium hydroxide until it is in excess and watch whether the precipitate dissolves.

  3. 3

    Test for the negative ion (anion)

    Add dilute hydrochloric acid and bubble any gas through limewater (carbonate test). Then, on fresh samples, add dilute nitric acid and silver nitrate (halide test), and dilute hydrochloric acid and barium chloride (sulfate test).

  4. 4

    Put the results together

    One metal ion and one negative ion make the salt. Compare your results with the tables below, and name the salt: for example, an orange-red flame and a cream precipitate with silver nitrate mean calcium bromide.

Tests for metal ions (cations)

A flame test and sodium hydroxide solution identify the metal ion. Sodium hydroxide gives the hydroxide ions that make an insoluble metal hydroxide precipitate with many metal ions; its color, and whether it dissolves in excess, tell you which ion it is.

Tests for metal ions: flame test and sodium hydroxide solution
Metal ionFlame testSodium hydroxide, a few dropsSodium hydroxide in excess
Lithium, Li⁺Crimson flame.No precipitate.No precipitate.
Sodium, Na⁺Yellow (orange-yellow) flame.No precipitate.No precipitate.
Potassium, K⁺Lilac flame.No precipitate.No precipitate.
Calcium, Ca²⁺Orange-red flame.White precipitate.White precipitate remains.
Copper(II), Cu²⁺Green (blue-green) flame.Blue precipitate.Blue precipitate remains.
Magnesium, Mg²⁺No characteristic color.White precipitate.White precipitate remains.
Aluminum, Al³⁺No characteristic color.White precipitate.Precipitate dissolves, giving a colorless solution.
Iron(II), Fe²⁺No characteristic color.Green precipitate (turns brown on standing in air, as iron(II) is oxidized).Green precipitate remains.
Iron(III), Fe³⁺No characteristic color.Brown (orange-brown) precipitate.Brown precipitate remains.

Ionic equations

  • Ca²⁺(aq) + 2OH⁻(aq) → Ca(OH)₂(s)
  • Cu²⁺(aq) + 2OH⁻(aq) → Cu(OH)₂(s)
  • Mg²⁺(aq) + 2OH⁻(aq) → Mg(OH)₂(s)
  • Al³⁺(aq) + 3OH⁻(aq) → Al(OH)₃(s)
  • Fe²⁺(aq) + 2OH⁻(aq) → Fe(OH)₂(s)
  • Fe³⁺(aq) + 3OH⁻(aq) → Fe(OH)₃(s)

Aluminum hydroxide dissolves in excess sodium hydroxide. Lithium, sodium and potassium hydroxides are soluble, so these ions give no precipitate.

Things to remember

  • Calcium, magnesium and aluminum ions all give a white precipitate, so two more results tell them apart: the flame test (calcium gives an orange-red flame) and excess sodium hydroxide (aluminum’s precipitate dissolves).
  • A sodium impurity gives a yellow flame that can hide other colors.
  • Potassium’s lilac flame is faint. It is easier to see through blue cobalt glass, which absorbs sodium’s yellow light.
  • Screens cannot show flame colors exactly, so the virtual flames are a guide: learn the names of the colors.

Tests for negative ions (anions)

Three tests identify the negative ion. Carbonates fizz with acid and give carbon dioxide. Silver nitrate gives a precipitate with each halide ion, and barium chloride gives a precipitate with sulfate ions.

Tests for negative ions: carbonate, halide and sulfate tests
Negative ionCarbonate test: dilute HCl, gas into limewaterHalide test: dilute HNO₃, then AgNO₃Sulfate test: dilute HCl, then BaCl₂
Carbonate, CO₃²⁻Fizzing; the gas turns limewater milky (cloudy): carbon dioxide.Fizzes when the nitric acid is added; no precipitate.Fizzes when the acid is added; no precipitate.
Chloride, Cl⁻No fizzing.White precipitate.No precipitate.
Bromide, Br⁻No fizzing.Cream precipitate.No precipitate.
Iodide, I⁻No fizzing.Yellow precipitate.No precipitate.
Sulfate, SO₄²⁻No fizzing.No precipitate.White precipitate.

Ionic equations

  • CO₃²⁻(aq) + 2H⁺(aq) → CO₂(g) + H₂O(l)
  • Ca(OH)₂(aq) + CO₂(g) → CaCO₃(s) + H₂O(l) (limewater)
  • Ag⁺(aq) + Cl⁻(aq) → AgCl(s)
  • Ag⁺(aq) + Br⁻(aq) → AgBr(s)
  • Ag⁺(aq) + I⁻(aq) → AgI(s)
  • Ba²⁺(aq) + SO₄²⁻(aq) → BaSO₄(s)

Why these acids?

  • In the halide and sulfate tests the acid is added first to remove carbonate ions, which would otherwise also give a precipitate.
  • Nitric acid is used for the halide test because hydrochloric acid would add chloride ions.
  • Hydrochloric acid is used for the sulfate test because sulfuric acid would add sulfate ions.

The 28 salts in the lab

All of them dissolve in water. Most give a colorless solution; the colored ones are copper(II) chloride (blue) , iron(II) chloride (pale green) , iron(III) chloride (yellow-brown) , copper(II) sulfate (blue) , iron(II) sulfate (pale green) and iron(III) sulfate (yellow-brown) .

Chlorides

  • lithium chloride, LiCl
  • sodium chloride, NaCl
  • potassium chloride, KCl
  • calcium chloride, CaCl₂
  • copper(II) chloride, CuCl₂
  • magnesium chloride, MgCl₂
  • aluminum chloride, AlCl₃
  • iron(II) chloride, FeCl₂
  • iron(III) chloride, FeCl₃

Bromides

  • lithium bromide, LiBr
  • sodium bromide, NaBr
  • potassium bromide, KBr
  • calcium bromide, CaBr₂
  • magnesium bromide, MgBr₂

Iodides

  • lithium iodide, LiI
  • sodium iodide, NaI
  • potassium iodide, KI

Sulfates

  • lithium sulfate, Li₂SO₄
  • sodium sulfate, Na₂SO₄
  • potassium sulfate, K₂SO₄
  • copper(II) sulfate, CuSO₄
  • magnesium sulfate, MgSO₄
  • aluminum sulfate, Al₂(SO₄)₃
  • iron(II) sulfate, FeSO₄
  • iron(III) sulfate, Fe₂(SO₄)₃

Carbonates

  • lithium carbonate, Li₂CO₃
  • sodium carbonate, Na₂CO₃
  • potassium carbonate, K₂CO₃

In a real lab

  • Wear eye protection (goggles).
  • Silver nitrate solution stains skin.
  • Barium chloride is toxic.
  • Nitric acid is corrosive.
  • Tie long hair back when working near a Bunsen flame.

Follow your teacher’s instructions and your school’s safety rules.

What it covers

  • The identifying-ions content of GCSE Chemistry (AQA, Edexcel and OCR).
  • The “identifying ions” required practical in AQA GCSE Chemistry, as practice before or after the real one.
  • In the US, it supports the chemical reactions and properties of matter taught in high-school chemistry.

Keep going

Identifying ions: frequently asked questions

How do you identify the ions in a salt?

Test for the metal ion and the negative ion separately, each on a fresh sample of the solution. A flame test and sodium hydroxide solution (a few drops, then excess) identify the metal ion. The carbonate test (dilute hydrochloric acid, gas into limewater), the halide test (dilute nitric acid, then silver nitrate) and the sulfate test (dilute hydrochloric acid, then barium chloride) identify the negative ion.

What is the test for carbonate ions?

Add dilute hydrochloric acid and bubble any gas through limewater. With carbonate ions there is fizzing; the gas turns limewater milky (cloudy): carbon dioxide. Other ions give no fizzing.

How do you test for chloride, bromide and iodide ions?

Add dilute nitric acid, then silver nitrate solution. Chloride ions give a white precipitate (silver chloride), bromide ions a cream precipitate (silver bromide) and iodide ions a yellow precipitate (silver iodide).

What is the test for sulfate ions?

Add dilute hydrochloric acid, then barium chloride solution. Sulfate ions give a white precipitate of barium sulfate: Ba²⁺(aq) + SO₄²⁻(aq) → BaSO₄(s).

Why is nitric acid used in the halide test and hydrochloric acid in the sulfate test?

The acid removes carbonate ions, which would otherwise also give a precipitate. Hydrochloric acid cannot be used in the halide test because it would add chloride ions, and sulfuric acid cannot be used in the sulfate test because it would add sulfate ions.

How do you tell calcium, magnesium and aluminum ions apart?

All three give a white precipitate with a few drops of sodium hydroxide. In a flame test calcium gives an orange-red flame; magnesium and aluminum give no characteristic color. With excess sodium hydroxide, aluminum’s precipitate dissolves, giving a colorless solution; with calcium and magnesium the white precipitate remains.

What color precipitate do copper and iron ions give with sodium hydroxide?

Copper(II) ions give a blue precipitate. Iron(II) ions give a green precipitate (turns brown on standing in air, as iron(II) is oxidized). Iron(III) ions give a brown (orange-brown) precipitate. All three precipitates remain in excess sodium hydroxide.

How do the unknown samples work, and can a whole class test the same one?

Unknown sample mode picks one of the lab's salts and gives it a number from 1 to 9,999. The number is in the page address (for example /identifying-ions?unknown=42), so everyone who opens the same link tests the same salt. Run your tests, choose the metal ion and the negative ion, and the feedback says which of your results support the answer. Your score stays in your own browser.