Snell's Law Calculator
Calculate the refraction angle using Snell's law for any two optical media.
How Refraction Changes a Light Ray's Direction
Snell's law connects the direction of a ray on the two sides of a boundary between transparent media. The refractive index n=c/v describes how slowly light propagates in a medium relative to vacuum. At a boundary, the wave frequency remains the same while speed and wavelength change, and the ray direction adjusts so that n1sinθ1=n2sinθ2. Both angles are measured from the normal, not from the surface.
If light enters a medium with a larger refractive index, the refracted angle becomes smaller and the ray bends toward the normal. If it enters a lower-index medium, it bends away. The phrase "optically denser" refers to refractive index, not necessarily mass density. A physically denser material does not automatically have the larger optical index.
| Symbol | Meaning | Why it appears / units |
|---|---|---|
| n1, n2 | Refractive indices | Dimensionless; depend on medium and wavelength. |
| θ1 | Incidence angle | Measured from the normal in medium 1. |
| θ2 | Refraction angle | Measured from the normal in medium 2. |
| θc | Critical angle | Exists only when light travels from higher n to lower n. |
When n1>n2, increasing θ1 eventually makes the required sinθ2 exceed 1. That cannot correspond to a transmitted ray, so total internal reflection occurs. The boundary case is θc=sin−1(n2/n1), where the refracted ray would travel along the interface at 90°.
Worked Examples
Common Mistakes
Snell's-law angles are measured from the normal. An angle of 20° from the surface is 70° from the normal.
Total internal reflection requires travel from a higher refractive index to a lower one. Otherwise n2/n1 exceeds 1 and no critical angle exists.
Real materials are dispersive. Their refractive index changes with wavelength, which is why a prism can separate colors.
Frequently Asked Questions
Formula Explorer connections
Interpretation: This relationship connects light propagation, geometry, wavelength, refraction, interference or image formation. Assumption: Use a consistent sign convention and units. Paraxial rays, thin elements, coherent light, vacuum wavelength or ideal optical components may be assumed.