Physics & Mechanics

Snell's Law Calculator

Calculate the angle of refraction as light passes between two different media. Solve optics problems using refractive indices.

°
Refracted Angle (θ₂)
22.082
PhenomenonRefraction

Calculated locally in your browser. Fast, secure, and private.

The Law of Refraction

Snell's Law (also known as the Snell-Descartes law) is the formula used to describe the relationship between the angles of incidence and refraction when light passes through a boundary between two different isotropic media, such as water, glass, or air.

As light passes from a medium with a lower refractive index (like air) to one with a higher index (like glass), it slows down and bends toward the normal (a line perpendicular to the surface). When it moves from glass to air, it speeds up and bends away from the normal.

Applications of Snell's Law

  • Eyeglasses & Contact Lenses: Use precisely shaped glass to bend light so that it focuses correctly on your retina.
  • Fiber Optics: Relies on light bending so much that it stays trapped inside a glass cable.
  • Atmospheric Physics: Explains why the sun appears to set several minutes later than it actually does (the atmosphere bends the light around the curve of the Earth).

The Formula

n1sin(θ1)=n2sin(θ2)\begin{aligned} n_1 \cdot \sin(\theta_1) = n_2 \cdot \sin(\theta_2) \end{aligned}

Where:
n1,n2n_1, n_2=
Refractive indices of media 1 and 2
θ1\theta_1=
Angle of incidence
θ2\theta_2=
Angle of refraction

Example Calculation

A beam of light in air ($n_1 = 1.0$) hits a pool of water ($n_2 = 1.33$) at an angle of $30^\circ$ from the normal.

  1. Calculate n1 · sin(θ1): $1.0 \times \sin(30^\circ) = 0.5$.
  2. Divide by n2: $0.5 / 1.33 \approx 0.376$.
  3. Take Inverse Sine: $\arcsin(0.376) \approx 22.1^\circ$.

The light bends into the water at an angle of $22.1^\circ$.

Frequently Asked Questions

If the angle of incidence is $0^\circ$, then $\sin(0) = 0$. Snell's law shows that the angle of refraction will also be $0^\circ$. The light will slow down, but it will not bend.

This is called 'dispersion'. For most materials, the refractive index is slightly different for different colors (wavelengths). Violet light bends more than red light, causing the white light to spread out into its component colors.

It is an extremely accurate approximation for most transparent materials. However, it can become more complex in 'anisotropic' materials (like some crystals) where light bends differently depending on its polarization.