Interactive thin-film optics calculator using 2×2 matrix formalism
The transfer matrix method provides a powerful framework for analyzing light propagation through stratified media (multi-layer thin films). Each layer and interface is represented by a 2×2 matrix that relates the forward and backward propagating electric field amplitudes.
At an interface between two media with refractive indices n₁ and n₂, the Fresnel coefficients determine the reflection (r) and transmission (t) coefficients:
Propagation through a layer of thickness d with refractive index n accumulates a phase β:
The total transfer matrix is the product of all interface and propagation matrices:
The reflectance coefficient is extracted from the total matrix elements: