Show the math
n = c / v, where c = 299,792,458 m/s (exact) and v is the speed of light in the material. Light slows down by the factor n.n = 299,792,458 / 225,000,000 m/s = 1.33241; v = c / n = 225,000,000 m/s = 0.750519 cλ = λ0 / n = 589.3 nm / 1.33241 = 442.281 nm (frequency stays the same, the speed drops)R = ((n − 1) / (n + 1))2 = ((1.33241 − 1) / (1.33241 + 1))2 = 2.031% at normal incidence from a vacuum (about the same from air)Refractive index of common materials (589.3 nm)
| Material | n | Speed (km/s) | Conditions |
|---|---|---|---|
| Vacuum | 1 | 299,790 | exact |
| Air | 1.000293 | 299,700 | 0 °C, 101.325 kPa |
| Water | 1.3334 | 224,830 | 20 °C |
| Ice | 1.3097 | 228,900 | -7 °C |
| Ethanol | 1.3616 | 220,180 | 20 °C |
| Glycerol | 1.4722 | 203,640 | 25 °C |
| Fused silica | 1.4584 | 205,560 | 20 °C |
| Acrylic (PMMA) | 1.4905 | 201,140 | 20 °C, resin varies by 0.002 |
| Crown glass (N-BK7) | 1.5167 | 197,660 | catalogue value |
| Flint glass (F2) | 1.6199 | 185,070 | catalogue value |
| Dense flint (N-SF11) | 1.7845 | 168,000 | catalogue value |
| Sapphire (ordinary ray) | 1.7681 | 169,560 | 20 °C, ordinary ray |
| Diamond | 2.4173 | 124,020 | room temperature |
Short answer: The refractive index is n = c / v: the speed of light in a vacuum, 299,792,458 m/s, divided by its speed in the material. Light moving at 225,000,000 m/s gives n = 1.332, about the index of water, where light runs at 75.05% of c. To find how far a ray bends at a surface, use Snell’s law: n1 sin(a1) = n2 sin(a2).
The index has no unit because it is a ratio of two speeds. Most wrong answers come from three places: measuring angles from the surface instead of the normal, using an index quoted for a different wavelength, and treating a total internal reflection result as an error.
This article contains Amazon affiliate links. 33science earns a commission on qualifying purchases. See our affiliate disclosure.
How to use the refractive index calculator
The refractive index formula: n = c / v
n equals c divided by v, where c = 299,792,458 m/s is the exact speed of light in a vacuum (NIST) and v is the speed in the material, in m/s. Rearranged, v = c / n. That is the whole speed of light in a medium calculation: n tells you how many times slower light travels in the material than in a vacuum (OpenStax).
Worked example: light travelling at 225,000,000 m/s (225,000 km/s) gives n = 299,792,458 / 225,000,000 = 1.332 (unrounded 1.33241), so the light is running at 75.05% of c. In the other direction, water at 20 °C has n = 1.3334, so v = 299,792,458 / 1.3334, about 224,833,000 m/s.
Refractive index of water, glass, air and other materials
For 589.3 nm light, water is 1.3334 at 20 °C, air is 1.000293 and common glass is about 1.5 (1.5167 for N-BK7 crown glass). Diamond is 2.4173. The columns show what each index means for the speed of light, the wavelength inside the material and the critical angle for light trying to leave into air.
| Material | n | Speed (km/s) | % of c | 589.3 nm light becomes (nm) | Critical angle to air |
|---|---|---|---|---|---|
| Vacuum | 1 | 299,792.458 | 100 | 589.3 | none |
| Air (0 °C, 1 atm) | 1.000293 | 299,705 | 99.97 | 589.1 | none |
| Water (20 °C) | 1.3334 | 224,833 | 75 | 442 | 48.61° |
| Ice (−7 °C) | 1.3097 | 228,902 | 76.35 | 450 | 49.8° |
| Ethanol (20 °C) | 1.3616 | 220,177 | 73.44 | 432.8 | 47.28° |
| Glycerol (25 °C) | 1.4722 | 203,636 | 67.93 | 400.3 | 42.8° |
| Fused silica | 1.4584 | 205,563 | 68.57 | 404.1 | 43.31° |
| Acrylic (PMMA) | 1.4905 | 201,135 | 67.09 | 395.4 | 42.15° |
| Crown glass N-BK7 | 1.5167 | 197,661 | 65.93 | 388.5 | 41.26° |
| Flint glass F2 | 1.6199 | 185,068 | 61.73 | 363.8 | 38.13° |
| Sapphire (ordinary ray) | 1.7681 | 169,556 | 56.56 | 333.3 | 34.45° |
| Dense flint N-SF11 | 1.7845 | 167,998 | 56.04 | 330.2 | 34.09° |
| Diamond | 2.4173 | 124,020 | 41.37 | 243.8 | 24.44° |
Values come from published dispersion fits and the SCHOTT catalogue (Optica, SCHOTT), and agree with the usual textbook table from HyperPhysics. Conditions move the last digits: acrylic varies by about 0.002 between resins, glycerol drops as it absorbs water, and air changes with temperature and pressure.
Absolute and relative refractive index
The absolute index compares a material with a vacuum: n = c / v. The relative index compares two materials: n21 = n2 / n1 = v1 / v2, the index of material 2 as seen from material 1. Snell’s law is a statement about the relative index, because sin(a1) / sin(a2) = n2 / n1. A ray that bends from 45° in air to 30° in a material gives n2 = 1 × sin 45° / sin 30° = 1.414.
Snell’s law calculator: the refraction angle at a boundary
Snell’s law is n1 sin(a1) = n2 sin(a2), with both angles measured from the normal. A ray entering a higher index bends toward the normal and a ray entering a lower index bends away from it. Leave any one of n1, n2, a1 or a2 empty and the calculator solves for it: a2 = asin(n1 sin a1 / n2), n2 = n1 sin a1 / sin a2, and so on (OpenStax).

| Boundary | Incidence angle | Refraction angle |
|---|---|---|
| Air to water | 30° | 22.03° |
| Air to water | 45° | 32.04° |
| Air to N-BK7 glass | 30° | 19.25° |
| Air to diamond | 30° | 11.94° |
| Water to air | 30° | 41.8° |
| N-BK7 glass to air | 30° | 49.3° |
Worked example: air to glass with n2 = 1.5 at 30°. sin(a2) = 1 × sin 30° / 1.5 = 0.3333, so a2 = 19.47°. A ray that skims the water surface at 90° refracts at 48.61°, so everything above the surface is compressed into a cone that wide as seen from underwater.
Some light always reflects. At normal incidence the reflected share is R = ((n1 − n2) / (n1 + n2))2: 4% for air to glass at 1.5, 2.04% for air to water and 17.2% for air to diamond (Wikipedia). To check Snell’s law yourself, a laser ray box with acrylic lenses lets you trace a beam through a block and read both angles with a protractor. Never point the beam at a person’s eyes.
Total internal reflection and the critical angle
The critical angle is Snell’s law with a refraction angle of 90°: a_c = asin(n2 / n1), defined only when n1 is larger than n2. Above that incidence angle no refracted ray exists and all the light reflects (OpenStax). From glass at 1.5 into air the critical angle is 41.81°. A ray at 45° gives sin(a2) = 1.061, which is above 1 and has no real solution, so the calculator reports total internal reflection and the critical angle instead of an angle.
| From | Into | Critical angle |
|---|---|---|
| Water | Air | 48.61° |
| N-BK7 glass | Air | 41.26° |
| Diamond | Air | 24.44° |
| N-BK7 glass | Water | 61.54° |
| Diamond | Water | 33.48° |
| Diamond | N-BK7 glass | 38.86° |
Diamond’s critical angle to air, 24.44°, is far narrower than glass at 41.26°. A diamond cut to send light back out through the top traps most of what enters, and its index also reflects 17.2% at the surface, which is why it sparkles more than glass.
Wavelength, color and dispersion
The refractive index depends on wavelength. In clear glass and water, blue light has a higher index than red, so a prism bends blue more and spreads white light into a spectrum. That spread is dispersion (Wikipedia).

Because of dispersion, a table has to name a wavelength. The presets use 589.3 nm, the sodium D line, the mean of a doublet at 589.0 and 589.6 nm that is the long-standing reference for quoting an index (Wikipedia). Glass catalogues quote nd at 587.6 nm, which can change the last digit. The presets stay at 589.3 nm; for another color, type an index measured at that wavelength. The wavelength box gives the wavelength inside the material, λ / n.
How refractive index is measured
A refractometer measures the critical angle. Light passes through a drop of liquid on a prism, and the angle where light switches from refracting to totally reflecting appears as the edge between a bright and a dark field on a scale (Wikipedia). That edge converts directly to n.

Sugar raises the index of water, so a sugar solution moves the edge, and handheld units read it on the Brix scale. Temperature moves it too: the index of water falls as it warms. A handheld Brix refractometer with automatic temperature compensation corrects for that between 10 and 30 °C. To compare a measured index with a table value, use the percent error calculator.
Sources
- NIST. Speed of light in vacuum
- OpenStax. University Physics Volume 3: Refraction
- OpenStax. University Physics Volume 3: Total internal reflection
- Wikipedia. Refractive index
- Wikipedia. List of refractive indices
- Wikipedia. Fresnel equations
- Wikipedia. Dispersion (optics)
- Wikipedia. Refractometer
- Georgia State University. HyperPhysics: Indices of refraction
- SCHOTT. N-BK7 optical glass
- Optica. Daimon and Masumura, refractive index of water, Applied Optics 2007
- NIST. Refractive index of air equations
Frequently asked questions
Water at 20 C has a refractive index of 1.3334 for 589.3 nm light, usually rounded to 1.333. Light travels at about 75 percent of its vacuum speed in water.
Common glass is about 1.5, but it depends on the type. Crown glass N-BK7 is 1.5167 and dense flint N-SF11 is 1.7845 at 589.3 nm.
Air is 1.000293 at 0 C and 1 atmosphere for 589.3 nm light. Using 1 is accurate enough for most homework.
Refractive index has no unit. It is a ratio of two speeds, so it is dimensionless.
Divide the speed of light in a vacuum, 299,792,458 meters per second, by the refractive index: v = c / n. In water, n = 1.3334 gives about 224,833,000 meters per second.
Take the inverse sine of n2 divided by n1, where n1 is the higher index. From glass at 1.5 into air the critical angle is 41.81 degrees.
No. It needs light to travel from a higher index to a lower index, because only then can Snell’s law give a sine above 1 and leave no refracted ray.
Absolute index compares a material with a vacuum: n = c / v. Relative index compares two materials: n2 divided by n1, which equals v1 divided by v2.