In the diagram above, an incident light ray PO strikes at point O the interface between two media of refractive indexes n1 and n2. Part of the ray is reflected as ray OQ and part refracted as ray OS. The angles that the incident, reflected and refracted rays make to the normal of the interface are given as θi, θr and θt, respectively. The relationship between these angles is given by the law of reflection and Snell's law.
The fraction of the incident light that is reflected from the interface is given by the reflection coefficient R, and the fraction refracted by the transmission coefficient T. The Fresnel equations may be used to calculateR and T in a given situation.
The calculations of R and T depend on polarisation of the incident ray. If the light is polarised with the electric field of the light perpendicular to the plane of the diagram above (s-polarised), the reflection coefficient is given by:
where θt can be derived from θi by Snell's law.
If the incident light is polarised in the plane of the diagram (p-polarised), the R is given by:
The transmission coefficient in each case is given by Ts = 1 - Rs and Tp = 1 - Rp.
If the incident light is unpolarised (containing an equal mix of s- and p-polarisations), the reflection coefficient is R = ( Rs + Rp ) / 2 .
At one particular angle for a given n1 and n2, the value of Rp goes to zero and an p-polarised incident ray is purely refracted. This is known as Brewster's angle.
When moving from a more dense medium into a less dense one (i.e. n1 > n2), above an incidence angle known as the critical angle all light is reflected and Rs=Rp=1. This phenomenon is known as total internal reflection.
When the light is at near-normal incidence to the interface(θi ≈ θt ≈ 0) , the reflection coefficient is given by:
Note that reflection by a window is from the front side as well as the back side, and that the latter also includes light that goes back and forth a number of times between the two sides. The total is 2R/(1+R).