Thin Film Optics Calculator
Calculate optical path difference for thin film interference and check constructive interference conditions.
Thin Film Interference
A thin transparent coating on glass or a lens reflects light from its top and bottom surfaces. Those reflections interfere because they travel different optical path lengths. Anti-reflective coatings, soap bubbles, and oil slicks all show color patterns from this effect.
Optical Path Difference
For a film of refractive index \(n\), thickness \(d\), and internal angle \(\theta\):
$$OPD = 2nd\cos\theta$$Constructive interference (bright reflection for certain phase conditions) occurs when \(OPD = m\lambda\) for integer order \(m\). A quarter-wave coating at normal incidence uses \(d \approx \lambda/(4n)\) to cancel reflections near a design wavelength.
Designing Coatings
Camera lenses and solar panels use single or multi-layer stacks tuned to target wavelengths. Changing angle shifts the effective path and can turn a coating from low reflectance to high reflectance at the same wavelength.
Related tools: Wavelength Calculator and Index of Refraction Calculator.
Frequently Asked Questions
What angle should I enter?
Use the angle of the ray inside the film, not the external incidence angle. Normal incidence means θ = 0° and cos θ = 1.
Why multiply by 2?
The reflected ray traverses the film twice: down to the lower interface and back to the top surface.
What is interference order m?
It counts how many wavelengths fit into the optical path difference. m = 0, 1, 2, ... labels successive constructive conditions.
Does phase shift at reflection matter?
Real coatings include π phase shifts at certain interfaces. This calculator reports geometric OPD; adjust interpretation for your boundary conditions.
What thickness gives minimum reflection?
At normal incidence, a common first-order anti-reflection target is d = λ/(4n) when a π shift occurs at one reflection.