Skip to content
Tutorials Center
My learning

Topics

Lesson 25 of 38 · Refraction and Lenses

Refraction and Snell's Law

Learn why light bends when it enters glass or water, how refractive index n = c/v works, and how to use Snell's law n1 sin θ1 = n2 sin θ2 with examples.

Put a straw in a glass of water and it looks broken at the surface. A swimming pool looks shallower than it really is. These tricks happen because light changes direction when it passes from one transparent material into another. This bending is called refraction.

In this lesson you will learn why refraction happens, how to measure it with the refractive index, and how to predict the new direction with Snell's law.

Why light bends

Light travels fastest in a vacuum: c = 299,792,458 m/s, about 3.00 × 10⁸ m/s. In glass, water or any other material it slows down. The frequency of the light stays the same, so the wavelength gets shorter too (v = fλ).

When a ray crosses a boundary at an angle, one side of the wave front slows before the other. Picture a marching band moving from pavement into mud at a slant: the first marchers to reach the mud slow down, so the line swings round. That is why the ray bends.

  • Going from a faster to a slower medium (air into glass), the ray bends towards the normal.
  • Going from a slower to a faster medium (glass into air), it bends away from the normal.
  • A ray along the normal (i = 0°) does not bend at all, though it still slows down.

Angles are measured from the normal, exactly as in the law of reflection.

Refractive index

The absolute refractive index n of a material tells you how much it slows light:

n = c / v

where v is the speed of light in the material. Since v ≤ c, n ≥ 1. It is a pure number (no unit).

Material Approximate n
Vacuum 1 (exactly)
Air 1.0003 (usually taken as 1.00)
Water 1.33
Typical glass 1.5
Diamond 2.42

Refractive index depends a little on wavelength (color) and temperature. The values above are typical numbers for visible light, good for problems.

Example. Light travels at 2.00 × 10⁸ m/s in a plastic. Then n = 3.00 × 10⁸ / 2.00 × 10⁸ = 1.50.

Snell's law

Willebrord Snellius found the rule for the angle of the bent ray. If light goes from a material of index n₁ to one of index n₂:

n₁ sin θ₁ = n₂ sin θ₂

θ₁ is the angle of incidence and θ₂ the angle of refraction, both from the normal. Because the product n sin θ is the same on both sides, a larger n means a smaller angle: the ray moves closer to the normal.

Worked example 1: air into glass

A ray in air (n₁ = 1.00) hits glass (n₂ = 1.50) at θ₁ = 40°.

  1. sin θ₂ = (1.00 × sin 40°) / 1.50 = 0.6428 / 1.50 = 0.4285.
  2. θ₂ = arcsin(0.4285) ≈ 25.4°.

The ray bends towards the normal, as expected.

Worked example 2: water into air

A ray in water (n₁ = 1.33) meets the surface at θ₁ = 30°.

  1. sin θ₂ = 1.33 × sin 30° / 1.00 = 1.33 × 0.5 = 0.665.
  2. θ₂ = arcsin(0.665) ≈ 41.7°.

The ray bends away from the normal and the angle in air is larger.

Python Snell's law calculator

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The last row (60° from water into air) gives no refracted ray; the next lesson explains why.

Apparent depth

Because rays bend away from the normal when they leave water, the bottom of a pool seems higher than it is. For rays close to the vertical:

apparent depth = real depth × (n₂ / n₁)

where n₁ is the index of the medium containing the object and n₂ the index of the medium of the observer. For a pool viewed from above (water to air), apparent depth = real depth / 1.33.

A 2.0 m deep pool looks about 2.0 / 1.33 ≈ 1.5 m deep.

Refraction through a glass block

A ray through a parallel-sided glass block bends towards the normal on entering and away on leaving. The emerging ray is parallel to the incoming ray but shifted sideways. A thicker block, or a larger angle, gives a larger shift. You can test Snell's law in a lab by tracing rays with pins or a ray box and measuring the angles with a protractor, then plotting sin θ₁ against sin θ₂, which should give a straight line through the origin whose gradient is n₂ / n₁.

Python Plot sin(i) against sin(r) for a glass block

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

This plot comes from the formula, not from measured data; real lab points would scatter slightly around the line.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Light travels at 2.25 × 10⁸ m/s in a liquid. What is its refractive index? (c = 3.00 × 10⁸ m/s)

    n = c / v = 3.00 × 10⁸ / 2.25 × 10⁸ = 1.33.
  2. 2. A ray moves from air into glass. What happens to it?

    Light slows down in glass, so it bends towards the normal.
  3. 3. Which quantity stays the same when light enters a new medium?

    The frequency is set by the source. Speed and wavelength both change, and so does direction unless the ray is along the normal.
  4. 4. A pool is 3.0 m deep (n = 1.33 for water). How deep does it appear from straight above?

    Apparent depth = 3.0 / 1.33 ≈ 2.3 m.

Summary

  • Refraction is the bending of light as its speed changes between materials.
  • Refractive index n = c / v; larger n means slower light.
  • Snell's law: n₁ sin θ₁ = n₂ sin θ₂, angles from the normal.
  • Into a denser medium the ray bends towards the normal; out of it, away.
  • Apparent depth for near-vertical viewing is real depth × n₂/n₁.

Next: Total Internal Reflection