ciencia

Snell's Law Calculator — Refraction Angle

Calculator Free · Private
Reviewed by: (editorial policy ) · Last reviewed:
Was this calculator helpful?

Snell's Law describes how light (or any wave) bends when it passes from one transparent medium into another with a different optical density. The core formula is n₁ × sin(θ₁) = n₂ × sin(θ₂), where n₁ and n₂ are the refractive indices of the two media, θ₁ is the angle of incidence (measured from the normal to the surface), and θ₂ is the angle of refraction. This calculator solves for θ₂ instantly — critical in optics, lens design, fiber optics engineering, underwater photography, gemology, and physics coursework. Enter the refractive index of both media and the incoming angle to get the exact refraction angle in degrees.

Last reviewed: June 3, 2026 Verified by Source: RefractiveIndex.INFO — Refractive Index Database (Polyanskiy 2024), NIST — Speed of Light and Fundamental Physical Constants, Hecht, E. — Optics, 5th ed. Pearson (2017) 100% private

Snell's Law: **n₁ · sin(θ₁) = n₂ · sin(θ₂)**. To find the refraction angle: **θ₂ = arcsin(n₁ · sin(θ₁) / n₂)**. Classic example — air (n=1.000) to water (n=1.333) at 30° incidence: θ₂ = arcsin(0.5 / 1.333) ≈ **22.1°**. If n₁ · sin(θ₁) > n₂, total internal reflection occurs instead of refraction.

When to use this calculator

  • Designing optical lenses and eyeglasses: an optician modeling how a 45° ray entering a crown-glass lens (n=1.52) from air refracts to ~28° inside the glass to calculate focal length.
  • Fiber optic cable engineering: verifying that light hits the core-cladding interface (e.g., core n=1.48, cladding n=1.46) at an angle below the critical angle (~80.5°) to maintain total internal reflection.
  • Underwater photography and diving mask design: quantifying how a 40° object ray in water (n=1.333) shifts to ~58.7° in air, causing apparent depth distortion that photographers must compensate for.
  • Gemology and diamond grading: calculating refraction through a diamond (n=2.417) cut facet to verify ideal pavilion angles (~40.75°) that maximize internal reflection and brilliance.
  • Laser alignment in research labs: determining the exact refraction angle when a laser beam crosses from air into a borosilicate glass prism (n=1.47) for spectroscopy or holography setups.
  • High school and university physics lab reports: verifying experimentally measured refraction angles against Snell's Law predictions for materials like acrylic (n=1.49) or ethanol (n=1.361).

Worked Example: Air → Water at θ₁ = 30°

  1. n₁ = 1.000 (air), θ₁ = 30°, n₂ = 1.333 (water)
  2. sin(30°) = 0.5000
  3. n₁ × sin(θ₁) / n₂ = 1.000 × 0.5000 / 1.333 = 0.3752
  4. θ₂ = arcsin(0.3752) = 22.08°
Result: Ray refracts to 22.1° — bends toward the normal entering the denser medium

How it works

3 min read

How Snell's Law Works

Snell's Law states that the product of the refractive index and the sine of the angle (measured from the normal — perpendicular to the surface) is conserved across the interface:

n₁ × sin(θ₁) = n₂ × sin(θ₂)

Refraction angle:
θ₂ = arcsin( (n₁ × sin(θ₁)) / n₂ )

Critical angle (total internal reflection threshold, only when n₁ > n₂):
θ_c = arcsin(n₂ / n₁)

If (n₁ × sin(θ₁)) / n₂ > 1, no refraction occurs — total internal reflection instead.

---

Refractive Index Table — Common Materials (λ = 589 nm, sodium D-line)

MaterialnCritical angle → air
Vacuum1.0000
Air (20 °C, 1 atm)1.0003
Water (20 °C)1.333048.6°
Ice1.310049.8°
Ethanol1.361447.3°
Fused silica (SiO₂)1.458543.2°
Crown glass (BK7)1.516841.1°
Acrylic / PMMA1.491442.2°
Borosilicate glass1.470042.9°
Dense flint glass1.720035.6°
Sapphire (Al₂O₃)1.770034.4°
Cubic zirconia2.150027.7°
Diamond2.417524.4°
Silicon (infrared)3.417917.0°

Source: RefractiveIndex.INFO (Polyanskiy 2024) and NIST optical data.

---

Quick Reference Table: Air → Water (n=1.333)

θ₁ (air)θ₂ (water)Deviation
10°7.5°2.5°
20°14.9°5.1°
30°22.1°7.9°
45°32.1°12.9°
60°40.6°19.4°
70°46.1°23.9°
80°47.8°32.2°

Quick Reference Table: Air → Crown Glass (n=1.517)

θ₁ (air)θ₂ (glass)Deviation
10°6.6°3.4°
20°13.0°7.0°
30°19.2°10.8°
45°27.7°17.3°
60°35.3°24.7°
70°40.0°30.0°
80°42.9°37.1°

---

Worked Examples

Example 1 — Air to Water (classic physics)


  • Given: n₁ = 1.000 (air), θ₁ = 30°, n₂ = 1.333 (water)

  • sin(30°) = 0.5000 → ratio = 0.5000 / 1.333 = 0.3752

  • θ₂ = arcsin(0.3752) ≈ 22.1° — bends toward normal (denser medium).
  • Example 2 — Glass to Air (total internal reflection)


  • Given: n₁ = 1.52 (crown glass), θ₁ = 60°, n₂ = 1.000 (air)

  • sin(60°) = 0.8660 → ratio = 1.52 × 0.8660 = 1.316 → > 1.0

  • Total internal reflection. Critical angle = arcsin(1/1.52) ≈ 41.1°. Since 60° > 41.1°, all light reflects back.
  • Example 3 — Air to Diamond (gemology)


  • Given: n₁ = 1.000 (air), θ₁ = 45°, n₂ = 2.417 (diamond)

  • sin(45°) = 0.7071 → ratio = 0.7071 / 2.417 = 0.2926

  • θ₂ = arcsin(0.2926) ≈ 17.0° — extreme bending explains diamond's brilliance.
  • ---

    Common Mistakes

    1. Measuring angles from the surface, not the normal. A 30° angle from the surface = 60° from the normal — a mistake that completely inverts the result.
    2. Using n < 1 for a real medium. All transparent materials have n ≥ 1.000 at optical wavelengths.
    3. Ignoring chromatic dispersion. Refractive index varies with wavelength. Crown glass: n = 1.5168 at 589 nm vs. 1.5220 at 486 nm. A single n value only applies to monochromatic light.
    4. Expecting TIR from rarer to denser. Total internal reflection only occurs when n₁ > n₂. Light going from air into glass cannot undergo TIR.
    5. Confusing refraction angle with deviation angle. θ₂ is the angle inside the second medium. Deviation = |θ₁ − θ₂|.

    Frequently asked questions

    What is Snell's Law and who discovered it?

    Snell's Law (also called the Snell–Descartes law) was formulated by Dutch mathematician Willebrord Snellius around 1621 and independently by René Descartes in 1637. It describes the relationship n₁·sin(θ₁) = n₂·sin(θ₂) governing wave refraction at an interface. It applies not only to visible light but also to sound waves, seismic waves, and any wave crossing a boundary between media of different propagation speeds.

    What is a refractive index and what does it physically mean?

    The refractive index n of a medium is defined as n = c / v, where c ≈ 2.998 × 10⁸ m/s is the speed of light in vacuum and v is the phase speed of light in the material. For water, v ≈ 2.25 × 10⁸ m/s, giving n ≈ 1.333. A higher n means light travels more slowly in that medium and bends more sharply when entering it from air.

    What is total internal reflection and when does it occur?

    Total internal reflection (TIR) occurs when light travels from a denser medium (higher n) to a rarer one (lower n) and the angle of incidence exceeds the critical angle θ_c = arcsin(n₂/n₁). For a glass-air interface with n₁ = 1.52, θ_c ≈ 41.1°. Beyond this angle, 100% of light reflects back — this principle is the foundation of fiber optic telecommunications, carrying data at the speed of light with virtually no loss.

    Why does light bend toward the normal when entering a denser medium?

    Light slows down when entering a denser medium (higher n). The wavefront arriving at an angle hits the interface progressively — one edge slows before the other — causing the wave to pivot toward the normal, just as a car turning onto a muddy road slows one wheel first and curves inward. Mathematically, since n₂ > n₁, the ratio sin(θ₁)/sin(θ₂) = n₂/n₁ > 1, so θ₂ < θ₁ always.

    Does Snell's Law work for all colors of light equally?

    No — refractive index is wavelength-dependent, a phenomenon called dispersion. For example, borosilicate glass (BK7) has n = 1.5168 at 589 nm (yellow), 1.5220 at 486 nm (blue), and 1.5143 at 656 nm (red). This means blue light refracts at a slightly different angle than red light, which is why glass prisms split white light into a spectrum. This dispersion is quantified by the Abbe number V = (n_D − 1) / (n_F − n_C).

    What is the refractive index of air — is it really just 1.0?

    Air at standard temperature and pressure (0 °C, 1 atm) has n ≈ 1.000293 at 589 nm — close to 1 but not exactly. For most practical optics calculations, n_air = 1.000 introduces negligible error (< 0.03%). However, in precision metrology (e.g., interferometry at NIST), the exact air refractive index must be calculated using the Edlén equation, which accounts for temperature, pressure, humidity, and CO₂ concentration.

    Can Snell's Law be used for media other than light?

    Yes. Snell's Law applies to all waves obeying Fermat's principle of least time. In acoustics, it governs sound refraction at boundaries (e.g., air-to-water: angle changes because sound travels at 343 m/s in air vs. 1,480 m/s in water). In seismology, it predicts how P-waves and S-waves bend through Earth's mantle layers — a key tool for locating earthquakes and mapping interior Earth structure.

    How do I calculate the critical angle for total internal reflection?

    The critical angle is θ_c = arcsin(n₂ / n₁), valid only when n₁ > n₂. Examples: glass (n=1.52) to air → θ_c = arcsin(1/1.52) ≈ 41.1°; diamond (n=2.417) to air → θ_c = arcsin(1/2.417) ≈ 24.4°. Diamond's low critical angle means most light striking interior facets at typical angles undergoes TIR, which is why well-cut diamonds appear exceptionally bright and brilliant.

    Why do objects underwater appear shallower (closer to the surface) than they actually are?

    This apparent depth illusion is a direct consequence of Snell's Law. Light from a submerged object refracts away from the normal as it crosses from water (n=1.333) into air (n=1.000). Your eye traces the refracted ray backward in a straight line, locating the object at an apparent depth = real depth / n_water ≈ real depth / 1.333. A fish 1.33 m deep appears to be only ~1.0 m deep — an important correction for spearfishing and underwater surveying.

    Sources and references