Skip to main content
Chemistry

Flame Test Lab: Metal Ions & Atomic Spectra

Dip a salt in a flame and the color changes. What is the light really made of?

Heating metal salts excites valence electrons to higher quantized energy levels; when those electrons relax back down, they emit photons at element-specific wavelengths (E = hc / lambda), producing characteristic flame colors and discrete line spectra. In this interactive 3D flame test lab, students test metal chlorides and comparison anions, inspect discharge tubes with a spectroscope, and identify unknown salts.

  • 11 languages
  • Laptop · tablet · phone
  • Free

Free lab. No account needed.

Open full screenNo sign-up needed · loads on click

Inside this lab

  1. 1

    Preview

    • Driving question
    • What you will predict
    • Equipment and safety
  2. 2

    Lab

    • Lock in prediction
    • Run the experiment, measure and replay
    • Your notebook fills in as you go
  3. 3

    Check

    • Did the lab agree with you?
    • Claim, evidence, reasoning
    • Check questions and a printable lab report

Flame colors provide a fast visual clue to metal-ion identity, while a spectroscope turns that light into quantitative wavelength fingerprints (nm) governed by delta E = h c / lambda. Comparing multiple metal salts, paired anions, gas discharge tubes (such as hydrogen), and absorption cells shows why discrete spectral lines serve as direct evidence of quantized atomic energy levels.

Apparatus, safety notes, and step-by-step procedure

  • Apparatus: 3D Bunsen burner with non-luminous blue flame, cleanable nichrome/platinum wire loop, metal salt samples (NaCl, LiCl, KCl, CuCl2, CaCl2, SrCl2, BaCl2, comparison anions, and unknown salts), handheld wavelength spectroscope (400–700 nm), gas discharge tubes (H, He, Ne, etc.), and white-light absorption cell.
  • Safety note (for physical lab prep): In a real chemistry lab, wear safety goggles, tie back hair around open Bunsen flames, handle HCl loop-cleaning acid carefully, and avoid breathing metal-salt fumes.
  1. Open the 3D bench in Ideal mode, ignite the burner to a clean non-luminous blue flame, and verify the wire loop shows no residual color.
  2. Dip the loop into sodium chloride (NaCl), hold it at the outer edge of the flame, record visible flame color, and read the dominant emission line through the spectroscope (589 nm reference).
  3. Clean the loop thoroughly, then test lithium, potassium, calcium, strontium, barium, and copper salts one by one, recording both visual color and key spectral wavelengths (nm).
  4. Test a comparison anion pair (same metal cation paired with two different anions) to verify that the metal cation—not the anion—controls the emission spectrum.
  5. Open an unknown salt sample, record both flame appearance and exact spectroscope lines, and match its wavelengths against your reference table to identify the metal ion.
  6. Switch to the hydrogen discharge tube, record the visible Balmer lines (including red 656 nm and blue-green 486 nm), and compute photon energy E = h c / lambda (J and eV) for each line.
  7. Inspect white light passing through a cool absorption gas and confirm that the dark absorption wavelengths align precisely with the bright emission lines of the same element.
  8. Switch to Real mode to observe finite slit line width and faint trace sodium background in practical spectroscopy.

Recording table and model reference data

Model reference data — run your own trials in the 3D lab. Values below reflect Ideal continuous model centers and integer spectroscope readings (c = 2.998e8 m/s, h = 6.626e-34 J·s).

TrialIndependent Variable (Sample / Discharge Tube)Dependent Variable (Dominant Wavelength lambda & Color)UnitsObservation
Ref 1Sodium salt (Na+)589.19 nm (record 589 nm), bright yellow-orangenmIntense sodium doublet dominates eye perception
Ref 2Lithium salt (Li+)670.78 nm (record 671 nm), crimson rednmClearly separated from sodium and other red flames by wavelength
Ref 3Hydrogen discharge tube (H Balmer lines)656.28 nm (red), 486.14 nm (blue-green)nmShorter 486 nm photon carries higher transition energy than 656 nm
Your TrialRecord salt/tube, flame colorRecord all visible lambda (nm) & computed E (eV)nm, eVAlways confirm visual flame color with spectroscope wavelength lines

Lab report outline (blank template)

  1. Title: State the focus of the investigation (metal-ion flame identification, anion control, or hydrogen line-spectrum energy).
  2. Purpose: Explain how wavelength measurements identify unknown ions and test quantized atomic emission.
  3. Hypothesis: Predict whether cation or anion governs flame color and how wavelength relates to photon energy.
  4. Variables: Identify metal salt, anion, or discharge gas (independent); flame color and line wavelengths (dependent); burner flame and spectroscope calibration (controlled).
  5. Data Table: Log sample formula, naked-eye color, spectroscope lines (nm), and calculated photon energy (J or eV).
  6. Analysis & Calculation: Compute E = h c / lambda for at least three spectral lines and match unknown wavelengths quantitatively to known standards.
  7. Conclusion & Sources of Error: Explain why spectroscope lines outperform eye color alone, and discuss how unclean wire loops, trace sodium contamination, or slit resolution affect Real-mode readings.

Continue exploring light and atomic structure

Test photon threshold energy in Photoelectric Effect, apply emission spectra to distant galaxies in Stellar Spectra & Redshift, or explore Chemistry Simulations.

Complete activity: flame tests and atomic spectra

A full bench investigation a student can run alone and then walk through with a parent. Commit each prediction before touching the controls, describe every color in your own words, and record every scale position to the nanometer. No account is needed to run the lab or to print this page.

Goals

  • Work a tray of salt solutions with a wire loop and a burner, and use your own records — colors and scale readings — to tell the six metal salts apart.
  • Name the independent variable, the dependent variable, and the controls of a flame test, and keep the burner flame and the loop the same for every sample.
  • Commit a prediction about what a hand spectroscope shows before you look through it, then aim the hairline yourself and record scale positions to 1 nm.
  • Match the light hydrogen gives off to jumps down its energy-level ladder, using two readings you recorded yourself.
  • Set up white light passing through a sodium flame and through cool hydrogen, commit a prediction for each, and record what the scale shows.

Before you start

  • A salt pairs a metal ion with a partner ion; the tray holds six different metal chlorides plus one sodium salt with a different partner.
  • A hand spectroscope spreads light out by wavelength along a scale from 400 nm (violet) to 780 nm (red); a nanometer is 10⁻⁹ m, and you will read the scale to 1 nm.
  • The Bohr ladder for hydrogen is drawn inside the course: level 1 sits at −13.60 eV and the higher levels crowd together toward 0 eV.
  • Records come in two kinds — colors in words, positions in nanometers — and a number without its unit is not a reading.

Predict before you run

Write each answer in one sentence (or one sketch) before touching the controls. Four of the five questions below are locked as prediction gates in the course, which reveals each result only after your own runs; the cobalt-glass question is one for you and your parent to reason out together.

  1. Sodium chloride and sodium nitrate share the same metal ion but bring different partner ions. Will their flames look the same or different, and why do you think so?
  2. You point the hand spectroscope at the yellow sodium flame and look through the eyepiece. Sketch what the spread of light will look like.
  3. Four different electron drops into level 2 are possible in hydrogen — from level 3, 4, 5, or 6. Which drop do you expect to make the red light?
  4. White light from a lamp will pass through a sodium flame into the spectroscope. What will you see?
  5. You hold cobalt glass between your eye and the sodium flame. What happens to the yellow?

Procedure

Safety, every session: wear goggles, tie back long hair, and keep flammable things away from the burner. The spectrum tubes run on several thousand volts — never touch a tube or its supply while the power is on, and do not stare at the glowing mercury tube. Never taste any solution.

  1. In Set up, walk the Lab Bench first: click the nichrome loop, the burner, the cobalt glass, the hand spectroscope (scale 400–780 nm), the hydrogen, helium and mercury tubes, the white lamp and the cool hydrogen cell, and read what each is for.
  2. Watch the Opening scene: it tests three salts in the flame, then stops and asks about a fourth. Commit your sodium nitrate prediction from the list above before you press Go.
  3. Flame tab: adjust the air hole until the flame is pale blue, dip the clean loop, hold it in the flame, and write the color in words. Then view each sample through the cobalt glass and write what changes. The model cleans the loop between samples for you.
  4. Still in the Flame tab, commit your spectroscope prediction — the eyepiece stays capped until you do. Then aim at the sodium chloride flame, drag the hairline onto the light you see (arrow keys step 1 nm, Shift + arrow 10 nm), and record. The salt burns off after about half a minute; dip again for another look.
  5. Tubes tab: switch on helium and mercury, aim at each tube, and record what the scale shows. Then commit your hydrogen prediction, power the hydrogen tube, record the red light, and record one more hydrogen light of a different color — both readings in the same Ideal/Real mode.
  6. Absorb tab: look at the lamp alone first. Commit your white-light-plus-sodium prediction before you turn the lamp on with the sodium flame in the beam, then record. Finish with the lamp through the cool hydrogen cell, and with the sodium flame by itself, lamp off.
  7. Inside view, as it opens: step into the Bohr atom, turn on the force readouts and the standing-wave view, and try Ionize.
  8. Check page, to finish: its last question hands you a brand-new one-electron atom. Predict the wavelength of the light it gives off, lock your number in the Tubes tab, switch the atom on, and read the light yourself. The question opens as your earlier predictions check out.

Explain your data

Answer from your own notebook, in complete sentences, citing the row you use as evidence.

  1. Name the independent variable, the dependent variable, and two controls in your flame tests. Why must the flame and the loop be identical for every sample?
  2. Compare your sodium chloride and sodium nitrate rows. What does your evidence say the partner ion contributes to what you saw?
  3. Which of your scale readings was hardest to pin to one nanometer, and what made it hard? What would you change in your own aiming technique?
  4. Use the hydrogen ladder together with the course’s reveal card: which drop made your red light, and what in your two readings supports that?
  5. Your two hydrogen readings came from lights of different colors. Without formulas, compare the size of the two drops, and say what in the ladder tells you.
  6. Put your lamp-plus-sodium row next to your sodium-flame-alone row and compare the scale readings. What does that comparison tell you about the light sodium atoms interact with?
  7. In Real mode the same sample can give readings a few nanometers apart. Name the two error sources the course builds in, and say which one cancels when you compare two readings taken in the same run.
  8. A classmate says the burner’s own glow is part of the sample’s spectrum. Which of your recordings could check that claim, and what does the course say it leaves out?

Notes for the parent or tutor

You do not need physics or chemistry training to debrief this activity. Ask to see the notebook first, then let the student walk through the four points below.

  • Prediction discipline is the point: every big question was locked in before the run. If your learner cannot say what they expected and what they saw, ask them to reopen the reveal cards and read both aloud.
  • A good record has three parts: colors in words, scale readings in nanometers, and the setup that produced them. A conclusion that does not point at a row is an opinion, not a finding.
  • Listen for comparisons rather than labels. If your learner says the instrument is wrong, ask whether they re-dipped the loop and re-aimed the hairline before blaming the scale.
  • Real mode builds in a scale that can sit a few nanometers either way plus hand-estimation on every reading. Readings a nanometer or two apart are realistic behavior, not mistakes — and a comparison between two readings in one run is more trustworthy than any single reading.
  • Take the safety language seriously: thousands of volts on the tubes, no staring at mercury, goggles at the burner. If your learner describes the tubes casually, ask what the course says about touching a powered tube.

Where the model ends

  • Ideal mode shows textbook values at exact scale positions. Real mode adds a spectroscope scale that can sit a few nanometers either way — the same shift for every reading in a run — plus hand-estimation of a nanometer or two on each reading.
  • This is the Bohr model: one electron on a ladder of levels at −13.6/n² eV. It is astonishingly close for hydrogen and it is still a model, not the atom.
  • Wavelengths are standard measured values; the course does not compute fine structure or the air-versus-vacuum difference.
  • The burner flame’s own faint glow is left out entirely — on a real bench it adds colors that do not belong to the sample.
  • The loop cleans itself between samples. A real bench burns the loop clean or rinses it in hydrochloric acid before every new salt.
  • Brightness is a rough visual guide, not a measurement of how much light each atom gives off.
  • Not in this course: diffraction angles and the grating equation, the photoelectric effect, multi-electron atoms worked out quantitatively, and line intensities.
  • You need a laptop, tablet or phone with a current browser and WebGL2 support; on a phone the lab switches to a layout made for small screens.

Flame tests — the salt tray

One row per sample. Colors in your own words; read the scale only where the course lets you record.

RunSamplesalt testedFlame color (words)Through cobalt glassScale reading (nm)hairline, to 1 nmNotes
1
2
3
4
5
6
7
8

Gas discharge tubes — helium, mercury, hydrogen

Record each light separately. Hydrogen needs two different colors, both in the same mode.

RunTubeHe / Hg / HGlow color (words)Scale reading (nm)hairline, to 1 nmNotes
1
2
3
4
5
6

White lamp setups — the Absorb tab

One row per light path. Describe first; read the scale where there is something to read.

RunSetupwhat is in the beamWhat you saw (words)Scale reading (nm)hairline, to 1 nmNotes
1
2
3
4

Printed from scivra.com/library/flame-tests-atomic-spectra — the online lab, this handout, and the course guide stay free; no account or email needed.

Common questions

Why do different metal ions produce different flame colors?

Each element has unique quantized electron energy-level spacings; when heated electrons drop back to lower orbitals, they emit photons of specific wavelengths unique to that metal ion.

Does the anion (chloride vs. nitrate) or the metal cation cause the flame color?

Testing comparison salts with the same metal cation and different anions confirms that the metal cation produces the characteristic emission color, not the accompanying chloride or nitrate anion.

Why is a spectroscope more reliable than naked-eye flame color alone?

Several elements produce similar red or orange flames to the eye (such as lithium, strontium, and calcium), whereas a spectroscope separates emitted light into exact wavelength lines (e.g., Li 671 nm vs. Na 589 nm).

How is photon energy related to emission line wavelength?

Photon energy is inversely proportional to wavelength: E = h c / lambda. Shorter-wavelength violet/blue lines (like hydrogen's 486 nm line) carry more energy per photon than longer-wavelength red lines (656 nm).

How do atomic emission spectra differ from absorption spectra?

Excited gas atoms emit bright discrete colored lines on a dark background, whereas cool gas placed in front of white light absorbs those exact same wavelengths, leaving dark lines in a continuous rainbow.

Why can trace sodium contamination mask other flame colors?

Sodium's 589 nm yellow-orange doublet emits extremely intensely, easily overpowering fainter violet or pale flames unless the wire loop is thoroughly cleaned between samples.