How Refraction Works: Snell's Law and Why Light Bends
How light bends at a boundary between materials, how Snell's law predicts the new angle, and why refractive index controls how much the light bends.
Light usually travels in straight lines, but it changes direction when it passes from one material into another. A straw in a glass of water looks bent at the surface, and a swimming pool looks shallower than it really is. This change of direction is called refraction, and it follows a precise rule that physicists have used for centuries to design lenses, prisms, microscopes and eyeglasses.
This post explains what causes refraction, how Snell's law predicts the bending angle, and why each material has its own refractive index. The math stays at the level of basic algebra and trigonometry, and every number below can be checked with a calculator.
Why light changes speed in a material
Light moves at its maximum speed only in vacuum. In vacuum, the speed of light is exactly 299,792,458 metres per second, usually rounded to 3.00 × 10^8 m/s. When light enters a transparent material such as water, glass or diamond, it travels more slowly. The slowdown happens because light interacts with the electrons of the material. Those electrons absorb and re-emit the wave, and the net effect is a lower speed for the light moving through the medium.
The frequency of the light stays the same when it crosses the boundary. Only the speed and the wavelength change. Because the speed drops and the frequency stays fixed, the wavelength gets shorter by the same factor. This is the physical root of refraction: the wavefronts slow down on one side of the boundary before they slow down on the other, so the whole wave front turns.
The refractive index
Physicists describe how strongly a material slows light with one number, the refractive index, written as n. It is defined as the speed of light in vacuum divided by the speed of light in the material:
n = c / v
A refractive index of 1.00 means no slowdown, which is the case for vacuum and nearly the case for air. Larger values mean stronger slowdown and stronger bending. The table below uses approximate values for visible light around 589 nanometres, the yellow sodium line that is often used as a reference.
| Material | Refractive index (n) | Light speed (km/s) | Critical angle to air |
|---|---|---|---|
| Vacuum | 1.000 | 299,792 | none |
| Air | 1.0003 | about 299,700 | none |
| Water | 1.333 | about 225,000 | 48.6 degrees |
| Crown glass | 1.52 | about 197,000 | 41.1 degrees |
| Diamond | 2.42 | about 124,000 | 24.4 degrees |
The critical angle column is explained later in this post. For now, notice that diamond slows light to less than half its vacuum speed, which is one reason it sparkles so strongly.
Snell's law
Willebrord Snell, a Dutch mathematician, described the relation between incoming and outgoing angles in the early 1600s. The law is usually written as:
n1 sin(θ1) = n2 sin(θ2)
Here n1 and n2 are the refractive indices of the first and second materials, and θ1 and θ2 are the angles between the light ray and the normal, which is the line perpendicular to the surface at the point of entry. Angles are measured from the normal, not from the surface itself. That detail trips up many beginners.
Suppose a ray of light travels through air and hits water at 45 degrees from the normal. The index of air is 1.00 and the index of water is 1.333. Snell's law gives sin(θ2) = (1.00 × sin 45°) / 1.333 = 0.707 / 1.333 = 0.530. The inverse sine of 0.530 is about 32 degrees. The ray bends toward the normal, from 45 degrees down to 32 degrees, because it enters a material where light moves more slowly.
The same rule works in reverse. A ray leaving water and entering air bends away from the normal. This is why a fish in a pond appears closer to the surface than it truly is, and why an observer on the bank sees the fish in a slightly different place than the fish occupies.
Why the light bends toward the normal
A simple picture helps. Imagine a line of marching soldiers crossing a muddy field at an angle. The soldiers on the muddy side slow down first, while the soldiers on the dry side keep their speed. The line turns as a result. Light behaves the same way, with wavefronts instead of soldiers. The side of the wavefront that reaches the slower material first slows first, so the whole front swings around and the travel direction changes.
Pierre de Fermat offered a second explanation in 1662. Light takes the path that needs the least time between two points, not the path with the least distance. In water or glass, the least-time path bends at the boundary, and Snell's law falls out of that principle as a direct result.
Total internal reflection
Snell's law has a limit. Because the sine of an angle can never exceed 1, the formula can only produce a valid refracted angle when n1 sin(θ1) / n2 is less than or equal to 1. When light moves from a dense material into a less dense one, such as water into air, there is an angle of incidence beyond which no refracted ray can exist. That angle is the critical angle.
For water to air, the critical angle is about 48.6 degrees. Any ray inside the water that hits the surface at a steeper angle than this reflects completely back into the water. This is called total internal reflection. Fibre optic cables depend on it, because light stays trapped inside the glass core as it zigzags along the cable. Diamond cutters rely on it too. A diamond with a critical angle of 24.4 degrees traps most light that enters it, and the sparkle comes from light bouncing many times before it escapes.
Dispersion and the rainbow
The refractive index is not perfectly constant across colours. Blue light slows more than red light in glass and water, so blue bends more strongly. This effect is called dispersion. A glass prism separates white light into a spectrum because each colour leaves the prism at a slightly different angle. Rainbows work the same way, with water droplets acting as tiny prisms. Each droplet refracts, reflects internally once, and refracts again, which spreads sunlight into a fan of colours.
Dispersion also limits lenses. A simple glass lens focuses blue and red light at slightly different points, which causes coloured fringes around bright objects. Modern camera and microscope lenses combine several glass types with different dispersion to cancel most of this error. Designers call the result an achromatic lens.
Practical uses of refraction
Refraction is the working principle behind almost every optical instrument. Eyeglasses and contact lenses bend light so that it focuses on the retina. The cornea of the human eye does most of this bending, because the boundary between air and the cornea has a large index difference. Telescopes, microscopes, projectors and magnifying glasses all shape wavefronts with curved refractive surfaces. Even the way a laser beam is steered through a crystal depends on Snell's law.
Engineers also use refraction to measure things. Refractometers measure the sugar content of fruit juice and the concentration of antifreeze by reading the critical angle of a sample. Oceanographers use the bending of sound and light through layers of water with different salinity and temperature to map ocean structure.
Key takeaways
Refraction happens because light changes speed when it crosses from one material into another. The frequency stays the same, while the wavelength and speed change together.
The refractive index n sets how strongly a material slows light. Higher values mean more bending. Water, glass and diamond each have a characteristic index that shows up in the table above.
Snell's law, n1 sin(θ1) = n2 sin(θ2), predicts the new angle exactly. Angles are always measured from the normal to the surface.
Total internal reflection occurs when light tries to leave a dense material at a steep angle. Fibre optics, prisms and diamonds all depend on this effect.
Dispersion splits white light into colours, which produces rainbows and sets limits on simple lenses. Understanding refraction explains a surprising amount of everyday optics, from a bent straw to the lens in your eye.