Thin-Film Optical Coating Calculator
Choose a quarter-wave antireflection layer, see how much light it still reflects across the spectrum, and find thin-film interference colours.
🪞 What is a Thin-Film Optical Coating?
A thin-film optical coating is a transparent layer, often only a few hundred nanometres thick, deposited on a lens, mirror, window or solar cell to control how much light it reflects. The simplest design is a single quarter-wave antireflection layer. When light meets the coated surface, part of it reflects from the front of the film and part from the boundary between the film and the substrate. If the film is a quarter of a wavelength thick, the second reflection travels half a wavelength further, so the two reflected waves are out of step and cancel. The light that is not reflected passes through, which brightens the image and reduces stray light.
Coatings are used almost everywhere there is glass and light. Camera lenses and spectacle lenses carry antireflection layers to cut ghosts and glare. Solar cells use a coating to let more sunlight in. Laser optics, telescope mirrors and microscope objectives use designs from a single layer up to dozens of layers. The same interference explains the colours of soap bubbles, oil films on water and some insect wings, where the film is not designed but accidental. In every case the key quantities are the refractive indices of the ambient medium (n0), the film (n1) and the substrate (ns), the film thickness and the wavelength of light.
Two design rules follow. First, the thickness: d = λ / (4 n1), where λ is the wavelength in vacuum. Second, the refractive index: the cancellation is complete only when n1 equals the square root of n0 times ns, the geometric mean of the surrounding indices. For air and common glass this ideal is about 1.23, a lower value than most durable materials provide, so single layers usually reduce reflection to about a quarter rather than to zero. A single layer also works well only near its design wavelength, which is why broadband designs use more layers. These calculations assume normal incidence and lossless layers. For a related single-interface effect see the Brewster angle calculator, and for index values see the index of refraction calculator.
This calculator offers three modes. Design gives the quarter-wave thickness, the ideal index and the coated and uncoated reflectance at the design wavelength with a reflectance chart. Reflectance lets you test any thickness at any wavelength. Interference finds the visible wavelengths where a film of given thickness reflects strongly or weakly, using the correct phase flip rule for the three indices you enter.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — MgF2 on Glass at 550 nm
n0 = 1.0, n1 = 1.38 (magnesium fluoride), ns = 1.52 (glass, illustrative), λ0 = 550 nm
Example 2 — High-Index Substrate (Illustrative)
n0 = 1.0, n1 = 1.9, ns = 3.5 (illustrative values), λ0 = 600 nm
Example 3 — The Same Coating Away from Its Design Wavelength
n0 = 1.0, n1 = 1.38, ns = 1.52, d = 100 nm, tested at 450 nm
Example 4 — A Half-Wave Layer Disappears
n0 = 1.0, n1 = 1.38, ns = 1.52, d = 199.28 nm, tested at 550 nm
Example 5 — Soap Film in Air
n0 = 1.0, n1 = 1.33 (water based film), ns = 1.0 (air behind), d = 300 nm
Example 6 — Oil Film on Water (Illustrative Index)
n0 = 1.0, n1 = 1.47 (oil, illustrative), ns = 1.33 (water), d = 500 nm
❓ Frequently Asked Questions
🔗 Related Calculators
What is a quarter-wave antireflection coating?
It is a transparent layer whose optical thickness is one quarter of the design wavelength. Light reflected from its back surface travels half a wavelength further than light reflected from the front, so the two reflections cancel.
How do you calculate the thickness of a quarter-wave coating?
Divide the design wavelength by four times the coating index: d = wavelength / (4 n). For magnesium fluoride (n about 1.38) at 550 nm that is 550 / 5.52 = 99.6 nm.
What is the ideal refractive index of an antireflection coating?
The ideal index is the geometric mean of the two surrounding indices, n = sqrt(n0 x ns). Air (1.0) on glass of 1.52 gives 1.233. With that index, a quarter-wave layer cancels the reflection exactly at the design wavelength.
How much light does an uncoated glass surface reflect?
At normal incidence the Fresnel reflectance is R = ((n0 - ns) / (n0 + ns))^2. For air to glass with index 1.52 that is 4.26 percent per surface.
How much does a quarter-wave MgF2 coating reduce reflection?
On glass of index 1.52 a quarter-wave layer of index 1.38 reflects about 1.26 percent at the design wavelength, down from 4.26 percent. That is a reduction of about 70 percent.
Why does a coating work only near one wavelength?
The cancellation needs a path difference of exactly half a wavelength. The path difference is fixed by the thickness, so at other wavelengths the waves only partly cancel, and the reflectance rises on both sides of the design wavelength.
What is a half-wave layer?
A half-wave layer has an optical thickness of half the wavelength. The round trip adds a full wavelength, so the two reflections are in phase relation to the bare surface, and the layer has no effect on reflectance at that wavelength.
Why do soap bubbles show colours?
Light reflects from the front and back of the soap film. The two reflections interfere, and the result depends on thickness and wavelength. At a given thickness some colours are reinforced and others cancelled, producing bands of colour.
What is the interference condition for a thin film?
The path difference is 2 n d. If the net phase flip is zero (both or neither surface inverts the wave), maxima occur when 2 n d = m wavelengths. If exactly one surface inverts, maxima occur when 2 n d = (m + 1/2) wavelengths.
Does this calculator handle oblique incidence or absorbing films?
No. It models a single lossless layer at normal incidence with constant refractive indices. Multilayer designs, absorbing films, dispersion and non-normal angles need full thin-film software.
How does this relate to Brewster's angle?
Brewster's angle is the angle at which p-polarised light is not reflected from a single interface. The coating here works at normal incidence for any polarisation and relies on interference rather than a special angle.