Thin-Film Optical Coating Calculator

Thin-Film Optical Coating Calculator

Estimate optical path difference, polarization-specific reflectivity, interference state, and the quarter-wave anti-reflection thickness for a three-medium film stack.

Film angle 21.243° Phase inversions 2 OPD / λ 0.5000

Ready to export the demonstration calculation.

Optical stack inputs

degrees

Angle from the surface normal; 0 to less than 90.

nm

Physical thickness of the thin optical layer.

nm

Vacuum wavelength of the incident monochromatic light.

index

Incident medium, commonly air at approximately 1.000.

index

Film index at the selected wavelength.

index

Final transparent medium or optical substrate.

Live results

Interference state

Destructive

Total phase is 0.5000 cycles, within 0.0000 cycles of a half-integer condition.

Optical path difference (OPD)

274.997 nm

Round-trip optical distance inside the film.

Refraction angle in film (θ₂)

21.243°

Calculated with Snell's law.

s-polarized reflectivity (Rₛ)

4.101%

Two-interface returned-power estimate.

p-polarized reflectivity (Rₚ)

1.701%

Two-interface returned-power estimate.

Min anti-reflection coating thickness

99.638 nm

Quarter-wave thickness at normal incidence.

Substrate refraction angle (θ₃)

19.205°

Ray angle after entering the substrate.

Destructive interference; OPD 274.997 nanometers; s reflectivity 4.101 percent; p reflectivity 1.701 percent.

Interface reflectivity detail

Component s polarization p polarization Interpretation
Top interface reflection 3.812% 1.529% Immediate reflection at n₁ → n₂
Bottom interface reflection 0.300% 0.174% Reflection at n₂ → n₃ before return transmission
Returned bottom contribution 0.289% 0.172% Bottom reflection multiplied by n₂ → n₁ transmissivity
Total returned estimate 4.101% 1.701% Top reflection plus returned bottom contribution
This interface table follows the calculator's two-interface approximation. It does not model absorption, complex refractive indices, surface roughness, or the full coherent multiple-reflection transfer-matrix solution.

How to use the thin-film optical coating calculator

What this calculator does

This calculator estimates how monochromatic light behaves when it reaches a transparent optical film between two other transparent media. It combines Snell's law, optical path difference, reflection phase inversions, and polarization-specific Fresnel reflectivity. The outputs help you identify whether the reflected rays are near constructive interference, destructive interference, or an intermediate phase relationship. It also gives the minimum quarter-wave coating thickness used as a first design estimate for an anti-reflection layer. The model is an educational, lossless, three-medium approximation; it does not replace a transfer-matrix simulation for absorbing, dispersive, rough, graded-index, or multilayer coatings.

When to use it

Use it to check a classroom thin-film interference problem, compare s and p reflection at an oblique angle, estimate a single-layer anti-reflection thickness for a lens, or test how a changed film material shifts optical path difference. The underlying phase-change rule and thin-film conditions are explained in the OpenStax treatment of interference in thin films.

How to calculate

  1. The calculator opens with a complete demonstration: 30° incidence, a 106.9 nm film, 550 nm light, and refractive indices 1.000, 1.380, and 1.520. Results and a validated example XLSX are immediately available.
  2. Replace the demonstration values with your optical stack. Use decimal points rather than decimal commas, enter angles in degrees from the surface normal, thickness and wavelength in nanometers, and dimensionless refractive indices.
  3. Read the interference state first, then compare the OPD to the wavelength ratio and inspect s- and p-polarized reflectivity. The interface detail table shows how each boundary contributes.
  4. Select Download Excel to export the current typed inputs, calculated outputs, interface detail, and model notes. Reset clears the demonstration and all calculated data; export is then disabled until a complete valid input set is entered again.

Input guide

Incident angle (θ₁) is required, accepts a plain decimal from 0 up to but not including 90 degrees, and is measured from the normal rather than the surface. A realistic example is 30. Increasing it generally increases polarization differences and changes the path-length cosine term. Entering 90, a negative value, scientific notation, or a comma decimal is rejected.

Optical film thickness (d) is a required positive decimal in nanometers. The demonstration uses 106.9 nm. Increasing thickness increases OPD linearly and cycles the phase through constructive, intermediate, and destructive conditions. Do not enter a wavelength unit suffix inside the field.

Wavelength (λ) is the required positive vacuum wavelength in nanometers; 550 nm is representative green light. A longer wavelength reduces OPD measured in cycles and increases the quarter-wave coating thickness. Refractive indices can vary with wavelength, so use indices measured near the selected wavelength when precision matters.

Refractive index of first medium (n₁), Refractive index of optical film (n₂), and Refractive index of substrate (n₃) are required dimensionless decimals from 1 to 10. The startup values represent air, magnesium-fluoride-like film material, and crown-glass-like substrate. These values control refraction, Fresnel reflection, and whether each reflected ray receives a 180° phase inversion. A common mistake is using a material's index at a different wavelength or temperature.

Output guide

Interference state classifies the combined propagation and reflection phase as constructive, destructive, or intermediate. Optical path difference (OPD) is the round-trip optical distance 2n₂d cos θ₂ in nanometers. Refraction angle in film (θ₂) and Substrate refraction angle (θ₃) are exact Snell-law conversions for the entered lossless indices. s-polarized reflectivity (Rₛ) and p-polarized reflectivity (Rₚ) are percentages; higher values mean more estimated returned power in that polarization. The result is a two-interface estimate, not the fully phase-weighted reflectance of an arbitrary real coating. Min anti-reflection coating thickness is λ/(4n₂), a normal-incidence quarter-wave estimate. It is not a universal optimum across angles, wavelengths, or multiple layers.

Worked example

For the startup stack, Snell's law gives θ₂ = 21.243°. The optical path difference is 2 × 1.380 × 106.9 nm × cos(21.243°) = 274.997 nm. Dividing by the 550 nm wavelength gives 0.5000 cycles. Both reflections are from lower to higher index, so both acquire the same phase inversion and their relative reflection-phase offset is zero. A half-cycle propagation difference is therefore destructive. The interface approximation yields Rₛ = 4.101% and Rₚ = 1.701%. The normal-incidence quarter-wave estimate is 550/(4 × 1.380) = 99.638 nm. These exact values appear in the first rendered results and the startup workbook.

How the model handles refraction and reflection

Snell's law relates the incident and refracted angles through n₁ sin θ₁ = n₂ sin θ₂. The calculator also solves the corresponding angle in the substrate. The Georgia State University HyperPhysics explanation of refraction provides a concise diagram and reference-index examples. Inputs that imply total internal reflection at either modeled transmission step are rejected because the real result requires complex-angle treatment outside this calculator's lossless propagating-ray scope.

OPD = 2n₂d cos(θ₂) · quarter-wave thickness = λ/(4n₂)

At each boundary, the calculator evaluates the Fresnel power reflection coefficient separately for s polarization, whose electric field is perpendicular to the plane of incidence, and p polarization, whose electric field lies in that plane. The RP Photonics Encyclopedia article on Fresnel equations by Dr. Rüdiger Paschotta describes the amplitude coefficients and the conversion to power reflectivity. Because the two polarizations respond differently to angle, their results can diverge strongly near Brewster-angle conditions.

Interpreting phase inversions and design limits

A reflection receives a 180° phase inversion when light reflects from a boundary leading to a higher refractive index. When both reflected rays invert, or neither does, the relative reflection-phase offset is zero. When exactly one inverts, the relative offset is half a cycle. The calculator adds that offset to OPD/λ and compares the total with integer and half-integer cycles. Values within 0.025 cycle of an integer are labeled constructive, values within 0.025 cycle of a half-integer are labeled destructive, and the remaining cases are intermediate.

Real coatings can absorb light, contain many layers, use wavelength-dependent complex indices, and produce repeated internal reflections. For engineering design, use measured dispersion data and a transfer-matrix or electromagnetic model across the intended wavelength and angle range.