Snell's Law Calculator Guide: Refraction Index & Angle Explained
Quick Answer
- *Snell's law: n<sub>1</sub> sin(θ<sub>1</sub>) = n<sub>2</sub> sin(θ<sub>2</sub>) — it predicts exactly how light bends between two materials.
- *Light bends toward the normal when entering a denser medium (higher refractive index) and away from it when entering a less dense medium.
- *Common refractive indices: air = 1.0003, water = 1.333, glass = 1.5, diamond = 2.42.
- *Above the critical angle, light undergoes total internal reflection — the principle behind fiber optics.
What Is Snell's Law?
Snell's law (also called the law of refraction) describes how light changes direction when it crosses the boundary between two transparent materials. The Dutch mathematician Willebrord Snellius published it in 1621, though Ibn Sahl documented the same relationship in 984 AD — over 600 years earlier.
The formula is straightforward: n1 × sin(θ1) = n2 × sin(θ2). Here n1 and n2 are the refractive indices of the first and second media, and θ1 and θ2 are the angles measured from the line perpendicular to the surface (the "normal").
Understanding Refractive Index
The refractive index (n) of a material tells you how much slower light travels through it compared to a vacuum. In a vacuum, light moves at 299,792,458 m/s. In water (n = 1.333), it slows to about 224,900,000 m/s. The higher the index, the more the material bends light.
| Material | Refractive Index (n) | Speed of Light (m/s) |
|---|---|---|
| Vacuum | 1.0000 | 299,792,458 |
| Air (STP) | 1.0003 | 299,702,547 |
| Water | 1.333 | 224,900,000 |
| Crown glass | 1.523 | 196,844,000 |
| Flint glass | 1.620 | 185,055,000 |
| Diamond | 2.417 | 124,034,000 |
These values are measured at the sodium D-line wavelength (589 nm). Real-world refractive indices shift slightly with wavelength — a phenomenon called dispersion. That's why prisms split white light into a rainbow.
How to Use the Formula
Suppose light travels from air (n1 = 1.0003) into glass (n2 = 1.523) at an angle of incidence of 30°.
Step 1:Write the equation: 1.0003 × sin(30°) = 1.523 × sin(θ2)
Step 2:Solve for sin(θ2): sin(θ2) = (1.0003 × 0.5) / 1.523 = 0.3284
Step 3: Take the inverse sine: θ2 = arcsin(0.3284) = 19.2°
The light bends toward the normal because it enters a denser medium. Our Snell's law calculator handles these calculations instantly for any pair of materials.
Total Internal Reflection
When light moves from a denser medium to a less dense one (glass to air, for example), there's a maximum angle of incidence beyond which no refraction occurs. All the light bounces back. This is total internal reflection, and the threshold is called the critical angle.
The critical angle formula: θc = arcsin(n2 / n1)
| Interface | n1 | n2 | Critical Angle |
|---|---|---|---|
| Glass → Air | 1.523 | 1.000 | 41.0° |
| Water → Air | 1.333 | 1.000 | 48.6° |
| Diamond → Air | 2.417 | 1.000 | 24.4° |
| Glass → Water | 1.523 | 1.333 | 61.0° |
Diamond's low critical angle (24.4°) is why it sparkles so intensely. Most light entering a cut diamond undergoes multiple total internal reflections before exiting through the top, creating that signature brilliance. According to the Gemological Institute of America (GIA), a well-cut diamond returns over 95% of entering light back through the crown.
Real-World Applications
Fiber Optic Communication
Fiber optic cables use total internal reflection to transmit data as pulses of light. The glass core (n ≈ 1.48) is surrounded by cladding (n ≈ 1.46), trapping light inside through continuous reflection. A single fiber can carry over 25 terabits per secondaccording to NTT's 2023 demonstration — enough for 300,000 simultaneous 4K video streams.
Lenses and Eyeglasses
Every lens — from reading glasses to camera objectives — uses refraction to focus light. Modern high-index lenses (n = 1.67 to 1.74) bend light more sharply, allowing thinner, lighter lenses for strong prescriptions. The American Academy of Ophthalmology notes that high-index materials reduce lens thickness by up to 50% compared to standard CR-39 plastic (n = 1.50).
Mirages
On a hot road, the air near the surface is less dense (lower n) than cooler air above it. Light from the sky refracts gradually through these layers until it undergoes total internal reflection, creating the illusion of water on the road. This is Snell's law at work across a continuous gradient rather than a sharp boundary.
Underwater Vision
Everything looks blurry underwater because the human cornea (n = 1.376) has nearly the same refractive index as water (n = 1.333). The cornea normally provides about two-thirds of the eye's focusing power, but that power drops to almost zero in water. Swim goggles restore the air-cornea boundary and fix the problem instantly.
Calculate refraction angles instantly
Use our free Snell's Law Calculator →Frequently Asked Questions
What is Snell's law in simple terms?
Snell's law describes how light bends when it passes from one material into another. The formula n1 × sin(θ1) = n2 × sin(θ2) relates the angle of incoming light to the angle of refracted light based on the refractive indices of both materials. A higher refractive index means the material slows light more and bends it more.
What is the refractive index of water?
Water has a refractive index of approximately 1.333 at visible wavelengths (589 nm, sodium D-line). This means light travels about 1.333 times slower in water than in a vacuum. The value varies slightly with temperature and wavelength — saltwater is about 1.339.
What is total internal reflection?
Total internal reflection occurs when light traveling in a denser medium (like glass) hits the boundary with a less dense medium (like air) at an angle greater than the critical angle. Instead of passing through, all the light bounces back. Fiber optic cables, medical endoscopes, and binoculars all rely on this phenomenon.
How do you calculate the critical angle?
The critical angle is θc = arcsin(n2 / n1), where n1 is the denser medium and n2 is the less dense one. For glass (n = 1.52) to air (n = 1.0), the critical angle is arcsin(1.0 / 1.52) = 41.1°. Any angle of incidence above this results in total internal reflection.
Why does a straw look bent in water?
A straw appears bent at the waterline because light rays from the submerged portion refract as they pass from water (n = 1.333) into air (n = 1.0). Your brain traces the refracted rays backward in a straight line, placing the image of the submerged straw at a different position than the actual straw. The apparent shift depends on your viewing angle and the water's depth.