Skip to main content
Sandbox Physics

Classical optics · thin-film interference

Living Rainbow · Thin-Film Interference

Why does a colorless film only hundreds of nanometres thick develop flowing color? Light reflected from the film's front and back surfaces interferes. A given thickness puts a different phase difference on each wavelength, so some colors reinforce and others cancel. As the film drains, its uneven thickness keeps changing, and the color bands flow with it.

White light shines on a three-dimensional soap bubble as it drains. Gravity makes the thickness vary from top to bottom, the surface flows and the angle of incidence keeps changing, so different wavelengths reinforce in different places and form colored bands that drift across the sphere.

Interactive modelLiving Rainbow · Thin-Film Interference
Probe thickness dd680 nm680\,\mathrm{nm}
Round-trip path 2ndcos⁡θt2nd\cos\theta_t1750 nm1750\,\mathrm{nm}
Strongest visible λ\lambda550 nm550\,\mathrm{nm}
Selected reflectance RR7.7%7.7\%

Physics tutorial

Thin-film interference: read nanometres as color

BackgroundLight reflects from both the front and the back surface of the film, and the two reflections recombine. Two things decide which wavelengths reinforce and which cancel: the extra optical path inside the film, and the phase reversal when light reflects from a higher-index surface on the lower-index side.

Why it mattersSoap bubbles, oil films, antireflection coatings and precision optical coatings all rely on the same phase relation. The color you see is a map of thickness on the nanometre scale.

Start with the essentials

Focus question
Why does a clear, colorless soap film show colored bands, and why does it turn black as it gets thinner?
One-sentence intuition
A given thickness shifts the phase of each wavelength by a different amount, so some colors in white light reinforce, others weaken, and the thickness shows up as a color.

Core mathematical model

Phase difference between reflected rays

Δϕ=4πndcos⁡θtλ+π\Delta\phi=\frac{4\pi nd\cos\theta_t}{\lambda}+\pi

2ndcos⁡θt2nd\cos\theta_t is the optical path for one round trip through the film. The extra π\pi comes from the phase reversal when light reflects off the film from the air side.

Fresnel result including repeated reflections

r~=r01+r12e2iβ1+r01r12e2iβ,β=2πndcos⁡θtλ,R=∣r~∣2\tilde r=\frac{r_{01}+r_{12}e^{2i\beta}}{1+r_{01}r_{12}e^{2i\beta}},\qquad \beta=\frac{2\pi nd\cos\theta_t}{\lambda},\qquad R=\lvert\tilde r\rvert^2

The simulation computes the amplitude reflection for each polarization and averages the two reflectances to get the result for unpolarized light.

Common difficulties

One color does not imply one thickness

Typical misconceptionTwo points with the same color must have the same thickness.

Better mental modelColors roughly repeat each time the phase goes through another full cycle. The angle of incidence and the refractive index shift the colors too.

A black film is not an absent film

Typical misconceptionA dark region at the top means the soap film has already ruptured.

Better mental modelWhere the film is ultrathin, the two visible reflections mostly cancel, so an intact film can look nearly black.

Run the experiment

  1. 01

    Turn thickness into color

    Press Pause drainage, set Thickness flow to zero and slowly sweep Reference thickness.

    What to observe: The colors cycle again and again as one wavelength after another meets the condition for reinforcement.
  2. 02

    Keep only one wavelength

    Turn on Monochromatic source and change Selected wavelength.

    What to observe: The colored bands turn into bright and dark fringes. Each fringe is one interference order, so you can read the phase directly.
  3. 03

    Approach the black film

    Choose Black film and move the probe to the top of the bubble.

    What to observe: The film is still there, but its two reflections mostly cancel across the whole visible band.

Related experiments and articles

Continue exploring

One film, many colours

Separate a changing thickness pattern from the spectrum reflected by one local layer.

  1. You are hereLiving Rainbow · Thin-Film InterferenceExplore a curved film with changing thickness.
  2. LabThin-Film Color StudioMeasure spectra and polarization in planar single and multilayer films.
FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy