Index of Refraction Calculator

Index of Refraction Calculator

Popular AI Skill PRO

Enter Calculation

Formula

n=Speed in Vacuum (m/s)Speed in Medium (m/s)n = \frac{\text{Speed in Vacuum (m/s)}}{\text{Speed in Medium (m/s)}}

Example

n=299792458225000000≈1.3324n = \frac{299792458}{225000000} \approx 1.3324
Usage stats

Advertisement

Results

Index of Refraction
1.3324
dimensionless (n)
Speed of light in vacuum (c) 299,792,458 m/s
Speed in medium (v) 225,000,000 m/s

Report an error on this page

What Is the Index of Refraction?

The index of refraction (or refractive index), symbol n, is a dimensionless number that describes how fast light travels through a medium relative to its speed in a vacuum. It is defined as the ratio of the speed of light in vacuum (\(c \approx 299{,}792{,}458\ \text{m/s}\)) to the speed of light in the medium (\(v\)). Because light always slows down in matter, n is always greater than or equal to 1. Common values include 1.0003 for air, 1.33 for water, and about 1.5 for ordinary glass.

Light ray bending as it passes from a less dense to a denser medium across a boundary
Refraction: light slows and bends when entering a denser medium with a higher index of refraction.

How to Use This Calculator

Enter the speed of light inside the medium (in meters per second) and the speed of light in vacuum. The vacuum value defaults to 299,792,458 m/s, but you can change it if you are using a rounded figure such as \(3\times10^{8}\). The calculator divides c by v to return the refractive index instantly.

The Formula Explained

The governing equation is $$n = \frac{c}{v}$$ Here c is the universal speed of light in a vacuum and v is the (slower) phase speed inside the material. A higher index means light slows down more and bends more sharply at the surface, as described by Snell's law.

Advertisement
Diagram showing index of refraction equals speed of light in vacuum divided by speed in medium
The index of refraction is the ratio of light speed in vacuum (c) to its speed in the medium (v).

Worked Example

Suppose light travels through a medium at \(v = 225{,}000{,}000\ \text{m/s}\) while the vacuum speed is \(c = 299{,}792{,}458\ \text{m/s}\). Then $$n = \frac{299{,}792{,}458}{225{,}000{,}000} \approx 1.3324$$ This is close to the refractive index of water, meaning the material would bend and slow light much like water does.

Refractive Index Values of Common Materials

The table lists typical refractive indices for common media at about 589 nm (the sodium D line) and about 20 °C. The speed in the medium is v = c / n, using c = 299,792,458 m/s. The speeds are rounded to four significant figures, except vacuum, which is exact.

Medium Refractive index n Speed of light v = c/n (m/s)
Vacuum 1.0000 299,792,458
Air (near sea level) ≈ 1.0003 ≈ 2.997 × 108
Ice ≈ 1.31 ≈ 2.288 × 108
Water ≈ 1.333 ≈ 2.249 × 108
Ethanol ≈ 1.361 ≈ 2.203 × 108
Acrylic (PMMA) ≈ 1.49 ≈ 2.012 × 108
Crown glass ≈ 1.52 ≈ 1.972 × 108
Flint glass ≈ 1.62 ≈ 1.851 × 108
Sapphire ≈ 1.77 ≈ 1.694 × 108
Diamond ≈ 2.417 ≈ 1.240 × 108

Note: These are representative values. The refractive index changes with wavelength (dispersion), temperature, pressure (especially for gases) and material composition. Glass types in particular cover a range of values, so check the datasheet for a specific product.

Example: for water, \(n = \dfrac{299{,}792{,}458}{224{,}900{,}000} \approx\) 1.333.

Interpreting Your Result

  • n = 1: light travels at the vacuum speed c. Air at n ≈ 1.0003 is very close to this.
  • Higher n means slower light. Since v = c/n, a larger index means a lower speed in the medium. The speed reduction as a percentage is \((1 - 1/n) \times 100\%\). For water (n ≈ 1.333) this is about 25.0%. For diamond (n ≈ 2.417) it is about 58.6%.
  • Bending at an interface: Snell's law is $$n_1 \sin\theta_1 = n_2 \sin\theta_2.$$ Light entering a higher-index medium bends toward the normal. Light entering a lower-index medium bends away from it.
  • Critical angle and total internal reflection: when light goes from a higher index \(n_1\) to a lower index \(n_2\), total internal reflection occurs beyond the critical angle given by $$\sin\theta_c = \frac{n_2}{n_1}.$$ For water to air, \(\theta_c = \arcsin(1/1.333) \approx 48.6^\circ\).
  • n below 1: for ordinary transparent media, a result below 1 means the entered speed v is greater than c, which is almost certainly an input error such as swapped fields or a wrong power of ten. Values below 1 can occur for the phase velocity of X-rays or near resonances in some materials. They do not mean that information or energy travels faster than c.
  • Wavelength dependence: n is usually higher for blue light than for red light, which causes dispersion and prisms splitting white light. Always note the wavelength at which the speed was measured or quoted.
Advertisement

Constants Used

  • Speed of light in vacuum: \(c = 299{,}792{,}458\) m/s. This value is exact by the SI definition, not a measured quantity.
  • Rounded value: \(3.00 \times 10^8\) m/s is widely used for quick estimates. It differs from the exact value by about \(\dfrac{300{,}000{,}000 - 299{,}792{,}458}{299{,}792{,}458} \approx 0.07\%\), which is negligible for most classroom work but can matter in precision optics.
  • Link to the meter: since 1983 the SI meter has been defined as the distance light travels in vacuum in 1/299,792,458 of a second. The value of c is therefore fixed, and the length of the meter follows from the definition of the second.
  • Dimensionless quantity: n = c / v is a ratio of two speeds, so it has no units. Use the same speed unit for c and v. This calculator expects both in m/s.

FAQ

Can the index of refraction be less than 1? For the phase velocity in certain materials (like X-rays in some media) it can be slightly less than 1, but for visible light in ordinary materials it is always \(\geq 1\).

Is the refractive index constant? No—it varies slightly with the wavelength of light, an effect called dispersion, which is why prisms split white light into colors.

What units should I use? Use the same units for both speeds (typically m/s). Since n is a ratio, the units cancel and the result is dimensionless.

Last updated:

Most popular in Physics and Engineering

View all Physics and Engineering calculators