Snell's law (refraction)

Refraction angle
Critical angle
Share reflected
Bent by

Light travels more slowly where the refractive index is higher (n = c ÷ v), so a ray hitting the surface at an angle bends towards the perpendicular as it goes in. Going the other way, to a lower index, it bends away, and past the critical angle it can't get out at all: it is all reflected back inside.

The physics

Smooth surfaces, no absorption, light of one wavelength. Snell's law is also the path that takes light the least time between two points (Fermat's principle). Tested: the law against finding that quickest path numerically, the critical angle and total internal reflection, and the Fresnel reflectance head on and at grazing incidence (packages/mechanics/test/science.test.ts).

Example

With index of the first medium n₁ = 1, index of the second medium n₂ = 1.5, angle of incidence 40°: refraction angle: 25.4°; critical angle: none (light goes into a denser medium); share reflected: 4.57% (unpolarised); bent by: 14.6°. Open this setup, then change one thing at a time.

Related: Lens equation · Venturi meter