Snell's Law Calculator
Calculate the angle of refraction when light passes between two media. Also determines the critical angle for total internal reflection.
Quick Answer
n₁ × sin(θ₁) = n₂ × sin(θ₂). Enter the refractive indices and angle of incidence to find the angle of refraction and check for total internal reflection.
Calculate
Enter the refractive indices and the angle of incidence in degrees.
Refractive index
Degrees from normal
Refractive index
Common Refractive Indices
| Medium | Refractive Index (n) |
|---|---|
| Vacuum | 1 |
| Air (STP) | 1.000293 |
| Water | 1.333 |
| Glass (crown) | 1.52 |
| Glass (flint) | 1.62 |
| Diamond | 2.417 |
| Ice | 1.31 |
| Ethanol | 1.361 |
| Glycerine | 1.473 |
| Sapphire | 1.77 |
| Cubic Zirconia | 2.15 |
| Silicon | 3.42 |
About This Tool
The Snell's Law Calculator determines how light bends when it passes from one transparent medium to another. By entering the refractive indices of the two media and the angle at which light strikes the interface, you get the exact angle of refraction, the deviation angle, and whether total internal reflection occurs. This tool is indispensable for physics students, optical engineers, and anyone working with lenses, prisms, or fiber optics.
How Refraction Works
When light crosses the boundary between two media with different refractive indices, it changes speed. Because the wavefront enters the new medium at an angle, one side of the wavefront slows down (or speeds up) before the other, causing the entire beam to change direction. This bending is called refraction. The amount of bending depends on the ratio of the refractive indices and the angle of incidence, as described precisely by Snell's Law: n₁ × sin(θ₁) = n₂ × sin(θ₂). When light moves from a less dense medium (lower n) to a denser medium (higher n), it bends toward the normal. When moving from denser to less dense, it bends away from the normal.
Total Internal Reflection
When light travels from a denser medium to a less dense one (for example, from glass to air), there exists a critical angle beyond which no light passes through the boundary. Instead, all light is reflected back into the denser medium. This phenomenon, called total internal reflection, is the operating principle behind optical fibers that carry internet data across oceans, the reflective coating inside binoculars, and the brilliant sparkle of gemstones. The critical angle depends only on the ratio of the two refractive indices: θc = arcsin(n₂/n₁).
Refractive Index Explained
The refractive index of a material measures how much it slows light relative to the speed of light in a vacuum. Vacuum has a refractive index of exactly 1.0, while air is so close to vacuum (1.0003) that it is often approximated as 1.0. Water has a refractive index of about 1.333, meaning light travels at roughly 75% of its vacuum speed in water. Dense optical materials like diamond (n = 2.417) slow light to less than half its vacuum speed, producing dramatic refraction effects that account for diamond's famous fire and brilliance.
Applications in Optics and Engineering
Snell's Law is the cornerstone of geometric optics. Every lens in a camera, microscope, telescope, or pair of eyeglasses is designed using Snell's Law to precisely control where light rays converge or diverge. Prisms use refraction to separate white light into its component colors (dispersion), which is the basis of spectrometers used in chemical analysis and astronomy. Anti-reflective coatings on screens and lenses are designed using multilayer refraction calculations rooted in Snell's Law. Fiber optic engineers use total internal reflection to guide light signals through hair-thin glass fibers over thousands of kilometers with minimal loss.
Dispersion and Wavelength Dependence
The refractive index of a material actually varies with the wavelength (color) of light. This phenomenon, called dispersion, is why prisms create rainbows and why camera lenses must be designed to minimize chromatic aberration. Shorter wavelengths (blue/violet light) typically experience a higher refractive index than longer wavelengths (red light) in most transparent materials. This wavelength dependence is described by empirical formulas like the Cauchy equation or the more precise Sellmeier equation. Our calculator uses a single refractive index value, which is typically specified for the sodium D-line wavelength (589 nm) as a standard reference.
Beyond Simple Refraction
While Snell's Law describes the direction of refraction, a complete optical analysis also considers how much light is reflected versus transmitted at a boundary. The Fresnel equations describe this intensity splitting and depend on the polarization of the light. At the Brewster angle, reflected light becomes perfectly polarized, which is exploited in polarizing filters and laser optics. For very thin films or structured surfaces, wave interference effects become important, leading to thin-film interference used in soap bubbles, oil slicks, and optical coatings.
Frequently Asked Questions
What is Snell's Law?
What is the critical angle?
What is total internal reflection?
What is the refractive index?
Why does light bend when entering a new medium?
How is Snell's Law used in real-world optics?
Was this tool helpful?