---
slug: snells-law-calculator
title: "Snell’s Law Calculator"
category: scientific
updated: 2026-11-18
canonical: https://calcseed.com/c/scientific/snells-law-calculator/
html: /c/scientific/snells-law-calculator/
---

# Snell’s Law Calculator

Calculate the angle of refraction when light passes between two media using Snell’s law: n₁ sin θ₁ = n₂ sin θ₂.

## Quick answer

**Quick answer:** with the default inputs (1, 30 deg, 1.33), the angle of refraction is **22.08**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| Refractive index n₁ | 1 |  |
| Angle of incidence | 30 | deg |
| Refractive index n₂ | 1.33 |  |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Angle of refraction | 22.0824 |  |

## Formula

```text
n_1_ sin&theta;_1_ = n_2_ sin&theta;_2_
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Refractive index n₁ | number |  | 1 |
| Angle of incidence | number | deg | 30 |
| Refractive index n₂ | number |  | 1.33 |

## Outputs

| Result | Format |
| --- | --- |
| Angle of refraction | primary |
| Angle of refraction | number |

## How it works

### What this calculator returns

The output is a single number: the angle of refraction &theta;_2_ in degrees, measured from the normal on the far side of the boundary. At the defaults — air (n_1_ = 1.00), an incidence angle of 30&deg;, water (n_2_ = 1.33) — it returns **22.08&deg;**. When the geometry has no refracted ray at all, the result is blank and the steps report total internal reflection.

The input is deliberately minimal: two refractive indices and one angle. That is enough to fix the problem, because the law contains only three unknowns and you supply two of them.

### The formula and what each term means

n_1_ is the index of the medium the light starts in, n_2_ the index of the medium it enters, and the two angles are measured from the **normal** — the line perpendicular to the surface, not the surface itself. A ray grazing a lake at 60&deg; above the water has an incidence angle of 30&deg;, not 60&deg;.

The reason the law is written with sines rather than the angles themselves is that only the component of the wave along the boundary has to match on both sides. Dividing that shared component by the wave speed in each medium gives the sine ratio, which is why the equation stays linear in sin&theta; and not in &theta;.

#### Refractive index is a speed ratio

The index is defined as n = c ÷ v, where c is the speed of light in vacuum (2.998 × 10^8 m/s). Water&rsquo;s n = 1.33 means light travels at 2.25 × 10^8 m/s inside it; ordinary crown glass at n = 1.52 slows light to 1.97 × 10^8 m/s. A larger index means a slower wave and a smaller refraction angle.

### Worked example at the defaults

With n_1_ = 1.00, &theta;_1_ = 30&deg; and n_2_ = 1.33: sin 30&deg; = 0.5000, so sin &theta;_2_ = 1.00 × 0.5000 ÷ 1.33 = 0.3759. Taking the inverse sine gives &theta;_2_ = **22.08&deg;**. The ray bends *toward* the normal because it moved into the denser medium, and 22.08 is smaller than 30 as expected.

The relation is reversible. Feed the answer back in with the media swapped — n_1_ = 1.33, &theta;_1_ = 22.08&deg;, n_2_ = 1.00 — and you get 30.0&deg;, which is the same ray retracing its path. Any light-path calculation you check this way should return the starting angle within rounding.

### Refraction from air into water

| Incidence &theta;_1_ | sin &theta;_1_ | sin &theta;_2_ | Refraction &theta;_2_ |
| --- | --- | --- | --- |
| 10&deg; | 0.1736 | 0.1305 | 7.5&deg; |
| 30&deg; | 0.5000 | 0.3759 | 22.1&deg; |
| 45&deg; | 0.7071 | 0.5317 | 32.1&deg; |
| 60&deg; | 0.8660 | 0.6511 | 40.6&deg; |
| 80&deg; | 0.9848 | 0.7405 | 47.8&deg; |

Notice how the refracted angle compresses as incidence rises: the first 30&deg; of tilt only produce 22&deg; inside the water, while the last 20&deg; between 60&deg; and 80&deg; add barely 7&deg;. That flattening is the warning sign that a critical angle is approaching.

### Critical angle and total internal reflection

When light runs from dense to light (n_1_ > n_2_), sin &theta;_2_ can exceed 1. There is then no real angle, and the surface reflects everything. The threshold is &theta;_c_ = arcsin(n_2_ ÷ n_1_).

| Boundary | Indices | Critical angle |
| --- | --- | --- |
| Water to air | 1.33 &rarr; 1.00 | 48.8&deg; |
| Crown glass to air | 1.52 &rarr; 1.00 | 41.1&deg; |
| Diamond to air | 2.42 &rarr; 1.00 | 24.4&deg; |
| Fibre core to cladding | 1.48 &rarr; 1.46 | 80.6&deg; |

A ray inside water at 50&deg; gives sin &theta;_2_ = 1.33 × 0.7660 ÷ 1.00 = 1.019, which the calculator reports as no refracted ray. Diamond&rsquo;s small 24.4&deg; cone is why cut stones sparkle: most light entering the top is reflected internally several times before it escapes.

### What moves the answer

- Index contrast: raising n_2_ from 1.33 to 1.52 at 30&deg; incidence pulls the refracted ray from 22.1&deg; down to 19.2&deg;.
- Incidence angle: the shift from 0&deg; to 80&deg; in water spans 0&deg; to 47.8&deg;, a nonlinear squeeze.
- Wavelength: crown glass runs about 1.514 in red light and 1.528 in violet, which splits a 45&deg; ray by roughly 0.3&deg;.
- Temperature and pressure: water drops from 1.333 at 20&deg;C toward 1.32 near boiling, shifting refraction by a few tenths of a degree.

#### Polarisation and the Brewster angle

At one particular angle the reflected ray is fully polarised, and that angle satisfies tan &theta;_B_ = n_2_ ÷ n_1_. For water that is 53.1&deg;, which is why polarised sunglasses cut glare from a lake most strongly when the sun is roughly 53&deg; above the horizon. Snell&rsquo;s law still sets the geometry of the transmitted ray here; the polarisation is an extra effect layered on top.

### Mistakes that produce a wrong angle

- Measuring from the water surface instead of the normal, which turns 30&deg; into 60&deg; and gives a completely different answer.
- Typing the sine of an angle in radians when the geometry is in degrees.
- Forcing a result when sin &theta;_2_ > 1 rather than accepting total internal reflection.
- Assuming a single index for a material across the whole visible spectrum, which ignores dispersion.

There is also a scale trap: the index of air is 1.0003, not exactly 1. Rounding it to 1.00 shifts a 30&deg; air-to-water result by less than 0.01&deg;, so the default is safe for teaching work but not for interferometry.

### Where the numbers get used

Two everyday consequences follow directly from the defaults. A 2 m deep pool looks about 1.50 m deep because apparent depth is real depth ÷ 1.33. And a fibre with a 1.48 core and 1.46 cladding traps light only within 9.4&deg; of its axis, since the critical angle is 80.6&deg; measured from the normal.

For lens work, pair this with the lens equation calculator when you need the focal length rather than the bend at a single surface.

## FAQ

### What is Snell&rsquo;s law?

Snell&rsquo;s law states n1 sin &theta;1 = n2 sin &theta;2, where the indices describe the two media and the angles are measured from the normal. With n1 = 1.00, &theta;1 = 30&deg; and n2 = 1.33 it gives a refraction angle of 22.08&deg;.

### What is the critical angle of water?

For a water-to-air boundary, arcsin(1.00 ÷ 1.33) = 48.8&deg;. Above that incidence angle no light leaves the water, which is what makes the surface act as a mirror when you look up from below.

### Why does a swimming pool look shallower than it is?

Apparent depth is real depth divided by the refractive index. A 2 m pool looks about 1.50 m deep, and a 1 m depth reads as 0.75 m, because rays from the bottom bend toward the normal as they leave the water.

### What happens at 50&deg; incidence from water to air?

sin &theta;2 would be 1.33 × 0.766 = 1.019, which exceeds 1. No refracted ray exists, so the calculator returns total internal reflection and the surface reflects 100% of the light.

### What is the refraction angle from air into glass at 30&deg;?

With n2 = 1.52, sin &theta;2 = 0.5000 ÷ 1.52 = 0.3289, so &theta;2 = 19.2&deg;. Glass bends the ray about 3&deg; more than water does at the same incidence.

### Why do I get no answer for my inputs?

The product n1 sin &theta;1 divided by n2 is greater than 1, meaning the ray cannot refract. Either the angle is past the critical angle or the two indices are entered in the wrong order.

### Does wavelength change the refraction angle?

Yes, through dispersion. Crown glass measures about 1.514 in red light and 1.528 in violet, so a 45&deg; ray refracts at 27.8&deg; and 27.6&deg; respectively — a spread of about 0.3&deg; that a prism stretches into a visible spectrum.

### Should I use 1.00 or 1.0003 for air?

1.00 is fine for classroom work: the difference moves a 30&deg; air-to-water result by less than 0.01&deg;. Use 1.0003 when you are checking precise optical measurements, where that margin matters.

### Are the angles measured from the surface?

No. Both angles are measured from the normal, the line perpendicular to the boundary. Entering 60&deg; for a ray 60&deg; above a lake surface is the most common cause of a wrong result.

## Method and sources

Methodology: Physical constants follow CODATA 2022 recommended values, and formulas follow standard physics definitions.

Last updated: 2026-11-18.
- Snell’s law n₁ sin θ₁ = n₂ sin θ₂; refractive indices of air 1.00 and water 1.33.
