A white powder dissolves in water. Is it a chloride, a sulfate or a carbonate? Seven tests answer this, and each one gives a result that you can see: a gas, a colour change or a ppt.
about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
Anions and the idea of a test
An anion is a negative ion. To name the anion in a solution, you add a reagent and watch. Some results are a ppt., which is short for precipitate: a solid that forms when two solutions are mixed. The word effervescence means fizzing, with bubbles of gas.
A drawing of four test tubes in a row, each with a solid ppt. at the bottom and its colour written under it. Chloride with silver nitrate gives a white ppt. Bromide with silver nitrate gives a cream ppt. Iodide with silver nitrate gives a yellow ppt. Sulfate with barium nitrate gives a white ppt. A note says to acidify with dilute nitric acid first.
The seven anion tests
Carbonate, CO32−. Add dilute acid. There is effervescence, and the gas is carbon dioxide. Prove it by testing the gas with limewater.
Chloride, Cl−. Acidify with dilute nitric acid, then add aqueous silver nitrate. A white ppt. forms.
Bromide, Br−. The same test gives a cream ppt.
Iodide, I−. The same test gives a yellow ppt.
Nitrate, NO3−. Add aqueous sodium hydroxide, then aluminium foil, and warm carefully. Ammonia is produced. Test the gas with damp red litmus paper, which turns blue.
Sulfate, SO42−. Acidify with dilute nitric acid, then add aqueous barium nitrate. A white ppt. forms.
Sulfite, SO32−. Add a small volume of acidified aqueous potassium manganate(VII). It changes from purple to colourless.
The three halides use the same reagents, so the colour of the ppt. is what tells them apart: white, cream, yellow.
Why the nitric acid comes first
Silver nitrate and barium nitrate also give a white ppt. with carbonate ions. So a student who skips the acid could name a carbonate as a chloride or a sulfate. Dilute nitric acid first removes the carbonate ions, because it reacts with them and gives off carbon dioxide.
Nitric acid is chosen because it adds no new ions that spoil the test. Hydrochloric acid would add chloride ions, which give a white ppt. with silver nitrate. Sulfuric acid would add sulfate ions, which give a white ppt. with barium nitrate.
The nitrate test, step by step
Nitrate ions are hard to see, so we change them into something that we can test.
Add aqueous sodium hydroxide to the solution.
Add aluminium foil.
Warm carefully.
Hold damp red litmus paper at the mouth of the tube.
The aluminium reduces the nitrate ion, and ammonia forms. The litmus paper turns blue. A solution that contains ammonium ions gives ammonia with the alkali alone, so a chemist also checks that no ammonia comes off before the foil is added.
Extended: equations and amounts
The Supplement asks for ionic equations with state symbols. Each ppt. forms when two ions come together:
Ag+(aq)+Cl−(aq)→AgCl(s)
Ba2+(aq)+SO42−(aq)→BaSO4(s)
The silver bromide and silver iodide equations are the same with Br− and I−. The ions that stay in solution, such as the nitrate ions, are left out. The equations also let you work out the amount of ppt. with moles. With Ar of Ag 108, Cl 35.5, Br 80 and I 127, the formula masses are AgCl 143.5, AgBr 188 and AgI 235. For barium sulfate, with Ar of Ba 137, S 32 and O 16, the formula mass is 233.
Each line is straight, because each silver ion makes one formula unit of ppt. A heavier halide gives a heavier ppt. for the same moles.
Practise with new numbers
Try it in Python
The program names an anion from the reagent and the result. Notice that the reagent matters as much as the colour.
Common mistakes
Forgetting the acid. Without dilute nitric acid, carbonate ions can give a false white ppt.
Using the wrong acid. Hydrochloric acid adds chloride ions, and sulfuric acid adds sulfate ions.
Naming the anion from the colour alone. White could be chloride (with silver nitrate) or sulfate (with barium nitrate). The reagent decides.
Heating the nitrate test hard. Warm carefully. A strong flame can throw out the hot alkali.
Saying that sulfite goes colourless. It is the potassium manganate(VII) that goes from purple to colourless.
Remember these
Carbonate: dilute acid, effervescence, carbon dioxide. Chloride, bromide, iodide: dilute nitric acid, then silver nitrate, white, cream and yellow ppt.
Nitrate: sodium hydroxide, then aluminium foil, warm carefully, ammonia produced. Sulfate: dilute nitric acid, then barium nitrate, white ppt.
Sulfite: acidified aqueous potassium manganate(VII) goes from purple to colourless.
The nitric acid removes carbonate ions, which would give a false ppt.
Extended: Ag+(aq)+Cl−(aq)→AgCl(s) and Ba2+(aq)+SO42−(aq)→BaSO4(s).
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Name the reagents used, in order, to test for a sulfate, and give the result.
Silver nitrate gives a cream ppt. with an acidified solution. Which anion is present?
Why is hydrochloric acid not used to acidify before the silver nitrate test?
Describe the nitrate test and its positive result.
0.0040 mol of chloride ions react completely with silver nitrate. What mass of silver chloride forms? The formula mass of AgCl is 143.5.
References
Cambridge IGCSE Chemistry 0620 syllabus for 2026 to 2028, section 12.5, part 1 (anions), and the notes for use in qualitative analysis.