Snell's Law Calculator

Enter two refractive indices and one angle to instantly compute the missing angle using Snell's Law.

Input Parameters

Common Refractive Indices

Medium n
Vacuum1.000
Air1.000293
Water (20 °C)1.333
Mineral oil1.474
Crown glass1.500
Flint glass1.620
Dense flint glass1.900
Diamond2.417

Result

Fill in the fields and click Calculate to see results.

Ray Diagram

Copied!

Summary

Enter two refractive indices and one angle to instantly compute the missing angle using Snell's Law.

How it works

  1. Select or type the refractive index for the first medium (n1).
  2. Select or type the refractive index for the second medium (n2).
  3. Enter the angle of incidence (θ1) or angle of refraction (θ2) in degrees.
  4. Click Calculate to apply n1·sin(θ1) = n2·sin(θ2) and see the missing value.
  5. Use the diagram to visualize the refracted ray at the interface.
  6. Swap the media direction with the Swap button to reverse the calculation.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu