Audited 31 Jul 2026·Last updated 28 Oct 2026·5 citations·Tier 1·0 uses

Index of Refraction Calculator

Work out a material's refractive index from the phase speed of light inside it, n = c / v, using the exact vacuum speed of light, 299,792,458 m/s.

Index of Refraction Calculator

m/s
Absolute refractive index
1.499
The absolute (phase) refractive index n, a dimensionless ratio of the vacuum speed of light to the speed you entered.
Model scope
Absolute phase index at a stated wavelength/frequency and material state; group index, dispersion, absorption, anisotropy, metamaterials, and complex index are outside it.

Background.

Light slows down when it enters glass, water or any other transparent material, and the refractive index says by how much. It is the ratio of light's speed in a vacuum to its speed in the medium: n = c / v. Glass with an index of 1.5 carries light at two-thirds of its vacuum speed; water, at about 1.33, at roughly three-quarters; diamond, near 2.42, at well under half.

That change of speed is what bends light at a boundary. A wavefront meeting glass at a slant touches the surface at one edge first, that edge slows before the rest, and the whole front swings round: the refraction described by Snell's law, n₁ sin θ₁ = n₂ sin θ₂. The same number governs how strongly a lens focuses, how much light a window reflects, and the critical angle beyond which light inside water or an optical fibre is reflected back instead of escaping.

It is also why spectacle wearers are offered high-index lenses. A thin lens bends light in proportion to n − 1 and to the curvature of its faces, so for the same prescription a material of index 1.67 needs only 0.5 ÷ 0.67, about three-quarters, of the curvature that a 1.5 lens needs. Flatter faces mean a thinner, lighter lens, especially at the edges of a strong prescription for short sight. The trade-off is that higher-index materials generally disperse colour more and reflect more light at each surface unless coated.

The calculation here runs in one direction: enter the speed of light in the medium and the index comes out. The vacuum speed is not a measurement but a fixed value. Since 1983 the metre has been defined so that c is exactly 299,792,458 m/s, and that exact figure is the numerator.

Two cautions. The index depends on wavelength, which is why a prism fans white light into colours, so a velocity for one colour gives the index for that colour only; handbook values are often quoted for yellow sodium light at 589 nm. And the speed entered must be the phase velocity, the speed of individual wave crests. Pulses travel at the group velocity, which in glass is somewhat slower, and dividing c by that gives the group index instead. Phase velocity can even exceed c, giving an index below 1, as it does for X-rays in most materials, without letting any signal outrun light.

What is index of refraction calculator?

The absolute refractive index, n, of a material is the speed of light in vacuum divided by the phase velocity of light in that material. It is a pure number with no units. For ordinary transparent materials at visible wavelengths it is above 1: about 1.0003 for air, 1.33 for water and around 1.5 for common glass. It changes with wavelength, with temperature and, for gases, with pressure, so a quoted index always belongs to particular conditions.

Light slows in a material because the material responds to it. The oscillating electric field of the wave sets the electrons in its atoms and molecules oscillating, those electrons radiate waves of their own, and the incoming and re-radiated waves add up to a single wave whose crests advance more slowly than c. Between the atoms nothing moves slower than light in a vacuum; the lower speed belongs to the combined wave. How strongly the electrons respond depends on frequency, which is why the index depends on colour.

That response is the material's permittivity at the frequency of the light, and for non-magnetic materials n = √εᵣ. The frequency matters enormously. Water's relative permittivity for slowly varying fields is about 80, which would suggest an index near 8.9, but at optical frequencies its molecules cannot turn fast enough to follow the field, and the index is about 1.33.

Tables usually give absolute indices, measured against vacuum, though some practical references quote values relative to air. Because air's own index is about 1.0003, the two differ only around the fourth decimal place: glass with an absolute index of 1.5 has an index of about 1.4996 relative to air.

How to use this calculator.

  1. Enter the phase velocity of light in the material, in metres per second. Type the full number: 2.25 × 10⁸ m/s goes in as 225000000, and a speed given as 225,000 km/s needs multiplying by 1,000 first. If your source gives the speed as a fraction of c, you can skip the calculator: the index is the reciprocal, so 0.75c means n = 1.3333.
  2. Use a velocity for the wavelength you care about. An index for red light differs slightly from one for blue light in the same material.
  3. Make sure the speed is a phase velocity, not a pulse transit time. Timing a light pulse through a length of fibre gives the group velocity, and the result would then be the group index.
  4. Read n. To go the other way, from a known index to the speed of light in the material, divide 299,792,458 by the index.

The formula.

n = c / v_phase

n = c / v, where c = 299,792,458 m/s exactly and v is the phase velocity of light in the medium in m/s. The units cancel, leaving a dimensionless ratio. Because v sits in the denominator, the index moves inversely with it: a phase velocity 1% lower raises n by about 1%, and halving the speed doubles the index. The absolute indices feed straight into Snell's law, n₁ sin θ₁ = n₂ sin θ₂, and into the critical angle for light passing from a dense medium into air, arcsin(1 / n), which is about 48.6° for water with n = 1.333. The formula ignores absorption, which needs a complex index, and crystals whose index depends on polarisation and direction of travel.

Where the ratio comes from shows why it controls bending. In a time t, a wavefront crossing a boundary advances v₁t in the first medium and v₂t in the second; fitting both onto the same stretch of boundary gives sin θ₁ ÷ sin θ₂ = v₁ ÷ v₂, and replacing each speed with c ÷ n turns that into Snell's law. The same substitution gives travel time: light crossing a thickness L of material takes nL ÷ c, as though it had crossed a vacuum path n times longer. That product nL, the optical path length, is the quantity lens designers and interferometers actually work with.

Across the visible range a clear material's index usually changes smoothly with wavelength, and a simple empirical fit, Cauchy's equation n(λ) ≈ A + B ÷ λ², describes ordinary glass well, with the index rising toward the blue end. Near a wavelength the material absorbs, the curve bends sharply and the simple ratio of speeds stops being enough on its own.

A worked example.

Example

Light is found to travel through a clear plastic at 200,000,000 m/s, or 2.0 × 10⁸ m/s. The index is 299,792,458 ÷ 200,000,000 = 1.4990, in the range of acrylic and ordinary glass. At that speed light needs 1,000 ÷ 200,000,000 = 5 microseconds to cross a kilometre of the material, against about 3.34 microseconds in a vacuum. Put another way, a 10 cm block of the plastic has an optical path length of 1.4990 × 10 = 14.99 cm: light takes 0.5 nanoseconds to cross it, the time it would need for almost 15 cm of empty space. A medium where light moves faster, at 225,000,000 m/s, has an index of 299,792,458 ÷ 225,000,000 = 1.3324, close to that of water. The faster the light, the lower the index, and the less a ray bends when it crosses into the material from air.

phase Velocity Mps200,000,000

Frequently asked questions.

How fast does light travel in water, glass and diamond?
Divide 299,792,458 m/s by the index. Water at n = 1.333 gives about 2.249 × 10⁸ m/s; glass at 1.5 about 1.999 × 10⁸ m/s; diamond at 2.42 about 1.239 × 10⁸ m/s. The exact figures shift with wavelength and temperature, because the index itself does.
Can a refractive index be less than 1?
Yes. If the phase velocity exceeds c, the ratio falls below 1, and that is normal for X-rays in most materials and for radio waves in a plasma such as the ionosphere. It does not break relativity: wave crests carry no information, and no signal travels faster than light in a vacuum.
Why does a prism split white light if the index is a single number?
It is not a single number. In glass the index is higher for blue light than for red, so blue slows more and bends more at each surface. A prism separates the colours that way, and raindrops do the same to make rainbows. Always pair an index with the wavelength it was measured at.
What is the difference between phase index and group index?
The phase index uses the speed of individual wave crests; the group index uses the speed of a pulse or wave packet, which is what sets the travel time of data in an optical fibre. In glass the group index is somewhat higher than the phase index, so pulses arrive a little later than c divided by the phase index suggests.
How much does light bend going from air into glass?
Snell's law gives the answer: sin θ₂ = sin θ₁ × n₁ / n₂. A ray striking glass of index 1.5 at 45° from the normal has sin θ₂ = 0.7071 ÷ 1.5 = 0.4714, so it travels on at about 28.1° from the normal, bent noticeably toward it.
How much light does a glass surface reflect?
Light striking a surface head-on reflects a fraction ((n₁ − n₂) ÷ (n₁ + n₂))². From air into glass of index 1.5 that is (0.5 ÷ 2.5)² = 4% per surface, so a plain window loses about 7.8% across its two faces. Water at 1.333 reflects about 2%, diamond at 2.42 about 17%. A single-layer anti-reflection coating works best with an index near the square root of the glass's, about 1.22 for n = 1.5.
Does light's wavelength or frequency change inside the material?
The frequency stays the same, because the light inside is driven by the incoming wave and oscillates in step with it; it is the wavelength that shrinks, by the factor n. Yellow sodium light at 589 nm in a vacuum has a wavelength of about 441.9 nm in water of index 1.333 and about 392.7 nm in glass of index 1.5. Photon energy depends on frequency, so it is unchanged. Thin-film coatings are designed around that shorter wavelength inside the layer.
How is a refractive index measured if nobody times the light?
Through angles, with the speed then following as c ÷ n. An Abbe refractometer finds the critical angle at which light stops passing between a prism and the sample, the same principle handheld refractometers use to read sugar content in fruit juice. With a prism of apex angle A and a measured minimum deviation D, n = sin((A + D)/2) ÷ sin(A/2): a 60° prism deviating light by at least 37.2° has an index of about 1.500.
How does an optical fibre keep light inside it?
The glass core has a slightly higher index than the cladding around it, so light meeting the boundary at a grazing angle is totally reflected. With a core of 1.47 and cladding of 1.46, say, the critical angle is arcsin(1.46 ÷ 1.47) = 83.3° from the normal. Only light entering the fibre within about 9.9° of its axis is trapped, a limit set by √(1.47² − 1.46²) = 0.1712.
Why do hot roads produce mirages?
Because a gas's index above 1 scales with its density. Air just above a sun-baked road is hotter and thinner than the air above it, so its index is slightly lower, and light from the sky travelling down at a shallow angle bends gradually back upward. Your eye traces that light back to the road surface and sees a shimmering patch of sky that looks like water.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
n = c / v_phase
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon