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 →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • 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: Flame Colours, Precipitates and Gas Tests
  1. 1Flame tests and emission: why metal ions colour a flame
  2. 2Cations with sodium hydroxide and aqueous ammonia
  3. 3Anions and gases: the confirming tests
  1. Chemistry
  2. /Identifying Ions and Gases: Flame Colours, Precipitates and Gas Tests
  3. /Anions and gases: the confirming tests

Course 40.1·Lesson 3 of 3

Anions and gases: the confirming tests

When a tablet fizzes in water, a gas is leaving. A chemist can name that gas with a splint, a strip of litmus or a drop of limewater. This lesson sets out the confirming tests for the common anions and gases, and the traps where two ions give the same first sign.

about 25 min1 simulation1 practice question
Lesson 3 of 3Show all lessonsHide
Identifying Ions and Gases: Flame Colours, Precipitates and Gas Tests
  1. 1Flame tests and emission: why metal ions colour a flame
  2. 2Cations with sodium hydroxide and aqueous ammonia
  3. 3

Try the code and the simulations beside the lesson.

A good test is specific

A test is useful when only one ion gives the result. Many first signs are shared. Carbonate and sulphite both fizz with acid. Sulphate and carbonate both give a white solid with barium ions. So each test has a step that removes the look-alike.

Tests for anions

Carbonate, CO32−\text{CO}_{3}^{2-}CO32−​. Add dilute hydrochloric acid. The mixture fizzes. The gas turns limewater milky.

Sulphate, SO42−\text{SO}_{4}^{2-}SO42−​. Acidify with dilute hydrochloric or nitric acid, then add barium chloride or barium nitrate. A white precipitate of BaSO4\text{BaSO}_{4}BaSO4​ forms. It does not dissolve in the acid. The acid is added first to destroy carbonate and sulphite, whose barium salts would also be white.

Sulphite, SO32−\text{SO}_{3}^{2-}SO32−​. Barium ions give a white precipitate that dissolves in dilute hydrochloric acid. Warm the sulphite with dilute acid. Sulphur dioxide comes off and turns acidified potassium dichromate(VI) from orange to green.

Halides. Acidify with dilute nitric acid, then add silver nitrate. Chloride gives a white precipitate, bromide a cream one and iodide a yellow one. Then add ammonia.

Three test tubes with acidified silver nitrate added to a halide. Left, chloride: a white precipitate. Middle, bromide: a cream precipitate. Right, iodide: a yellow precipitate. Under them a row of words says what ammonia does. Chloride: dissolves in dilute ammonia. Bromide: dissolves in concentrated ammonia only. Iodide: does not dissolve even in concentrated ammonia.
PrecipitateColourIn ammonia
AgCl\text{AgCl}AgClwhitedissolves, dilute
AgBr\text{AgBr}AgBrcreamdissolves, concentrated
AgI\text{AgI}AgIyellowdoes not dissolve

Why the difference? Ammonia binds silver ions as [Ag(NH3)2]+[\text{Ag}(\text{NH}_{3})_{2}]^{+}[Ag(NH3​)2​]+. Silver chloride gives enough silver ions to the solution for this to pull it apart. Silver iodide has a far smaller solubility product, so even concentrated ammonia cannot dissolve it. Why nitric acid and not hydrochloric acid? Hydrochloric acid would add chloride ions of its own.

Nitrate, NO3−\text{NO}_{3}^{-}NO3−​. Add aqueous sodium hydroxide and a piece of aluminium foil or Devarda's alloy, and warm. Ammonia comes off and turns damp red litmus blue:

3NO3− + 8Al + 5OH− + 18H2O → 3NH3 + 8[Al(OH)4]−3\text{NO}_{3}^{-}\ +\ 8\text{Al}\ +\ 5\text{OH}^{-}\ +\ 18\text{H}_{2}\text{O}\ \rightarrow \ 3\text{NH}_{3}\ +\ 8[\text{Al}(\text{OH})_{4}]^{-}3NO3−​ + 8Al + 5OH− + 18H2​O → 3NH3​ + 8[Al(OH)4​]−

An ammonium salt gives ammonia with sodium hydroxide alone. So warm with sodium hydroxide first, until no more ammonia comes off. Only then add the aluminium. Indian books also give the brown ring test for nitrate.

Nitrite, NO2−\text{NO}_{2}^{-}NO2−​. Dilute acid gives brown fumes of nitrogen dioxide above the solution. Nitrite also decolourises acidified potassium manganate(VII).

Tests for gases

GasTestResult
H2\text{H}_{2}H2​lighted splintsqueaky pop
O2\text{O}_{2}O2​glowing splintrelights
CO2\text{CO}_{2}CO2​limewaterturns milky
NH3\text{NH}_{3}NH3​damp red litmusturns blue
Cl2\text{Cl}_{2}Cl2​damp litmusbleached
SO2\text{SO}_{2}SO2​acidified dichromateorange to green
HCl\text{HCl}HClammonia gaswhite smoke

Two more are worth knowing. Water vapour turns white anhydrous copper(II) sulphate blue. Hydrogen sulphide turns lead(II) acetate paper black.

Carbon dioxide turns limewater milky because calcium carbonate forms: Ca(OH)2 + CO2 → CaCO3 + H2O\text{Ca}(\text{OH})_{2}\ +\ \text{CO}_{2}\ \rightarrow \ \text{CaCO}_{3}\ +\ \text{H}_{2}\text{O}Ca(OH)2​ + CO2​ → CaCO3​ + H2​O. Too much carbon dioxide makes it clear again, as soluble calcium hydrogencarbonate forms. Sulphur dioxide also turns limewater milky, as calcium sulphite. So limewater cannot tell the two gases apart. Use the dichromate test for sulphur dioxide.

How much gas?

At room conditions one mole of any gas fills about 24.0 dm324.0\ \text{dm}^324.0 dm3. A-Level and IGCSE use this value. Indian books use 22.4 dm322.4\ \text{dm}^322.4 dm3 at 273 K and 1 atm, and IUPAC gives 22.7 dm322.7\ \text{dm}^322.7 dm3 at 273 K and 1 bar. Always use the value a question gives.

Try each halide at the same mass. Sodium chloride gives the most precipitate for each gram, because its molar mass is the smallest.

Practise with new numbers

Try it in Python

The program plans the tests for an unknown anion and gives the mass of precipitate to expect.

Read it first. Predict what it prints for bromide. Then run it.

1. Change anion to "iodide". Which line changes?

2. Change mass_salt to 0.80. By what factor does the mass of the precipitate change?

Common mistakes

  • Using hydrochloric acid before silver nitrate. It adds chloride. Use nitric acid.
  • Skipping the acid before barium ions. Carbonate and sulphite give white barium salts too.
  • Using limewater for sulphur dioxide. It goes milky as well. Use acidified dichromate.
  • Testing nitrate with ammonium present. Drive off the ammonia first.

Remember these

  • Halides with silver ions: white, cream, yellow. Ammonia: dilute, concentrated, none.
  • Sulphate: acidified barium ions, white, insoluble in acid.
  • Nitrate: sodium hydroxide, aluminium, warm, ammonia.
  • Gases: pop, relights, milky, blue, bleached, green.

References

  • OpenStax Chemistry 2e, Chapter 15, section 15.1 on precipitation, and Chapter 18 on the representative elements.
  • NCERT Chemistry Laboratory Manual for Class 12, Unit on systematic qualitative analysis.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Why is a solution acidified with nitric acid, and not hydrochloric acid, before silver nitrate is added?
  1. A gas turns limewater milky. Can you say that it is carbon dioxide?
  1. A precipitate from silver nitrate is cream, does not dissolve in dilute ammonia, but dissolves in concentrated ammonia. Name the anion.
  1. Write the test for nitrate when the sample may hold ammonium ions.

Enroll free in Identifying Ions and Gases: Flame Colours, Precipitates and Gas Tests

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 (3)

A white powder is a mixture of sodium chloride and sodium bromide only…Advanced · High School (11–12) · by StemPy Lab
A 2.50 g sample of a white solid is a mixture of calcium carbonate and calcium oxide…Hard · High School (11–12) · by StemPy Lab
A fertiliser is mostly potassium nitrate…Advanced · High School (11–12) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Identifying Ions and Gases: Flame Colours, Precipitates and Gas Tests
← Cations with sodium hydroxide and aqueous ammoniaNext →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
4 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Anions and gases: the confirming tests

Question Sets (1)

Ion and Gas Tests: Concept Check10 questions · by StemPy Lab

Notes (1)

Identifying Ions and Gases in the Laboratory: Quick RevisionNote · by StemPy Lab