Snell's Law Simulator Back EN | ZH
Optics Simulator

Snell's Law & Refraction Simulator

Adjust incident angle and refractive indices to visualize light refraction and total internal reflection in real time. Critical angle and Fresnel reflectance calculated automatically.

Parameters
Presets
Incident angle θ₁ 45.0 °
Refractive index n₁ (medium 1) 1.00
Refractive index n₂ (medium 2) 1.50
Reference values: Air ≈ 1.00 / Water ≈ 1.33 / Glass ≈ 1.50 / Diamond ≈ 2.42
45.0°
Incident angle θ₁
28.1°
Refracted angle θ₂
Critical angle θ_c
0.040
Reflectance R

Theory

Snell's Law (law of refraction):

$$n_1\sin\theta_1 = n_2\sin\theta_2$$

Critical angle (total internal reflection condition): $\theta_c = \arcsin\!\left(\dfrac{n_2}{n_1}\right)$ (valid when $n_1 > n_2$)

Fresnel reflectance (normal incidence approximation): $R_0 = \left(\dfrac{n_1-n_2}{n_1+n_2}\right)^2$

When $\theta_1 \geq \theta_c$, total internal reflection occurs and $R = 1$

Engineering applications: Optical fiber TIR principle / Lens and prism design / Ultrasonic NDT beam refraction (acoustic Snell's law uses sound speeds) / Anti-reflection coating design for infrared sensors and solar cells.