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 |
|---|---|
| Vacuum | 1.000 |
| Air | 1.000293 |
| Water (20 °C) | 1.333 |
| Mineral oil | 1.474 |
| Crown glass | 1.500 |
| Flint glass | 1.620 |
| Dense flint glass | 1.900 |
| Diamond | 2.417 |
Result
Fill in the fields and click Calculate to see results.
n1
—
θ1
—
n2
—
θ2 (calculated)
—
n1 · sin(θ1) = n2 · sin(θ2)
Critical angle:
(total internal reflection above this angle)
Total Internal Reflection
The angle of incidence exceeds the critical angle. Light cannot pass into the second medium and is entirely reflected.
Ray Diagram
Copied!
Summary
Enter two refractive indices and one angle to instantly compute the missing angle using Snell's Law.
How it works
- Select or type the refractive index for the first medium (n1).
- Select or type the refractive index for the second medium (n2).
- Enter the angle of incidence (θ1) or angle of refraction (θ2) in degrees.
- Click Calculate to apply n1·sin(θ1) = n2·sin(θ2) and see the missing value.
- Use the diagram to visualize the refracted ray at the interface.
- Swap the media direction with the Swap button to reverse the calculation.
Use cases
- Solve optics homework and exam problems involving light refraction.
- Design lenses and prisms for cameras, telescopes, and microscopes.
- Calculate the critical angle for total internal reflection in fiber optics.
- Verify laboratory measurements of refractive index.
- Teach and visualize Snell's Law interactively in a classroom setting.
- Check ray-tracing calculations during optical system design.
Frequently Asked Questions
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu