Snell’s Law Calculator

Calculate the refraction angle at an optical boundary.

Refracted angle from normal (°)
19.47122063

How the calculation works

n₁ sin(θ₁) = n₂ sin(θ₂); θ₂ = asin(n₁·sin(θ₁)/n₂)

Angles are measured from the normal, not the surface. Indices must be positive. Total internal reflection has no real transmitted angle and is shown as an undefined result.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

n₁ sin(θ₁) = n₂ sin(θ₂); θ₂ = asin(n₁·sin(θ₁)/n₂)

What assumptions apply?

Angles are measured from the normal, not the surface. Indices must be positive. Total internal reflection has no real transmitted angle and is shown as an undefined result.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Incident medium index n₁ = 1
Transmitted medium index n₂ = 1.5
Incident angle from normal (°) = 30
Refracted angle from normal (°): 19.47122063
2
Incident medium index n₁ = 1.33
Transmitted medium index n₂ = 1
Incident angle from normal (°) = 40
Refracted angle from normal (°): 58.74951959
3
Incident medium index n₁ = 1.5
Transmitted medium index n₂ = 1.33
Incident angle from normal (°) = 60
Refracted angle from normal (°): 77.61284111

How we test our calculators →

Also try:

Back to category →