User Rating 0.0
Total Usage 0 times
Range: 1.0000 – 4.0000
Range: 1.0000 – 4.0000
Range: 0° – 90° (exclusive)
Enter values and press Calculate
Is this tool helpful?

Your feedback helps us improve.

About

Snell's Law governs the relationship between the angle of incidence θ1 and the angle of refraction θ2 at the boundary between two optical media with refractive indices n1 and n2. A miscalculated incidence angle in fiber-optic design causes signal loss. In lens engineering, it produces aberration. In gemology, it means a poorly cut stone with no brilliance. This calculator solves for any unknown variable in Snell's equation, computes the critical angle for total internal reflection (TIR), and derives the Brewster angle θB for polarization. It assumes planar wavefronts at a flat interface and monochromatic light. Dispersion effects (wavelength-dependent n) are not modeled.

The interactive ray diagram renders the normal, incident ray, reflected ray, and refracted ray at their computed geometric angles. When the incidence angle exceeds the critical angle and n1 > n2, the tool flags total internal reflection and suppresses the refracted ray. Pro tip: refractive index values listed in handbooks are measured at the sodium D-line (589.3 nm). At other wavelengths, expect deviations of 0.5 - 2%.

angle of incidence snells law refraction calculator critical angle brewster angle optics calculator total internal reflection

Formulas

The fundamental relationship governing refraction at a planar interface is Snell's Law:

n1 sin(θ1) = n2 sin(θ2)

Solving for the angle of incidence:

θ1 = arcsin(n2 sin(θ2)n1)

Solving for the angle of refraction:

θ2 = arcsin(n1 sin(θ1)n2)

The critical angle for total internal reflection exists only when n1 > n2:

θc = arcsin(n2n1)

Brewster's angle, at which reflected light is fully polarized:

θB = arctan(n2n1)

Where n1 = refractive index of medium 1 (incident side), n2 = refractive index of medium 2 (refracted side), θ1 = angle of incidence measured from the surface normal, θ2 = angle of refraction measured from the surface normal, θc = critical angle, θB = Brewster's angle.

Reference Data

MediumRefractive Index (n)WavelengthState
Vacuum1.0000All(vacuum)
Air (STP)1.0003589 nm(g)
Water1.3330589 nm(l)
Ice1.3090589 nm(s)
Ethanol1.3610589 nm(l)
Glycerine1.4730589 nm(l)
Crown Glass1.5200589 nm(s)
Flint Glass1.6600589 nm(s)
Fused Silica1.4585589 nm(s)
Polycarbonate1.5850589 nm(s)
Acrylic (PMMA)1.4900589 nm(s)
Sapphire1.7700589 nm(s)
Diamond2.4170589 nm(s)
Cubic Zirconia2.1700589 nm(s)
Silicon3.42001200 nm(s)
Germanium4.00002000 nm(s)
Salt (NaCl)1.5440589 nm(s)
Olive Oil1.4670589 nm(l)
Carbon Disulfide1.6280589 nm(l)
Zircon1.9230589 nm(s)
Rutile (TiO2)2.6100589 nm(s)

Frequently Asked Questions

When light travels from a denser medium to a less dense medium (n₁ > n₂) and the incidence angle θ₁ exceeds the critical angle θc, 100% of the light is reflected back into the first medium. This is total internal reflection (TIR). The refracted ray ceases to exist. Fiber-optic cables exploit TIR by maintaining incidence angles above the critical angle throughout the fiber core.
Snell's Law requires that the argument of arcsin stays within [−1, +1]. If (n₁ · sin(θ₁)) / n₂ exceeds 1.0, no real refraction angle exists. This physically means total internal reflection occurs. The calculator detects this condition and reports it explicitly rather than returning a mathematically undefined result.
Refractive indices are temperature-dependent. For liquids, n typically decreases by approximately 0.0004 per °C rise. Water at 20 °C has n = 1.3330 but at 80 °C drops to approximately 1.3290. For precision work in interferometry or fiber optics, use temperature-corrected values from the Sellmeier equation rather than handbook constants.
At Brewster's angle θB = arctan(n₂/n₁), the reflected and refracted rays are perpendicular (separated by exactly 90°). The reflected beam is 100% s-polarized (electric field parallel to the surface). Photographers use polarizing filters calibrated near Brewster's angle to eliminate glare from water and glass surfaces. For air-to-glass (n = 1.52), θB ≈ 56.7°.
No. This tool assumes isotropic media with a single refractive index per material. Birefringent crystals like calcite (n_o = 1.658, n_e = 1.486) split incident light into ordinary and extraordinary rays, each obeying Snell's Law independently. For birefringent analysis, you need to run two separate calculations with the respective refractive indices.
The diagram is geometrically exact for the computed angles at a planar interface. It correctly renders the incident ray, normal line, reflected ray (θ_reflected = θ₁), and refracted ray at angle θ₂. It does not model beam width, diffraction, wavefront curvature, or Fresnel reflectance coefficients. The reflected ray intensity is shown at constant opacity for visual clarity, not scaled to the actual Fresnel reflection percentage.