HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Identifying Ions and Gases
  1. 1Tests for gases and flame tests
  2. 2Tests for anions
  3. 3Tests for cations with sodium hydroxide and ammonia
  1. Chemistry
  2. /Identifying Ions and Gases
  3. /Tests for anions

Course 13.3·Lesson 2 of 3

Tests for anions

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
Identifying Ions and Gases
  1. 1Tests for gases and flame tests
  2. 2Tests for anions
  3. 3Tests for cations with sodium hydroxide and ammonia

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−\text{CO}_3^{2-}CO32−​. Add dilute acid. There is effervescence, and the gas is carbon dioxide. Prove it by testing the gas with limewater.
  • Chloride, Cl−\text{Cl}^-Cl−. Acidify with dilute nitric acid, then add aqueous silver nitrate. A white ppt. forms.
  • Bromide, Br−\text{Br}^-Br−. The same test gives a cream ppt.
  • Iodide, I−\text{I}^-I−. The same test gives a yellow ppt.
  • Nitrate, NO3−\text{NO}_3^-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−\text{SO}_4^{2-}SO42−​. Acidify with dilute nitric acid, then add aqueous barium nitrate. A white ppt. forms.
  • Sulfite, SO32−\text{SO}_3^{2-}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.

  1. Add aqueous sodium hydroxide to the solution.
  2. Add aluminium foil.
  3. Warm carefully.
  4. 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)\displaystyle \text{Ag}^+\text{(aq)} + \text{Cl}^-\text{(aq)} \rightarrow \text{AgCl(s)}Ag+(aq)+Cl−(aq)→AgCl(s)
Ba2+(aq)+SO42−(aq)→BaSO4(s)\displaystyle \text{Ba}^{2+}\text{(aq)} + \text{SO}_4^{2-}\text{(aq)} \rightarrow \text{BaSO}_4\text{(s)}Ba2+(aq)+SO42−​(aq)→BaSO4​(s)

The silver bromide and silver iodide equations are the same with Br−\text{Br}^-Br− and I−\text{I}^-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 ArA_rAr​ 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 ArA_rAr​ 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.

Read it first. Run it. Why does a white ppt. point to two different anions?

1. Add ("silver nitrate", "yellow ppt.") to the list. Which anion does it name?

2. Which two tests in the table give a gas, and which gas does each one make?

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)\text{Ag}^+\text{(aq)} + \text{Cl}^-\text{(aq)} \rightarrow \text{AgCl(s)}Ag+(aq)+Cl−(aq)→AgCl(s) and Ba2+(aq)+SO42−(aq)→BaSO4(s)\text{Ba}^{2+}\text{(aq)} + \text{SO}_4^{2-}\text{(aq)} \rightarrow \text{BaSO}_4\text{(s)}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.

  1. Name the reagents used, in order, to test for a sulfate, and give the result.
  1. Silver nitrate gives a cream ppt. with an acidified solution. Which anion is present?
  1. Why is hydrochloric acid not used to acidify before the silver nitrate test?
  1. Describe the nitrate test and its positive result.
  1. 0.00400.00400.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.
  • OpenStax, Chemistry 2e, Chapter 4, section 4.2 (Classifying Chemical Reactions: precipitation reactions).

Enroll free in Identifying Ions and Gases

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (4)

A technician has three colourless solutions X, Y and Z…Easy · High School (9–10) · by StemPy Lab
A student adds dilute nitric acid and then an excess of aqueous silver nitrate to 25.0 cm³ of…Medium · High School (9–10) · by StemPy Lab
A student tests a solution of sodium carbonate…Medium · High School (9–10) · by StemPy Lab
Next: lesson 3Tests for cations with sodium hydroxide and ammonia
← Identifying Ions and Gases
← Tests for gases and flame testsTests for cations with sodium hydroxide and ammonia →

Discussion (0)

Log in to join the discussion.

Loading…

A technician tests 50.0 cm³ of tank water for sulfate ions…
Hard · High School (9–10) · by StemPy Lab

Python Labs (1)

A ppt. calculator for the halide testPython Lab · by StemPy Lab