How to use the Snell’s law calculator
- Choose what to solve for: the angle of refraction, the angle of incidence, or one of the two refractive indices.
- 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.
- Enter the angles you know, in degrees from the normal.
- 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.
| Material | n | Critical angle |
|---|---|---|
| Water, 20 °C | 1.333 | 48.6° |
| Ice | 1.31 | 49.8° |
| Ethanol | 1.361 | 47.3° |
| Vegetable oil | 1.47 | 42.9° |
| Glycerol | 1.4729 | 42.8° |
| Fused silica | 1.458 | 43.3° |
| Pyrex glass | 1.47 | 42.9° |
| Acrylic (PMMA) | 1.489 | 42.2° |
| Window glass | 1.52 | 41.2° |
| PET plastic | 1.575 | 39.4° |
| Salt crystal | 1.544 | 40.4° |
| Amber | 1.55 | 40.2° |
| Diamond | 2.417 | 24.4° |
| Moissanite | 2.65 | 22.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
- Measuring the angle from the surface instead of the normal. An angle of 30° to the surface is 60° from the normal.
- Mixing up which material is which. The light comes from material 1 and goes into material 2.
- Using a calculator set to radians. The calculator works in degrees.
- Treating total internal reflection as an error. When n₁ × sin θ₁ ÷ n₂ is more than 1, there is simply no refracted ray.
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.