Formula and Method for the Index of Refraction Calculator
The index of refraction (refractive index), n, describes how much slower light travels through a material than it does through a vacuum: n = c / v, where c is the speed of light in vacuum (299,792,458 m/s, exact by definition) and v is the speed of light in the medium. Because ordinary transparent materials always slow light down, n is always 1 or greater — a perfect vacuum has n = 1, and denser optical materials have progressively higher values. This calculator also derives the wavelength of light inside the medium, the critical angle for total internal reflection, and Brewster's polarizing angle from that same value of n.
How the calculation works
Enter the speed light travels through your material and choose its unit (m/s, km/s, or as a fraction of c). The calculator divides c by that speed to get n = c / v. Using the vacuum wavelength you supply, it then finds the wavelength inside the medium with λ = λ₀ / n — the frequency of light does not change when it enters a new medium, only its speed and wavelength do.
Critical angle and Brewster's angle
From n, the calculator also reports two angles that matter in optics. The critical angle, θc = arcsin(1/n), is the angle of incidence inside the medium (measured from the normal) beyond which light cannot escape into the lower-index side and instead undergoes total internal reflection; it only exists when n is greater than 1. Brewster's angle, θB = arctan(n), is the angle at which light traveling from air into the medium reflects with complete linear polarization parallel to the surface — it always exists for n greater than 0.
Real-world applications
- Lens and camera design uses n to compute how strongly a glass element bends (refracts) light, which sets its focal length and correction for chromatic aberration.
- Fiber-optic cables rely on total internal reflection — the core's higher n keeps light bouncing down the fiber past the critical angle instead of leaking into the cladding.
- Gemology uses a refractometer to measure n and help identify or grade gemstones, since each mineral has a characteristic refractive index.
- Polarizing filters and anti-glare coatings are tuned around Brewster's angle to cut reflected glare off water, glass, and road surfaces.