Snell's Law Calculator
Calculate how a light ray refracts at a boundary between two media from an incident angle and two user-supplied refractive indices.
With θ1 = 30°, n1 = 1.00, and n2 = 1.50, the refracted angle is about 19.47°, so the ray bends toward the normal.
No critical angle applies in this direction because light is not moving from higher index to lower index.
Uses the dimensionless refractive indices you enter. Real refractive indices vary with wavelength, temperature, and material conditions.
Was this useful?
Examples
How It Works
Formula
Variables
- Refractive index of medium 1(dimensionless)
- Refractive index of medium 2(dimensionless)
- Incident angle from the normal(°)
- Refracted angle from the normal(°)
- Critical angle for total internal reflection(°)
Enter the incident angle from the normal in degrees, then enter the dimensionless refractive indices n1 and n2 for the two media. The calculator stays focused on one boundary: it solves the transmitted angle when a real refracted ray exists and switches to a total-internal-reflection result when it does not.
The calculator applies Snell’s law . All angles are measured from the normal. When , it also computes the critical angle . If , there is no real transmitted ray, so the result becomes total internal reflection instead of a fake angle. Refractive indices here are user-supplied dimensionless inputs, not built-in material references, and real values can vary with wavelength, temperature, and material conditions.