Mihsaba›Physics›Snell’s Law Calculator

Snell’s Law Calculator

Calculate refraction angle from refractive indices and incidence angle, with total internal reflection and critical-angle checks.

Angles are measured from the surface normal, not from the surface.

Share this free calculator

Send this tool to someone who needs the calculation.

How to use

Snell’s law links incidence and refraction angles to refractive indices. From higher to lower index, sufficiently large incidence can produce total internal reflection.

  1. Enter n₁ and n₂.
  2. Enter incidence angle from the normal.
  3. Calculate θ₂.
  4. If n₁>n₂, review the critical angle.

How it is calculated

n₁sinθ₁=n₂sinθ₂

Example

From air n≈1 into glass n≈1.5 at θ₁=30°, the refracted angle is smaller than the incidence angle.

Important notes

Use refractive indices appropriate to the wavelength; dispersion makes n wavelength-dependent.

Worked examples and interpreting results

With assumed refractive indices 1 and 1.5 and incidence 30° from the normal, refraction is about 19.471°. Reversing the indices allows a critical angle.

Worked examples and interpreting results
CaseCalculationResult
Refraction angleasin((1 ÷ 1.5) × sin(30°))19.471221 °
Critical angle after reversing mediaasin(1 ÷ 1.5)41.810315 °

How to check the result

Measure angles from the normal, not the interface. For the second case enter n₁=1.5 and n₂=1; above the critical angle, total internal reflection replaces a propagating refracted ray.

Frequently asked questions

Where is the angle measured from?

From the interface normal.

When does TIR occur?

From higher to lower index when incidence exceeds the critical angle.

Does n have units?

No, refractive index is dimensionless.