This Snell's law calculator will help you trace the refracted light ray when it enters a medium with a different refractive index. You can also determine the critical angle of the medium, provided the second medium has a smaller refractive index than the first.

In this article, we shall learn how to find the angle of refraction using Snell's law of refraction. We shall also discuss what critical angle and its formula are.

If you need to calculate refractive indices, use our index of refraction calculator.

Snell's law of refraction. Angle of refraction formula.

Refraction is the phenomenon by which a wave changes direction when moving from one medium to another. Although we commonly observe this in light, other waves like sound also experience this.

When light enters a medium of lower refractive index, it moves faster and refracts away from the boundary normal. When it enters a medium of higher refractive index, its speed reduces, and it refracts towards the boundary normal. We notice this redirection (or displacement in its trajectory) by a change in the angle of refraction.

Refraction of light at the interface between two media.
Refraction of light at the interface between two media. Notice that the refractive index n2>n1n_2>n_1 here.

Snell's law establishes a relationship between the refractive indices and the angles of incidence and refraction:

n1sinθ1=n2sinθ2n_1 \sin \theta_1 = n_2 \sin \theta_2

where:

  • n1n_1 is the refractive index of the first medium;

  • θ1\theta_1 is the angle of incidence;

  • n2n_2 is the refractive index of the second medium; and

  • θ2\theta_2 is the angle of refraction.

Using this Snell's law formula, we can calculate the angle of refraction if we know the refractive indices and the incident angle.

For example, let's determine the path of a light ray incident at an angle of 30°30\degree on a glass pane with a refractive index of 1.51.5. If we assume the air's refractive index to be 11, we can calculate the angle of refraction as:

n1sinθ1=n2sinθ2θ2=arcsin(n1sinθ1n2)=arcsin(1sin(30°)1.5)θ219.5°\begin{align*} n_1 &\sin \theta_1 = n_2 \sin \theta_2\\ \theta_2 &= \arcsin\left( \frac{n_1 \sin \theta_1}{n_2}\right)\\ &=\arcsin\left( \frac{1\cdot \sin (30\degree)}{1.5}\right)\\ \theta_2 &\approx 19.5\degree \end{align*}

We can therefore treat the following version of Snell's law of refraction as the angle of refraction formula:

θ2=arcsin(n1sinθ1n2)\theta_2 = \arcsin\left( \frac{n_1 \sin \theta_1}{n_2}\right)

Find out what happens when light travels through three mediums of different refractive indices with our thin film optical coating calculator.

What is critical angle? How to find critical angle?

When light passes from a higher refractive index medium to a lower refractive index one, we can observe refraction up to a certain angle of incidence. After this angle, all light incident on the interface is reflected back into the medium with a higher refractive index. This exciting phenomenon is total internal reflection, which makes high-speed optical fiber networks possible.

We define the critical angle as the minimum incident angle required for total internal reflection. Alternatively, we can also define it as the maximum incident angle for which we can observe refraction. At this angle, the refracted ray travels parallel to the interface (θ2=90°)(\theta_2 = 90\degree).

With this understanding, let's derive a formula for the critical angle θc\theta_c from Snell's law formula:

n1sinθ1=n2sinθ2    n1sinθc=n2sin(90°)=n2θc=arcsin(n2n1)\small\begin{align*} n_1 \sin \theta_1 &= n_2 \sin \theta_2\\ \implies n_1 \sin \theta_c&= n_2 \sin(90\degree) = n_2\\ \theta_c &= \arcsin\left(\frac{n_2}{n_1}\right) \end{align*}

If you're confusing critical angle with Brewster angle, our Brewster angle calculator is here to help.

🙋 Note that n1n2n_1\geq n_2 in the critical angle formula.

How to use this Snell's law calculator

We pride ourselves on the versatility of Snell's law calculator. Here are some instructions to put it to good use:

  1. Select the two mediums from their respective lists. This action will autofill values for their refractive indices. But don't let that stop you from entering custom values if required.

    • Enter the angle of incidence to determine the angle of refraction using the refraction angle formula.
    • Provide the angle of refraction to determine the incident angle.

🙋 Bonus feature: How to find the critical angle using this Snell's law calculator?
This calculator will automatically calculate the critical angle from the refractive indices n1n_1 and n2n_2. However, for this feature to activate, the condition n1n2n_1\geq n_2 must be met.

Krishna Nelaturu
Snell's law illustration. Image presenting light refraction, with refraction indices and angles of incidence an refraction marked.
Medium 1
Vacuum
Refractive index 1 (n₁)
Medium 2
Air
Refractive index 2 (n₂)
Angle of incidence (θ₁)
deg
Angle of refraction (θ₂)
deg
People also viewed…

Laser spot size

A lens can focus a Gaussian light beam to really small sizes: learn how with our beam spot size calculator.

Schwarzschild radius

Discover the fundamental of black hole physics with our Schwarzschild radius calculator.

Thin lens equation

With this thin lens equation calculator, you can find the image distance from just the focal length of your lens and the object distance.
main background