Toolstia / Snell law calculator

Snell law calculator

When light passes from one material into another it bends. Enter the refractive index of each material and the angle of incidence to get the refracted angle, the critical angle and the speed of light in each material. Presets cover air, water, glass and diamond.

Snell law: n1 sin(angle 1) = n2 sin(angle 2). Angles are measured from the normal, the line at right angles to the surface. Refractive indices vary a little with colour and temperature.

How it works

  1. Pick a preset or type the refractive index for each medium.
  2. Enter the angle of incidence from 0 to 90 degrees.
  3. Read the refracted angle and the critical angle.

Snell law

n1 sin(angle 1) = n2 sin(angle 2). Angles are measured from the normal, the line at right angles to the surface.

Total internal reflection

Going from a denser to a thinner medium, past the critical angle no light passes through and it is all reflected. The tool reports this.

Critical angle

It is the inverse sine of n2 divided by n1 and exists only when n1 is greater than n2.

Speed of light

Light travels at about 299,792,458 m/s in a vacuum and slower by a factor of n in a medium.

Questions

Do the indices depend on colour?

Yes. Values change a little with wavelength and temperature, so the presets are typical figures. Everything happens in your browser, and nothing you enter is sent anywhere.

What is the refracted angle at 0 degrees?

It is 0. Light that hits at right angles does not bend.

Why is there no critical angle going into glass?

Total internal reflection can only happen when light moves toward a medium with a lower index.