My Calculator

Refractive Index Calculator

Calculate refractive index, speed of light in a medium, or relative refractive index. See full formula steps and a live labelled refraction diagram.

Refractive index, n1.5
Speed as fraction of c0.666667
Medium refractive index1.5
Relative n₂/n₁1.5
Predicted refracted angle28.125506°

Refraction Diagram and Values

The diagram displays both media, the normal, angles, refractive indices and light speed in one place.

MEDIUM 1n₁ = 1incident angle = 45°MEDIUM 2n₂ = 1.5refracted angle = 28.125506°normaln = c / v = 1.5v = 199,861,639 m/sv/c = 0.666667

Step-by-Step Solution

Here's exactly how this answer was calculated, one step at a time.

Given: c = 299,792,458 m/s, v = 199,861,639 m/s, n = 1.5

  1. Step 1: Write the refractive index formula

    c is the speed of light in vacuum: 299,792,458 m/s. v is the light speed in the material.

    n = c / v
  2. Step 2: Substitute the speed values

    n = 299,792,458 / 199,861,639
  3. Step 3: Calculate refractive index

    n = 1.5 (slower than vacuum)

The refractive index result is:

1.5

Free Refractive Index Calculator

This Refractive Index Calculator finds the refractive index of a material from light speed, calculates light speed from refractive index, or compares two media with relative refractive index. Enter your values and get the formula rearrangement, substitution, answer and an attractive refraction diagram that places all values, angles and media labels together.

It is designed for optics homework, CBSE, GCSE, A-level and introductory physics revision. Refractive index explains why light bends when it passes from air into water or glass, how lenses focus, and why prisms disperse light. The visual chart makes the numerical answer easier to connect with the actual path of light.

Refractive Index Formula

The absolute refractive index formula is n = c/v. Here n is refractive index, c is the speed of light in vacuum, exactly 299,792,458 metres per second, and v is light speed in the material. Refractive index has no unit because it is a ratio of two speeds.

Rearrange the formula to v = c/n when finding speed in a medium. A larger refractive index means a lower light speed in that material. Vacuum has n = 1. Air is close to 1, water is approximately 1.33, ordinary glass is often around 1.5, and diamond is about 2.42 for visible light.

How to Use the Refractive Index Calculator

Choose Refractive Index when you know the speed of light in a medium. Choose Speed in Medium when you know n. Choose Relative Index to calculate n₂₁ = n₂/n₁ for light moving from medium 1 to medium 2. Enter the incident angle if you want the live diagram to predict the refracted angle using Snell’s law.

The solution section shows each formula step. For index questions, divide c by v. For speed questions, divide c by n. Keep speed in m/s. The results card also displays speed as a fraction of c and the diagram gives a useful physical check: light entering a higher-index medium bends toward the normal.

Refractive Index Worked Example

Light travels through a glass sample at 199,861,639 m/s. Calculate n = c/v = 299,792,458 / 199,861,639 = 1.5. Glass therefore slows light to two-thirds of its vacuum speed. The light frequency does not change at the boundary, but wavelength becomes shorter inside the glass.

For the reverse calculation, take n = 1.33 for water. v = c/n = 299,792,458/1.33 ≈ 225,407,863 m/s. This is why a ray entering water from air bends toward the normal. The diagram combines the speed value with n and the corresponding change of direction.

Relative Refractive Index

Relative refractive index compares one medium with another: n₂₁ = n₂/n₁. If air has n₁ = 1.00 and glass has n₂ = 1.50, the relative index from air to glass is 1.50. If light travels from glass to water, use approximately 1.33/1.50 = 0.887 for the water relative to glass.

Relative index is useful because refraction happens at an interface, not in isolation. It is also connected to speed: n₂₁ = v₁/v₂. When the second medium has a higher index, light is slower there. Correctly naming medium 1 and medium 2 prevents a common error of accidentally inverting the ratio.

Refraction and Snell's Law

Snell’s law describes the direction change at a boundary: n₁ sin θ₁ = n₂ sin θ₂. Angles are measured from the normal, an imaginary line perpendicular to the surface, not from the surface itself. The value-labelled diagram uses your indices and incident angle to calculate and display the refracted angle.

When light enters a higher-index medium, its speed and wavelength decrease and the ray bends toward the normal. When it enters a lower-index medium, it bends away from the normal. A ray travelling along the normal has an angle of zero and continues straight, even though its speed changes.

Why Light Changes Direction

At a boundary, one side of a wavefront enters the new material before the other side. Its speed changes first, rotating the wavefront and changing the direction of travel. This is refraction. The effect is not caused by light choosing a longer route; it follows from how wave speed differs between materials.

Refraction makes a straw in water appear bent and makes a swimming pool look shallower than it really is. It enables cameras, microscopes and the human eye to focus light. The refractive index is the number that quantifies the speed change responsible for all these familiar observations.

Refractive Index of Common Materials

Typical visible-light values are vacuum 1.0000, air about 1.0003, ice about 1.31, water about 1.33, acrylic around 1.49, crown glass around 1.52 and diamond around 2.42. These are approximate because refractive index depends on wavelength, temperature, composition and pressure.

A higher index does not automatically mean a material is better for every optical device. Lens design also depends on dispersion, transmission, weight, cost and durability. Use a manufacturer or scientific reference for exact engineering values; this calculator is ideal for educational calculations and first estimates.

Total Internal Reflection

When light travels from a higher-index medium to a lower-index medium, the refracted angle increases. At one special incident angle, the refracted ray travels along the boundary; this is the critical angle. At larger angles, refraction stops and all light reflects internally. This is called total internal reflection.

Optical fibres use total internal reflection to guide signals across long distances. It is also responsible for the brightness of diamonds and some underwater visual effects. Use the Critical Angle Calculator for the exact threshold and the Snell’s Law Calculator for more general angle problems.

Units, Accuracy and Common Mistakes

Refractive index is dimensionless, but light speed must be in m/s if you use c = 299,792,458 m/s. Do not confuse refractive index with density: a denser material often has a higher index, but this is not a universal rule. Also remember that frequency stays constant at a boundary while speed and wavelength change.

Common errors include measuring angles from the surface instead of the normal, using a relative index upside down, and rounding too early. State the medium and wavelength whenever high accuracy is important. Refractive index varies with colour, causing dispersion and the separation of white light by a prism.

Applications of Refractive Index

Refractive index is essential in eyeglasses, contact lenses, camera lenses, microscopes, telescopes, fibre optics, gem testing and chemical analysis. A lens bends light because its refractive index differs from air. Higher-index spectacle materials can provide the same optical power with thinner lenses, although other design trade-offs remain.

Scientists use refractometers to identify or measure concentration in liquids such as sugar solutions, oils and chemicals. Engineers choose fibre core and cladding indices to retain light through total internal reflection. These applications show why the simple ratio c/v remains one of the most useful quantities in optics.

Step-by-Step Refractive Index Method

For a speed question, write n = c/v, insert c = 299,792,458 m/s, then divide by the material speed. The answer should usually be at least one for a transparent ordinary material. For a speed-in-medium question, write v = c/n and divide instead. Keep enough digits during the working and round the final refractive index to match the data precision.

For a boundary question, label the incident side as medium 1 and the transmitted side as medium 2 before finding n₂/n₁ or applying Snell’s law. Draw the normal through the point where the ray meets the surface. This small organisation step avoids most reversed-ratio and wrong-angle mistakes. The calculator’s diagram follows the same order visually.

Wavelength, Colour and Dispersion

Refractive index is not exactly constant for every colour. In most transparent materials, blue light has a slightly higher refractive index than red light. It slows and bends a little more strongly. This wavelength dependence is called dispersion and is why a prism can separate white light into a spectrum.

Because of dispersion, exact refractive-index data normally specify a wavelength, often the yellow sodium D line near 589 nm. Camera lenses use multiple glass types and carefully designed shapes to reduce colour fringes, called chromatic aberration. Classroom problems generally use one stated or approximate value, which is appropriate for the simple calculations on this page.

How to Check Your Answer

Ask three quick questions after calculation. Is the index dimensionless? Is it plausible for the named material? Does the ray bend in the expected direction? A transition from air into water or glass should give a smaller refracted angle than incident angle because the ray bends toward the normal. A transition from glass to air should bend away from it unless total internal reflection occurs.

For example, n = 1.5 means speed should be c/1.5, or about 0.667c, not 1.5c. This simple reciprocal check catches a common rearrangement error. Use the displayed v/c ratio, the refracted-angle label and the two coloured media in the live diagram as quick visual confirmation of your numerical result.

Refractive Index FAQ Summary

Use n = c/v for absolute refractive index and n₂₁ = n₂/n₁ for relative refractive index. A greater n means light travels more slowly and bends toward the normal on entry from a lower-index medium. The calculator provides formulas, solution steps and a labelled visual model for quick, clear revision.

Frequently Asked Questions

What is the refractive index formula?

n = c/v, where c is vacuum light speed and v is speed in a medium.

Does refractive index have a unit?

No, it is a dimensionless ratio.

What is the refractive index of water?

Approximately 1.33 for visible light.

What is the refractive index of glass?

Many common glasses are around 1.5, but exact values vary.

Does light slow down in glass?

Yes, its speed is lower than in vacuum and air.

Which way does light bend into glass?

Toward the normal when it enters from air.

Does frequency change during refraction?

No; speed and wavelength change while frequency remains constant.

What is relative refractive index?

The ratio n₂/n₁ comparing a second medium to a first medium.