Snell's Law Calculator

Share:

Snell's law calculator (n₁sinθ₁ = n₂sinθ₂) — enter three of the two refractive indices and two angles, solve for the fourth. Detects total internal reflection. Curriculum-aligned.

RT-SCI-022 · Science

Snell's Law Calculator

Curriculum
n₁ · sin θ₁ = n₂ · sin θ₂

Enter three values and leave the fourth blank — the calculator solves for it. Angles are in degrees (°); refractive indices are dimensionless.

Advertisement
After tool · AD-W1Responsive
Tool information
Curriculum
English (global) — Cambridge International + IB
Built against
Cambridge IGCSE Physics 0625 + IB Diploma (2023–2025) — Refraction
Unit system
SI primary; US/imperial readout below
First published
2 Jun 2026
Last updated
4 Sep 2026

How to Use the Snell's Law Calculator

Pick your curriculum

Use the curriculum pills above to match your syllabus (Cambridge/IB, 高考 or SBMPTN). Terminology and the whole page follow your selection.

Enter three values

Type three of the medium-1 index, angle of incidence, medium-2 index and angle of refraction — leave the one you want to find blank.

Read the result

The calculator solves for the blank quantity. Angles are in degrees; if total internal reflection occurs, the calculator tells you.

Check against your syllabus

The Tool Information block shows exactly which syllabus this is built against. Spot something off? Use the feedback button.

Advertisement
After how-to · AD-W2Responsive

Snell's Law, in Your Curriculum's Words

Snell's Law (n₁ sin θ₁ = n₂ sin θ₂)

Example: Light travels from air (n₁ = 1.00) into glass (n₂ = 1.50) at an angle of incidence of 30°. Find the angle of refraction.

Given: n₁ = 1.00, θ₁ = 30°, n₂ = 1.50. Using n₁ sin θ₁ = n₂ sin θ₂:

sin θ₂ = (1.00 × sin 30°) / 1.50 = 0.333 → θ₂ ≈ 19.5°

Snell's law (the law of refraction) describes how the direction of light changes as it crosses the boundary between two media: n₁ sin θ₁ = n₂ sin θ₂. Here n is the refractive index (a dimensionless number for how much a medium slows light), and θ is the angle measured from the normal. As light enters a denser medium (larger n) it bends towards the normal; into a less dense medium it bends away from the normal.

If light passes into a less dense medium at a large enough angle, no refracted ray emerges — all the light is reflected back. This is total internal reflection, and the calculator tells you when it happens. Refractive indices and angles have no imperial equivalent, so results are shown as-is. All calculation happens in your browser — nothing is uploaded, and the tool works offline once loaded.

Snell's law explains why a straw looks bent in a glass of water, and how lenses and optical fibres steer light.

10 Facts About Snell's Law

01

Snell's law: n₁ sin θ₁ = n₂ sin θ₂.

02

The refractive index n is dimensionless — a ratio of light speeds.

03

Vacuum index = 1; water ≈ 1.33; glass ≈ 1.5.

04

Angles are measured from the normal, not the surface.

05

Into a denser medium, light bends towards the normal.

06

Total internal reflection occurs above the critical angle.

07

Optical fibres work by total internal reflection.

08

Named after Willebrord Snellius (1621).

09

n = c / v — speed of light divided by its speed in the medium.

10

This calculator runs in your browser — your working stays private.

Frequently Asked Questions

  • n₁ sin θ₁ = n₂ sin θ₂ — the product of the refractive index and the sine of the angle is equal on both sides of the boundary. The calculator solves for whichever quantity you leave blank, whether a refractive index or an angle, and handles the arcsine cases automatically.
  • The refractive index n is a dimensionless number for how much a medium slows light, defined as n = c / v, where c is the speed of light in a vacuum and v is its speed in the medium. A vacuum is 1, air is nearly 1, water is about 1.33 and glass about 1.5.
  • All angles in Snell's law are measured from the normal — the line perpendicular to the surface at the point of incidence — not from the surface itself. This is the standard convention in every curriculum, so make sure your angles are measured the same way.
  • When light passes from a denser into a less dense medium at an angle of incidence above the critical angle, no refracted ray emerges and all the light is reflected. The calculator detects this and tells you, instead of returning an impossible result.
  • Yes. Enter three of the four quantities (the two refractive indices and the two angles) and leave the fourth blank — the calculator rearranges n₁ sin θ₁ = n₂ sin θ₂ and solves for the missing one.
  • The physics — Snell's law — is identical worldwide. What changes is the terminology; "refraction" is 折射 in Chinese, while SBMPTN students see the Indonesian term. The calculated value is the same.
  • The Tool Information block lists the exact syllabus for your selected curriculum (e.g. SBMPTN/SNBT Fisika). It is a study aid, not a substitute for your official syllabus or teacher.
  • No. Every calculation runs in your browser; nothing you type is uploaded. It works offline once the page has loaded.
  • Completely free, no account or usage limit. It runs entirely in your browser and collects no data.

Related News

You may be interested in these recent stories from our newsroom.

View all news →

Method & sources

How it computes

n1 sin(theta1) = n2 sin(theta2). The attribution is contested and worth stating: Ibn Sahl wrote the relation in Baghdad in 984, Thomas Harriot had it by 1602 and Willebrord Snellius by 1621, both unpublished, and Descartes published first in 1637 — which is why the French call it Descartes' law. The critical angle for total internal reflection follows from the same equation when n1 > n2.

What this tool implements

  • Angles are measured from the NORMAL, not from the surface. Measuring from the surface is the single most common error and silently gives the complement of the right answer.
  • Total internal reflection is reported rather than returning a nonsense refraction angle: when n1 > n2 and the incidence angle exceeds the critical angle, no refracted ray exists and asin() has no real solution.
  • Refractive index is wavelength-dependent. A single value per material is an approximation at one wavelength — dispersion is what makes a prism work, and it is not modelled here.
  • The law holds at a smooth interface between two homogeneous isotropic media. Birefringent materials have two indices and are outside this calculation.

Sources

  • Rashed R. A Pioneer in Anaclastics: Ibn Sahl on Burning Mirrors and Lenses. Isis 1990;81(3):464-491 — the paper establishing Ibn Sahl's 984 priority: https://doi.org/10.1086/355456
  • Descartes R, La Dioptrique, 1637 — the first published statement.
  • refractiveindex.info — tabulated dispersion data for the indices used, with the source paper cited per material: https://refractiveindex.info/

What can make this go out of date

  • None at runtime. Indices ship with the page as single-wavelength values; a design needing dispersion should use tabulated data at its own wavelength.
Advertisement
Pre-footer · AD-W3 728 × 90