Refractive Index Calculator

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

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 instantly 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, this tool provides 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.

Why Use This Refractive Index Calculator?

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 This Calculator

  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

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

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.

Frequently Asked Questions

What is the refractive index of water?

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

Why does a diamond sparkle?

Diamond has n = 2.42 with high dispersion. The high refractive index creates a small critical angle (24.4°), trapping light inside and causing multiple internal reflections that create fire.

What is total internal reflection?

When light travels from a denser medium (higher n) to a less dense one at angles above the critical angle, 100% of light is reflected — none is transmitted. This is how fiber optics work.

What is the Brewster angle?

At the Brewster angle, reflected light is completely polarized. The reflected and refracted rays are perpendicular (θ₁ + θ₂ = 90°). Polarizing sunglasses exploit this.

Does refractive index change with wavelength?

Yes — this is dispersion. Blue light (shorter λ) typically has higher n than red, causing prisms to split white light into a rainbow. The Cauchy or Sellmeier equations model this.

What material has the highest refractive index?

Among natural materials, silicon (n = 3.42 at 1550 nm) and germanium (n = 4.0) have very high indices. Metamaterials can achieve n < 1 or even negative n.

Related Pages