Refractive Index Calculator

Refractive index1.33
Critical angle (to air)48.64°
Speed as a share of c75.05%
How this was calculated
  1. The refractive index n measures how much a medium slows light: n = c / v, with c the vacuum speed of light, 299,792,458 m/s.
  2. Here v is 2.25 x 10^8 m/s, so n = 299,792,458 / 225,000,000 = 1.33 — light keeps 75.05% of its vacuum speed in this medium.
  3. Entering from air, the steepest angle that still escapes is the critical angle, arcsin(1 / n) = 48.64 degrees; beyond it, light reflects totally inside the medium.
  4. The index depends on wavelength (dispersion) as well as material — the values quoted for glass and water are conventionally measured at the sodium D line, 589 nm.

This refractive index calculator finds n, the number that tells you how much slower light travels through a medium than through a vacuum. The relationship is simple: n = c / v, where c is the speed of light in vacuum and v is its speed in the medium. Enter a measured speed of light in a material and the calculator returns the index. For example, light traveling at 2.25 x 10^8 m/s in a medium gives n = 1.33, the refractive index of water. You can also work from the critical angle using n = 1 / sin(theta c); a critical angle of 41.8 degrees gives n = 1.50. Common reference values include water at 1.33, crown glass at about 1.52 and diamond at 2.42, all quoted at the sodium D line, 589 nm. Because the index varies with wavelength (dispersion), which is why prisms split white light, the wavelength used matters when you compare results.

The method behind the calculator is the standard definition of refractive index itself: the ratio of the speed of light in vacuum to its speed in the medium, or the critical-angle relation n = 1 / sin(theta c). These are the accepted relationships used throughout optics, so the results follow directly from the inputs rather than from an approximation. This page shows the formula, step-by-step workings and worked examples so you can check each result by hand, and it lists its sources so you can see where the reference values such as water 1.33, crown glass about 1.52 and diamond 2.42 come from. If you are comparing materials, keep the quoted wavelength in mind: values at the sodium D line, 589 nm, are the usual reference point, and indices shift with wavelength because of dispersion.

Worked examples

Primary result: 1.33

Primary result: 1.33 — Light at 2.25 in these units means an index of 1.33 — water. (Speed of light in the medium · 2.25 · 48.61)

Refractive index1.33
Critical angle (to air)48.64°
Speed as a share of c75.05%

Primary result: 1.51

Primary result: 1.51 — Slower light, higher index: 1.51, a dense glass. (Speed of light in the medium · 1.98 · 41.31)

Refractive index1.51
Critical angle (to air)41.33°
Speed as a share of c66.05%

Primary result: 1.50

Primary result: 1.50 — A 41.8-degree critical angle inverts to an index of 1.50. (Critical angle · 2 · 41.8)

Refractive index1.50
Speed of light in the medium1.9982 x 10^8 m/s
Critical angle41.80°

What refractive index means

Light travels fastest in a vacuum, and it slows down whenever it passes through matter. The refractive index, written n, is simply the ratio n = c / v: the speed of light in vacuum (c) divided by the speed of light in the medium (v). An index of 2 means light moves at half its vacuum speed; an index of 1.5 means it moves at two-thirds. That single number summarizes how strongly a material bends light, and it is the value a refractive index calculator works from — or solves for — when you enter a speed, an angle, or a critical angle.

At the atomic level, the slowdown is not the light itself being dragged down. The medium's electrons respond to the passing electromagnetic wave and re-radiate it, and the combined result travels through the material more slowly than the wave would in empty space. Because the effect depends on how tightly the electrons are bound, different materials slow light by different amounts: water reaches n = 1.33, crown glass about 1.52, and diamond 2.42. Those typical values are all quoted at the sodium D line, 589 nm, a standard reference wavelength.

Vacuum is exactly 1 because c divided by c is 1 — there is nothing to slow the light. Air is nearly 1 for the same reason in miniature: it is so thin that light passes through at almost its vacuum speed, which is why refractive index tables usually treat air as 1.00 for practical work. The formula also runs in reverse. If you know the critical angle — the angle beyond which light hitting a boundary is totally internally reflected — you can find n = 1 / sin(theta c). A critical angle of 41.8 degrees gives n = 1.50, a value close to ordinary glass.

A quick worked check shows how the pieces fit. Suppose light travels at 2.25 x 10^8 m/s in a medium. Dividing the vacuum speed by that figure gives n = 1.33, the index of water. The same logic explains why a straw looks bent at the water's surface and why a gemstone sparkles more than a pane of window glass: the higher the index, the more sharply the path of light changes as it enters or leaves.

One caution matters for accuracy. The index is not a single fixed number for a given material — it varies with wavelength, a property called dispersion. That is why a prism splits white light into a rainbow, with each color bending by a slightly different amount. When you compare values, make sure they were measured at the same wavelength, such as the 589 nm sodium D line used for the typical figures above.

The refractive index is n = c / v. Light at 2.25 x 10^8 m/s gives n = 1.33 (water); a critical angle of 41.8 degrees gives n = 1.50. Vacuum is exactly 1, and air is nearly 1.

Index from the speed of light

The refractive index tells you how much slower light travels through a material than through a vacuum. The relationship is simple: n = c / v, where c is the speed of light in vacuum and v is the speed of light in the medium. Because light always travels at or below c, the index is always at least 1. A refractive index calculator uses this formula directly — enter the speed of light in the material and it divides c by that value to return n.

A worked check shows how the numbers behave. If light travels at 2.25 x 10^8 m/s in a medium, dividing the speed of light in vacuum by that figure gives n = 1.33 — the index of water. That result is a useful sanity test: any material with an index near 1.33 should show light moving at roughly three-quarters of its vacuum speed. If your input produces an index below 1, something is wrong, because nothing in a vacuum-limited formula can make light faster than c.

The same index also sets the critical angle, the angle beyond which light striking a boundary from inside the material is totally internally reflected instead of passing out. The relationship runs the other way: n = 1 / sin(theta c), where theta c is the critical angle. A critical angle of 41.8 degrees gives n = 1.50. This is why the index can be measured optically — shine light through a sample, find the angle at which the transmitted beam vanishes, and read n off the sine.

Typical values give a sense of scale. Water is 1.33, crown glass about 1.52, and diamond 2.42 — all quoted at the sodium D line, 589 nm. Those figures are not universal constants. The index varies with wavelength, a property called dispersion, which is why prisms split white light into a spectrum: each color leaves the glass at a slightly different angle because each sees a slightly different index. A refractive index calculator is only as precise as the wavelength you specify alongside the speed or angle you enter.

When you use a refractive index calculator, keep the units consistent — speed in meters per second against c in meters per second — and note the wavelength if you are comparing against published tables. The two routes, from speed and from critical angle, should agree for the same material at the same wavelength. If they do not, check whether the angle was measured in air rather than vacuum, or whether the quoted index was taken at a different wavelength than the one you assumed.

Quick check: light at 2.25 x 10^8 m/s gives n = 1.33 (water); a critical angle of 41.8 degrees gives n = 1.50.

Index from the critical angle

When light travels from a denser medium into a less dense one, such as from glass into air, it bends away from the normal. Push the angle of incidence far enough and the refracted ray flattens until it skims along the boundary at 90 degrees. That angle of incidence is the critical angle, and beyond it light no longer escapes the medium at all — it reflects back inside. This total internal reflection geometry gives a second way to find the refractive index without measuring any speeds: n = 1 / sin(theta c), where theta c is the critical angle.

The formula works because the critical angle is where the refracted ray would sit exactly along the surface. A larger angle cannot produce a valid refracted ray, so all the light is reflected internally. To check the math, take a critical angle of 41.8 degrees. The sine of 41.8 degrees is about 0.667, and 1 divided by 0.667 gives 1.50 — a value in line with ordinary glass. That single measurement, one angle found by watching where the transmitted light vanishes, is enough to pin down the index.

A refractive index calculator using this relation is handy in optics because the critical angle is often easier to measure than the speed of light in a material. You shine a beam through a sample, rotate it until the light on the far side disappears, and read the angle. The same relation runs the other way: if you already know the index, you can predict the critical angle for a given material. For water at 1.33, for example, the critical angle is larger than for glass, which is why a submerged tube looks different from one in air.

The applications are practical. Optical fibres are built around total internal reflection: light entering the core at a shallow enough angle stays trapped and travels along the fibre instead of leaking out the sides, which is how signals move over long distances. Diamond cutting exploits the same geometry. Diamond has an index of 2.42, far above glass, so its critical angle is small and light that enters is reflected internally over a wide range of angles before emerging. That trapped and redirected light is a large part of why a cut diamond sparkles.

Keep in mind that these indices are quoted at a single wavelength — the sodium D line at 589 nm. Water is 1.33, crown glass about 1.52, and diamond 2.42 at that wavelength. Because the index changes with wavelength, the critical angle does too, which is one reason the same material can behave slightly differently in different colors of light.

Worked check: sine of 41.8 degrees is about 0.667, and 1 / 0.667 = 1.50 — the index you would expect for glass.

Dispersion and wavelength

A refractive index is not a single fixed number for a material. It changes with the wavelength of the light passing through it, so any quoted index is only meaningful when you know which wavelength it refers to. A refractive index calculator that asks for wavelength is not being fussy — it is asking for information the answer depends on. Quote an index without a wavelength and you have only half the story.

This variation is called dispersion, and it is the reason a prism splits white light into a rainbow. Light of shorter wavelength, toward the blue end of the spectrum, is slowed more than light of longer wavelength, toward the red end. The blue component therefore bends more sharply on entering and leaving the glass, and the colors fan out. The familiar n = c / v relationship still holds — the index is simply how much slower light travels in a medium than in vacuum — but the speed in the medium is different for each wavelength. As a quick check on the arithmetic, light traveling at 2.25 x 10^8 m/s in a medium gives n = 1.33, the index of water.

Because every measurement depends on wavelength, the field settled on a standard. Indices are conventionally quoted at the sodium D line, 589 nm, a bright yellow-orange emission from sodium vapor. When you read that water is 1.33, crown glass is about 1.52, or diamond is 2.42, those figures are all at the sodium D line. Without that convention, tables from different sources could not be compared, and a value like 1.52 for crown glass would be ambiguous.

For describing how the index changes across wavelengths, the usual starting point is Cauchy's equation, which expresses the index as a simple function of wavelength with a small number of material-specific constants fitted to measured data. It works well in the visible region and captures the basic trend: index falls as wavelength rises. The practical lesson for anyone using a refractive index calculator is to match the wavelength, or at least the standard line, to the value you compare against. A figure measured at one wavelength and checked against a table quoted at another can differ for reasons that have nothing to do with the material itself.

Convention to remember: water 1.33, crown glass about 1.52, and diamond 2.42 are all quoted at the sodium D line, 589 nm. Compare indices only when they refer to the same wavelength.

FAQs

What is the refractive index of water?

Water has a refractive index of about 1.33 at the sodium D line. That means light travels through water at roughly three-quarters of its speed in a vacuum. This value is a common reference point in optics and explains why objects look bent or shifted when viewed through water.

How do I calculate refractive index from speed?

Divide the vacuum speed of light by the speed of light in the medium: n = c / v. Here c is the speed of light in a vacuum and v is the speed in the material. Because light slows in most materials, the result is typically greater than 1.

What is the critical angle formula?

For light leaving a medium into air or vacuum, sin(theta c) = 1 / n. Rearranged, n = 1 / sin(theta c). The critical angle is the smallest angle of incidence at which total internal reflection occurs, and it depends only on the refractive index of the medium.

Can refractive index be less than 1?

For phase velocity, yes in special cases such as X-rays and plasmas. However, the group velocity that carries signals stays within relativity. Everyday materials all have refractive indices above 1, so a value below 1 is unusual and tied to specific physical situations.

Why does refractive index depend on colour?

The interaction between light and the medium varies with frequency. Blue light is slowed and bent more than red light. This difference is called dispersion, and it is what produces rainbows and the spectra seen when light passes through a prism.

What material has the highest refractive index?

Diamond, at 2.42, is the classic high value among common transparent materials. Some semiconductors exceed 3.5 in the infrared. So the highest index depends on the wavelength range, but diamond remains the familiar benchmark for everyday transparent substances.

Sources

Related calculators

Snell's Law Calculator
Refraction at a boundary: the refracted angle from both refractive indices and the angle of incidence — and an honest total-internal-reflection answer when no refracted ray exists.
Critical Angle Calculator
The critical angle for total internal reflection between two media — glass, water or diamond into air — from their refractive indices.
Brewster's Angle Calculator
The incidence angle at which reflected light comes off a surface completely polarized — arctan of the refractive-index ratio.
Thin Lens Equation Calculator
Solve 1/f = 1/do + 1/di for whichever distance you are missing, with magnification and the real-or-virtual character of the image.