Thin-Film Optical Coating Calculator
Enter the refractive indices of the medium, film, and substrate along with the film thickness, light wavelength, and angle of incidence. The calculator returns the optical path difference, s-polarized and p-polarized reflectance, transmittance for both polarizations, the net (average) reflectance, the interference condition (constructive, destructive, or intermediate), and the minimum film thickness needed for a perfect anti-reflective coating at that wavelength. All math follows the exact two-interface Fresnel equations.
How thin-film optical coatings work
A thin-film optical coating is a layer of transparent material deposited on a surface with a thickness on the order of the wavelength of light, typically 50-500 nm for visible applications. When light strikes the coated surface, it partially reflects at the air-film interface and again at the film-substrate interface. These two reflected beams travel different path lengths and recombine with a phase difference that depends on the film thickness, the refractive index of the film, and the angle of incidence. When the two beams are exactly half a wavelength out of phase (destructive interference), they cancel each other and the surface reflects essentially no light, which is how anti-reflective (AR) coatings work. When they are in phase (constructive interference), their amplitudes add and reflectance is maximised, which is the principle behind highly reflective dielectric mirror stacks.
The Fresnel equations and polarization
The Fresnel equations give the fraction of light reflected and transmitted at each interface as a function of the refractive indices on either side and the angle of incidence. Light polarized perpendicular to the plane of incidence (s-polarization) and light polarized parallel to it (p-polarization) behave differently. At normal incidence (0 degrees) the two are identical. At increasing angles they diverge, and at Brewster's angle p-polarized light is not reflected at all. This calculator computes both polarization components and reports their average as a proxy for unpolarized light. For precise polarimetry the s and p values should be tracked separately.
Optical path difference and the quarter-wave condition
The optical path difference (OPD) is the extra distance, measured in wavelengths of light inside the medium, that the internally reflected beam travels compared with the surface-reflected beam: OPD = 2 times n2 times d times cos(theta2). For destructive interference (best anti-reflection), this OPD must equal half a wavelength, which gives the minimum coating thickness d-min = lambda / (4 times n2). This is why single-layer AR coatings are called quarter-wave coatings. At the same time, to eliminate all reflectance at normal incidence the film index must equal the geometric mean of the medium and substrate indices: n2 = sqrt(n1 times n3). MgF2 on crown glass (n2 = 1.38 vs sqrt(1.0 times 1.52) = 1.23) is a practical compromise because no common transparent material has exactly the ideal index.
Practical design considerations
Real coating design involves trade-offs. A single quarter-wave layer reduces reflectance over a limited wavelength band centred on the design wavelength. Broadband AR coatings use two or more layers with different indices to extend the low-reflectance band. High-reflectance dielectric mirrors stack many pairs of quarter-wave high-index and low-index layers; each pair adds coherently and peak reflectance above 99.9% is achievable across a narrow band. The angle of incidence matters: as the incidence angle increases, the effective optical path length changes and the coating performance shifts to shorter wavelengths. For systems used at oblique angles, the coating design wavelength is often blue-shifted relative to the target wavelength at normal incidence.
Common thin-film coating materials and refractive indices
| Material | Symbol | n at 550 nm | Common use |
|---|---|---|---|
| Air / vacuum | 1.000 | Incident medium | |
| Magnesium fluoride | MgF₂ | 1.38 | Single-layer AR coating |
| Silicon dioxide | SiO₂ | 1.46 | Low-index layer in multilayer AR |
| Aluminium oxide | Al₂O₃ | 1.63 | Hard AR and protective coatings |
| Zirconium dioxide | ZrO₂ | 2.10 | High-index layer in HR stacks |
| Titanium dioxide | TiO₂ | 2.32 | High-index layer; UV-VIS HR mirrors |
| Crown glass | BK7 | 1.52 | Typical substrate |
| Fused silica | SiO₂ (fused) | 1.46 | UV and precision substrate |
| Sapphire | Al₂O₃ | 1.77 | High-durability substrate |
| Silicon | Si | 3.48 | IR substrate (>1000 nm) |
Typical refractive indices at 550 nm (visible) for materials used in optical coatings.
Frequently asked questions
What is an optical path difference (OPD)?
The optical path difference is the extra distance the internally reflected beam travels through the film compared with the beam that reflects off the top surface, measured in physical length but weighted by the refractive index of the medium: OPD = 2 times n2 times d times cos(theta2). When the OPD equals half the wavelength of light, the two beams cancel each other (destructive interference) and the surface appears to not reflect. When the OPD equals a full wavelength they reinforce (constructive interference) and reflectance is high.
Why does a soap bubble show rainbow colors?
Soap films are thin transparent layers with water surrounded by air on both sides. At different spots on the bubble the film is thicker or thinner. At each thickness the destructive and constructive interference conditions are satisfied for different wavelengths of visible light. The wavelength that destructively interferes disappears from the reflected light; the others remain, creating bands of color that shift as the film drains and its thickness changes.
What is the minimum thickness for an anti-reflective coating?
For a single-layer coating at normal incidence, the minimum thickness is lambda divided by (4 times n2), where lambda is the design wavelength and n2 is the refractive index of the film. This places the internally reflected beam exactly half a wavelength behind the surface-reflected beam, causing destructive interference. For a 550 nm design wavelength and MgF2 (n2 = 1.38) this gives about 99.6 nm. Thicker coatings at 3lambda/(4n2), 5lambda/(4n2), and so on also satisfy the condition, but the thinnest layer is usually preferred to minimize material and deposition time.
What refractive index should the film have for perfect anti-reflection?
At normal incidence, a single-layer coating completely eliminates reflectance when its refractive index equals the geometric mean of the medium and substrate indices: n2 = sqrt(n1 times n3). For a glass lens (n3 = 1.52) in air (n1 = 1.0) the ideal film index is sqrt(1.52) = 1.23. No common solid transparent material has this index; MgF2 at 1.38 is the closest practical choice, reducing reflectance from about 4% to about 1% per surface.
What is the difference between s-polarization and p-polarization?
S-polarization (senkrecht, German for perpendicular) refers to light whose electric field oscillates perpendicular to the plane of incidence. P-polarization (parallel) has its electric field in the plane of incidence. At normal incidence (0 degrees) both are identical and this calculator gives the same reflectance for both. At oblique angles they diverge: p-polarized light has zero reflectance at Brewster's angle (the angle at which tan(theta-B) = n2/n1). For unpolarized light the average of the two is a good approximation to the total reflectance.