Worked examples
From air (1) into a material of index 1.5 at 45°
refraction angle about 28.13° (bends toward the normal)
From index 1.5 into air (1) at 60°
above the critical angle of about 41.81°, so total reflection
From index 1.333 into air at 30°
refraction angle about 41.80° (critical angle about 48.61°)
How to use it
- Enter the refractive index of where the light comes from (n₁) and where it goes (n₂).
- Measure the angle of incidence from the normal (the perpendicular to the surface).
- Going from a higher to a lower index (n₁ > n₂) lets you check for total reflection.
What this calculates
Light changes speed between materials, so it bends when crossing a boundary at an angle. Entering a higher index bends it toward the normal; leaving into a lower index bends it away. When going from a higher to a lower index at an angle above the critical angle, the light cannot cross and is entirely reflected. That is total internal reflection, which keeps light inside optical fibers. At exactly the critical angle the refraction angle is 90°.
The formulas
- n₁·sinθ₁ = n₂·sinθ₂ (n: refractive index, θ₁: angle of incidence, θ₂: angle of refraction)
- θ₂ = sin⁻¹(n₁·sinθ₁ ÷ n₂)
- θc = sin⁻¹(n₂ ÷ n₁) (the critical angle when n₁ > n₂)
Reference table
| Refractive index n | Critical angle (°) |
|---|---|
| 1.2 | 56.44 |
| 1.33 | 48.75 |
| 1.5 | 41.81 |
| 1.7 | 36.03 |
| 2 | 30 |
| 2.4 | 24.62 |
Good to know
- Continue with the Thin Lens Calculator for image position and the Wave Calculator for wave relations.
- For distances light travels, use the Light-Year Calculator.
Sources
Frequently asked questions
Where do I find a refractive index?
Look in a material data sheet. It varies slightly with wavelength and temperature, so this calculator does not set it. Air is about 1; a vacuum is exactly 1.
When does total reflection happen?
Going from a higher to a lower index at an angle above the critical angle. Going from low to high, it never happens.
What about 0° incidence?
Light along the normal goes straight through without bending; the refraction angle is also 0°.
Is the angle measured from the surface?
No, from the normal (perpendicular to the surface). If you measured from the surface, subtract it from 90°.
Does each color bend differently?
Yes, the index varies a little by wavelength, which is why a prism splits light into a rainbow. This calculator uses the one index you enter.
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.