The thin film coating calculator above answers the question every optical coating starts from: how thick does one dielectric layer have to be so that the light reflected from its top surface and the light reflected from its bottom surface arrive back out of step, and cancel? The answer is a quarter of a wavelength measured inside the film, which is why the physical thickness is always the design wavelength divided by four times the film index — not by four.
Arb Digital builds free physics tools that own one job properly. This one owns the single-layer interference condition and the reflectance it produces, alongside the index of refraction calculator and the Snell's law calculator, which give you the refraction inputs, and the thin lens equation calculator and lens maker equation calculator, which handle the shape of the glass underneath rather than what is deposited on it.
What This Thin Film Coating Calculator Does
Enter a design wavelength, three refractive indices — the medium the light arrives through, the film, and the substrate — and an order number, and the tool returns the physical thickness the film needs in nanometres. It also reports the optical thickness (index times physical thickness), which is the quantity coating engineers actually specify, because it is the one that determines the interference condition regardless of what material provides it.
Alongside that it computes the reflectance at the design wavelength for the quarter-wave case, the reflectance the bare substrate would have had, and the ideal film index that would cancel the reflection completely. That last figure is the honest measure of how good a single-layer coating can be: unless the film index is exactly the geometric mean of the two surrounding indices, some reflection always survives.
An angle-of-incidence box is included because coatings are frequently used off-axis. Increasing the angle refracts the ray more steeply inside the film, shortening its path, so a thicker film is needed to hold the same design wavelength — or, at fixed thickness, the wavelength the coating is tuned to shifts towards the blue.
How to Use It
- Pick the condition. Anti-reflective means you want the two reflections to cancel; reflection-enhancing means you want them to add. The tool checks the phase shifts at both boundaries and tells you which thickness rule that combination actually requires.
- Enter the design wavelength in vacuum. Nanometres. Green around 550 nm is the usual visible choice because the eye is most sensitive there and the coating degrades gracefully either side.
- Enter the three indices at that wavelength. Index is dispersive, so a value quoted at one wavelength is not valid at another. Take all three from the same data source.
- Set the order. Zero gives the thinnest film. Higher orders satisfy the same condition but over a much narrower band of wavelengths and angles.
- Add an angle if the coating is used off-axis. Leave it at zero for normal incidence, which is the case the reflectance formulae here are written for.
The Formula: How the Thickness Is Calculated
Light reflecting at a boundary into a higher index picks up a half-wave phase shift; reflecting into a lower index picks up none. That single rule decides everything. In the standard anti-reflective case — air, then a film, then glass, with each index higher than the last — both reflections shift by half a wave, so the shifts cancel and only the extra path through the film matters. The two beams are then out of step when that extra path equals half a wavelength in the film, giving 2n1tcosθ1 = (m + ½)λ, or optical thickness n1t = (2m + 1)λ/4. OpenStax sets out the same phase-shift bookkeeping in Interference in Thin Films, and the HyperPhysics thin film interference pages work through the soap-film and anti-reflection cases side by side.
If the film index sits above both neighbours — a high-index layer on glass, or a soap film in air — only the top reflection shifts, the bookkeeping flips, and a quarter-wave film becomes reflection-enhancing rather than anti-reflective. That is why this tool derives the condition from your indices instead of hard-coding the textbook case: the same thickness does opposite things depending on what is either side of it.
For the quarter-wave film at normal incidence the reflectance follows in closed form from the characteristic-matrix result: R = [(n0n2 − n12)/(n0n2 + n12)]2. Setting that to zero gives n1 = √(n0n2), the geometric mean. The bare substrate for comparison reflects [(n0 − n2)/(n0 + n2)]2.
Worked example, matching the page defaults. A film of index 1.38 on a substrate of index 1.52 in air at 550 nm, order 0: physical thickness is 550/(4 × 1.38) = 99.64 nm, optical thickness 137.5 nm, which is exactly a quarter of 550. Reflectance is [(1.52 − 1.9044)/(1.52 + 1.9044)]² = (−0.11226)² = 1.26 per cent, against 4.26 per cent for the uncoated surface. The ideal index would be √1.52 = 1.2329, which no durable solid coating material reaches — hence the residual 1.26 per cent. Those figures were computed by hand before the code was written and agree with it to four figures.
Why One Layer Can Never Reach Zero on Glass
The geometric-mean condition is unforgiving. To cancel reflection from a substrate of index 1.52 in air you need a film of index 1.2329. The lowest-index durable dielectric in routine use sits near 1.38, and the gap between 1.38 and 1.23 is the entire reason single-layer coatings bottom out around one per cent rather than at zero. Materials with lower indices exist, but they tend to be porous, hygroscopic or mechanically fragile, and a coating that fails when you clean it is not a coating.
This is what drives multilayer design. Stacks of alternating high and low index quarter-wave layers can push reflectance far below what any single layer manages, and can hold it low across the whole visible band rather than at one wavelength. The arithmetic for those stacks is a matrix product, not a single formula, and it is outside what this page does. What this page gives you is the correct single-layer answer and an honest measure of how far short of ideal it falls, which is the right starting point before reaching for a stack.
The same logic explains the characteristic colour of coated optics. A single-layer coating tuned to green cancels green well and other wavelengths progressively worse, so what reflects off the lens is what the coating missed — the purple-magenta cast on camera lenses and spectacle lenses is the surviving red and blue.
Bandwidth: A Coating Tuned to One Wavelength Is Wrong Everywhere Else
The interference condition holds exactly at one wavelength. Move away from it and the round trip in the film is no longer half a wave out of step, so the cancellation degrades. At order 0 that degradation is gentle, which is why a coating designed for 550 nm still does useful work across most of the visible spectrum. At order 1 the same fractional wavelength change produces three times the phase error, and the useful band shrinks by roughly the same factor. Every additional order narrows it further.
That is the practical reason order 0 is chosen almost universally, and it is also why the order box on this page exists: seeing the thickness triple while the bandwidth collapses makes the trade explicit. Higher orders are chosen deliberately when narrowband behaviour is the goal — in a filter rather than in an anti-reflection coating — or when deposition control makes a very thin layer impractical.
Angle behaves the same way. A coating on-axis is tuned correctly; the same coating at 45 degrees sees a shorter optical path and behaves as though it were designed for a shorter wavelength. Wide-angle and wide-band performance pull in the same direction and are both bought with extra layers.
Optical Thickness Is the Specification, Not Physical Thickness
Coating runs are specified and monitored in optical thickness, usually as a fraction of a reference wavelength — "quarter-wave at 550" rather than "99.64 nanometres". There is a good reason for that. During deposition the layer is monitored optically, by watching the reflectance of a witness sample swing as the film grows, and what that measurement responds to is the product of index and thickness. It cannot separate the two, and it does not need to.
The consequence for anyone reading a coating specification is that the physical thickness this page reports is a derived number, valid only for the index you entered. A film deposited at a slightly different density has a slightly different index and therefore needs a different physical thickness to hit the same optical thickness. Deposition conditions — rate, substrate temperature, background pressure — move film index measurably, which is why a coating recipe is not transferable between machines without requalification.
Where the Same Interference Shows Up Without Anyone Designing It
Every effect this page computes occurs in nature and in accidents. A soap film thins under gravity until the top is far less than a quarter-wave thick, at which point the two reflections cancel by phase shift alone regardless of wavelength, and the film goes black just before it bursts. An oil slick on water shows bands because thickness varies across it. Anodised metal, oxide layers on hot steel and iridescent insect wings all work the same way.
In the laboratory it shows up as an artefact. An unwanted native oxide on a semiconductor, a residue left by cleaning, or a cover slip pressed too close to a surface all create interference fringes that a measurement will faithfully record as if they were signal. If you are measuring reflectance or transmittance and the result oscillates with wavelength, the period of that oscillation is telling you the optical thickness of a layer you did not intend to have — and this calculator, run backwards, tells you how thick it is.
Arb Digital writes and builds calculators, reference pages and documentation for optics, photonics and instrumentation companies — the kind that earn links because the physics is right.
Browse the free tools Talk to Arb DigitalCommon Mistakes to Avoid
- Dividing the vacuum wavelength by four. The quarter wave is measured inside the film, so the physical thickness is λ/(4n1). Forgetting the index overstates the thickness by nearly 40 per cent for a typical low-index film.
- Assuming a quarter-wave film is always anti-reflective. With the film index above both neighbours, the same thickness enhances reflection instead. The phase shifts at both boundaries decide it.
- Using one index across the whole spectrum. Refractive index is dispersive. A coating designed with a value quoted at 589 nm and used in the blue will land off its intended wavelength.
- Expecting zero reflectance from one layer. Only a film of index exactly √(n₀n₂) cancels completely, and for common substrates no durable material has that index.
- Ignoring the second surface. A coated window still reflects from its back face. The figures here describe one interface; a plate has two, and the totals add.
Related Free Tools From Arb Digital
For the refraction that feeds this page, use the Snell's law calculator and the index of refraction calculator. For the wavelength and photon side, the wavelength calculator and photon energy calculator. For attenuation rather than interference, the optical density calculator; for periodic structures, the diffraction grating calculator; and for the glass under the coating, the lens maker equation calculator. Browse the full free online tools hub for the rest.
Frequently Asked Questions
One quarter of the design wavelength measured inside the film, so the physical thickness is the vacuum wavelength divided by four times the film's refractive index. For a film of index 1.38 designed at 550 nanometres that is 99.6 nanometres.
Because the wavelength shortens inside the film by exactly that factor. The interference condition is set by the optical path, which is index times physical distance, so a higher-index film needs proportionally less material to produce the same phase delay.
The geometric mean of the two surrounding indices, the square root of the incident medium index times the substrate index. For air on glass of index 1.52 that is 1.233, which is lower than any durable coating material in routine use.
Yes. If the film index is higher than both the medium above it and the substrate below it, only one of the two reflections picks up a half-wave phase shift, the bookkeeping reverses, and the quarter-wave thickness produces constructive interference in reflection.
Because a single-layer coating cancels reflection best at its design wavelength, usually in the green. What you see reflected is the light the coating handled least well, which is the red and blue either side of the design point.
Yes. Off-axis, the ray travels a steeper path inside the film, so a thicker layer is needed to keep the same optical path at the design wavelength. Equivalently, a fixed coating used off-axis behaves as though it were tuned to a shorter wavelength.
Because bandwidth shrinks as order rises. Every order adds a full wave to the round trip, so the same fractional change in wavelength produces a proportionally larger phase error, and the range over which the coating works usefully narrows.
This tool is provided for education and optical design estimation only. It evaluates the single-layer interference condition and the normal-incidence quarter-wave reflectance from indices you supply, and it does not select coating materials, model multilayer stacks, absorption, scattering or polarisation, or verify that a coating can be manufactured. Refractive index and dispersion data must come from the supplier, and any production coating specification should be settled with a qualified optical coating engineer.