Snell's Law Calculator

Snell's Law Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

θ2=arcsin⁡(n1·sin⁡θ1n2)\theta_2 = \arcsin\left(\frac{{{\text{n}_1}} \cdot \sin{\theta_1}}{{{\text{n}_2}}}\right)
Show calculation steps (1)
  1. Critical Angle (when n1 > n2)

    θc=arcsin⁡(n2n1)\theta_c = \arcsin\left(\frac{{{\text{n}_2}}}{{{\text{n}_1}}}\right)

    Critical angle for total internal reflection, defined only when n1 > n2.

Usage stats

Advertisement

Results

Refraction Angle θ2
19.4712°
angle in the second medium
sin(θ2) 0.333333

Report an error on this page

What is Snell's Law?

Snell's Law describes how light bends (refracts) when it passes from one transparent medium into another with a different optical density. It connects the angle of incidence \(\theta_1\) and the angle of refraction \(\theta_2\) to the refractive indices \(n_1\) and \(n_2\) of the two media: \(n_1\cdot\sin(\theta_1) = n_2\cdot\sin(\theta_2)\). This calculator solves for the refraction angle \(\theta_2\) and also reports the critical angle when light travels from a denser to a rarer medium.

Light ray refracting at the boundary between two media
Snell's law: a ray bends at the interface between media with indices \(n_1\) and \(n_2\).

How to use this calculator

Enter the refractive index of the medium the light starts in (\(n_1\)), the angle of incidence \(\theta_1\) measured from the surface normal (0–90°), and the refractive index of the medium the light enters (\(n_2\)). The calculator returns \(\theta_2\). If the geometry produces \(\sin(\theta_2)\) greater than 1, no refracted ray can exist and the result is flagged as total internal reflection.

The formula explained

Rearranging Snell's Law gives $$\theta_2 = \arcsin\left(\frac{n_1\cdot\sin(\theta_1)}{n_2}\right).$$ When \(n_1 < n_2\) the ray bends toward the normal; when \(n_1 > n_2\) it bends away. If \(n_1 > n_2\), there is a critical angle $$\theta_c = \arcsin\left(\frac{n_2}{n_1}\right):$$ beyond it light is totally internally reflected — the principle behind fiber optics.

Advertisement
Total internal reflection at the critical angle
At the critical angle the refracted ray runs along the boundary; beyond it light reflects internally.

Worked example

Light passes from air (\(n_1 = 1.00\)) into water (\(n_2 = 1.33\)) at an incidence angle of 30°. Then $$\sin(\theta_2) = \frac{1.00 \times \sin 30^\circ}{1.33} = \frac{0.5}{1.33} \approx 0.3759,$$ so \(\theta_2 = \arcsin(0.3759) \approx 22.08^\circ\). The ray bends toward the normal, as expected when entering a denser medium.

FAQ

What is the refractive index of common materials? Vacuum ≈ 1.0000, air ≈ 1.0003, water ≈ 1.33, glass ≈ 1.5, diamond ≈ 2.42.

Why do I get "Total Internal Reflection"? When light goes from a denser to a rarer medium past the critical angle, \(\sin(\theta_2)\) exceeds 1, which has no real solution, so the light reflects entirely back.

Is the angle measured from the surface? No — both \(\theta_1\) and \(\theta_2\) are measured from the surface normal (the perpendicular to the boundary).

Last updated:

Most popular in Physics and Engineering

View all Physics and Engineering calculators