Err

LUXERI OPTICS LAB · FREE TOOL

← Luxeri Optics Lab

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.

From 0 to 89.9°. Angles are measured from the normal, perpendicular to the interface.

Refraction at a plane interfaceAdjust the controls to explore the ray paths.AirGlassNormalInterfaceθ₁θ₂
IncidentReflectedRefracted

Geometrical diagram: ray length and thickness do not represent intensity.

Refracted angle θ₂

28.13°

Reflected angle θᵣ

45.00°

Critical angle θc

—
The ray bends towards the normal.

n₁ sin θ₁ = n₂ sin θ₂

1.000 × sin(45.00°) = 1.500 × sin(28.13°)

Dimensionless refractive indices · Angles in degrees

How to use this calculator

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.

Assumptions and limitations

The model assumes two homogeneous, isotropic, transparent, non-absorbing media separated by a plane interface. Indices are real and positive. Presets are illustrative and depend on wavelength and temperature. Fresnel intensities, polarization, absorption, dispersion and diffraction are not modeled. The reflected ray is schematic. Indices: 0.001–10; incidence: 0–89.9°.

Frequently asked questions

When does total internal reflection occur?

When light travels from higher to lower index and the incidence exceeds the exact critical angle. Displayed angles are rounded; calculations use unrounded values.

Can I change the values directly?

Yes. Enter values directly or use the available controls. Results use unrounded calculations. Displayed values and diagrams are rounded or illustrative.

Explore all the free Luxeri Optics Lab tools or read our optical guide.