Thin Film Interference Calculator

Light reflected from the top and bottom of a thin film interferes, giving the colours of soap bubbles and oil slicks and the purple tint of anti-reflection coatings. This calculator finds the thickness needed to cancel or reinforce a chosen wavelength, or lists the visible colours a film of known thickness reflects.

Inputs

Results

Result
Minimum thickness 99.64 nm
Minimum film thickness
99.64
Half-wave phase changes on reflection
2
Optical path difference 2n_f·t·cosθ_t
275

    RefPHY-OPT-006
    Method2·n_f·t·cosθ_t = (m + ½)λ or mλ, depending on phase changes
    UnitsSI
    Date2026-11-24

    Working

    Calculated in SI base units; inputs are converted from the units you choose.

    1. Phase changes on reflectionπ shift wherever light reflects off a higher indextop: yes, bottom: yes → 2 shifts
    2. Conditions for reflectionbright: 2n_f t cosθ_t = mλ, dark: = (m + ½)λcosθ_t = 1
    3. Thinnest filmt = (m + ½)λ/(2n_f cosθ_t), m = 0t = 99.64 nm

    Film thicknesses that work

    mThickness (nm)
    099.638
    1298.91
    2498.19
    3697.46
    4896.74

    Count the phase changes first

    Light reflecting off a medium of higher refractive index gains a half-wavelength phase shift. A soap film in air has one such reflection, so its thinnest bright film is a quarter wavelength thick (in the film). A magnesium fluoride coating on glass has two, so a quarter-wave layer (λ/4n ≈ 100 nm for green light) cancels the reflection instead. The path difference inside the film is 2n_f·t·cosθ_t.

    Assumptions and limits

    • Uniform, parallel-sided film with non-absorbing layers.
    • Only the first two reflected beams are considered (low reflectance), so the dark condition gives a minimum but not always zero.
    • Wavelengths are vacuum values; the film’s index is taken as constant across the visible range.

    References

    • Hecht, E., Optics, 5th ed., Pearson, 2017, chapter on interference (dielectric films).
    • Halliday, D., Resnick, R. and Walker, J., Fundamentals of Physics, 12th ed., Wiley, 2021, section on interference from thin films.

    Questions

    How thick should a magnesium fluoride anti-reflection coating be?
    For 550 nm light it should be 99.64 nm thick (a quarter wavelength in the coating), or odd multiples of that.
    What colour is a 500 nm soap film?
    At normal incidence it reflects 532 nm green strongly and cancels 665 nm red and 443 nm violet-blue.

    This calculator is a design aid. Check results against the governing code or standard and have critical work verified by a qualified engineer. Read the disclaimer.