Skip to content
Optics

Index of Refraction Calculator

Calculate refractive index, light speed in media, optical path length, wavelength in medium, relative index, and critical angle.

Interactive calculator

Index of Refraction Calculator

Calculate refractive index, light speed in media, optical path length, wavelength changes, relative index, and critical angle for total internal reflection.

Try an example

Your result will appear here.

Choose a calculation mode, fill in the known values, and click Calculate.

Quick Guide

  • Choose: find n, light speed, OPL, wavelength in medium, relative index, or critical angle.
  • Use material presets for common substances.
  • Click Calculate for step-by-step results.

Key Takeaways

  • Refractive index n = c/v measures how much light slows in a medium compared to vacuum.
  • Higher n means slower light and shorter wavelength inside the medium.
  • Total internal reflection occurs when light tries to exit a denser medium above the critical angle.
  • Optical path length (OPL = n·d) determines phase and interference effects.
  • Diamond's high n (2.417) produces its characteristic brilliance and fire.

What Is Refractive Index?

The refractive index is a fundamental optical property of every material. It quantifies how much a medium slows light relative to vacuum. A higher refractive index means slower light, stronger refraction at interfaces, and shorter wavelengths inside the material.

Key Formulas

n=cvn = \frac{c}{v}
λm=λ0n\lambda_m = \frac{\lambda_0}{n}
OPL=nd\text{OPL} = n \cdot d

Where c is the vacuum speed of light, v is the phase velocity in the medium, λ₀ is the vacuum wavelength, and d is the physical path length.

Common Materials

MaterialnNotes
Vacuum1.0000By definition
Air1.0003At STP
Water1.333At 20°C, 589 nm
Crown Glass (BK7)1.517Most common optical glass
Sapphire1.770Watch crystals, optics
Diamond2.417Highest natural mineral

Total Internal Reflection

θc=arcsin ⁣(n2n1)\theta_c = \arcsin\!\left(\frac{n_2}{n_1}\right)

When light goes from a denser medium (n₁) to a rarer medium (n₂), angles exceeding the critical angle θc cause total internal reflection. This is the operating principle of optical fibers and prisms used in binoculars.

How to Use

  1. Select a mode from the dropdown.
  2. Enter known values or pick a material preset.
  3. Click Calculate. Results include all derived quantities.

Examples

Light speed in water

v = c/n = 299,792,458 / 1.333 ≈ 224,901,524 m/s

Critical angle: glass to air

θc = arcsin(1.0 / 1.517) ≈ 41.2°

FAQ

What is the index of refraction?

The refractive index (n) is a dimensionless number describing how fast light propagates in a material. It equals the speed of light in vacuum (c ≈ 3×10⁸ m/s) divided by the speed in the medium (v): n = c/v. Vacuum has n = 1, water ≈ 1.33, glass ≈ 1.5, diamond ≈ 2.42.

Can the refractive index be less than 1?

For normal (phase) refractive index at optical frequencies in everyday materials, n ≥ 1. However, at certain X-ray frequencies or in metamaterials, the phase refractive index can be below 1 or even negative. The group index can also differ.

What is total internal reflection?

When light travels from a denser medium (higher n) to a rarer one (lower n), there exists a critical angle θc = arcsin(n₂/n₁). Above this angle, all light is reflected back — none is transmitted. This is the basis of fiber optics.

Why does wavelength change but not frequency?

At a material boundary, the frequency of light is preserved (determined by the source). Since v = fλ and the speed decreases in a denser medium, the wavelength must decrease proportionally: λₘ = λ₀/n.

What is optical path length?

Optical path length (OPL = n·d) is the equivalent vacuum distance light would need to travel to accumulate the same phase. It's crucial for interference, thin film coatings, and fiber optic calculations.

Sources

Manish Kumar

Author & technical reviewer

Manish Kumar

PhysicsCalcs tools are reviewed with an educational focus: clear formulas, transparent assumptions, and practical context for students and science learners.

Learn more about Manish