Snell's Law Calculator
Refraction Angle · Refractive Index · Critical Angle
Enter any 3 values to calculate the 4th.
ephotonics
linkedin.com/company/ephotonics
Follow our page for weekly laser engineering guides, photonics tutorials, and new calculator releases directly in your feed.
Follow on LinkedInHow Snell's Law Calculator Works
Snell's Law (the law of refraction) describes the exact mathematical relationship between the angles of incidence and refraction when light passes across the boundary between two different isotropic media (such as air and glass).

Depending on which three variables are known, the fundamental equation (n1 · sinθ1 = n2 · sinθ2) can be algebraically rearranged to solve for the missing parameter:
Understanding the Variables:
- n1 Incident Index: The refractive index of the starting material (e.g., Air ≈ 1.00).
- n2 Refracted Index: The refractive index of the target material (e.g., Fused Silica ≈ 1.45).
- θ1 Incident Angle: The angle of the incoming ray, measured relative to the surface normal (perpendicular axis).
- θ2 Refracted Angle: The angle of the transmitted ray, measured relative to the surface normal.
Why is Snell's Law important?
Snell's Law is the foundational equation for geometrical optics. It quantifies how light rays bend when moving between materials of different densities (Refractive Index). This bending is the mechanism behind lenses, prisms, and optical fibers.
1. Fiber Optics & TIR
Snell's Law allows us to calculate the Critical Angle. If light hits the boundary between core and cladding at an angle steeper than this critical limit, it doesn't refract out—it reflects back in. This Total Internal Reflection (TIR) is what keeps data inside fiber optic cables over long distances.
2. Optical Lens Design
Every camera, microscope, and telescope relies on this formula. By knowing the refractive index of glass (n ≈ 1.5), optical engineers calculate the exact curvature needed to bend light rays to a precise focal point, correcting for aberrations.
3. Prisms & Dispersion
Refractive index actually changes slightly depending on the wavelength (color) of light. Snell's law explains why a prism separates white light into a rainbow: blue light refracts at a sharper angle than red light due to this dispersion.
4. Mirages
A mirage on a hot road is Snell's Law in action. As air heats up near the asphalt, its density (and index) decreases. Light from the sky bends gradually as it moves through these temperature layers until it refracts upward into your eye.
Explore the history, the derivation, and the complete physics behind refraction in our comprehensive guide.