Snell's Law Calculator
Solve Snell's law for an angle or refractive index, and find the critical angle and total internal reflection.
Solve Snell’s law for an unknown angle or refractive index. Angles are measured from the normal to the boundary.
n₁ sin(θ₁) = n₂ sin(θ₂)
Enter a positive, finite index.
Enter an angle from 0 to 90°, measured from the normal.
Enter a positive, finite index.
This is the unknown being solved.
Refracted angle (θ₂)
32.12°
A real refracted angle exists for these inputs.
Critical angle: none for these indices
θ₂ = asin((n₁ / n₂) sin θ₁)
Substitution: θ₂ = asin((1 / 1.33) × sin 45°) = 32.12°
Model: ideal refraction at a flat boundary between homogeneous, isotropic media with positive real indices. This calculator does not model dispersion, absorption, or reflected-light intensity.
How to use the calculator
- Choose the quantity you want to solve for.
- Enter the other indices and angles. Angles are measured from the normal, and must be between 0° and 90° (or 0 and π/2 radians).
- Choose degrees or radians to display and enter angles in that unit.
Snell’s law questions
How do I solve for an unknown?
Choose the quantity from the solve-for menu, enter the other known values, and select degrees or radians. The calculator shows the equation used and a substitution for a valid result.
From which line is an angle measured?
Both angles are measured from the normal, the line perpendicular to the boundary between the media.
When does total internal reflection occur?
For light going from a higher index to a lower index, total internal reflection occurs above the critical angle. At the critical angle the ideal refracted ray runs along the boundary.
Why can an index be underdetermined?
When the known angle’s sine is zero, Snell’s equation does not determine the unknown index from that observation alone.