Flame test colours in GCSE chemistry: the flame test, metal hydroxide tests and exam questions
Lithium, sodium, potassium, calcium and copper in a flame, the sodium hydroxide test for six metal ions, and where marks are lost.
On this page
A flame test identifies some metal ions from the colour their compounds give a flame: lithium compounds give a crimson flame, sodium yellow, potassium lilac, calcium orange-red and copper green. This page follows AQA GCSE Chemistry (8462) at both tiers. AQA labels flame tests and the other tests for ions "(chemistry only)": they are in GCSE Chemistry (8462), and Combined Science: Trilogy papers do not test them.
What are the flame test colours?
The five flame test colours in AQA GCSE Chemistry are crimson for lithium, yellow for sodium, lilac for potassium, orange-red for calcium and green for copper.
| Metal ion | Flame colour |
|---|---|
| Lithium, Li⁺ | Crimson |
| Sodium, Na⁺ | Yellow |
| Potassium, K⁺ | Lilac |
| Calcium, Ca²⁺ | Orange-red |
| Copper, Cu²⁺ | Green |
Our printable tests sheet has these colours with the other tests for ions and the four gas tests, on two pages.
AQA's specification lists these five and says: "Flame colours of other metal ions are not required knowledge." So a flame colour is matched only to an ion in this table, never to one outside it.
How to do a flame test
A flame test uses a nichrome wire loop and a Bunsen burner.
- Light the Bunsen burner and adjust it to a non-luminous blue flame.
- Clean the wire loop with dilute hydrochloric acid, then hold it in the flame until no flame colour is seen.
- Dip the cooled loop in the sample and hold it in the non-luminous flame. Observe the flame colour.
- Clean the loop again before testing each new sample.
The flame is non-luminous because a blue flame does not add a strong yellow of its own that could make the result harder to see. The loop is cleaned because material left on it from an earlier sample could give a different flame colour and a wrong identification.
Why a mixture of ions can mask a flame colour
If a sample contains a mixture of metal ions, one flame colour can hide another. One colour may be stronger or easier to see, and the less visible colour is masked. So a flame test on a mixture can be inconclusive.
Here is an exam-style question from Medly, marked with Medly's mark scheme.
Worked example (2 marks)
A student first tests a sodium compound with a metal wire.
Without cleaning the wire, the student uses it to introduce a calcium-compound sample into a non-luminous Bunsen flame.
Explain why the student’s method does not give a distinct result for the calcium compound.
- Sodium compound remains on the wire, so the calcium sample is tested as a mixture of ions (1 mark). Medly's mark scheme also accepts "contamination by sodium compound".
- Sodium's yellow flame may mask the orange-red calcium flame, so calcium cannot be identified conclusively (1 mark). This point is needed for full marks.
Sodium hydroxide test for metal ions
Sodium hydroxide solution identifies some metal ions from the precipitate they form. A precipitate is an insoluble solid that forms in the liquid: here it is the metal's hydroxide.
- Put about 1 cm³ of each metal ion solution into its own labelled test tube.
- Add sodium hydroxide solution a few drops at a time, shaking gently after each addition.
- Record whether a precipitate forms and its colour, against a white background.
- If the precipitate is white, keep adding sodium hydroxide solution until it is in excess, and record whether the solid dissolves or remains.
| Metal ion | Precipitate with sodium hydroxide solution | In excess sodium hydroxide solution |
|---|---|---|
| Aluminium, Al³⁺ | White | Dissolves, and the mixture becomes clear again |
| Calcium, Ca²⁺ | White | Remains |
| Magnesium, Mg²⁺ | White | Remains |
| Copper(II), Cu²⁺ | Blue | Not needed to identify it |
| Iron(II), Fe²⁺ | Green | Not needed to identify it |
| Iron(III), Fe³⁺ | Brown | Not needed to identify it |
Copper(II), Cu²⁺, is the same ion as the copper, Cu²⁺, in the flame test table. A blue, green or brown precipitate identifies the ion on its own. A white precipitate needs the excess test: if it dissolves, the ion is aluminium. If it remains, the ion is calcium or magnesium, and this test alone does not tell those two apart. An orange-red flame in a flame test is further evidence for calcium ions.

Flame tests and the sodium hydroxide test are part of AQA's required practical 7, "use of chemical tests to identify the ions in unknown single ionic compounds", which also covers the tests for carbonates, halides and sulfates. Our page on tests for negative ions covers the carbonate, halide and sulfate tests, and our required practicals guide sets out practical 7 with the other seven. The four gas tests are on our gas tests page.
Equations for the metal hydroxide precipitates
Sodium hydroxide solution contains hydroxide ions, OH⁻. Each metal ion joins with enough hydroxide ions to cancel its charge: a 2+ ion needs two, and a 3+ ion needs three, so a 2+ ion reacts with two NaOH and a 3+ ion with three. AQA's specification asks for balanced equations for the reactions that produce the insoluble hydroxides, and says: "Students are not expected to write equations for the production of sodium aluminate."
In each equation the metal compound and sodium hydroxide are in solution, (aq), and the precipitate is a solid, (s).
Aluminium chloride solution forms aluminium hydroxide:
AlCl₃(aq) + 3NaOH(aq) → Al(OH)₃(s) + 3NaCl(aq)
Calcium nitrate solution forms calcium hydroxide:
Ca(NO₃)₂(aq) + 2NaOH(aq) → Ca(OH)₂(s) + 2NaNO₃(aq)
Magnesium chloride solution forms magnesium hydroxide:
MgCl₂(aq) + 2NaOH(aq) → Mg(OH)₂(s) + 2NaCl(aq)
Copper(II) sulfate solution forms copper(II) hydroxide:
CuSO₄(aq) + 2NaOH(aq) → Cu(OH)₂(s) + Na₂SO₄(aq)
Iron(II) sulfate solution forms iron(II) hydroxide:
FeSO₄(aq) + 2NaOH(aq) → Fe(OH)₂(s) + Na₂SO₄(aq)
Iron(III) chloride solution forms iron(III) hydroxide:
FeCl₃(aq) + 3NaOH(aq) → Fe(OH)₃(s) + 3NaCl(aq)
Ionic equations for the hydroxide precipitates (Higher tier)
AQA's specification says: "(HT only) write balanced half equations and ionic equations where appropriate." Foundation tier papers do not test writing ionic equations.
An ionic equation shows only the metal ion and the hydroxide ions that react to form the precipitate.
| Metal ion | Ionic equation |
|---|---|
| Aluminium, Al³⁺ | Al³⁺(aq) + 3OH⁻(aq) → Al(OH)₃(s) |
| Calcium, Ca²⁺ | Ca²⁺(aq) + 2OH⁻(aq) → Ca(OH)₂(s) |
| Magnesium, Mg²⁺ | Mg²⁺(aq) + 2OH⁻(aq) → Mg(OH)₂(s) |
| Copper(II), Cu²⁺ | Cu²⁺(aq) + 2OH⁻(aq) → Cu(OH)₂(s) |
| Iron(II), Fe²⁺ | Fe²⁺(aq) + 2OH⁻(aq) → Fe(OH)₂(s) |
| Iron(III), Fe³⁺ | Fe³⁺(aq) + 3OH⁻(aq) → Fe(OH)₃(s) |
What is flame emission spectroscopy?
Flame emission spectroscopy is an instrumental method for analysing metal ions in solution. Instrumental methods use equipment to detect and identify substances, and they are accurate, sensitive and rapid.
- The solution is put into a flame, and the flame makes the metal ions give out light.
- The light passes through a slit into a spectroscope, which separates it into lines.
- The output is a line spectrum: separate lines at particular positions.
- The spectrum is compared with a reference set in the same form.
The positions of the lines identify the metal ions, because each metal ion gives lines at its own positions. The strength (intensity) of a line can give the ion's concentration, but only when it is compared with suitable reference data.
For example, on one instrument's scale, these are the reference lines and an unknown sample's lines:
| Sample | Line positions (instrument scale units) |
|---|---|
| Sodium ion reference | 120 |
| Calcium ion reference | 160, 195 |
| Potassium ion reference | 220, 245 |
| Unknown sample | 120, 160, 195 |
The unknown's lines match the sodium and calcium references, so it contains sodium ions and calcium ions. A complete pattern of matching lines is stronger evidence than one line on its own.
Compared with the chemical tests on this page, flame emission spectroscopy can detect smaller amounts, gives a measured result instead of a colour judged by eye, can give concentrations as well as identities, and is rapid.
Flame test exam questions with answers
Each question below is an exam-style question from Medly, marked with Medly's mark scheme.
Question 1: (2 marks)
An environmental laboratory tested a soil-leachate sample. The sample produced a green flame. The report stated that the sample contained copper ions.
Explain why the conclusion from the green flame result is supported.
Answer
Full marks need the copper colour and why a flame colour can identify an ion.
- A green flame is produced by copper compounds (1 mark).
- Flame-test colours can be used to identify some metal ions (1 mark). This mark is needed for full marks. Medly's mark scheme accepts "flame colour can identify the metal ion".
Question 2: (3 marks)
Three labelled solutions P, Q and R are tested separately with sodium hydroxide solution. P gives a blue precipitate, Q gives a green precipitate and R gives a brown precipitate.
Explain why the observations show that solution P contains copper(II) ions rather than iron(II) or iron(III) ions.
Answer
Medly's mark scheme gives 1 mark each for any 3 of these 5 points. Point 2 is needed for 3 marks.
- P gives a blue precipitate.
- The blue precipitate identifies copper(II) ions, so P contains copper(II) ions.
- Iron(II) ions would give a green precipitate.
- Iron(III) ions would give a brown precipitate.
- Sodium hydroxide gives metal hydroxide precipitates whose colour can be used to identify the metal ion.
Question 3: (2 marks)
A student investigated the dissolved salt in rehydration drink R. Preliminary chemical tests confirmed that the drink contained only sodium ions and chloride ions.
Describe a test to identify sodium ions in sample R. Give the result of the test.
Answer
Medly's mark scheme lists three points, 1 mark each, with the marker's note: "Cap at 2 marks; yellow observation required for full credit."
- A flame test: put the sample into a non-luminous Bunsen flame.
- A yellow flame is seen. This point is needed for full marks.
- Sodium ions are identified from the flame test.
Question 4: (6 marks)
Medly's question has two more parts, which are not printed on this page: one on the halide ion in solution Q, which is why the table below has a column for Q, and one on ionic equations. The halide test is on our tests for negative ions page.
An analyst tested solutions P and Q from two unlabelled bottles. Each contained one dissolved ionic compound. Separate portions of each solution were used for the tests. Table 6 shows the results.
Table 6
| Solution | P | Q |
|---|---|---|
| Colour in a non-luminous Bunsen flame | Crimson | Not tested |
| Result after adding dilute nitric acid and silver nitrate solution | Not tested | Cream precipitate |
(a) Use Table 6 to identify the metal ion in solution P. (1 mark)
(b) A third solution contains either aluminium ions or calcium ions.
Describe how sodium hydroxide solution could be used to identify which ion is present. Include both possible results. (3 marks)
(c) Another solution gave a yellow flame. Table 7 shows the line positions in its flame emission spectrum and in reference spectra.
Table 7
| Solution | Line positions / nm |
|---|---|
| Sodium reference | 589 |
| Potassium reference | 404 |
| Unknown solution | 404, 589 |
Use Table 7 to explain why the yellow flame does not rule out potassium ions in the unknown solution. (2 marks)
Answer
(a) Solution P contains lithium ions, Li⁺ (1 mark). Medly's mark scheme allows "lithium". It does not accept potassium ions.
(b) Full marks need the first test and both results after excess, 1 mark each.
- Add sodium hydroxide solution to a portion of the solution: either ion forms a white precipitate (1 mark). Adding it dropwise is allowed. A white precipitate alone does not tell the ions apart.
- Add excess sodium hydroxide solution: if the white precipitate dissolves, aluminium ions are present (1 mark). The result must be linked to excess sodium hydroxide solution.
- If the white precipitate does not dissolve in excess sodium hydroxide solution, calcium ions are present (1 mark). This is credited only when it follows the stated observation.
(c) Full marks need the reference-line evidence for potassium and why the flame colour misleads.
- The unknown has a line at 404 nm matching the potassium reference, which is evidence for potassium ions (1 mark). The match with the reference must be stated or clearly implied.
- The line at 589 nm shows sodium ions, whose yellow flame can mask the lilac flame of potassium ions (1 mark). Medly's mark scheme does not accept that potassium itself produces a yellow flame.
Question 5: (3 marks)
The equations in this question are ionic equations. AQA's specification says: "(HT only) write balanced half equations and ionic equations where appropriate."
The following equations show possible precipitation reactions for metal hydroxides.
| Code | Equation |
|---|---|
| A | M⁺ + OH⁻ → MOH |
| B | M²⁺ + 2OH⁻ → M(OH)₂ |
| C | M³⁺ + 3OH⁻ → M(OH)₃ |
One equation is proposed for precipitation from aluminium ions.
Which of the coded equations could be the equation for aluminium hydroxide? Explain your answer using the ionic formula.
Answer
Full marks need the equation, the aluminium ion's charge and how the hydroxide ions balance it.
- Equation C (1 mark).
- Aluminium forms Al³⁺ ions (1 mark). Medly's mark scheme accepts "the aluminium ion has a 3+ charge".
- Three OH⁻ ions are needed to balance the 3+ charge, giving Al(OH)₃ (1 mark). This mark is needed for full marks. It accepts "three hydroxide ions balance one aluminium ion".
Where marks are lost
Each of these comes from the mark schemes above.
- Leaving out the colour. In Question 3, Medly's scheme gives full marks only with the yellow flame: naming the test and the ion is not enough.
- Stopping at the white precipitate. In Question 4 (b), a white precipitate alone does not tell aluminium from calcium. Each conclusion has to follow what happens in excess sodium hydroxide solution.
- Giving potassium a yellow flame. In Question 4 (c), the yellow comes from sodium masking potassium's lilac flame. Saying potassium itself gives a yellow flame is not accepted.
- Listing colours without a conclusion. In Question 2, the point that the blue precipitate identifies copper(II) ions is needed for 3 marks.
Ion tests come down to exact words: the colour, the reagent and what happens in excess. Medly marks written answers like Question 2 against the mark scheme, so you can see which point you missed. Medly has AQA GCSE Chemistry courses at Foundation and Higher. Medly's free plan includes 5 marked questions, 20 AI tutor messages and 1 uploaded paper a day, with no card needed.
Which paper are flame tests on?
Paper 2 of GCSE Chemistry (8462): see the Paper 2 guide. Combined Science: Trilogy papers do not test them.
This page is written for AQA. If you sit another board, check the content, the tier and the paper in your own specification.
AQA's specification lists flame tests, metal hydroxides and flame emission spectroscopy under "Identification of ions by chemical and spectroscopic means", a heading it labels "(chemistry only)". Writing ionic equations carries AQA's "(HT only)" label. The rest of this page is in AQA's specification for both tiers.
Frequently asked questions
What colour does calcium give in a flame test?
Calcium compounds give an orange-red flame. A calcium ion also gives a white precipitate with sodium hydroxide solution that remains in excess.
What colour is sodium in a flame test?
Sodium compounds give a yellow flame. In a mixture, sodium's yellow can mask another metal ion's colour, such as calcium's orange-red.
Which flame test colours are in AQA's specification?
AQA's specification lists five: lithium crimson, sodium yellow, potassium lilac, calcium orange-red and copper green. It also says: "Flame colours of other metal ions are not required knowledge."
Why is the wire loop cleaned before a flame test?
Material left on the loop from an earlier sample could give its own flame colour and a wrong identification. The loop is cleaned with dilute hydrochloric acid and held in the flame until no flame colour is seen.
How do you tell calcium ions from magnesium ions?
Both give a white precipitate with sodium hydroxide solution that remains in excess, so that test alone does not tell them apart. An orange-red flame in a flame test is further evidence for calcium ions.
Are flame tests on the Combined Science papers?
Flame tests sit under a heading that AQA labels "(chemistry only)", and Combined Science: Trilogy (8464) has no section on identifying ions. Combined Science: Trilogy papers do not test them. Our specification guide puts every label in one place.