🔬
🔬 Science & engineering

Thin-Film Optical Coating Calculator (quarter-wave anti-reflection layer)

Results update as you type.

Your numbers

Understanding the anti-reflection coating calculator — concept and principle

A single thin layer on glass can cut reflections sharply, as on coated lenses and eyeglasses. This calculator finds the quarter-wave thickness of such a layer for a chosen wavelength and coating index, and compares the reflectance of the bare and coated surface. It also shows the ideal coating index for your glass.

Anti-reflection coatingA quarter-wave coating cancels glarecoating n 1.38 · 99.64 nmglass n 1.52two reflections, half a wave apartbare 4.252 %coated 1.257 %Reflection cut by 70.4 % at 550 nm
Light reflected from the top and bottom of the layer cancels, cutting glare from 4.25 % to 1.26 %.

How it is calculated

t = m × λ ÷ (4 nc), with m = 1, 3, 5 …

Optical thickness = nc × t; wavelength inside the coating = λ ÷ nc

Bare reflectance R₀ = [(n₀ − ns) ÷ (n₀ + ns)]²

Coated reflectance R = [(n₀ns − nc²) ÷ (n₀ns + nc²)]²

Ideal index = √(n₀ ns)

The principle

A coated surface gives two reflections: one at the top of the layer and one at the bottom. When the outside index is lower than the coating and the coating lower than the substrate, both reflections get the same phase flip, so only their path difference matters. A layer a quarter wavelength thick (measured inside the coating) makes the second reflection travel half a wavelength further, so the two waves cancel. They cancel completely only if both reflections are equally strong, which happens when nc = √(n₀ns).

Worked example

Default inputs: λ = 550 nm, nc = 1.38, ns = 1.52, n₀ = 1.000293 (air), order 1.

  1. t = 550 ÷ (4 × 1.38) = 99.64 nm; optical thickness = 1.38 × 99.64 = 137.5 nm (λ/4).
  2. Wavelength inside the coating = 550 ÷ 1.38 = 398.55 nm.
  3. R₀ = [(1.000293 − 1.52) ÷ 2.520293]² = 0.2062² = 4.252 %.
  4. n₀ns = 1.5204 and nc² = 1.9044, so R = [(1.5204 − 1.9044) ÷ 3.4248]² = 1.257 %.
  5. Ideal index = √(1.000293 × 1.52) = 1.2331; reflection reduced by (1 − 1.257 ÷ 4.252) × 100 = 70.4 %.
How Physical coating thickness (nm) changes with Refractive index of the coatingHow Physical coating thickness changes w…01002003004000.3450.691.031.381.732.072.76Example: 99.64Refractive index of the coating
Each point is the calculator re-run with only “Refractive index of the coating” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Refractive index of the coatingPhysical coating thickness (nm)
0.345398.55
0.69199.28
1.03132.85
1.3899.64
1.7379.71
2.0766.43
2.7649.82

How to read the result

Uncoated glass reflects about 4 % per surface, so multi-element lenses lose light and contrast. A single magnesium-fluoride-type layer (n about 1.38) cuts this to roughly 1 % at the design wavelength. Few durable materials have an index as low as the ideal 1.23, which is why high-end coatings use several layers. Away from the design wavelength the cancellation is incomplete, so a coated lens reflects a faint purple or green tint.

Common mistakes

Keep in mind: The calculation assumes normal incidence, a non-absorbing film and a single layer. Real coating design uses multilayer models and measured material data.

Frequently asked questions

Why is 550 nm a common design wavelength?

It is in the green, near the peak of human eye sensitivity, so it gives the best visual improvement.

Why are higher orders like 3 sometimes used?

A thicker layer is easier to manufacture or more durable, though it works over a narrower band of wavelengths.

Why do coated lenses look purple?

Green light near the design wavelength is cancelled best, so the remaining reflection is mostly red and blue.

Sources: C. S. Adams & I. G. Hughes, Optics f2f (Oxford University Press), "Chapter 3: Worksheet on thin films", Durham University, 2019 · OpenStax, University Physics Volume 3, Table 1.1 (refractive indices)

Checked 9 Nov 2026. C. S. Adams & I. G. Hughes, Optics f2f (Oxford University Press), “Chapter 3: Worksheet on thin films” (Durham University, 2019): quarter-wave layer n₁ℓ = λ/4, Er/E₀ = (n₀n₂ − n₁²)/(n₀n₂ + n₁²), zero when n₁² = n₀n₂; Fresnel coefficient r = (nj − nk)/(nj + nk). Glass index: OpenStax University Physics Vol. 3, Table 1.1.

🔬 All science & engineering tools →🌍 Calculators by country →