Angle of Refraction Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Light bends when it crosses from one material into another. Enter both refractive indices and the angle of incidence.
Result
Angle of refraction θ₂°
sin θ₂
- Critical angle (degrees, only when n₁ > n₂)
- What happens
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 1 or more.
- Refractive index of the second medium n₂: enter 1 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 sin θ₂, Critical angle (degrees, only when n₁ > n₂) and What happens.
How this calculator works
Snell's law: n₁ × sin θ₁ = n₂ × sin θ₂, so θ₂ = arcsin(n₁ × sin θ₁ ÷ n₂), angles measured from the normal.
Going from a higher to a lower index (water to air, glass to air), rays beyond the critical angle θc = arcsin(n₂ ÷ n₁) cannot leave: they are totally reflected. This is how optical fibers guide light.
Typical indices for visible light (about 589 nm): air 1.000293, water 1.333, crown glass about 1.52, diamond 2.417.
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) | ||
| sin θ₂ | ||
| Angle of refraction θ₂ | ° | |
rad(x) | the angle x, converted from degrees to radians. | |
deg(x) | the angle x, converted from radians to degrees. |
Worked example
| Refractive index of the first medium n₁ | 1.000293 |
|---|---|
| Refractive index of the second medium n₂ | 1.333 |
| Angle of incidence θ₁ (degrees from the normal) | 30 |
| sin θ₂ | 0.3752 |
|---|---|
| What happens | The ray is refracted into the second medium |
Angle of refraction θ₂ 22.04 °
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 angle of refraction from air into water at 30°?
About 22.04°: light bends toward the normal in the denser water.
What is the critical angle of water?
Going from water (1.333) into air (1.000293), about 48.6°.