Skip to content
Omnikalc

Thin-film interference calculator: coating thickness for minimum reflection

Enter the wavelength, the coating index, the substrate index and the order to get the thickness for minimum and maximum reflection and the ideal coating index.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Results

Coating thickness for minimum reflection

99.6 nm

Film index below the substrate: formulas apply
Coating thickness for maximum reflection
199.3 nm
Wavelength inside the coating
398.6 nm
Ideal coating index (√ substrate)
1.233

The colors on a soap bubble and the dark purple shine of a camera lens both come from thin-film interference. This thin-film interference calculator takes the wavelength, the index of the coating, the index of the substrate and the order to give the coating thickness for minimum reflection, the thickness for maximum reflection, the wavelength in the coating and the ideal coating index.

How the calculation works

  • Minimum reflection (destructive interference) occurs when 2 · n · t = (m + ½) · λ, where n is the index of the coating, t its thickness, m the order and λ the wavelength in air.
  • Maximum reflection (constructive interference) occurs when 2 · n · t = (m + 1) · λ, in the case where both reflections change phase, that is when the coating index is between air and the substrate.
  • The quarter-wave coating is the first order: t = λ ÷ (4n). The wave reflected at the top and the one reflected at the substrate are then half a wavelength out of phase.
  • The ideal index for a single layer is the square root of the substrate index, which makes the two reflections equal in strength and cancel completely.

Example

A lens of index 1.52 is coated with magnesium fluoride (index 1.38) to cut the reflection of green light at 550 nm. In first order, the thickness is 0.5 × 550 ÷ (2 × 1.38) = 99.6 nm, a quarter of the wavelength in the coating (398.6 nm). The coating would reflect the most at 199.3 nm. The ideal index would be √1.52 = 1.233.

Why it matters

Physics students, optics engineers and hobbyists use the formula to design anti-reflective coatings for lenses, glasses and solar cells, and to understand the colors of films. A few lines of arithmetic show why coatings are only tens or hundreds of nanometers thick.

Good to know

The calculator assumes light at normal incidence, a single uniform layer and no absorption. At an angle, the path in the film is longer and the minimum moves to shorter wavelengths. The index of a material also changes with the wavelength, and real coatings are made of several layers. The formulas for maximum and minimum reflection hold for a coating whose index is between those of air and of the substrate, and they swap for a film in air or on a lower-index substrate.

The Fresnel reflectance calculator gives the reflection at one surface, the wavelength calculator links frequency and wavelength and the refraction calculator applies Snell’s law.

Frequently asked questions

Why does a thin film change the reflection?

Light reflects from the top and from the bottom of a thin layer, and the two waves meet. If they are in step, they add and the surface looks brighter, and if they are out of step by half a wavelength, they cancel and the reflection drops. The thickness and the index decide which case happens for each color.

What is a quarter-wave coating?

It is a coating whose optical thickness, the index times the thickness, is a quarter of the wavelength. The wave that goes through the layer and back travels half a wavelength more, which cancels the wave reflected at the top, when the phase changes at the two interfaces are the same.

Why do soap bubbles and oil films show colors?

The thickness of the film varies and each thickness cancels some colors and reinforces others. For a soap film in air, one of the two reflections changes phase and the other does not, so the conditions swap compared with a coating on glass. This calculator is for a coating with an index between air and the substrate.

Why is a single layer not perfect?

A single layer cancels the reflection exactly at one wavelength and only partly at others, and the best material (index 1.23 for glass) does not exist as a durable solid. Real lenses use several layers of different materials to cover the visible range.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.