Snell's Law & Critical Angle Guide
Overview
Snell's law links direction changes of a wave to the refractive indices of two media. Whenever light, ultrasound, or microwave radiation crosses an interface, the propagation speed jumps to a new value, forcing the ray to bend. Designers use this rule to shape lenses, prisms, photonic chips, and even aquarium windows. This calculator keeps every relevant quantity—incident angle, refracted angle, and critical angle—in one panel so you can iterate quickly while sketching optical layouts.
Inputs & Usage
Provide three inputs: the refractive index of the incident medium , the refractive index of the second medium , and the incident angle measured from the surface normal. Typical reference values are 1.000 for dry air, 1.33 for water, 1.46 for fused silica, and 1.90 for dense flint glass. Stick to angles between 0° and 90° for a physically meaningful scenario. After each keystroke the tool recomputes everything and formats the output with your locale, so commas or dots appear automatically in the numbers you read.
How It Works
The computation begins with the canonical relation
Solving for the refracted angle yields
If the argument of lies between and the wave refracts normally. When and the argument rises above 1, the expression no longer has a real solution, and total internal reflection (TIR) occurs. The boundary between transmission and TIR is the critical angle
These formulas are evaluated with high-precision floating point math and rounded only at presentation time, preserving accuracy for downstream design steps.
Interpretation
The refracted angle describes how steeply the ray continues in the new material. Values closer to 0° indicate that the ray is bending toward the normal, typical when entering a denser medium. The critical angle is only defined when exceeds ; it signals the tipping point where every larger incident angle reflects rather than transmits. The calculator also emits a clear Yes/No flag for total internal reflection so you can immediately tell whether a waveguide mode remains confined.
Example
Imagine a beam traveling from air into borosilicate glass with . The refracted angle is
If we reverse the direction—light inside the glass heading toward air—the critical angle becomes
Any incident angle inside the glass that exceeds 41.1° will reflect entirely, which is exactly how right-angle prisms redirect laser beams without metallic mirrors.
Limitations
The model assumes homogeneous, isotropic, lossless media and an abrupt, perfectly flat boundary. Polarization effects, thin-film coatings, birefringence, graded-index profiles, absorption, and surface roughness are outside its scope. Dispersion is ignored, so users must pick refractive indices that already match the wavelength of interest. Treat the results as first-order guidance; when tolerances are tight, verify them against material catalogs or electromagnetic simulation software.