Skip to content
DeviceCheckHub

Snell’s Law Calculator

The angle a ray of light bends to as it passes from one material into another, the angle it must come in at, or a refractive index from two angles, with the critical angle for total internal reflection, Brewster’s angle and the share of the light reflected.

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

Angles are measured from the normal, the line at right angles to the surface, not from the surface itself.

Examples:
Light going from air (n = 1.000293) into water at 20 °C (n = 1.333) at 45° from the normal is bent to 32.047°; 2.7849% of it is reflected.

θ₂ = 32.047°

Angle of incidence θ₁
45°
Angle of refraction θ₂
32.047°
Refractive indices
n₁ = 1.000293, n₂ = 1.333
Bending
12.953° toward the normal
Critical angle
none: light going into a denser medium always gets through
Brewster’s angle
53.115°
Light reflected at this angle
2.7849% (s 5.29%, p 0.27984%)
Light let through
97.215%
Speed of light in each
299,700 km/s, then 224,900 km/s
Wavelength in each
588.83 nm, then 441.86 nm
Apparent depth of something in medium 1, seen from medium 2
133.26% of the real depth
Light from n₁ = 1.000293 into n₂ = 1.333
Incidence θ₁Refraction θ₂Reflected
0°0°2.0332%
10°7.4873°2.0343%
20°14.872°2.0514%
30°22.037°2.1394%
40°28.839°2.4457%
50°35.089°3.3613%
60°40.532°5.9617%
70°44.842°13.337%
80°47.647°34.779%
89°48.616°89.625%

Steps

  1. sin θ₂ = n₁ × sin θ₁ ÷ n₂ = 1.000293 × sin 45° ÷ 1.333 = 0.53062.
  2. θ₂ = arcsin 0.53062 = 32.047°.
  • The indices are for yellow light of about 589 nm; they change a little with the wavelength, which is what splits white light into colors.

How to use the Snell’s law calculator

  1. Choose what to solve for: the angle of refraction, the angle of incidence, or one of the two refractive indices.
  2. Pick the material the light comes from and the one it goes into, from water, ice, oils, glasses, plastics and gems, or type any refractive index.
  3. Enter the angles you know, in degrees from the normal.
  4. Read the answer with the critical angle, Brewster’s angle, the share of light reflected and let through, the speed and wavelength of the light in each material, the steps, and a table of the refraction angle at every 10°.

What Snell’s law says

When light crosses the boundary between two transparent materials, it changes direction. Snell’s law gives the new direction: n₁ × sin θ₁ = n₂ × sin θ₂, where θ₁ is the angle of the incoming ray from the normal, θ₂ the angle of the refracted ray, and n₁ and n₂ the refractive indices of the two materials. The refractive index of a material is how many times slower light travels in it than in a vacuum, n = c ÷ v, so the law can also be written sin θ₁ ÷ sin θ₂ = v₁ ÷ v₂. Going into a slower, optically denser material, the light bends toward the normal; going into a faster one, it bends away. The law follows from Fermat’s principle of least time: of all the paths between two points, light takes the quickest.

Worked examples

Light going from air (n = 1.000293) into water (n = 1.333) at 45° from the normal has sin θ₂ = 1.000293 × sin 45° ÷ 1.333, so it is bent to 32.047°, 12.953° toward the normal. Going from air into window glass at 30°, it is bent to 19.211°. The other way round, light leaving water at 45° is bent away from the normal to 70.441°. To make a ray travel at 20° inside glass, it must come in from the air at 31.313°.

You can also measure a refractive index. Shine a narrow beam from air into a block of an unknown material at 45° and measure the refracted ray at 28°: the index is n₂ = 1.000293 × sin 45° ÷ sin 28° = 1.5066, close to window glass.

Total internal reflection and the critical angle

When light goes from a denser material into a less dense one, it bends away from the normal, and at a large enough angle of incidence the refracted ray would have to be at more than 90°. Above this critical angle, θc = arcsin(n₂ ÷ n₁), there is no refracted ray and all of the light is reflected back: total internal reflection. From water into air the critical angle is 48.626°, so light hitting the surface from below at 60° is totally reflected. That is why, looking up from under water or at an aquarium from below the waterline, you see fish and plants reflected in the surface. From window glass into air the critical angle is 41.154°, and from diamond into air only 24.447°.

Total internal reflection loses almost no light, which is why it is used in optical fibers, for telecommunications cables and fiberscopes, and in reflecting prisms such as the Porro and roof prisms of binoculars. The critical angle also decides how gemstones are cut: the round brilliant cut is designed so that light entering the front facets is reflected twice by total internal reflection off the back facets and comes out of the front again. Isaac Newton noticed that total internal reflection depends on color: as white light meets a glass-to-air surface more and more obliquely, the most strongly bent violet rays are the first to be totally reflected.

Refractive index and critical angle into air
MaterialnCritical angle
Water, 20 °C1.33348.6°
Ice1.3149.8°
Ethanol1.36147.3°
Vegetable oil1.4742.9°
Glycerol1.472942.8°
Fused silica1.45843.3°
Pyrex glass1.4742.9°
Acrylic (PMMA)1.48942.2°
Window glass1.5241.2°
PET plastic1.57539.4°
Salt crystal1.54440.4°
Amber1.5540.2°
Diamond2.41724.4°
Moissanite2.6522.2°

Reflection and Brewster’s angle

Even when light gets through, some of it is reflected, and the Fresnel equations give how much. At normal incidence the reflected share is ((n₁ − n₂) ÷ (n₁ + n₂))²: about 4% for glass in air, or 8% counting both sides of a pane; the calculator gives 4.2522% for window glass. The share rises steeply at grazing angles. It also depends on the polarization of the light: light polarized in the plane of incidence (p) is not reflected at all at Brewster’s angle, θB = arctan(n₂ ÷ n₁), which is 56.652° from air into window glass. Étienne-Louis Malus first observed polarization by reflection in 1808, and in 1815 David Brewster showed that the angle depends on the refractive index. Polarized sunglasses use this: glare from a road or water is mostly polarized, so a filter that blocks one polarization removes most of it, and photographers use polarizing filters to see beneath the surface of water.

History

Ptolemy in Alexandria found a relation between the angles that worked only for small angles. The law itself was first discovered by the Persian scientist Ibn Sahl at the court in Baghdad in 984, who used it in his manuscript On Burning Mirrors and Lenses to design lenses that focus light without distortion. Ibn al-Haytham, in his Book of Optics of 1021, came close to it. Thomas Harriot found the law again in 1602 but did not publish it, and in 1621 the Dutch astronomer Willebrord Snellius derived an equivalent form, which also stayed unpublished in his lifetime. René Descartes published the law in his La Dioptrique of 1637, and it was eventually named after Snell.

Speed, wavelength and color

In a material, light slows to c ÷ n, and since its frequency stays the same, its wavelength shrinks by the same factor: yellow light of 589 nm has a wavelength of 441.86 nm in water. The refractive index itself changes a little with the wavelength, which is why a prism spreads white light into colors; the values here are for yellow light of about 589 nm. The wavelength calculator gives the frequency, speed and photon energy of light in each material.

Common mistakes

Your values stay on your device

Everything is worked out in your browser. Nothing you type is sent anywhere or stored.

Frequently asked questions

What is Snell’s law?

Snell’s law says that n₁ × sin θ₁ = n₂ × sin θ₂, where n₁ and n₂ are the refractive indices of the two materials and θ₁ and θ₂ are the angles of the ray from the normal. Light going from air into water at 45° is bent to 32.047°.

How do I find the angle of refraction?

Multiply the first refractive index by the sine of the angle of incidence, divide by the second refractive index, and take the arcsine: θ₂ = arcsin(n₁ × sin θ₁ ÷ n₂). If the number inside the arcsine is more than 1, there is no refracted ray and the light is totally reflected.

What is the critical angle?

The critical angle is the angle of incidence above which light going into a less dense medium is totally reflected: θc = arcsin(n₂ ÷ n₁). It is 48.626° from water into air, 41.154° from window glass into air and 24.447° from diamond into air.

What is Brewster’s angle?

Brewster’s angle, θB = arctan(n₂ ÷ n₁), is the angle of incidence at which light polarized in the plane of incidence is not reflected at all, so the reflected light is fully polarized. From air into window glass it is 56.652°.

Why does light bend when it enters water?

Light travels more slowly in water than in air, about 225,000 km/s instead of nearly 300,000 km/s. The part of a wave front that reaches the water first slows down first, so the front swings around and the ray bends toward the normal.

Is anything I type sent anywhere?

No. Everything is worked out in your browser, and nothing you type is sent anywhere or stored.

Last updated · About DeviceCheckHub