What is Snell's law of refraction?

Snell's law: n₁ sin θ₁ = n₂ sin θ₂. Light changes speed when it passes from one material into another, and that makes it bend. Every material slows light by a factor n, its refractive index: v = c ÷ n.

Why does a straw look broken in a glass of water? Bend a laser across a boundary and watch Snell's law at work, then find the same rule in shallow-looking pools, prisms and rainbows, camera lenses and your own eye, diamonds and the glass fibres of the internet, and the mirage on a hot road.

Snell's lawOpened 27 Sept 202612 min to playFree · no sign-up

In 60 seconds

  1. Light bends when it changes speed

    Every material slows light by a factor n, its refractive index: v = c ÷ n. Crossing into a new material at a slant, the beam turns, by exactly n₁ sin θ₁ = n₂ sin θ₂, with angles measured from the normal.

  2. Your eyes are fooled every day

    Things under water look higher than they are, so straws look broken and pools look three quarters as deep. And because n is a little bigger for violet than for red, prisms and raindrops split white light into colours, with the rainbow at 42°.

  3. Lenses are Snell's law, twice

    Curved glass bends each ray by just the right amount to bring them to one focus. A camera focuses by moving its lens; in your eye the cornea does two thirds of the bending, which is why you can't see clearly under water.

  4. Past the critical angle, light is trapped

    Going into a faster material, beyond sin θc = n₂ ÷ n₁ nothing gets out: total internal reflection, a perfect mirror. It carries the internet down glass fibres, makes diamonds sparkle, and spreads the light in an edge-lit TV.

  5. Mirages, negative index, and a myth

    Hot air over a road curves sky light upwards into a fake puddle. Metamaterials bend light the wrong way. And light doesn't slow by bumping into atoms: shaken electrons re-radiate slightly behind in step, and the sum moves at c ÷ n.

Where you'll meet it

n₁ sin θ₁ = n₂ sin θ₂

refractive index × sine of the angle is the same on both sides of a boundary. The index n = c ÷ v says how many times slower light goes in a material, and going into a faster one, past the critical angle (sin θc = n₂ ÷ n₁), no light gets out at all.

The history

From Ptolemy's tables of bent light to glass threads under the ocean, how people learned exactly how much light turns when it crosses into something new.

Read the full history
  1. 984The true rule, 637 years early
  2. 1637The sine law is printed, and the rainbow explained
  3. 1678Wavelets explain the bend
  4. 1954A picture carried along glass threads
  5. 2001Light bent the wrong way

The full explanation

Snell's law, chapter by chapter

Chapter 1

Light bends when it changes speed

Shine a laser from one material into another and watch it turn: n₁ sin θ₁ = n₂ sin θ₂.

Shine a laser from air into water and the beam doesn't carry straight on. At the surface it bends. That bending is called refraction, and Snell's law says exactly how much:

n₁ sin θ₁ = n₂ sin θ₂

The angles are measured from the normal, an imaginary line at right angles to the surface (the dashed line). θ₁ is the angle of the beam coming in, θ₂ the angle going out. Each material has a number n, its refractive index: air 1.000, water 1.333, glass about 1.5, diamond 2.42.

What is n? It tells you how much slower light goes in that material: v = c ÷ n. Light races through air at almost 300,000 km/s, through water at 225,000 and through diamond at only 124,000. Going into a slower material, the beam bends towards the normal. Going into a faster one, it bends away. Think of a lawn roller rolling at a slant from a path onto grass: the wheel that hits the grass first slows first, and the roller swings round.

Two more things happen at every surface. A little light bounces back, the faint reflected beam: about 2% at water, 4% at glass. And going from a slow material to a fast one, there is a critical angle. Tilt the beam past it and no light gets out at all. It all reflects: total internal reflection.

Try “The bend” in the interactive model →

Chapter 2

Bent straws, shallow pools and rainbows

Refraction fools your eyes at every glass of water, and splits sunlight into colours.

Your brain assumes light travels in straight lines. Refraction breaks that rule, so things under water are not where they look.

The bent straw. Light from the part of a straw under water bends as it leaves the surface, away from the normal. Your eye traces it back in a straight line and sees the straw higher than it really is. The dry part isn't moved, so the straw looks broken right at the surface.

The shallow pool. The same trick makes water look shallower than it is. Looking straight down, the apparent depth ≈ real depth ÷ n, so a 2 m pool looks 1.5 m deep. Looking at a slant it looks even shallower, and the far end seems to rise up. That's why people misjudge pools and rivers. Always check the real depth before you jump.

The prism. n is not quite the same for every colour. In glass, violet light is slowed a little more than red, so it bends a little more. A prism fans white light out into a spectrum. This spreading is called dispersion, and Newton used it in 1666 to show that white light is a mix of all colours.

The rainbow. Every raindrop is a tiny round prism with a mirror at the back. Sunlight bends in, reflects once off the back and bends out. Rays that hit different parts of the drop come back at different angles, but they pile up at about 42° from the point opposite the Sun. Red piles up at 42.4°, violet at about 40.8°. That's why a rainbow is a circle around the shadow of your head, red on the outside.

Try “Everyday bending” in the interactive model →

Chapter 3

A lens is Snell’s law, twice

Curve the glass and every ray bends by just the right amount to meet at one point.

A convex lens is thicker in the middle than at the edges. Nothing magic happens inside it. Each ray obeys Snell's law once as it enters the curved front face, and again as it leaves the curved back face.

The curve is the trick. Near the edge the surface is tilted, so rays there meet it at a steep angle and bend a lot. Through the middle the surface is almost square-on, so rays bend very little. Get the curve right and rays from one point of an object all meet again at one point behind the lens: a focus. That point is an upside-down image.

A curvier lens bends harder and focuses closer: its focal length f is shorter. For a thin lens, 1/f = (n − 1)(1/R₁ − 1/R₂), and where the image lands follows 1/f = 1/u + 1/v. A camera focuses by moving the lens until the image lands exactly on the sensor (see CameraClear). A phone's tiny lens has f of only about 4 to 6 mm.

Your eye does the same with living parts (see EyeClear). Surprise: the cornea, the clear dome at the front, does about two thirds of the bending, around 42 of the eye's 60 dioptres. The lens behind it only fine-tunes. The cornea is so strong because light jumps from air (n = 1.00) into it (n = 1.38), the biggest change of speed on the way in.

That's why everything is blurry when you open your eyes under water. Water (1.33) is nearly as slow as the cornea, so the cornea hardly bends at all. Goggles fix it by putting air back in front of your eyes.

Try “Lenses” in the interactive model →

Chapter 4

Total internal reflection: light that can’t get out

Past the critical angle a surface becomes a perfect mirror. The internet, diamonds and binoculars all use it.

When light tries to leave a slow material for a faster one, Snell's law runs out of answers past the critical angle. Then every bit of the light reflects back. No mirror is that good: even silver keeps only about 95%. Total internal reflection keeps 100%.

Optical fibre. A glass thread thinner than a hair has a core of slightly slower glass inside a cladding. Light zig-zags down the core, reflecting totally off the cladding again and again, for kilometres. Pulses of infrared light in fibres carry almost all the world's internet, including the undersea cables that land in Mumbai and Chennai. In 1966 Charles Kao worked out that glass pure enough could carry light for kilometres, and won the 2009 Nobel Prize for it.

Diamond sparkle. Diamond's index is so high (2.42) that its critical angle is only 24.4°. A well-cut diamond's back facets are angled so light from the top hits them past that angle, bounces twice and comes back out of the top towards you. Cut the same shape in glass (critical angle 41.8°) and the light leaks out of the back.

Binoculars use glass prisms instead of mirrors. Light meets each face at 45°, past glass's critical angle, and reflects totally. TVs use it too: in an edge-lit LCD (see TVClear), LEDs shine into the edge of a clear acrylic plate, total internal reflection carries the light across, and printed white dots let it out evenly towards the screen.

Try “Trapped light” in the interactive model →

Chapter 5

Mirages, backwards bending, and why light really slows

Snell’s law bends in hot air, breaks the rules in metamaterials, and hides a common myth.

Mirages on hot roads. On a summer afternoon in India, the road ahead seems to have a shining puddle that is never there when you arrive. The road heats the air just above it. Hot air is thinner, so its index is a tiny bit lower. There's no sharp surface, so the light doesn't bend all at once: it curves smoothly, bending away from the hotter air, until light from the sky skims up off the road and into your eye. You're seeing the sky, upside down, on the road. The change in n is only about 0.00002, so it works only for light grazing the road at less than half a degree.

Bending the wrong way. In every natural material n is positive, and light crosses to the other side of the normal. Around 2000, scientists built metamaterials, arrays of tiny copper rings and wires, with a negative index. Light then bends to the same side of the normal. A flat slab with n = −1 even focuses light like a lens. It has only worked well for microwaves and in labs; at visible light these materials still soak up too much light.

Myth-buster: “Light slows down in glass because it keeps bumping into atoms.” Not really. Between atoms, light always travels at full speed, c. It isn't stopped and delayed at random either: that would scatter light every which way and blur the view through a window. What happens is this. The light's electric field shakes the electrons in the glass, and each shaken electron sends out its own little wave, slightly behind in step. Add all those little waves to the original and you get a wave whose crests move more slowly: c ÷ n. People sometimes say the light is “absorbed and re-emitted”, but nothing is kept: the electrons pass the energy straight on, and the delay is that small step behind. The frequency never changes, so the colour stays the same, but the wavelength shrinks.

Try “Surprises and limits” in the interactive model →

Test yourself

Frequently asked

A laser goes from air into water at 40° from the normal. Which way does it bend?

Towards the normal, to about 29°. Water is slower (n = 1.333), so the beam bends towards the normal: sin θ₂ = sin 40° ÷ 1.333, so θ₂ ≈ 28.8°.

What does a refractive index of 2.42 (diamond) tell you?

Light travels 2.42 times slower in diamond than in a vacuum. n = c ÷ v. In diamond light moves at about 300,000 ÷ 2.42 ≈ 124,000 km/s.

Light inside glass (n = 1.5) hits the glass–air surface at 50°. What happens?

All of it reflects back inside. The critical angle for glass to air is asin(1 ÷ 1.5) = 41.8°. At 50° there is no angle that satisfies Snell’s law, so all the light reflects: total internal reflection.

A river looks about 1.2 m deep when you look straight down. Roughly how deep is it really?

1.6 m. Apparent depth ≈ real depth ÷ 1.333, so real depth ≈ 1.2 × 1.333 ≈ 1.6 m. Water is always deeper than it looks.

Why does a prism split white light into colours?

Each colour has a slightly different refractive index, so each bends by a different amount. That’s dispersion. In glass, violet light has a slightly higher n than red, so it bends more and the colours fan out.

You see a rainbow. Where is the Sun?

Behind you. Raindrops send the light back towards the Sun’s side at about 42°. So the Sun is behind you and the rainbow is a circle around the shadow of your head.

Why do rays through the edge of a convex lens bend more than rays through the middle?

The surface is more tilted there, so they meet it at a steeper angle. Snell’s law depends on the angle to the normal. At the edge the curved surface is tilted, so the angle is big and the bend is big. In the middle it is square-on and the bend is small.

Which part of your eye does most of the focusing?

The cornea. The cornea gives about 42 of the eye’s 60 dioptres, because light goes from air (1.00) into the cornea (1.38), the biggest jump in speed.

Why is your vision blurry under water, and why do goggles help?

Water has nearly the cornea’s index, so the cornea stops bending; goggles put air back in front of it. Refraction needs a change of speed. Water (1.33) and cornea (1.38) are close, so the cornea loses most of its power. Goggles give it air to work against again.

Why does an optical fibre have a cladding of slightly faster glass around its core?

So light hitting the core wall at a shallow angle is totally reflected and stays in. Total internal reflection needs light going from slower (core, 1.47) to faster (cladding, 1.456) glass. The cladding also keeps the reflecting surface clean, so light isn’t lost where the fibre touches something.

Why does a diamond sparkle more than a glass copy cut the same way?

Its critical angle is only 24°, so light inside reflects totally off the back facets and comes out of the top. n = 2.42 gives a critical angle of 24.4°. The back facets are hit at about 41°, past it, so light bounces back up. Glass’s critical angle is 41.8°, so light leaks out of the back.

A binocular prism reflects light off faces hit at 45°. What’s the smallest index the glass needs for total internal reflection?

1.41. Critical angle 45° means sin 45° = 1 ÷ n, so n = 1.414. Real prism glass (1.52 to 1.57) is safely above it, BaK4 with more to spare.

What is the “water” you see on a hot road?

Light from the sky, curved upwards by hot air near the road. Air near the hot road is thinner, with a slightly lower index. Light from the sky grazing the road curves back up to your eye, so you see the sky on the road.

What’s special about a material with a negative refractive index?

Light bends to the same side of the normal. With n < 0, Snell’s law gives a negative angle: the beam bends to the same side of the normal. A flat slab of n = −1 can even focus light.

Why does light travel more slowly in glass?

Shaken electrons re-radiate waves slightly behind in step, and the sum moves more slowly. Between atoms light moves at c. The electrons it shakes send out waves that lag a little; added to the original, the crests advance at c ÷ n. Frequency and colour stay the same.

Words worth knowing

Refraction
The bending of light as it crosses from one material into another, because its speed changes.
Refractive index (n)
How many times slower light goes in a material than in a vacuum: air 1.000, water 1.333, glass about 1.5, diamond 2.42.
Normal
The line at right angles to a surface. Angles in Snell's law are measured from it.
Critical angle
Going into a faster material, the angle beyond which no light gets out: sin θc = n₂ ÷ n₁. About 42° for glass to air.
Total internal reflection
All the light reflecting back at a boundary, past the critical angle. It traps light in optical fibres.
Dispersion
n changing with colour, so violet bends a little more than red. It makes prisms and rainbows.
Focal length
How far behind a lens parallel rays meet. For a thin lens, 1/f = (n − 1)(1/R₁ − 1/R₂).
Apparent depth
How deep water looks. Straight down it is the real depth ÷ n, about three quarters.

Fork it. Teach with it.

This box is plain HTML, CSS and JavaScript, with no build step and no accounts. Run it yourself and it sends nothing anywhere. The code is MIT. The words, images and videos are CC BY 4.0, so you can reuse them anywhere if you credit “Glassbox, glassbox.how/e/snellclear”.

git clone https://github.com/bdeeps/snellclear.git

Built with three.js (MIT), Geist, Instrument Serif (SIL OFL 1.1).

←→ previous / next box · / search

Would you like to see the full page, with the interactive model?