This calculator applies Snell's law to find the angle at which light bends when it passes from one medium into another, and detects total internal reflection. When light crosses a boundary between two transparent materials, such as from air into water or glass, it changes direction, an effect called refraction. This is why a straw looks bent in a glass of water and why lenses can focus light. Snell's law describes it precisely: the refractive index of the first medium times the sine of the angle of incidence equals the refractive index of the second times the sine of the angle of refraction. The refractive index measures how much a material slows light, with a vacuum at exactly 1, air very close to 1, water about 1.33 and typical glass around 1.5. This tool does the calculation for you. You enter the refractive index of each medium and the angle of incidence, measured from the perpendicular to the surface, and the calculator returns the angle of refraction. When light travels from a denser to a less dense medium, it also reports the critical angle, the angle of incidence beyond which light cannot escape and is instead completely reflected back, a phenomenon called total internal reflection that makes optical fibres and many optical devices work. The results update as you type. Use it for physics homework, for understanding lenses, prisms and fibre optics, or for any refraction problem. Light bends toward the perpendicular when entering a denser medium and away from it when entering a less dense one. When total internal reflection occurs, the calculator flags it, since no refracted ray exists in that case.
n1 sin(θ1) = n2 sin(θ2). Angles measured from the normal. The critical angle applies only when n1 > n2 (denser to less dense). Rounded for display.
Snell's law is rearranged to find the sine of the refraction angle: the first index times the sine of the incidence angle, divided by the second index. Taking the inverse sine gives the refraction angle. If that sine exceeds one, no refraction is possible and total internal reflection occurs. The critical angle is the inverse sine of the index ratio.
Light passing from air, index 1.0, into glass, index 1.5, at an incidence angle of 30 degrees, refracts so that the sine of the refraction angle is 1.0 times the sine of 30 degrees divided by 1.5, which is 0.333. The angle of refraction is about 19.47 degrees, bent toward the perpendicular as it enters the denser glass.
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.
© 2019 to 2026 Calculate.co.nz. All rights reserved.