Snell’s Law Calculator

Quick answer

The Snell's law calculator finds the angle of refraction when light passes between two media, from their refractive indices and the angle of incidence, plus the critical angle for total internal reflection.

Angle of refraction θ₂
22.0369 °
Total internal reflection?
No
Critical angle
— °

Light bends when it crosses from one material into another because its speed changes. Snell’s law explains why a straw looks bent in water, how lenses focus and how optical fibres trap light by total internal reflection.

How to use the Snell’s Law Calculator

  1. Medium 1
  2. Refractive index n₁
  3. Medium 2
  4. Refractive index n₂
  5. Angle of incidence θ₁

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

How it works

Pick the two media (or enter custom indices) and the angle of incidence measured from the normal. If the light cannot pass, the calculator reports total internal reflection.

Inputs explained

Field What to enter
Medium 1 Choose one: Vacuum, Air, Water at 20 °C, Ethanol …
Refractive index n₁ A number
Medium 2 Choose one: Vacuum, Air, Water at 20 °C, Ethanol …
Refractive index n₂ A number
Angle of incidence θ₁ Units: °, rad, arcmin, arcsec, mrad

Example values

How the main result changes when Refractive index n₁ changes and everything else stays at the example values above:

Refractive index n₁ Angle of refraction θ₂ (°)
1 22.0369
1.25 22.0369
1.5 22.0369
2 22.0369

Formula

n₁·sin θ₁ = n₂·sin θ₂, θ_c = arcsin(n₂/n₁)

Worked example

Inputs: Medium 1: Air; Medium 2: Water at 20 °C; Angle of incidence θ₁: 30 °.
Results: Angle of refraction θ₂ = 22.0369 °; Total internal reflection? = No.

Key terms

Critical angle
Smallest angle of incidence for total internal reflection.

Frequently asked questions

Which way does light bend entering water?

Towards the normal, because water has a higher index than air.

What is total internal reflection?

When light in a denser medium hits the boundary beyond the critical angle, it reflects completely.

What is the critical angle for water to air?

About 48.6°.

Why do diamonds sparkle?

Their high index gives a small critical angle (24.4°), trapping light inside.

Sources

  1. OpenStax: University Physics Volume 3
  2. HyperPhysics (Georgia State University)

Cite this calculator

Speedy Calculator. (2026). Snell’s Law Calculator. Speedy Calculator. https://speedycalculator.com/calculators/physics/snells-law/