Physics

Snell's Law & Critical Angle Calculator

Find the refracted angle and check for total internal reflection between two media.

Typically 1 for air, but enter any medium you are exiting from.

Use values like ≈1.5 for glass or ≈1.33 for water.

Angle measured from the normal; 0° is straight on, 90° grazes the surface.

Example

Air → crown glass at 40°

Matches the walkthrough scenario from the article.

n₁
1
n₂
1.52
θ₁
40°

Total internal reflection

No

The ray propagates through the interface — refraction bends it toward the normal.

Refracted angle

19.471°

Critical angle

n₁ / n₂

0.6667

⚠︎ Physics

Keep inputs realistic. Angles beyond 90° or non-positive refractive indices produce undefined optics.

n₁ 1 · n₂ 1.5

Enter numbers to see the answers.

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.