Snell’s law simulator
Explore refraction, total internal reflection and the critical angle. Adjust the refractive indices and incidence angle to see the ray paths.
Open the simulatorUnderstand the model
n₁ sin θ₁ = n₂ sin θ₂. The reflected angle equals the incident angle. For air (1) to glass (1.5) at 45°, the refracted angle is about 28.13°.
Angles are measured from the normal. If n₁ > n₂, θc = arcsin(n₂/n₁); above θc there is total internal reflection. At θc the refracted ray is tangent to the interface.

