Refractive Index Calculator

Calculate refraction angles, critical angle, Brewster angle, and optical path length using Snell's law. Compare materials and visualize light bending.

Refracted Angle
27.73°
Snell: n₁sinθ₁ = n₂sinθ₂
Critical Angle
N/A
n₁ ≤ n₂, no TIR possible
Brewster Angle
56.65°
Reflected light fully polarized
Speed in Medium 1
300 km/s
c / 1.000293
Speed in Medium 2
197 km/s
c / 1.52
Index Ratio
0.6581
n₁/n₂ = 1.000293/1.52

Angle Sweep

5°
3.3°
10°
6.6°
15°
9.8°
20°
13.0°
25°
16.1°
30°
19.2°
35°
22.2°
40°
25.0°
45°
27.7°
50°
30.3°
55°
32.6°
60°
34.7°
65°
36.6°
70°
38.2°
75°
39.5°
80°
40.4°
85°
41.0°
90°
41.2°

Angle & Reflectance Table

θ₁ (°)θ₂ (°)RsRpStatus
5°3.3°4.3%4.2%
10°6.6°4.4%4.1%
15°9.8°4.7%3.9%
20°13.0°5.0%3.6%
25°16.1°5.5%3.2%
30°19.2°6.1%2.7%
35°22.2°7.0%2.2%
40°25.0°8.1%1.6%
45°27.7°9.7%0.9%
50°30.3°11.7%0.4%
55°32.6°14.5%0.0%
60°34.7°18.3%0.2%
65°36.6°23.6%1.2%
70°38.2°30.8%4.2%
75°39.5°40.8%10.6%
80°40.4°54.6%23.6%
85°41.0°73.8%49.2%
90°41.2°100.0%100.0%

Material Reference

MaterialnSpeed (km/s)Critical from air
Vacuum1299,792
Air1.000293299,70588.6°
Water1.333224,90148.6°
Crown Glass1.52197,23241.1°
Flint Glass1.62185,05738.1°
Fused Quartz1.458205,61943.3°
Acrylic (PMMA)1.49201,20342.2°
Polycarbonate1.585189,14439.1°
Diamond2.42123,88124.4°
Silicon (IR)3.4287,65917.0°
Planning notes, formulas, and examples

About the Refractive Index Calculator

The refractive index describes how light slows and bends when passing between materials. Snell's law - n₁ sin θ₁ = n₂ sin θ₂ - governs refraction at every optical interface, from eyeglasses to fiber optics to atmospheric phenomena like mirages. A small index change can shift both the beam path and the reflection behavior.

This calculator applies Snell's law to compute refraction angles, critical angles for total internal reflection, Brewster's angle for polarization, and optical path lengths. Enter the refractive indices of two media and the angle of incidence, and see the refracted angle along with all related optical parameters.

Whether you're designing optical systems, studying physics, calculating fiber optic acceptance angles, or understanding why diamonds sparkle, it gives comprehensive refraction analysis with a built-in library of material refractive indices. It is also useful when you want to see how small changes in index affect beam steering, internal reflection, or optical path length in a real system.

When This Page Helps

Use this calculator when you want a quick refraction answer plus the optical side quantities that usually come with it, like critical angle or Brewster angle. It is useful for lens work, fiber-optic intuition, and general physics problems where one angle change leads to several follow-on values, especially when you need to compare materials side by side.

How to Use the Inputs

  1. Select the first medium (where light is coming from) or enter a custom n₁.
  2. Select the second medium (where light enters) or enter a custom n₂.
  3. Enter the angle of incidence in degrees.
  4. Review the refracted angle, critical angle, and Brewster angle.
  5. Check the angle sweep table for multi-angle analysis.
  6. Compare materials using the reference table.
  7. Watch for total internal reflection when incidence exceeds critical angle.
Formula used
Snell's law: n₁ sin θ₁ = n₂ sin θ₂. Critical angle: θc = arcsin(n₂/n₁) when n₁ > n₂. Brewster angle: θB = arctan(n₂/n₁). Speed: v = c/n. Optical path length: OPL = n × d.

Example Calculation

Result: 28.1° refracted angle, 41.8° critical angle, 56.3° Brewster angle

Light entering glass (n=1.5) from air (n=1.0) at 45° refracts to 28.1°. Total internal reflection occurs above 41.8° when going glass→air.

Tips & Best Practices

  • The critical angle only exists when going from higher to lower refractive index.
  • Optical path length (n × distance) determines interference — not geometric distance.
  • Anti-reflection coatings use n = √(n₁n₂) at quarter-wavelength thickness.
  • Fiber optic NA (numerical aperture) = √(n_core² - n_clad²).
  • Refractive index of air is 1.000293 (not exactly 1) — matters in precision optics.
  • Snell's law in vector form handles 3D ray tracing for optical simulation.

Snell's Law and Refraction Physics

When light crosses an interface between two media with different refractive indices, it changes direction according to Snell's law: n₁ sin θ₁ = n₂ sin θ₂. This follows from phase matching at the interface — the wavefronts must remain continuous across the boundary.

The refractive index n = c/v is the ratio of light speed in vacuum to light speed in the medium. Glass slows light to about 200,000 km/s (v ≈ 2×10⁸ m/s), giving n ≈ 1.5. Higher n means stronger bending toward the normal when entering the medium.

Total Internal Reflection and Fiber Optics

Total internal reflection (TIR) occurs when light in a dense medium hits the interface at angles exceeding the critical angle θc = arcsin(n₂/n₁). Fiber optic cables exploit TIR: light bouncing inside the high-n core can travel kilometers with minimal loss. The acceptance angle of a fiber is determined by its numerical aperture: NA = sin(θ_max) = √(n_core² - n_clad²).

Dispersion and Chromatic Effects

Refractive index varies with wavelength — typically higher for blue than red light (normal dispersion). This causes chromatic aberration in lenses and rainbow formation in prisms. Achromatic doublet lenses combine crown and flint glass to cancel dispersion. The Abbe number Vd quantifies dispersion: higher Vd means less dispersion.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Water: n = 1.333 (at 589 nm). This varies slightly with temperature and wavelength (dispersion). Seawater is about 1.339.