Skip to content
Omnikalc

Snell's law calculator: angle of refraction

Find the angle of refraction when light passes from one medium to another, the critical angle and whether total internal reflection occurs.

Updated on
Your inputs

Value out of range

Value out of range

°

Value out of range

Results

Angle of refraction

22.04 °

Bends toward the normal Light slows down in the second medium.
Deviation of the ray
7.96 °
Critical angle
0.00 °
None: light enters a slower medium
Speed of light in the second medium
224,901 km/s

Refraction at other angles of incidence

Angle of refractionDeviation of the ray
0° current0.000.00
15° current11.203.80
30° current22.047.96
45° current32.0512.95
60° current40.5319.47
75° current46.4628.54
89° current48.6240.38

What refraction is

When light passes from one transparent material to another, such as from air into water, it changes speed and bends. This is refraction. It makes a straw look broken in a glass of water, a pool look shallower than it is, and it lets lenses focus light in glasses, cameras and the human eye.

Snell’s law

n₁ × sin θ₁ = n₂ × sin θ₂

  • n₁ and n₂ are the refractive indices of the two media,
  • θ₁ is the angle of incidence and θ₂ the angle of refraction, both measured from the normal, the line perpendicular to the surface.

The refractive index is the ratio of the speed of light in a vacuum to its speed in the material: in water, with n = 1.333, light travels at about 225,000 km/s.

Worked example

A ray of light goes from air into water at 30° from the normal.

  1. sin θ₂ = 1.0003 × sin 30° ÷ 1.333 = 0.375.
  2. θ₂ = arcsin 0.375 = 22.04°: the ray bends toward the normal.
  3. It is deviated by 7.96° from its original path.
  4. In water, light travels at 224,901 km/s.

Common refractive indices

Material Index
Air 1.0003
Ice 1.31
Water 1.333
Acrylic (Plexiglas) 1.49
Crown glass 1.52
Diamond 2.417

Indices vary slightly with the color of light, which is why prisms and raindrops split white light into a rainbow. The values above are for yellow light.

Critical angle and total internal reflection

When light goes from a denser medium to a lighter one, such as from water to air, it bends away from the normal. Beyond a certain angle of incidence, the critical angle, it cannot leave at all and is entirely reflected. This total internal reflection keeps light trapped inside optical fibers over thousands of miles and makes diamonds sparkle, since their critical angle is only 24.4°.

  • Critical angle = arcsin(n₂ ÷ n₁), only when n₁ > n₂.
  • Water to air: arcsin(1 ÷ 1.333) = 48.6°.
  • Glass to air: about 41°.

Set the first medium to water and the second to air, then try angles above 48.6° to see the calculator flag total internal reflection.

Everyday consequences

A fish seen from the bank is not where it appears to be: spear fishers learn to aim below the image. A swimming pool looks about a quarter shallower than its real depth when seen from straight above, because of the 1.333 ratio between the two indices.

Frequently asked questions

What is Snell's law?

n₁ sin θ₁ = n₂ sin θ₂: the product of the refractive index and the sine of the angle from the normal is the same on both sides of the boundary.

What is the refractive index of water?

About 1.333 for visible light. Air is 1.0003, crown glass about 1.52 and diamond 2.417.

What is total internal reflection?

When light goes from a denser to a less dense medium beyond the critical angle, none passes through and all is reflected. Optical fibers rely on it.

What is the critical angle for water to air?

About 48.6°, the arcsine of 1 ÷ 1.333. Beyond that angle, a diver looking up sees the surface as a mirror.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.