P
Photizon
Contact
Back to Academy

Thin-Film Interference Explained

How a layer of material thinner than a wavelength of light can create vivid colors, kill reflections, or act as a mirror.

Key Takeaways

  • Thin films create colors because light reflected from the top and bottom surfaces interferes. Whether they add up or cancel depends on the film thickness, the wavelength, and the refractive indices.
  • The phase shift rule: reflection off a higher-index surface adds a half-wavelength phase shift. Reflection off a lower-index surface doesn't.
  • The quarter-wave condition (nd=λ/4) is the basis of every anti-reflection coating and the starting point for all thin-film design.

The Physics Hiding in Soap Bubbles and Camera Lenses

Soap bubbles shimmer with swirling bands of color. A thin film of oil on a wet parking lot glows with rainbow streaks. The purple tint on a coated camera lens. The iridescent wings of a morpho butterfly.

All of these come from the same physics: light reflecting off two closely spaced surfaces interferes with itself. Some wavelengths add up (constructive interference) and reflect strongly. Others cancel out (destructive interference) and vanish.

The result is color, even though the film itself is perfectly transparent.

This is thin-film interference, and it's the physical principle behind every optical coating ever made. The anti-reflection coatings in our earlier tutorial, the Fresnel equations that govern each surface, the mirrors and filters in our preset library: they all work because of thin-film interference.

This tutorial explains how, starting with a soap bubble and ending at the design principle that makes optical coatings possible.


Two Reflections, One Film

Consider a thin, transparent film sitting on a surface. When light hits the top, two things happen at once:

  1. Some light reflects off the top surface and bounces back.
  2. The rest enters the film, travels through it, reflects off the bottom surface, travels back through the film, and exits through the top.

Now you have two reflected beams overlapping in space. They came from the same incoming wave, so they're coherent: their phase relationship is fixed and stable. That means they can interfere.

If the two beams are in phase (crests line up with crests), they interfere constructively and the reflection is strong. If they're exactly out of phase (crests line up with troughs), they interfere destructively and the reflection is weak, or zero.

What determines the phase difference? Two things: the extra distance the second beam travels through the film, and phase shifts that can happen at each reflection.


The Optical Path Difference

The second beam travels through the film twice (down and back up). If the film has thickness d and refractive index n, the extra optical path at normal incidence is:

OPD=2nd

The factor of 2 is for the round trip. The factor of n converts physical distance to optical distance: light has a shorter wavelength inside a material with index n, so the same physical distance accumulates more phase.

At oblique incidence, this becomes 2ndcosθ, where θ is the angle inside the film. For this tutorial, we'll work at normal incidence.


The Phase Shift Rule

Here's the part that trips up every student the first time: reflection itself can introduce a phase shift.

The rule:

  • Reflection off a higher-index surface (low n → high n): the reflected wave picks up a π phase shift (half a wavelength).
  • Reflection off a lower-index surface (high n → low n): no phase shift.

This comes directly from the Fresnel equations. When n2>n1, the amplitude reflection coefficient r is negative at normal incidence, a sign flip, which means a π phase shift.

Why does it matter? Because the total phase difference between the two reflected beams is the path-based phase (from OPD) plus any reflection phase shifts. The interference condition depends on how many surfaces produce a shift.


Counting the Phase Shifts

Every thin-film interference problem comes down to one question: does the system have one net phase shift, or zero (two shifts that cancel)?

ConfigurationNet shiftsConstructiveDestructive
Soap bubble (air/water/air)12nd=(m+12)λ2nd=mλ
Oil on water (air/oil/water)12nd=(m+12)λ2nd=mλ
AR coating (air/MgF₂/BK7)02nd=mλ2nd=(m+12)λ

One net shift (soap bubble, oil on water): the reflection phase shift flips the usual conditions. Constructive interference requires the path difference to be a half-integer number of wavelengths.

Zero net shifts (coating on glass): the two phase shifts cancel, so the conditions are "normal": constructive at whole-number wavelengths, destructive at half-integer.

Count the shifts, pick the right column. Everything else is plugging in numbers.

Thin-Film Color Simulator

Reflected color
300 nm
0 nm1500 nm

A Worked Example: The Colors of a Soap Bubble

Set the slider in the widget above to 300 nm with a water film in air. You'll see a green color and a reflectance peak near 530 nm. Here's why.

Given: A soap film (water, n = 1.33), thickness d = 300 nm, white light at normal incidence.

Step 1: This is a one-shift system (air/water/air). Constructive interference happens when:

2nd=(m+12)λλ=2ndm+12

Step 2: Plug in the numbers:

  • m = 0: λ=2×1.33×300/0.5=1596 nm (infrared, not visible)
  • m = 1: λ=2×1.33×300/1.5=532 nm (green!)
  • m = 2: λ=2×1.33×300/2.5=319 nm (ultraviolet, not visible)

Only the m = 1 peak falls in the visible range. This film appears green because 532 nm light is strongly reflected while neighboring wavelengths are partially suppressed.

Now try 100 nm: the first constructive peak lands at 532 nm (m = 0), giving a similar green but with a different spectral shape. At 500 nm thickness, two peaks crowd into the visible range, mixing to create a magenta/pink hue. The thicker the film, the more peaks enter the visible spectrum, and the colors become increasingly pastel and washed out.


Why Soap Bubbles Go Black Before They Pop

The top of a soap bubble goes black because the film becomes so thin that the optical path difference approaches zero, and the reflection phase shift causes destructive interference for all visible wavelengths.

On a real soap bubble, the thickness isn't uniform. Gravity pulls the water down, making the film thinner at the top and thicker at the bottom. Each band of color corresponds to a different thickness. As the film drains and thins, the color bands drift upward. At the very top, where the film is just a few nanometers thick, the two reflected beams are almost perfectly out of phase. The result: no reflected light at any visible wavelength.

This "black film" is dramatic proof that destructive interference really works. The film is still there (you can see its outline against the background), but it reflects nothing.


The Quarter-Wave Condition

Now let's connect this to optical coatings.

For a coating on glass (zero net shifts, like MgF₂ on BK7), destructive interference in reflection happens when:

2nd=(m+12)λ

The simplest solution (m = 0) gives:

2nd=λ2nd=λ4

This is the quarter-wave optical thickness (QWOT) condition. A film whose optical thickness nd equals exactly one quarter of the target wavelength will minimize reflection at that wavelength.

For MgF₂ (n = 1.38 at 550 nm) on BK7 glass:

d=5504×1.38=99.7 nm

A film only 100 nm thick, about 200 atoms, reduces the reflectance of glass from 4.2% to 1.2% at 550 nm. That's the single-layer anti-reflection coating from our earlier tutorial.

The quarter-wave condition is the single most important result in thin-film design. It's the starting point for anti-reflection coatings, high-reflector mirrors (alternating quarter-wave layers of high and low index), bandpass filters (quarter-wave stacks with a half-wave spacer), and edge filters. Every one of these begins with nd=λ/4.

Quarter-Wave Coating Visualizer

550 nm
400 nm1500 nm
QWOT thickness: 99.6 nmBare substrate: 4.3%

Beyond the Single Layer

A single quarter-wave layer works best at one wavelength. Multilayer coatings, stacks of thin films with carefully chosen thicknesses, can control reflectance across a broad spectrum. Our AR coatings tutorial covers the design principles, and the thin-film simulator lets you build and optimize multilayer coatings interactively.

Single Layer vs. Multilayer AR

Loading...

Key Takeaways

  1. Thin-film interference happens when light reflected from the top and bottom of a thin film overlaps and interferes.
  2. The optical path difference 2nd determines which wavelengths interfere constructively or destructively.
  3. Phase shift on reflection: reflecting off a higher-index surface adds π (half a wavelength). Count the phase shifts to determine the interference condition.
  4. One phase shift (soap bubble, oil on water): constructive at 2nd=(m+12)λ.
  5. Zero net phase shifts (coating on glass): constructive at 2nd=mλ.
  6. The quarter-wave condition (nd=λ/4) is the foundation of anti-reflection coatings, mirrors, filters, and all of thin-film design.

Ready to go beyond one layer? Design a real multilayer coating in the Photizon thin-film simulator. It's free, runs in your browser, and no signup required.


References

  1. E. Hecht, Optics, 5th ed. (Pearson, 2017), Ch. 9: "Interference." The standard treatment of thin-film interference with clear diagrams.
  2. F.L. Pedrotti, L.M. Pedrotti, and L.S. Pedrotti, Introduction to Optics, 3rd ed. (Cambridge University Press, 2017), Ch. 7. Excellent worked examples of soap films and coatings.
  3. H.A. Macleod, Thin-Film Optical Filters, 5th ed. (CRC Press, 2017), Ch. 2–3. The definitive reference on quarter-wave stacks and coating design.
  4. M. Born and E. Wolf, Principles of Optics, 7th ed. (Cambridge University Press, 1999), Ch. 7. Rigorous treatment of interference in stratified media.

Keep Reading

Ready to design your own coatings?

Go from understanding interference to controlling it with the Photizon thin-film simulator. It's free, runs in your browser, and requires no signup.

Launch Simulator