Index of Refraction Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Find a material's index of refraction from how fast light travels through it, or the speed of light in it from its index.
Result
Index of refraction n
Speed of light in the material (km/s)
- Speed as a share of c (%)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- You know: choose The speed of light in the material or The index of refraction.
- Speed of light in the material (km/s): enter 0 or more.
- Index of refraction n: enter 1 or more.
- Read the result: Index of refraction n; the panel also shows Speed of light in the material (km/s) and Speed as a share of c (%).
How this calculator works
Index of refraction n = c ÷ v, where c is the speed of light in vacuum and v its (phase) speed in the material. The speed of light c = 299,792,458 m/s exactly, by definition of the meter (CODATA 2022 values from NIST (physics.nist.gov/cuu/Constants/Table/allascii.txt, read October 27, 2026)).
n depends a little on the wavelength (dispersion), so tables state the wavelength their values apply to.
The formula
| Symbol | Meaning |
|---|---|
| You know (1: The speed of light in the material; 2: The index of refraction) | |
| Speed of light in the material (km/s) | |
| Index of refraction n | |
| Index of refraction n |
Worked example
| You know | The speed of light in the material |
|---|---|
| Speed of light in the material (km/s) | 225,000 |
| Speed of light in the material (km/s) | 225,000 |
|---|---|
| Speed as a share of c (%) | 75.05% |
Index of refraction n 1.3324
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
Can the index of refraction be less than 1?
For ordinary visible light in ordinary materials, no: light is slower in any material than in vacuum, so n ≥ 1.
How fast is light in a material with n = 1.5?
About 199,862 km/s, two thirds of its speed in vacuum.