All of it is light.
Radio broadcasts, microwave ovens, the warmth of a fire, the colours you see, sunburn, X‑ray images and gamma rays from exploding stars are all electromagnetic waves. They are electric and magnetic fields rippling through space at the same speed, and they differ only in wavelength. Drag along the ruler to travel across twenty powers of ten.
Drag · ← → keys
Seven bands, one phenomenon
Scientists split the spectrum into seven named bands. The boundaries are agreed conventions and neighbouring bands overlap. An X-ray and a gamma ray with the same energy are identical photons with different origins. Pick a band here or drag the ruler above.
Inside a light wave
An electric field (E) and a magnetic field (B) oscillate at right angles to each other and to the direction of travel. A changing electric field creates a magnetic field and a changing magnetic field creates an electric field, so the wave carries itself through empty space. Time here is slowed enormously; the readout shows by how much.
Drag to turn the view
Convert wavelength, frequency and energy
Type into any box and the others follow. Wavelength, frequency and photon energy are three ways to describe the same wave, linked by the speed of light and Planck’s constant. Numbers like 2.45, 5.3e-7 or 6.6 × 10^-34 all work.
Four graphs that explain the spectrum
Hover or tap a graph to read values. Every graph has a data table underneath.
Data table
Eleven experiments you can run
Each bench recreates a real experiment, from Newton’s prism to Hubble’s galaxies. Change the settings, take measurements and tick off the challenges. Progress is saved in this browser.
Prism and the invisible rainbow
Split white light into colours, then hunt for the invisible light beyond both ends of the rainbow, just as Herschel and Ritter did.
Drag the prism to turn it
What is happening
Light slows down in glass and bends when it crosses a surface at an angle (Snell’s law). The slowing depends slightly on wavelength: violet slows more than red, so it bends more. That spreading is called dispersion.
In 1800 William Herschel put thermometers in each colour and one just past the red end, where nothing seemed to fall. That one warmed the most. He had found infrared. A year later Johann Ritter saw silver chloride darken fastest past the violet end, and found ultraviolet.
The glass follows Cauchy’s formula n = A + B/λ² with typical values. Sunlight and bulb spectra come from Planck’s law. The screen strip is magnified so the colours spread out.
Challenges
- Spread the colours by more than 5°, violet to red.
- Recreate Herschel: warm the thermometer where no visible light falls.
- Recreate Ritter: make the UV card glow past the violet end.
- Turn the prism until every colour is trapped by total internal reflection.
Young’s double slit
Shine a laser through two narrow slits and light makes stripes. Measure them to find the wavelength, then send photons one at a time.
Drag markers A and B on the graph
What is happening
Each slit acts as a new source of waves. Where crests from both slits arrive together they add up into a bright fringe. Where a crest meets a trough they cancel into a dark fringe. Bright fringes are spaced Δy = λL/d apart.
Young’s experiment was strong evidence that light is a wave. Send photons one at a time and each lands as a single dot, yet the dots still build the same stripes, as if each photon passed through both slits.
The ripple view exaggerates the wavelength more than a hundred times so you can see the waves. The screen strip and graph use the real sizes, so you can measure them.
Challenges
- Spread the bright fringes 5 mm or more apart.
- Cover one slit and watch the fine fringes disappear.
- Build the pattern from 300 single photons.
- Identify a mystery laser to within 3% from its fringes.
Blackbody glow
Heat an object and watch its light change from invisible infrared to red, white and blue. This curve started quantum physics.
What is happening
Every object glows with a spectrum set mainly by its temperature. A perfect absorber, called a blackbody, follows Planck’s formula exactly. Planck derived it in 1900 by assuming energy comes in packets, E = hf, and quantum physics began.
Hotter objects glow brighter at every wavelength and their peak moves to shorter wavelengths: λ_peak = b/T (Wien’s law). Total power rises as T⁴ (the Stefan–Boltzmann law), so doubling the temperature raises the power sixteen times.
Objects start to glow a dull red at about 800 K, called the Draper point. Stars range from red (about 3,000 K) to blue-white (above 10,000 K).
Challenges
- Heat it until it glows dull red (800–1,200 K).
- Put the peak inside the visible band.
- Radiate at least 16 times the Sun’s power per square metre.
- Pin three curves to compare them.
Photoelectric effect: measure Planck’s constant
Light knocks electrons out of metal, but only if each photon carries enough energy. Find the stopping voltage for several colours and the slope gives you h.
What is happening
A photon frees an electron only if its energy is at least the metal’s work function φ. Any extra energy becomes the electron’s kinetic energy, K_max = hf − φ. Brighter light means more photons, so more electrons, but not faster ones.
A negative collector pushes electrons back. At the stopping voltage the current just reaches zero, so eV_stop = K_max. Plot V_stop against frequency: the slope is h/e and the line meets zero at the threshold frequency.
Einstein explained this with photons in 1905 and Robert Millikan’s careful measurements confirmed it. Einstein’s 1921 Nobel Prize was for this work.
Challenges
- Free electrons from zinc (you will need ultraviolet).
- Shine the brightest red light on zinc and get no current at all.
- Find the reddest light that still frees electrons from sodium, within 5 nm.
- Record three stopping voltages and measure h within 5%.
Spectral fingerprints
Every element glows with its own set of colours. Identify mystery gases the way astronomers read the chemistry of stars.
What is happening
Electrons in an atom can only have certain energies. When one drops to a lower level it emits a photon whose energy equals the gap, so each element emits its own set of wavelengths. Cool gas in front of a bright source absorbs those same wavelengths and leaves dark lines.
Kirchhoff and Bunsen showed in 1859 that every element has its own lines. Helium was discovered in the Sun’s spectrum in 1868, 27 years before anyone found it on Earth.
For hydrogen, 1/λ = R(1/n₁² − 1/n₂²). Jumps down to level 1 give ultraviolet (Lyman series), to level 2 visible light (Balmer) and to level 3 infrared (Paschen).
Challenges
- Identify three mystery gases correctly.
- Make hydrogen emit its red Hα line (3 → 2).
- Make hydrogen emit an ultraviolet photon.
- Find sodium’s fingerprint in sunlight (point at the dark D lines).
Redshift and Hubble’s law
A moving source stretches or squeezes its light. Measure a galaxy’s spectral lines to find how fast it is receding and how far away it is.
Galaxy lines shift as it moves
Drag the marker onto a dark line in the galaxy spectrum. It snaps to the nearest line. Say which line it is, then submit.
What is happening
When a source moves away, each crest leaves from a little farther off, so the waves arrive stretched and every line shifts toward red. Moving closer squeezes them toward blue. The shift z = Δλ/λ gives the speed, with v ≈ cz at low speeds.
In 1929 Edwin Hubble showed that more distant galaxies recede faster, v = H₀d. Measure a galaxy’s redshift and you can estimate its distance. This bench uses H₀ = 70 km/s per megaparsec.
For large redshifts the stretching comes from the expansion of space itself, and light from the earliest galaxies arrives as infrared. That is why the James Webb Space Telescope observes in the infrared.
Challenges
- Make the source move toward you (blueshift).
- Push the red Hα line out of the visible and into the infrared.
- Measure three mystery galaxies within 5%.
Why the sky is blue and sunsets are red
Sunlight scatters off air. Move the Sun, change the particles in the air and watch the colours follow the physics.
What is happening
Air molecules are far smaller than a wavelength of light and they scatter short wavelengths much more strongly, in proportion to 1/λ⁴ (Rayleigh scattering). Blue light at 450 nm scatters about 4.4 times more than red at 650 nm, so blue reaches you from every part of the sky.
Near sunset, sunlight crosses up to 38 times more air than at noon. Most of the blue is scattered out along the way, so the Sun and the sky around it turn orange and red.
Bigger particles such as cloud droplets scatter all colours almost equally, so clouds look white or grey. This model uses single scattering and a sunlike spectrum, so treat the colours as approximate.
Challenges
- Paint a deep blue midday sky (Sun above 60°).
- Make a red sunset (Sun below 3°).
- Turn the sky white with cloud droplets.
- Thicken the air until a high Sun (above 45°) turns orange.
Polarizing filters and the three-filter puzzle
Two crossed filters block all light. Add a third one between them and light gets through. Find out why.
What is happening
Light’s electric field can point in any direction across the beam. A polarizing filter passes only the part along its axis, so unpolarized light loses half its intensity in the first filter.
A second filter at angle θ to the first passes cos²θ of what reaches it (Malus’s law). Crossed at 90°, the pair blocks everything.
Put a third filter at 45° between crossed filters and one eighth of the light gets through. The middle filter turns the polarization in two 45° steps instead of one impossible 90° step.
Challenges
- Block all the light with two filters.
- Sneak light through crossed filters by adding a third one.
- Let through exactly a quarter of the lamp’s light with two filters.
Measure the speed of light with chocolate
A microwave oven fills with a standing wave. Take out the turntable, melt a chocolate bar and measure the spacing of the melted spots.
Drag the ruler marks A and B
What is happening
Microwaves bouncing between the metal walls form a standing wave, with fixed hot spots (antinodes) half a wavelength apart and cool spots between them. The turntable is there to carry food through the hot spots.
Without the turntable, melt a bar briefly and measure between neighbouring melted spots. That gap is λ/2, so c = λf = 2 × gap × f. At 2.45 GHz the gap is about 6.1 cm.
Real ovens have a 3D pattern of hot spots and some gaps can mislead you, so measure several and take the average.
Challenges
- Take the turntable out and melt some spots.
- Measure the gap between two neighbouring melted spots.
- Calculate the speed of light within 5%.
The inverse-square law
Move a detector away from a source and take readings. Why does doubling the distance leave only a quarter of the signal?
What is happening
Light from a small source spreads out over a sphere. At twice the distance the same light covers four times the area, so each square metre receives a quarter as much: I ∝ 1/r².
The same law applies to radio signals, starlight and gamma radiation. It is why stepping away from a radioactive source is one of the best ways to cut your exposure.
Readings include random noise, as a real detector’s do. Record several distances and compare them with the 1/r² curve.
Challenges
- Record readings at two distances where one is double the other.
- Record five readings.
- Record readings spanning at least 2 m that fit the curve (R² ≥ 0.95).
AM and FM: putting sound on a radio wave
A station changes its carrier wave to carry sound. Compare the two classic methods, add static, and listen to the difference.
What is happening
A station transmits a steady high-frequency carrier wave and changes it to carry sound. AM varies the carrier’s strength (amplitude). FM varies its frequency slightly, following the sound.
Lightning and electrical noise mostly change a wave’s amplitude. An FM receiver ignores amplitude changes, so FM sounds cleaner. The price is bandwidth: FM needs more room in the spectrum, B ≈ 2(Δf + f_m) (Carson’s rule).
Push AM past 100% and the envelope folds over and distorts the sound. AM stations sit 9 or 10 kHz apart; FM stations 100 or 200 kHz apart, depending on the country.
Challenges
- Overmodulate AM (depth above 100%).
- Add heavy static (60% or more) and switch to FM.
- Listen to the station, tuned in, for three seconds.
Kitchen-table experiments
Six real experiments with things you probably already have. Read the safety note on each one before you start.
See infrared with your phone
You needA TV remote and a phone camera.
- Open the camera app. Try the front camera if the back one shows nothing, because some back cameras filter infrared.
- Point the remote at the lens from a few centimetres away.
- Press and hold any button while watching the screen.
The remote’s LED flashes on screen but not to your eye. The camera sensor detects the 940 nm infrared that your eyes cannot.
Completely safe.
Measure the speed of light with chocolate
You needA microwave oven, a large flat chocolate bar (or a slice of cheese), a plate and a ruler.
- Remove the turntable so the food cannot rotate. Rest the plate on the oven floor.
- Heat the chocolate on high for 15–30 seconds, until a few spots just start to melt.
- Measure the distance between neighbouring melted spots, in metres.
- Read the oven’s frequency from its label, usually 2,450 MHz.
- Work out 2 × spacing × frequency.
The spots are about 6 cm apart, which gives roughly 3 × 10⁸ m/s. Run the simulator first.
Ask an adult. Never run the oven empty or with metal inside. Melted chocolate can burn.
Build a CD spectroscope
You needAn old CD or DVD, a cereal box or cardboard tube, black paper, tape and scissors.
- Cut a thin slit, about 1 mm wide, in black paper and tape it over one end of the box.
- Tape a piece of the CD, shiny side in, at the other end, tilted at about 45°. Cut a viewing hole above it.
- Point the slit at a light and look at the CD through the hole.
- Compare a filament bulb, an LED, a fluorescent tube and a sodium streetlight.
The CD’s tracks, 1.6 µm apart, act as a diffraction grating. A filament gives a smooth rainbow. A fluorescent tube shows bright mercury lines, including blue at 436 nm and green at 546 nm.
Never point it at the Sun.
Block a phone call with a Faraday cage
You needA metal biscuit tin with a lid, aluminium foil and two phones.
- Put one phone in the tin and close the lid firmly.
- Call it from the other phone.
- Try again with the phone wrapped in foil, first loosely with gaps, then fully sealed.
A closed metal box reflects and absorbs the mobile signal, so the call fails. Gaps of a few centimetres, a real fraction of the 10–40 cm wavelength, let the signal leak in.
Completely safe.
Make tonic water glow
You needTonic water (it contains quinine), a UV torch and a dark room.
- Fill one clear glass with tonic water and another with plain water.
- Turn off the lights and shine the UV torch through both glasses.
- Also try white paper, highlighter ink and banknotes.
The tonic water glows blue. Quinine absorbs invisible ultraviolet and re-emits some of the energy as visible blue light. This is fluorescence.
Never shine a UV torch into anyone’s eyes.
Polarized sunglasses and screens
You needPolarized sunglasses and an LCD screen, such as a laptop or calculator.
- Look at the screen through one lens.
- Slowly rotate the sunglasses through 90°.
- Rotate them again while looking at glare on water, a shiny floor or a car windscreen.
The screen goes dark at one angle because LCDs emit polarized light. Glare is partly polarized too, which is why these lenses cut it. Try the polarizer bench.
Completely safe.
How we found the invisible
For most of history, light meant only what eyes could see. Uncovering the rest of the spectrum took about 250 years, and exploring it with telescopes took another hundred.
Sort it, then quiz it
Line them up
Put these in order from the longest wavelength to the shortest. Drag the rows or use the arrows.