Snell's Law Calculator

Enter any 3 values to calculate the 4th.

Index
deg (°)
Index
deg (°)
Result
---

How it works?

Snell's Law describes how light bends (refracts) when passing from one medium to another with a different refractive index. Depending on which variables you know, the formula can be rearranged to solve for any missing parameter.

Calculating Incident Angle (\(\theta_1\))

To find the incident angle, you need the refractive indices of both media and the refracted angle.

$$ \theta_1 = \sin^{-1} \left( \frac{n_2}{n_1} \cdot \sin(\theta_2) \right) $$

Calculating Refracted Angle (\(\theta_2\))

To find the angle at which light exits the interface, rearrange the formula to solve for \(\theta_2\).

$$ \theta_2 = \sin^{-1} \left( \frac{n_1}{n_2} \cdot \sin(\theta_1) \right) $$

Calculating Incident Index (\(n_1\))

If you know the path of the light (both angles) and the target material's index, you can determine the index of the starting medium.

$$ n_1 = n_2 \cdot \frac{\sin(\theta_2)}{\sin(\theta_1)} $$

Calculating Refracted Index (\(n_2\))

This is commonly used to identify unknown materials by measuring how much they bend light from a known source (like Air).

$$ n_2 = n_1 \cdot \frac{\sin(\theta_1)}{\sin(\theta_2)} $$