How Thin-Film Interference Works
When light strikes a thin, transparent film — an oil slick on water, a soap bubble, or an engineered anti-reflective coating on a lens — part of the light reflects off the top surface and part continues into the film and reflects off the bottom surface. Those two reflected beams recombine and interfere. Whether they reinforce (constructive interference, a bright reflection) or cancel (destructive interference, a dim or anti-reflective surface) depends on two things: the extra distance the second beam travels inside the film, and any phase shift the beams pick up on reflection.
How the calculation works
The beam that enters the film and reflects off the bottom travels an extra optical path of 2·n₂·t·cos(θ₂), where n₂ is the film's refractive index, t is its physical thickness, and θ₂ is the angle of refraction inside the film (found from Snell's law, n₁sin(θ₁) = n₂sin(θ₂); at normal incidence θ₂ = 0° and cos(θ₂) = 1). Separately, a beam reflecting off a medium with a higher refractive index than the one it is traveling through picks up a 180° (π radian, or λ/2) phase shift; reflecting off a lower index causes no shift. Comparing the shift at the n₁/n₂ interface to the shift at the n₂/n₃ interface tells you whether the two reflections start in phase or already a half-wavelength apart, which flips which path lengths count as constructive versus destructive.
Common mistakes
- Ignoring the phase shift term: using only 2n₂t = mλ for "bright" reflection is only correct when both interfaces (or neither) produce a phase shift. If exactly one interface does, constructive and destructive conditions swap.
- Confusing vacuum wavelength with in-film wavelength: the wavelength that shortens inside the film is λ/n₂, but the standard interference formulas are written in terms of the vacuum (or air) wavelength λ, which is what you should enter here.
- Forgetting the substrate index: a film's anti-reflective or high-reflective behavior depends on all three indices (n₁, n₂, n₃), not just the coating material — the same MgF₂ layer behaves differently on glass than on a metal mirror.
Real-world applications
- Camera lenses and eyeglasses use quarter-wave MgF₂ or similar coatings (t ≈ λ/(4n₂)) to reduce glare and increase light transmission.
- Soap films and oil slicks display rainbow bands because the constructive-interference thickness differs by wavelength, so each color reflects strongest at a different film thickness.
- Dielectric mirrors and bandpass filters stack many thin layers, each tuned so reflected beams from every interface add constructively at the target wavelength.
- Semiconductor fabrication uses thin-film interference colors on silicon wafers as a quick visual check of oxide layer thickness.
Frequently Asked Questions
Why do thin films like soap bubbles and oil slicks show rainbow colors?
White light contains many wavelengths, and the film thickness that produces constructive interference (a bright reflection) is different for each wavelength. At any given spot, some colors reflect strongly and others cancel out, so the film reflects a shifting mix of colors that changes with thickness and viewing angle.
Why does an anti-reflective coating use a quarter-wavelength thickness?
For a coating with n1 < n2 < n3 (e.g., air-MgF2-glass), both reflected beams pick up the same reflection phase shift, so they cancel out. What is left is the path difference inside the film: setting t = λ/(4n2) makes the round-trip path exactly half a wavelength, so the two reflected beams arrive out of phase and destructively interfere, minimizing reflected light.
What is the phase shift on reflection, and when does it happen?
When light reflects off a medium with a higher refractive index than the one it is traveling through, it undergoes a 180° (π radian, or λ/2) phase shift. Reflecting off a lower-index medium causes no phase shift. Whether the two reflections in a thin film pick up the same shift or different shifts determines whether the film is naturally anti-reflective or naturally reflective at zero thickness.
How is the angle of refraction inside the film found?
Snell's law relates the incidence angle in the first medium to the refraction angle inside the film: n1 sin(θ1) = n2 sin(θ2). This calculator solves for θ2 and uses it in the optical path difference formula 2·n2·t·cos(θ2), which reduces to 2·n2·t at normal incidence (θ1 = 0°).
Common Tip Percentages
| Service | Typical Tip Range | Notes |
| Restaurant (sit-down) | 15–20% | 20%+ for exceptional service |
| Food delivery | 10–20% | Consider extra for long distances |
| Taxi / rideshare | 10–20% | More for assistance with luggage |
| Hotel housekeeping | $2–5/night | Leave daily, not just at checkout |
| Barber / hair salon | 15–20% | On pre-discount total |
| Pizza delivery | 10–15% or $3–5 minimum | Higher in bad weather |
General Household Budget Ratios (50/30/20 Rule)
| Category | % of Net Income | Examples |
| Needs | 50% | Rent, groceries, utilities, insurance |
| Wants | 30% | Dining out, entertainment, hobbies |
| Savings / Debt | 20% | Emergency fund, retirement, extra payments |
Common Measurement Conversions for Everyday Use
| Quantity | US / Imperial | Metric Equivalent |
| 1 cup | 8 fl oz | 237 mL |
| 1 pint | 16 fl oz | 473 mL |
| 1 quart | 32 fl oz | 946 mL |
| 1 gallon | 128 fl oz | 3.785 L |
| 1 lb | 16 oz | 453.6 g |
| 1 ft | 12 in | 30.48 cm |