Physics

Index of Refraction Calculator

Calculate a material's refractive index from the speed of light within it.


Index of Refraction Calculator

Advertisement

Calculates a material’s refractive index from how much light slows down while traveling through it compared to a vacuum.

How it works

The exact speed of light in a vacuum is divided by the measured speed of light within the material.

What this does not include

This does not include using a known refractive index to find a refraction angle — for that, use this site’s Snell’s law calculator instead.

How to use this calculator

  1. Enter the speed of light as measured within the material.

A worked example

Light traveling at 200,000,000 m/s through a medium: index of refraction = c/v = (299,792,458 ÷ 200,000,000) ≈ 1.499 — close to typical glass.

Light at 150,000,000 m/s: index ≈ 1.9986 — a denser medium, close to some types of diamond-adjacent materials.

What the variables mean

Variable Meaning
Speed Speed of light within the medium, in m/s
c Speed of light in a vacuum, a fixed constant (299,792,458 m/s)

Edge cases worth knowing

A higher index of refraction means light slows down more inside the material — the second example’s slower speed corresponds to a denser optical medium than the first.

A speed of zero makes the index infinite, which has no physical meaning for real light propagation, so the calculator declines to show a result.

Frequently asked questions

Why is a material’s refractive index always greater than 1?

Because light always travels slower in a material than in a vacuum, so dividing the (faster) vacuum speed by the (slower) material speed always gives a number above 1.

What has a higher refractive index, air or glass?

Glass — its refractive index (around 1.5) is noticeably higher than air’s (very close to 1), meaning light slows down significantly more inside glass.

Does refractive index depend on the color of light?

Yes, slightly — this effect (dispersion) is why a prism splits white light into a rainbow, though this calculator gives a single average value.

Sources

  1. Speed of light in a vacuum (299,792,458 m/s) — exact internationally defined constant
Be the first to rate this

Written by

R. Solano

Physics writer

R. Solano writes the physics calculators, spanning mechanics, electricity, optics and thermodynamics. Each page names the physical model it uses and the conditions under which that model holds — ideal gas, no air resistance, small-angle approximation — because a physics result without its assumptions is a number without a meaning. Formulas are given in symbols first, then in the calculator.

Reviewed by

V. Kowalski

Calculator reviewer — physics and engineering

V. Kowalski reviews the physics and engineering calculators, checking that each page states the physical model it assumes and that the stated model matches the formula actually implemented. Review covers unit consistency throughout a calculation and whether approximations are flagged where the underlying physics is more complicated than the formula suggests.

How we write and review

Related calculators