Snell's Law Calculator

Find the refraction angle when light crosses between two media, with the critical angle and whether total internal reflection occurs.

°
Angle of refraction 22.0824 °
n₁ sin θ₁ = n₂ sin θ₂; critical angle = arcsin(n₂ / n₁)
What happens Refracted into the second medium
Critical angle None — a critical angle only exists going into a less dense medium
Light speed in the first medium 299,792,458 m/s
Light speed in the second medium 225,407,863 m/s
Which way it bends Towards the normal — the second medium is optically denser and light slows

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Snell's Law Calculator does

The snell's law calculator on this page will find the refraction angle when light crosses between two media, with the critical angle and whether total internal reflection occurs. Fill in all 3 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for optics homework on refraction and total internal reflection. More utilities in this area are collected on FreeToolsWorld.org.

How to use it

  1. Enter the refractive index of the medium the light starts in, then the one it enters.
  2. Enter the angle of incidence measured from the normal — the line perpendicular to the surface, not the surface itself.
  3. If total internal reflection occurs, the page says so rather than returning a meaningless angle.

How it works

Light changes direction at a boundary because it changes speed. The refractive index is just how much slower light goes in a medium than in a vacuum — 1.33 for water means light travels at about three quarters of its vacuum speed there. Snell's law, n₁ sin θ₁ = n₂ sin θ₂, relates the angles on either side of the boundary to those speeds.

Angles are measured from the normal, the line perpendicular to the surface, not from the surface itself. That convention trips people constantly: light arriving at 30° from the normal is arriving at 60° from the surface, and plugging the wrong one in gives an answer that is wrong in a way the arithmetic will not flag.

Going into a denser medium, light bends towards the normal and the angle shrinks. Going the other way it bends away, and that is where total internal reflection comes from: past a certain angle of incidence the equation asks for the arcsine of a number greater than one, which has no solution. Physically it means no light escapes — it all reflects back. That angle is the critical angle, and it is what makes optical fibres work and why a swimming pool looks mirrored from underneath at a shallow angle.

A critical angle only exists going from a denser medium into a less dense one. Entering glass from air, there is no angle at which light fails to get in; leaving glass into air, there is.

When to use it

  • Optics homework on refraction and total internal reflection.
  • Working out the acceptance angle for an optical fibre.
  • Understanding why objects in water look shallower than they are.

Common mistakes to avoid

  • Measuring the angle from the surface rather than from the normal.
  • Expecting a refraction angle when total internal reflection is occurring.
  • Looking for a critical angle going into a denser medium, where none exists.

Frequently asked questions

What is the refractive index of water?

About 1.33 for visible light. Glass is around 1.5, diamond about 2.42, and air very close to 1.

What is total internal reflection?

When light inside a denser medium hits the boundary beyond the critical angle, none of it escapes and all of it reflects back. It is what carries light along an optical fibre.

Why is the angle measured from the normal?

Because the normal is the one direction defined by the surface itself, independent of how the surface is oriented. It makes the law work the same way for every geometry.

Related tools

See all science & engineering →