Snells Law Calculator
Our optics & light calculator computes snells law accurately. Enter measurements for results with formulas and error analysis.
Reviewed for accuracy by Manoj Kumar, Mathematics Educator
Snells Law Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: n1 sin(theta1) = n2 sin(theta2)
Worked example โ Refraction Angle: 27.71 degrees (light bends toward normal entering denser medium)
Formula
n1 sin(theta1) = n2 sin(theta2)
Where n1 and n2 are the refractive indices of the two media, theta1 is the angle of incidence, and theta2 is the angle of refraction. Both angles are measured from the normal (perpendicular) to the interface surface.
Worked Examples
Example 1: Light Entering Glass from Air
Problem:A beam of light hits a glass surface (n=1.52) at 45 degrees from air (n=1.0). Find the refraction angle.
Solution:Apply Snell's law: n1 sin(theta1) = n2 sin(theta2) 1.0 x sin(45) = 1.52 x sin(theta2) 0.7071 = 1.52 x sin(theta2) sin(theta2) = 0.7071 / 1.52 = 0.4652 theta2 = arcsin(0.4652) = 27.71 degrees Brewster's angle = arctan(1.52/1.0) = 56.66 degrees
Result:Refraction Angle: 27.71 degrees (light bends toward normal entering denser medium)
Example 2: Total Internal Reflection in Glass
Problem:Light travels inside glass (n=1.5) toward an air boundary (n=1.0). What is the critical angle?
Solution:Critical angle = arcsin(n2/n1) = arcsin(1.0/1.5) = arcsin(0.6667) = 41.81 degrees Any angle of incidence above 41.81 degrees will cause total internal reflection. At exactly 41.81 degrees, the refracted ray grazes along the surface at 90 degrees.
Result:Critical Angle: 41.81 degrees | Above this angle, 100% of light is reflected
Frequently Asked Questions
What is Snell's law and what does it describe in optics?
Snell's law describes how light bends (refracts) when it passes from one medium into another with a different refractive index. The law states that the product of the refractive index and the sine of the angle of incidence in one medium equals the product of the refractive index and the sine of the refraction angle in the second medium (n1 sin theta1 = n2 sin theta2). This fundamental principle was first accurately described by Willebrord Snellius in 1621 and independently by Rene Descartes. It applies to all types of waves including light, sound, and water waves whenever they cross a boundary between media with different propagation speeds.
What is the refractive index and what are common values for different materials?
The refractive index (n) is a dimensionless number that describes how much slower light travels in a medium compared to vacuum. Air has a refractive index of approximately 1.0003, water is about 1.33, common glass ranges from 1.5 to 1.9, and diamond is approximately 2.42. Higher refractive indices mean light travels more slowly and bends more when entering that material from a less dense medium. The refractive index also depends on wavelength, which is why prisms can separate white light into its constituent colors. This wavelength dependence is called dispersion and is responsible for rainbows and chromatic aberration in lenses.
What is total internal reflection and when does it occur?
Total internal reflection (TIR) occurs when light traveling in a denser medium (higher refractive index) hits the boundary with a less dense medium at an angle greater than the critical angle. At this point, instead of refracting through the boundary, all light is reflected back into the denser medium with zero transmission loss. The critical angle is calculated as arcsin(n2/n1) where n1 is greater than n2. For glass-to-air (n1=1.5, n2=1.0), the critical angle is about 41.8 degrees. TIR is the operating principle behind fiber optic cables, which guide light over long distances with minimal loss by keeping it bouncing inside the glass fiber core.
What is Brewster's angle and why is it important in polarization?
Brewster's angle is the specific angle of incidence at which light reflected from a surface is completely polarized in the direction parallel to the surface. At this angle, the reflected and refracted rays are perpendicular to each other, and the p-polarized component has zero reflectance. Brewster's angle equals arctan(n2/n1), which for glass (n=1.5) in air gives about 56.3 degrees. This phenomenon is used in polarizing filters, laser optics (Brewster windows), and glare reduction. Polarized sunglasses exploit this principle by blocking the horizontally polarized light reflected from horizontal surfaces like water and roads, dramatically reducing glare.
How do Fresnel equations relate to Snell's law and reflectance calculations?
The Fresnel equations describe how much light is reflected and transmitted at an interface between two media, building directly on Snell's law. They calculate separate reflectance values for s-polarized light (electric field perpendicular to the plane of incidence) and p-polarized light (electric field in the plane of incidence). At normal incidence, both polarizations reflect equally with reflectance R = ((n1-n2)/(n1+n2))^2. As the angle increases, s-polarization reflectance increases monotonically while p-polarization reflectance first decreases to zero at Brewster's angle then increases. These equations are essential in optical coating design, anti-reflection coatings, and understanding the optical properties of materials.
How does wavelength dispersion affect refraction and why do prisms create rainbows?
Dispersion occurs because the refractive index of most materials varies with wavelength, typically being higher for shorter wavelengths (blue light) and lower for longer wavelengths (red light). This means blue light bends more than red light when passing through a glass surface. In a prism, light refracts twice (entering and exiting), and the dispersion at each surface adds up, spreading white light into its spectral colors. The Abbe number quantifies a material's dispersion, with higher values indicating less dispersion. Crown glass has an Abbe number around 60 (low dispersion) while flint glass is around 35 (high dispersion). Lens designers combine different glass types to minimize chromatic aberration.
What practical applications rely on Snell's law in everyday technology?
Snell's law underpins an enormous range of technologies used daily. Corrective eyeglasses and contact lenses are designed using refraction principles to redirect light onto the retina properly. Camera lenses use multiple glass elements with carefully chosen refractive indices to focus images sharply. Fiber optic networks that carry internet data rely on total internal reflection to guide light signals across continents. Gemstone cutting angles are optimized using Snell's law to maximize brilliance through internal reflections. Medical endoscopes use fiber optics for internal imaging. Even the apparent bending of a straw in a glass of water is a direct demonstration of Snell's law at the air-water interface.
How do anti-reflection coatings work using principles from Snell's law?
Anti-reflection (AR) coatings reduce unwanted reflections by applying thin film layers with specific refractive indices and thicknesses to optical surfaces. A single-layer AR coating works best when its refractive index equals the square root of the product of the two surrounding media indices, and its thickness is one-quarter of the wavelength in the coating material. This creates destructive interference between reflections from the top and bottom surfaces of the coating. Multi-layer coatings stack several thin films to achieve broadband anti-reflection across a wide wavelength range. Modern smartphone screens, camera lenses, and solar panels all use AR coatings to improve light transmission and reduce glare.
What is the relationship between refraction angle and light speed in different media?
The speed of light in a medium equals the speed of light in vacuum divided by the refractive index (v = c/n). When light enters a medium with a higher refractive index, it slows down and bends toward the normal line. Conversely, entering a lower-index medium speeds it up and bends it away from the normal. The ratio of speeds in two media exactly equals the ratio of the sine of the angles (sin theta1 / sin theta2 = v1/v2 = n2/n1). This relationship was historically explained by Huygens using his wave theory of light and later confirmed by Foucault who directly measured that light travels slower in water than in air, definitively supporting the wave theory over Newton's corpuscular theory.
References
Background & Theory
Refractive Index Reference and Critical Angle
Snell's law governs how light bends when crossing between media of different optical density, and the refractive index (n) of a material โ the ratio of light's speed in vacuum to its speed in that material โ determines exactly how much bending occurs.
| Material | Refractive index (n) |
|---|---|
| Vacuum / air (approx.) | 1.00 |
| Water | 1.33 |
| Crown glass | ~1.52 |
| Diamond | 2.42 |
| Fiber-optic core (typical) | ~1.46-1.48 |
Total internal reflection โ the phenomenon that traps light inside a fiber-optic cable and makes underwater objects appear to have a mirror-like surface when viewed at a shallow angle from below โ only occurs when light travels from a higher-index medium toward a lower-index one at an angle beyond the critical angle; light moving the other direction (low index to high index) always refracts and can never totally internally reflect.
Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy
Related Calculators
๐งฎCoulombs Law Calculator
coulombs law calculator. Get instant, accurate results.
๐Ohm's Law
Calculate Voltage, Current, and Resistance
๐งฎAcceleration Calculator
Calculate acceleration with inputs, formulas, and instant results.
๐งฎMotion on Incline with Friction Calculator
Calculate motion on incline with friction with inputs, formulas, and instant results.
๐งฎRelative Velocity Calculator
Calculate relative velocity with inputs, formulas, and instant results.
๐งฎVelocity Calculator
Calculate velocity with inputs, formulas, and instant results.
๐งฎCoupled Spring Damper Calculator
Calculate coupled spring damper with inputs, formulas, and instant results.
๐งฎFriction Force Calculator
Calculate friction force with inputs, formulas, and instant results.