Intermediate

Angle of Refraction Calculator — Snell's Law

Apply Snell's law (n₁·sin θ₁ = n₂·sin θ₂) to find the angle of refraction when light crosses the boundary between two media. Choose from common material presets or enter a custom refractive index.

°

Measured from the surface normal — 0° = straight through, 90° = grazing
e.g. air/vacuum ≈ 1.000, water ≈ 1.333

Second medium

Angle of refraction (θ₂)
19.47°

Angle the transmitted ray makes with the normal in the second medium (Snell's law)

Refraction angle θ₂
19.47 °
Critical angle
N/A (n₁ ≤ n₂)
Speed in medium 1
2.998 × 10⁸ m/s
Speed in medium 2
1.9987 × 10⁸ m/s
Angular deviation |θ₁ − θ₂|
10.53 °
Step by step
  1. 1

    sin(θ₁)

    sin(30° × π ÷ 180) = 0.5
  2. 2

    Snell ratio n₁ · sin θ₁ ÷ n₂

    1 × 0.5 ÷ 1.5 = 0.333333
    Snell's law: n₁ sin θ₁ = n₂ sin θ₂.
  3. 3

    Angle of refraction θ₂

    arcsin(0.333333) × (180 ÷ π) = 19.47
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Snell's law: n₁·sin θ₁ = n₂·sin θ₂, so θ₂ = arcsin(n₁·sin θ₁/n₂). For air-to-glass (n₂=1.5) at 30° incidence, θ₂ ≈ 19.5°. If n₁ > n₂ and θ₁ exceeds the critical angle arcsin(n₂/n₁), total internal reflection occurs and no refracted ray exists. Refractive indices here are for visible light near 589 nm.

Formula
θ₂ = arcsin(n₁·sin θ₁ / n₂) • θ_critical = arcsin(n₂/n₁) when n₁ > n₂
How this is calculated

When a ray crosses the boundary between two transparent media it changes speed and bends — this is refraction. Snell's law connects the incidence angle θ₁ and refraction angle θ₂ through the refractive indices: n₁·sin θ₁ = n₂·sin θ₂. Both angles are measured from the surface normal, not from the surface itself. The refractive index n = c/v is the ratio of the speed of light in vacuum (c ≈ 3 × 10⁸ m/s) to the phase speed in the medium.

If the ray enters a denser medium (n₂ > n₁), it slows down and bends toward the normal: θ₂ < θ₁. Going from a denser to a less dense medium it bends away (θ₂ > θ₁). When n₁ > n₂ and θ₁ reaches the critical angle θ_c = arcsin(n₂/n₁), the refracted ray lies along the surface (θ₂ = 90°). Beyond θ_c, the ratio n₁·sin θ₁/n₂ exceeds 1 and no real solution exists — total internal reflection (TIR) occurs. TIR is the basis of optical fibres and explains why diamonds and cut gemstones sparkle so brilliantly (critical angle ≈ 24.4° for diamond).

This calculator uses a single fixed n per medium; real materials are dispersive (n varies with wavelength), so white light separates into colours at a prism or water droplet. The tabulated n values are for visible light near 589 nm (sodium D-line).

Frequently asked questions

Light slows down in denser media. When the wavefront hits the boundary at an angle, one side enters and slows first while the other still travels at the original speed. This rotation of the wavefront bends the ray toward the normal — the same effect as a wheel veering when one side hits rough ground.

TIR occurs when light travels from a denser (high-n) medium into a less dense (low-n) one at an angle greater than the critical angle θ_c = arcsin(n₂/n₁). At that point Snell's law would require sin θ₂ > 1, which is impossible — so all light reflects back. Optical fibres, diamonds, and certain microscopy techniques exploit TIR.

Most transparent materials have a refractive index that varies with wavelength — red light has a lower n and bends less; violet light has a higher n and bends more. This is why white light splits into a rainbow in a glass prism or raindrop. This calculator uses a single n per medium; for dispersion you would need wavelength-dependent Sellmeier coefficients.

Also known as

angle of refraction calculator
snells law refraction angle
refracted ray angle calculator
total internal reflection angle
refractive index refraction formula
light bending angle optics

APA

TG we-Calculate Editorial Team. (2026). Angle of Refraction Calculator — Snell's Law [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/angle-of-refraction-calculator

Chicago

TG we-Calculate Editorial Team. "Angle of Refraction Calculator — Snell's Law." TG we-Calculate. 2026. https://we-calculate.com/calculator/angle-of-refraction-calculator.

IEEE

TG we-Calculate Editorial Team, "Angle of Refraction Calculator — Snell's Law," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/angle-of-refraction-calculator

BibTeX

@misc{wecalculate_angle_of_refraction_calculator, title = {Angle of Refraction Calculator — Snell's Law}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/angle-of-refraction-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?