Snell's Law Calculator

Calculate refraction angles.

How it works

This calculator uses Snell's law to find how much a ray of light bends as it passes from one material into another. It also gives the critical angle, and tells you when total internal reflection happens instead.

Angles are measured from the normal, the line at right angles to the surface, not from the surface itself. Pick common materials from the list or enter your own refractive indices.

Worked example: light from air into water at 30°

  1. Air has n = 1.000 and water n = 1.333.
  2. Light bends towards the normal on entering the denser water, and slows to 3.00 ÷ 1.333 = 2.25 × 10⁸ m/s.

Towards or away from the normal

Going into a material with a higher refractive index, light bends towards the normal. Going into a lower one, it bends away. That's why a straw in a glass of water looks broken at the surface.

Total internal reflection

Going from water to air, the critical angle is 48.6°. Beyond it, no light escapes and all of it reflects back. Optical fibres rely on this to carry light around bends.

Why diamonds sparkle

Diamond's refractive index of 2.42 gives a critical angle of only 24.4°, so light that enters is reflected around inside many times before escaping. Glass, at 1.50, has a critical angle of 41.8°.

Common questions

What is a refractive index?

The ratio of the speed of light in a vacuum to its speed in the material: n = c ÷ v. Air is about 1.0003, close enough to 1 for most problems.

Does the colour of light matter?

Slightly. Refractive index varies a little with wavelength, which is how a prism splits white light into a spectrum. Tables usually give values for yellow light at 589 nm.

Why is there no refracted angle for glass to air at 50°?

50° is past glass's critical angle of 41.8°, so sin θ₂ would have to be above 1. All the light reflects back into the glass.

Use it with