Refraction and Snell's law simulator
Drag the laser to change the angle and pick the two materials. The beam bends at the boundary, a little light reflects, and past the critical angle all of it reflects back. Snell's law is worked out for you.
Try:
Why light bends
Light travels at different speeds in different materials. When a beam crosses a boundary at an angle, one side of the beam slows down (or speeds up) before the other, so the beam changes direction. This is refraction.
The refractive index n tells you how much a material slows light: n = c ÷ v, where c is the speed of light in a vacuum. Water has n = 1.33, so light travels at 3 × 10⁸ ÷ 1.33 ≈ 2.25 × 10⁸ m/s in it.
Snell's law
n₁ sin θ₁ = n₂ sin θ₂. Angles are measured from the normal, the dashed line at right angles to the surface. Going into a denser material (higher n), light bends towards the normal; going into a less dense one, it bends away. A ray along the normal (0°) does not bend at all.
Critical angle and total internal reflection
When light goes from a denser material into a less dense one, the refracted ray bends away from the normal. At the critical angle c, it skims along the surface (90°): sin c = n₂ ÷ n₁. Beyond that, no light gets out at all and it is all reflected. This total internal reflection keeps light inside optical fibres, makes diamonds sparkle (critical angle only 24°) and is used in bicycle reflectors and endoscopes.
Questions students ask
Why does a straw look bent in water?
Light from the part under water bends away from the normal as it leaves the water. Your brain assumes light travels in straight lines, so it traces the rays back to a point higher than the real straw.
Does the frequency of light change in glass?
No. The speed and wavelength drop, but the frequency stays the same. Different colours have slightly different refractive indices, which is why a prism splits white light into a spectrum.
What is the critical angle of glass?
For glass (n ≈ 1.5) to air it is about 42°. For water to air it is about 49°, and for diamond to air about 24°.
More physics tools
Connected tools
The same idea from another angle, across the site.