Snell’s Law Calculator

Model light bending across media with confidence here. Switch unknowns, verify units, and avoid errors. See if refraction occurs or reflection takes over completely.

Calculator
Pick the unknown; fill the other three.
All angles use the same unit.
Use one of the numeric fields as needed.
Typical range: 1.0 to 2.5.
For air → glass, n₂ is larger.
Angle from the normal, not the surface.
Leave blank if solving for θ₂.
Formula used

Snell’s law relates refraction across an interface: n₁ sin(θ₁) = n₂ sin(θ₂) where angles are measured from the normal.

  • Solve θ₂: θ₂ = asin((n₁/n₂)·sin θ₁)
  • Solve θ₁: θ₁ = asin((n₂/n₁)·sin θ₂)
  • Solve n₁: n₁ = n₂·sin θ₂ / sin θ₁
  • Solve n₂: n₂ = n₁·sin θ₁ / sin θ₂
Total internal reflection
When n₁ > n₂ and sin(θ₂) would exceed 1, refraction is not possible. The critical angle is θc = asin(n₂/n₁).
How to use this calculator
  1. Select what you want to solve for (θ₁, θ₂, n₁, or n₂).
  2. Choose an angle unit and enter the other three values.
  3. Press Submit to see results below the header.
  4. If total internal reflection appears, reduce θ₁ or change media.
  5. Use Download CSV or Download PDF to save outputs.
Example data table

Common refractive indices and a sample calculation row for reference.

Material Approx. refractive index (n) Notes
Air1.0003Varies slightly with conditions
Water1.333Visible light, room temperature
Glass (typical)1.50Depends on composition
Acrylic1.49Often close to common glass
Diamond2.417Very high index for visible light

Example n₁ n₂ θ₁ θ₂ Comment
Air → Glass 1.0003 1.50 30° ≈ 19.47° Bends toward the normal
FAQs

1) Are angles measured from the surface or the normal?

Snell’s law uses angles from the normal. If you have surface angles, convert by subtracting from 90° (or π/2) before calculating.

2) What does “total internal reflection” mean here?

It means refraction has no real solution because the required sine exceeds 1. Physically, the wave reflects back into the first medium.

3) Why can’t I solve for n₁ or n₂ when an angle is zero?

Solving for an index divides by sin(θ). When θ is 0, sin(θ)=0, so the equation becomes undefined. Use a nonzero angle to compute indices.

4) Which refractive index values should I use?

Use values appropriate for wavelength and temperature. For quick estimates, air≈1.0003, water≈1.333, and common glass≈1.50.

5) Why does θ₂ sometimes stay much smaller than θ₁?

When n₂>n₁, light slows down and bends toward the normal. The refracted angle increases more slowly, so θ₂ can remain well below θ₁.

6) What is the practical use of Brewster’s angle?

At Brewster’s angle, p-polarized reflection is minimized for ideal dielectrics. It’s used in polarization optics, glare reduction, and laser alignment.

Related Calculators

chromatic aberration calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.