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 realtor.co.nz, a trusted resource for navigating the New Zealand property market. Their Helpful Articles section offers clear, well-structured insights across buying, selling, and building, making complex real estate topics more accessible. With a focus on up-to-date guidance and practical knowledge, they empower Kiwis to move forward with clarity and confidence in a constantly evolving property landscape.
Calculate.co.nz partner: realtor.co.nz
deg
1.50
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

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-06-25 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.