Refractive Index Calculator

Get index from light speed in a medium with time per meter.

Physics and EnergyUpdated 2026-10-161 min read
Refractive Index Calculator
Meters per second, at most c (299792458).
Refractive index
...
Speed...
Time per meter...

What it does

Light slows in glass, water, and plastics. Index names the ratio of vacuum speed to medium speed. Water near 1.33 means light runs at three quarters vacuum pace.

The tool above takes speed in m/s and returns index, km/s, and nanoseconds per meter. The default 200000000 matches the worked example, so the page opens showing 1.499. Type a new speed to update all three results.

Index n = 299792458 / v. Time per meter is 1/v in seconds, times 1e9 for nanoseconds. Here 1/200000000 is 5e-9, or 5 ns/m. Vacuum at c gives 1 and 3.34 ns/m.

Use this for Snell setups where n1 sin1 = n2 sin2. Real indices shift with wavelength, so quote color with precision work. Exotic phase speeds above c need other forms outside here.

This page shows the formula, one full hand checked example at 200 million m/s, a reference table, and practice checks that run through the tool.

How to use

  1. Type light speed in the medium in m/s.
  2. Keep at or below 299792458.
  3. Read Index as the main result.
  4. Read km/s to compare media.
  5. Read ns per meter for timing.
  6. Pair with Snell angles for refraction.

Formula

n = 299792458 / v. Time per meter = 1/v seconds.
c
299792458 m/s vacuum.
v
Speed in medium m/s.
n
Index, 1 or more here.

Ordinary dielectrics assumed with v at or below c. Metamaterials with phase above c need other models.

Worked example

Example: v = 200,000,000 m/s

Light runs 200 million m/s in a plastic. Find index.

  1. Write v = 200000000.
  2. Divide: 299792458 / 200000000 = 1.49896.
  3. Round: 1.499.
  4. km/s: 200000 km/s.
  5. Time: 1/200000000 = 5e-9 s = 5 ns/m.
  6. Check: 1.499 x 200000000 near c.

Reference table

Index for sample speeds
SpeedIndexns/m
29979245813.34 ns/m
2250000001.3324.44 ns/m
2000000001.4995 ns/m
1500000001.9996.67 ns/m

Limits

  • v at or below c here.
  • Single wavelength assumed. Real n shifts with color.
  • Isotropic media only. Crystals split rays.
  • No absorption model here.

Common mistakes

  • Entering km/s as m/s, off by 1000 times.
  • Reading higher n as faster. Higher is slower.
  • Using phase above c in this form.
  • Mixing group with phase velocity.
  • Forgetting color with precision optics.

Try it yourself

Quick checks. Answers sit tucked under each question.

Vacuum c?

Index 1, 299792 km/s, 3.34 ns/m.

150 million m/s?

Index 1.999, 150000 km/s, 6.67 ns/m.

Questions

200M m/s index?

1.499.

Vacuum?

1 by definition.

Water?

Near 1.33.

Higher slower?

Yes. Larger n means slower v.

Above c?

Rejected here. Needs other models.

Snell?

Pair n with sines for angles.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.