1. Home
  2. Physics
  3. Light: mirrors, lenses & refraction
  4. Snell's Law Calculator (Refraction)

Snell's Law Calculator (Refraction)

Angle of refraction, angle of incidence or refractive index when light crosses from one medium into another.

PhysicsGrades 9–10Grades 11–12BeginnerStep-by-step solution

Practice questions

Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.

  1. A ray of light in air hits a glass block (n = 1.5) at 45° to the normal. Find the angle of refraction.

  2. Light passes from water (n = 1.33) into air at 30°. Find the angle of refraction.

  3. A ray in air at 60° bends to 35° inside a liquid. Find the refractive index of the liquid.

Worked example

Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.

Question: A ray of light in air hits a glass block (n = 1.5) at 45° to the normal. Find the angle of refraction.

Plan: how this problem is solved
  1. Write the given values in SI units
  2. Rearrange for the angle of refraction
  3. Speed of light in medium 2
Answer
Angle of refractionθ2 = 28.13°
Speed of light in medium 2v2 = 1.999 × 108 m/s
Step-by-step solution
  1. Write the given values in SI units
    n1=1
    θ1=45 °
    n2=1.5
    To find: θ2 (Angle of refraction)
  2. Rearrange for the angle of refraction
    θ2=sin⁻¹(n1 sin θ1 ÷ n2)
    =sin⁻¹(1 sin 45° ÷ 1.5)
    =28.13°
  3. Speed of light in medium 2
    v2=3 × 108n2
    =3 × 1081.5
    =1.999 × 108 m/s
Key idea: Going into a denser medium (bigger n), light slows down and bends towards the normal. Coming out, it speeds up and bends away from the normal.

Terms used on this page

New to a word in the question or the solution? Here it is in simple language.

Velocity: initial (u) and final (v)
Velocity is speed with a direction, in m/s. u is the velocity at the start of the time you're looking at, v is the velocity at the end.
Acceleration (a)
How quickly velocity changes, in m/s². If a car goes from 0 to 10 m/s in 5 s, its acceleration is 2 m/s².

Symbols in this solver

What each box asks for, and its unit.

SymbolWhat it meansSI unit
n1Refractive index of medium 1(no unit)
θ1Angle of incidence° (or rad)
n2Refractive index of medium 2(no unit)
θ2Angle of refraction° (or rad)

Formula & concept

Angle of refraction, angle of incidence or refractive index when light passes from one medium into another.

n1 sin θ1 = n2 sin θ2

Key idea: Going into a denser medium (bigger n), light slows down and bends towards the normal. Coming out, it speeds up and bends away from the normal.

What it can find

Choose the unknown with the “What do you want to find?” buttons: angle of refraction, refractive index of medium 2, angle of incidence, refractive index of medium 1. The formula is rearranged for you and every step is shown.

How to use this calculator

  1. Choose what you want to find. Its box turns orange.
  2. Type the known values from your question and pick the unit for each one.
  3. Press Solve step by step.
  4. Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
  5. Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
  6. Stuck on a word? The terms section explains it in simple language.

Frequently asked questions

How does the Snell's Law work?
You enter the values you know, pick their units and press Solve. The tool changes everything to SI units, applies the formula n1 sin θ1 = n2 sin θ2 and shows you each step: given data, formula, substitution and the final answer.
What is the key idea behind it?
Going into a denser medium (bigger n), light slows down and bends towards the normal. Coming out, it speeds up and bends away from the normal.
Can I enter values in km, mm, kN or °C?
Yes. Each box has a unit list. The conversion to SI units is shown as the first step of the solution.
What if my answer doesn't match my book?
First check that you've picked the right units. Then see which constants your book uses and how many figures it rounds to. You can change the number of figures under Settings in the solver. A small difference in the last digit is usually just rounding.
Can I see how to solve it without seeing the answer?
Yes. Tick Practice mode under the solver. You'll get the plan of steps only, so you can work it out on paper. One click then shows the full solution.
Is the Snell's Law free to use?
Yes, it's free with no sign-up. All calculations happen inside your browser and nothing you type is stored.
Which grades is it useful for?
It's made for Grades 9–10 (GCSE · IGCSE · US high school · Class 9–10 (CBSE, ICSE)) and Grades 11–12 (A-Level · AP · IB · Class 11–12 · JEE · NEET). The working follows the method used in textbooks and exams.