Skip to content
K Knidox Search…
Physics · Optics

Snell's Law

Find the refraction angle from n₁ sin θ₁ = n₂ sin θ₂, with total-internal-reflection detection.

°
Refraction angle (θ₂)
19.47°

n₂ > n₁: light bends toward the normal (θ₂ < θ₁).

Refraction angle vs incidence angle (Snell’s law)
Refraction angle θ₂ as a function of the incidence angle θ₁ under Snell’s law90°90°

Snell’s law is n₁ sin θ₁ = n₂ sin θ₂, so the refraction angle is θ₂ = asin(n₁ sin θ₁ ÷ n₂). Light passing from air (n = 1.00) into glass (n = 1.50) at θ₁ = 30° refracts to θ₂ = asin(sin 30° ÷ 1.50) = asin(0.3333) ≈ 19.5° — bending toward the normal as it enters the denser medium.

What Snell’s law describes

When light crosses the boundary between two transparent media it changes speed, and that change makes the ray bend. Snell’s law, n₁ sin θ₁ = n₂ sin θ₂, relates the angle of incidence (θ₁) to the angle of refraction (θ₂) through each medium’s refractive index (n), where every angle is measured from the normal — the line perpendicular to the surface, not the surface itself.

n₁ sin θ₁ = n₂ sin θ₂

n₁, n₂ = refractive indices · θ₁ = angle of incidence · θ₂ = angle of refraction (both from the normal)

Worked example

A ray travels from air (n₁ = 1.00) into glass (n₂ = 1.50) striking the surface at θ₁ = 30°. Find the refraction angle:

  1. 1
    Solve for the refraction angle. Rearrange n₁ sin θ₁ = n₂ sin θ₂ to θ₂ = asin(n₁ sin θ₁ ÷ n₂).
  2. 2
    Substitute the values. θ₂ = asin(1.00 × sin 30° ÷ 1.50) = asin(0.5 ÷ 1.50) = asin(0.3333).
  3. 3
    Take the inverse sine. θ₂ = asin(0.3333) ≈ 19.47° — the ray bends toward the normal entering the denser glass.
  4. 4
    Check for total internal reflection. If n₁ sin θ₁ ÷ n₂ exceeds 1, asin has no solution: there is no refracted ray and the light reflects entirely.

Refractive indices (visible light)

Approximate indices used by this tool; exact values vary with wavelength and conditions.

MediumRefractive index (n)
Vacuum1.00
Air1.0003
Water1.33
Glass (typical)1.50
Diamond2.42

Bending, the critical angle, and total internal reflection

Which way light bends. Entering a denser medium (n₂ > n₁) the ray slows and bends toward the normal, so θ₂ < θ₁. Going the other way, into a less dense medium (n₂ < n₁), it bends away from the normal and θ₂ > θ₁.

The critical angle. When light moves from a denser to a rarer medium, there is an angle of incidence at which θ₂ would reach 90°. This critical angle is θ_c = asin(n₂ ÷ n₁) — for glass-to-air it is asin(1 ÷ 1.5) ≈ 41.8°.

Total internal reflection. Beyond the critical angle, n₁ sin θ₁ ÷ n₂ exceeds 1, the inverse sine is undefined, and no light escapes — it all reflects back inside. This is exactly why optical fibres trap light and why a submerged straw or a pool floor can look mirror-like from a shallow angle.

What is the refractive index?
The refractive index n is how much a medium slows light: n = c ÷ v, where c is the speed of light in vacuum. A higher n (water 1.33, glass 1.5, diamond 2.42) means light travels slower and bends more sharply at the boundary.
Which way does light bend at a boundary?
Toward the normal when it enters a denser medium (n₂ > n₁), so the refraction angle is smaller than the incidence angle. Away from the normal when it enters a less dense medium (n₂ < n₁), so the refraction angle is larger.
What is total internal reflection?
When light travels from a denser to a rarer medium and n₁ sin θ₁ ÷ n₂ exceeds 1, Snell’s law has no solution — no ray refracts out and all the light reflects back inside. The calculator flags this case instead of returning an error.
How do I find the critical angle?
The critical angle is the incidence angle where the refracted ray would graze the surface at 90°: θ_c = asin(n₂ ÷ n₁), valid only when n₁ > n₂. For glass to air that is asin(1 ÷ 1.5) ≈ 41.8°.
Why does a straw look bent in a glass of water?
Light from the submerged part bends as it leaves the water (n ≈ 1.33) for the air (n ≈ 1.0003), shifting the apparent position of the straw. Your eye traces the bent rays back in straight lines, so the straw appears to jump or break at the surface.
Are the angles measured from the surface or the normal?
Always from the normal — the line perpendicular to the surface. A ray hitting straight on has θ₁ = 0° and passes through undeviated; a glancing ray approaches θ₁ = 90°.