Snell's Law Calculator

Refraction Angle · Refractive Index · Critical Angle

Enter any 3 values to calculate the 4th.

Index
deg (°)
Index
deg (°)
Result
---

How Snell's Law Calculator Works

Snell's Law (the law of refraction) describes the exact mathematical relationship between the angles of incidence and refraction when light passes across the boundary between two different isotropic media (such as air and glass).

Snell's law diagram showing light refracting across a boundary between two media with different refractive indices
Figure 1: As light enters a medium with a higher refractive index (n2 > n1), it slows down and bends toward the normal line. If moving to a lower index, it bends away from the normal.

Depending on which three variables are known, the fundamental equation (n1 · sinθ1 = n2 · sinθ2) can be algebraically rearranged to solve for the missing parameter:

θ1 = sin-1 (
n2 n1
· sinθ2 )
1. Incident Angle (θ1)
θ2 = sin-1 (
n1 n2
· sinθ1 )
2. Refracted Angle (θ2)
n1 = n2 ·
sinθ2 sinθ1
3. Incident Index (n1)
n2 = n1 ·
sinθ1 sinθ2
4. Refracted Index (n2)

Understanding the Variables:

  • n1 Incident Index: The refractive index of the starting material (e.g., Air ≈ 1.00).
  • n2 Refracted Index: The refractive index of the target material (e.g., Fused Silica ≈ 1.45).
  • θ1 Incident Angle: The angle of the incoming ray, measured relative to the surface normal (perpendicular axis).
  • θ2 Refracted Angle: The angle of the transmitted ray, measured relative to the surface normal.
Total Internal Reflection (TIR) If light attempts to travel from a high-index material to a low-index material (n1 > n2) at a very steep angle, the calculated refracted angle (θ2) may become mathematically impossible (sinθ > 1). In this scenario, the calculator will return an error because the light cannot exit the material; 100% of it reflects backward, acting as a perfect mirror.

Consult with an Expert

Get a formal quote