Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Snell's Law Calculator

Refractive index of the first medium n₁: enter 0 or more. Prefilled example: 1.0.

Refractive index of the second medium n₂: enter 0 or more. Prefilled example: 1.5.

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 0 or more.
  2. Refractive index of the second medium n₂: enter 0 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 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

  1. T2=deg⁡(asin⁡(n1×sin⁡(rad⁡(t1))n2))
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)
T2Angle 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
  1. T2=deg⁡(asin⁡(1×sin⁡(rad⁡(30))1.5))=19.4712

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.

Related calculators