CalcSeed

Snell’s Law Calculator

Enter the refractive indices and the angle of incidence to find the angle of refraction.

=
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.
Angle of refraction
—

What this calculator returns

The output is a single number: the angle of refraction θ2 in degrees, measured from the normal on the far side of the boundary. At the defaults — air (n1 = 1.00), an incidence angle of 30°, water (n2 = 1.33) — it returns 22.08°. 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

n1sinθ1=n2sinθ2n_1 sin heta_1 = n_2 sin heta_2

n1 is the index of the medium the light starts in, n2 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° above the water has an incidence angle of 30°, not 60°.

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θ and not in θ.

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 × 108 m/s). Water’s n = 1.33 means light travels at 2.25 × 108 m/s inside it; ordinary crown glass at n = 1.52 slows light to 1.97 × 108 m/s. A larger index means a slower wave and a smaller refraction angle.

Worked example at the defaults

With n1 = 1.00, θ1 = 30° and n2 = 1.33: sin 30° = 0.5000, so sin θ2 = 1.00 × 0.5000 ÷ 1.33 = 0.3759. Taking the inverse sine gives θ2 = 22.08°. 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 — n1 = 1.33, θ1 = 22.08°, n2 = 1.00 — and you get 30.0°, 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 θ1sin θ1sin θ2Refraction θ2
10°0.17360.13057.5°
30°0.50000.375922.1°
45°0.70710.531732.1°
60°0.86600.651140.6°
80°0.98480.740547.8°

Notice how the refracted angle compresses as incidence rises: the first 30° of tilt only produce 22° inside the water, while the last 20° between 60° and 80° add barely 7°. 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 (n1 > n2), sin θ2 can exceed 1. There is then no real angle, and the surface reflects everything. The threshold is θc = arcsin(n2 ÷ n1).

BoundaryIndicesCritical angle
Water to air1.33 → 1.0048.8°
Crown glass to air1.52 → 1.0041.1°
Diamond to air2.42 → 1.0024.4°
Fibre core to cladding1.48 → 1.4680.6°

A ray inside water at 50° gives sin θ2 = 1.33 × 0.7660 ÷ 1.00 = 1.019, which the calculator reports as no refracted ray. Diamond’s small 24.4° 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 n2 from 1.33 to 1.52 at 30° incidence pulls the refracted ray from 22.1° down to 19.2°.
  • Incidence angle: the shift from 0° to 80° in water spans 0° to 47.8°, a nonlinear squeeze.
  • Wavelength: crown glass runs about 1.514 in red light and 1.528 in violet, which splits a 45° ray by roughly 0.3°.
  • Temperature and pressure: water drops from 1.333 at 20°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 θB = n2 ÷ n1. For water that is 53.1°, which is why polarised sunglasses cut glare from a lake most strongly when the sun is roughly 53° above the horizon. Snell’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° into 60° 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 θ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° air-to-water result by less than 0.01°, 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° of its axis, since the critical angle is 80.6° 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.

Frequently asked questions

What is Snell’s law?

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

What is the critical angle of water?

For a water-to-air boundary, arcsin(1.00 ÷ 1.33) = 48.8°. 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° incidence from water to air?

sin θ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°?

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

Why do I get no answer for my inputs?

The product n1 sin θ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° ray refracts at 27.8° and 27.6° respectively — a spread of about 0.3° 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° air-to-water result by less than 0.01°. 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° for a ray 60° above a lake surface is the most common cause of a wrong result.

Method and sources

Calculation basis

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

Last updated: November 18, 2026
Formula & data sources
  • Snell’s law n₁ sin θ₁ = n₂ sin θ₂; refractive indices of air 1.00 and water 1.33.

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 18). Snell’s Law Calculator. https://calcseed.com/c/scientific/snells-law-calculator/
MLA 9"Snell’s Law Calculator." CalcSeed, 18 Nov. 2026, calcseed.com/c/scientific/snells-law-calculator/.
ChicagoCalcSeed. "Snell’s Law Calculator." Last modified November 18, 2026. https://calcseed.com/c/scientific/snells-law-calculator/

Related calculators