Snell's Law Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the refractive indices of both media and the angle of incidence to get the refraction angle.
Result
Angle of refraction θ₂°
Total internal reflection?
- Critical angle (degrees, when n₁ > n₂)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Refractive index of the first medium n₁: enter 0 or more.
- Refractive index of the second medium n₂: enter 0 or more.
- Angle of incidence θ₁ (degrees from the normal): enter a number from 0 to 90.
- Read the result: Angle of refraction θ₂; the panel also shows Total internal reflection? and Critical angle (degrees, when n₁ > n₂).
How this calculator works
n₁ × sin θ₁ = n₂ × sin θ₂ (Snell's law), with angles measured from the normal. When n₁ > n₂ and sin θ₁ exceeds n₂ ÷ n₁, there is no refracted ray: total internal reflection. The critical angle is asin(n₂ ÷ n₁).
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Refractive index of the first medium n₁ | ||
| Refractive index of the second medium n₂ | ||
| Angle of incidence θ₁ (degrees from the normal) | ||
| Angle of refraction θ₂ | ° | |
deg(x) | the angle x, converted from radians to degrees. | |
rad(x) | the angle x, converted from degrees to radians. |
Worked example
| Refractive index of the first medium n₁ | 1 |
|---|---|
| Refractive index of the second medium n₂ | 1.5 |
| Angle of incidence θ₁ (degrees from the normal) | 30 |
| Total internal reflection? | No: the ray passes into the second medium |
|---|
Angle of refraction θ₂ 19.4712 °
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the refraction angle from n = 1 into n = 1.5 at 30°?
About 19.47°.
Is there a critical angle going into a denser medium?
No. It exists only from the denser medium (higher n) to the less dense one.