Enter values to see results
—
°
—
°
—
Enter values to see results
—
°
—
°
—
Snell's Law Calculator computes the angle of refraction when light passes from one medium to another, using the fundamental law of refraction. It also determines the critical angle for total internal reflection (TIR) and alerts you when TIR occurs — a phenomenon that underlies fiber optics, diamond brilliance, and mirages.
Snell's Law states $$n_1 \sin\theta_1 = n_2 \sin\theta_2$$ and is one of the most important equations in all of optics, governing how light bends at every interface between transparent materials.
Snell's Law (also known as the law of refraction) relates the angles and refractive indices at an interface:
$$n_1 \sin\theta_1 = n_2 \sin\theta_2$$
Solving for the angle of refraction:
$$\theta_2 = \arcsin\left(\frac{n_1 \sin\theta_1}{n_2}\right)$$
Where:
When light travels from a denser medium to a less dense medium (n₁ > n₂), the refracted ray bends away from the normal (θ₂ > θ₁). At a special angle called the critical angle, the refracted ray grazes along the interface (θ₂ = 90°):
$$\theta_c = \arcsin\left(\frac{n_2}{n_1}\right)$$
For angles of incidence greater than θc, no refraction occurs — all light is reflected back into the denser medium. This is total internal reflection (TIR), and it is the operating principle of optical fibers, which trap light inside a glass core by ensuring the incidence angle always exceeds the critical angle.
TIR only occurs when n₁ > n₂ (light going from a denser to a less dense medium). When n₁ < n₂, refraction always occurs and the light bends toward the normal.
Common refractive indices: air ≈ 1.000, water ≈ 1.333, glass ≈ 1.5–1.9, diamond ≈ 2.417. Diamond's extremely high refractive index gives a critical angle of only 24.4°, causing extensive TIR and the characteristic sparkle.
The angle of refraction θ₂ shows the direction of the transmitted ray in the second medium. If the calculator returns −1 for θ₂, total internal reflection occurs and no refracted ray exists.
The critical angle is displayed only when n₁ > n₂ (TIR is possible). It is the maximum angle of incidence for which refraction still occurs. The TIR status tells you clearly whether total internal reflection is happening at the given angle.
Inputs
Results
Light in glass (n = 1.5) hitting the air interface at 30° refracts to 48.6° in air. The critical angle is 41.8°, so TIR does not occur. The light bends away from the normal as expected when entering a less dense medium.
Inputs
Results
At 50° incidence (above the critical angle of 41.8°), sin(θ₂) = 1.5 × sin(50°)/1.0 = 1.149 > 1, which is impossible. Total internal reflection occurs — all light is reflected back into the glass.
Snell's Law is the law of refraction: $$n_1 \sin\theta_1 = n_2 \sin\theta_2$$. It describes how light changes direction when passing between two media with different refractive indices. The law was formulated by Willebrord Snellius in 1621 and independently by René Descartes.
Total internal reflection (TIR) occurs when light travels from a denser medium to a less dense medium at an angle exceeding the critical angle. All light is reflected back — none is transmitted. TIR is the basis of fiber optics, prism-based periscopes, and the brilliance of diamonds.
The critical angle is $$\theta_c = \arcsin\left(\frac{n_2}{n_1}\right)$$. It only exists when n₁ > n₂. For glass (n = 1.5) to air (n = 1.0), θc = arcsin(1/1.5) = 41.8°. For diamond to air, θc = arcsin(1/2.417) = 24.4°.
The refractive index n = c/v is the ratio of the speed of light in vacuum to its speed in the medium. Air has n ≈ 1.000, water n ≈ 1.333, crown glass n ≈ 1.52, flint glass n ≈ 1.62, and diamond n ≈ 2.417. Higher n means light travels slower and bends more.
Yes. Snell's Law applies to any wave phenomenon at an interface between two media, including sound waves, seismic waves, and electromagnetic waves of all frequencies. The refractive indices are replaced by the appropriate wave speed ratios for each type of wave.
Diamond has a very high refractive index (n = 2.417), giving a critical angle of only 24.4°. Light entering the diamond undergoes multiple total internal reflections before exiting through the top facets. Combined with strong dispersion (different wavelengths refract differently), this creates the characteristic fire and brilliance.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Lens Calculator
Geometric Optics Calculators
Mirror Equation Calculator
Geometric Optics Calculators
Magnification Calculator
Geometric Optics Calculators
Focal Length Calculator
Geometric Optics Calculators
Lens Maker Equation Calculator
Geometric Optics Calculators
Index of Refraction Calculator
Geometric Optics Calculators