Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Angle of Refraction Calculator

Refractive index of the first medium n₁: enter 1 or more. Prefilled example: 1.000293.

Refractive index of the second medium n₂: enter 1 or more. Prefilled example: 1.333.

Angle of incidence θ₁ (degrees from the normal): enter a number from 0 to 90. Prefilled example: 30.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Refractive index of the first medium n₁: enter 1 or more.
  2. Refractive index of the second medium n₂: enter 1 or more.
  3. Angle of incidence θ₁ (degrees from the normal): enter a number from 0 to 90.
  4. 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

  1. S=n1×sin⁡(rad⁡(t1))n2
  2. T2=deg⁡(asin⁡(S))
Symbols used in the formula
SymbolMeaningUnit
n1Refractive index of the first medium n₁
n2Refractive index of the second medium n₂
t1Angle of incidence θ₁ (degrees from the normal)
Ssin θ₂
T2Angle 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 happensThe ray is refracted into the second medium
  1. S=1.00029×sin⁡(rad⁡(30))1.333=0.375204
  2. T2=deg⁡(asin⁡(0.375204))=22.0369

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°.

Related calculators