Snell's Law Calculator – Refraction Angle n₁ sinθ₁ = n₂ sinθ₂

Use this free Snell's Law Calculator to find the angle at which light bends (refracts) when it passes from one material into another — for example, from air into glass or water.

air n₁ = 1.00 glass n₂ = 1.50 θ₁ θ₂ normal

Formula

Snell's law n₁ sinθ₁ = n₂ sinθ₂, so θ₂ = sin−1(n₁ sinθ₁ / n₂)  •  both angles are measured from the normal (the dashed line at 90° to the surface)

Common refractive indices: air 1.00, water 1.33, glass 1.50, diamond 2.42.

How to use

Worked example

Light travels from air (n₁ = 1.00) into glass (n₂ = 1.50) at an incidence angle of 45°.
sinθ₂ = (1.00 × sin 45°) ÷ 1.50 = 0.7071 ÷ 1.50 = 0.4714
θ₂ = sin−1(0.4714) = 28.13° — the ray bends towards the normal in the denser material.

FAQ

Why does light bend when it enters glass or water?
Light travels more slowly in denser materials. When it hits the boundary at an angle, one side of the wavefront slows down first, which swings the whole ray around — like a car veering when one wheel hits mud.

Which way does the ray bend?
Going into a denser material (bigger n), light bends towards the normal, so θ₂ < θ₁. Coming out into a less dense material, it bends away from the normal.

What if no refraction angle exists?
If light tries to leave a denser material at too steep an angle, n₁ sinθ₁ / n₂ is bigger than 1 and there is no refracted ray — the light reflects back inside instead. This is total internal reflection, and this calculator will tell you when it happens.