Understanding the Angle of Refraction
When a beam of light crosses the boundary between two transparent media — air to water, air to glass, glass to air — it bends. The angle of refraction is the angle between the refracted ray and the normal (an imaginary line perpendicular to the surface) inside the second medium. This calculator finds that angle from the angle of incidence and the refractive indices of the two media using Snell's Law.
The formula: Snell's Law
Snell's Law relates the two angles to the refractive indices of the media:
n₁ · sin θ₁ = n₂ · sin θ₂
where n₁ is the refractive index of the medium the light starts in, θ₁ is the angle of incidence, n₂ is the refractive index of the medium the light enters, and θ₂ is the angle of refraction — all angles measured from the normal, not the surface. Solving for the unknown angle gives:
θ₂ = arcsin[(n₁ / n₂) · sin θ₁]
Which way does light bend?
- Entering a denser medium (n₂ > n₁): light slows down and bends toward the normal, so θ₂ < θ₁ — for example, light entering water from air.
- Entering a less dense medium (n₂ < n₁): light speeds up and bends away from the normal, so θ₂ > θ₁ — for example, light exiting glass into air.
- Equal indices (n₂ = n₁): the ray passes straight through with no bending at all.
Total internal reflection and the critical angle
When light travels from a denser medium into a less dense one (n₁ > n₂), there is a limit. Past a certain incidence angle, called the critical angle θc = arcsin(n₂/n₁), Snell's Law has no solution for θ₂ — the light cannot refract out at all and instead reflects entirely back into the first medium. This is total internal reflection, the effect that keeps light trapped inside fiber-optic cables and gives cut diamonds their sparkle.
Typical refractive indices
- Vacuum: 1.0000 (by definition)
- Air (at sea level): about 1.0003, commonly rounded to 1.00
- Water: about 1.33
- Crown glass: about 1.52
- Diamond: about 2.42