Toolvito

Works on this device

Refractive Index Calculator

The refractive index tells how much slower light travels in a material than in a vacuum, and how much the material bends it. Find the index from what you measured, or the speed, wavelength and reflection that an index gives.

Enter your values

The refractive index from the speed of light in the material, or the speed from the index.

Your values

For 2.25 × 10^8 m/s you can type 2.25e8.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose how you want to find the index: from the speed of light, from two angles (Snell's law), from real and apparent depth, or from a prism. You can also work out the relative index of two media, the light inside a material, or the reflectance.
  2. Enter what you measured and choose the units. Angles are measured from the normal, the line at right angles to the surface.
  3. Choose Calculate. The working shows each step.

The formulas

  • Definition: n = c ÷ v, with c = 299,792,458 m/s. Turned round: v = c ÷ n.
  • In a material: λ = λ₀ ÷ n; the frequency stays the same.
  • Snell's law: n₁ × sin θ₁ = n₂ × sin θ₂, so n₂ = n₁ × sin θ₁ ÷ sin θ₂.
  • Relative index: n₂₁ = n₂ ÷ n₁ = v₁ ÷ v₂. Critical angle: arcsin(n smaller ÷ n larger).
  • Real and apparent depth (looking straight down): n = real depth ÷ apparent depth.
  • Prism at minimum deviation: n = sin((A + D) ÷ 2) ÷ sin(A ÷ 2).
  • Reflectance at normal incidence: R = ((n₁ − n₂) ÷ (n₁ + n₂))². At an angle, the Fresnel equations.

Worked examples

From the speed. Light travels at 2.25 × 10^8 m/s in a liquid: n = 299,792,458 ÷ 225,000,000 = 1.3324.

From two angles. Light from air meets glass at 45° and bends to 28.13°: n = sin 45° ÷ sin 28.13° = 0.70711 ÷ 0.47148 = 1.4998.

Water in a glass. A coin 20 cm deep looks 15 cm deep from above: n = 20 ÷ 15 = 1.3333.

A prism. A 60° prism gives a minimum deviation of 37.18°: n = sin 48.59° ÷ sin 30° = 1.49999.

Inside a material. Yellow light of 589 nm in a material with n = 1.333 has a wavelength of 589 ÷ 1.333 = 441.86 nm and travels at 2.249 × 10^8 m/s.

Reflectance. Light meeting glass (n = 1.5) from air straight on: R = (0.5 ÷ 2.5)² = 0.04, so 4% is reflected.

Limits you should know

  • No table of materials is built in. Type the index for your material and wavelength; the hints give rounded examples only (water about 1.333, glass about 1.5).
  • The index changes with the wavelength (dispersion) and the temperature.
  • Real and apparent depth holds for a view from straight above. The prism method needs the true minimum deviation.
  • Reflectance assumes materials that do not absorb the light, and one surface only.
  • For the angle of refraction and total internal reflection in depth see the Snell Law Calculator and the Critical Angle Calculator. For Brewster's angle see the Polarization Angle Calculator.

Related tools