Snell's Law Solver – Find the Refraction Angle θ₂ or Refractive Index n₂
Use this free Snell's Law Solver to rearrange n₁ sinθ₁ = n₂ sinθ₂ either way. Find the refraction angle θ₂ when you know both refractive indices, or work backwards from a measured angle to find the unknown refractive index n₂ of a material.
Formula
n₁ sinθ₁ = n₂ sinθ₂ • solving for the angle: θ₂ = sin−1(n₁ sinθ₁ / n₂) • solving for the index: n₂ = n₁ sinθ₁ / sinθ₂
All angles are measured from the normal (the line perpendicular to the surface), not from the surface itself. Light entering a denser material (bigger n) bends towards the normal, so θ₂ < θ₁; light entering a rarer material bends away, and past the critical angle it cannot escape at all — total internal reflection.
How to use
- Choose whether to find the refraction angle θ₂ or the unknown index n₂ — the input you don't need disappears.
- Enter n₁, the incidence angle θ₁, and the remaining value.
- Click "Solve Snell's Law". If the light physically cannot refract (total internal reflection), the calculator says so instead of inventing an angle.
Worked example
Light in air (n₁ = 1.00) hits water (n₂ = 1.33) at θ₁ = 45°.
sinθ₂ = (1.00 × sin45°) ÷ 1.33 = 0.7071 ÷ 1.33 = 0.5317, so θ₂ = 32.12° — the ray bends towards the normal in the denser water.
Run backwards with the measured θ₂ = 32.12° and you recover n₂ = sin45° ÷ sin32.12° = 1.33, which is exactly how a refractometer identifies a liquid.
FAQ
What if the calculator says total internal reflection?
That happens when light travels from a denser to a rarer material (n₁ > n₂) at a steep enough angle that n₁ sinθ₁ / n₂ exceeds 1 — no real refraction angle exists. All the light reflects back inside, the effect that keeps signals trapped in optical fibres.
Why must the angles be measured from the normal?
Snell's law is defined that way, and every textbook angle — incidence, refraction, critical angle — uses the normal as zero. If a problem gives you the angle from the surface, subtract it from 90° before entering it here.
Can I identify an unknown liquid with this?
Yes. Shine light from air at a known angle, measure the refraction angle, and solve for n₂. Water gives 1.33, ethanol about 1.36, and glycerine about 1.47 — the index is a fingerprint of the material.