Refractive Index Calculator

Refractive index is a dimensionless number that describes how much the speed of light is reduced as it passes through a medium compared with its speed in a vacuum. The formula is n equals c divided by v, where c is the speed of light in vacuum (approximately 2.998 times 10 to the power of 8 metres per second) and v is the phase velocity of light in the medium. Glass has a refractive index of about 1.5, meaning light travels at two-thirds of its vacuum speed inside it. Water is about 1.33. When light crosses the boundary between two media with different refractive indices, it bends according to Snell's law: n1 times sin(theta1) equals n2 times sin(theta2), where theta1 and theta2 are the angles of incidence and refraction measured from the normal to the surface. If light is moving from a denser medium to a less dense one and the angle of incidence exceeds the critical angle, total internal reflection occurs and no light escapes. The critical angle is theta_c equals arcsin(n2 divided by n1). This calculator has two modes: a refractive index mode that finds n from the speed of light in the medium, and a Snell's law mode that finds the angle of refraction given n1, n2 and the angle of incidence, along with the critical angle if n1 is greater than n2. It is used in optics, photonics, fibre-optic engineering, and secondary and university physics. The speed of light in vacuum used is exactly 2.99792458 times 10 to the power of 8 m/s.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
deg
1.4990
refractive index
Speed in medium2.00e8 m/s
Angle of refraction--
Critical angle--

Speed of light in vacuum c = 2.998 x 10⁸ m/s. Angles are measured from the surface normal. Total internal reflection occurs when the angle of incidence exceeds the critical angle (denser to less dense only).

How it works

Refractive index mode: n = c / v where c = 2.998 x 10 to the power of 8 m/s. Snell's law mode: rearrange n1 sin(theta1) = n2 sin(theta2) to get theta2 = arcsin(n1 sin(theta1) / n2). If the argument of arcsin exceeds 1, total internal reflection occurs and no refracted ray exists. The critical angle (only when n1 greater than n2) is theta_c = arcsin(n2 / n1). All angles are in degrees.

Worked example

Light travels at 2 x 10 to the power of 8 m/s in a glass sample. Refractive index: n = 2.998 x 10 to the power of 8 divided by 2 x 10 to the power of 8 = 1.50. These match the default values pre-filled above. In Snell's law mode, glass (n1 = 1.5) to air (n2 = 1.0) at theta1 = 30 deg gives theta2 = arcsin(1.5 x sin 30 / 1.0) = arcsin(0.75) = 48.59 deg, and the critical angle = arcsin(1.0/1.5) = 41.81 deg.

Related calculators