Snell's Law and Critical Angle Calculator

Calculate the refraction angle and critical angle between two media and check for total internal reflection.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Step 1: Open Snell's Law and Critical Angle Calculator and add your input

    Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.

  2. 2
    Step 2: What Snell's Law and Critical Angle Calculator does

    Calculate the refraction angle and critical angle between two media and check for total internal reflection.

  3. 3
    Step 3: Read the result and compare

    The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.

  4. 4
    Step 4: Copy or save it

    Copy the result or download it. For an important decision, confirm it with the official source or an adviser.

About this tool

Enter the refractive index of the first and second medium and the angle of incidence. The calculator gives the angle of refraction, the critical angle and whether total internal reflection occurs.

Snell's law

n₁ sin θ₁ = n₂ sin θ₂. Light bends toward the normal when it enters a denser medium (larger n) and away when it enters a less dense one.

Critical angle

When light goes from a denser to a less dense medium the critical angle is θc = arcsin(n₂ ÷ n₁). Beyond it all light is reflected, which is how optical fibres guide light.

Typical indices

Air 1.0003, water 1.33, glass 1.5, diamond 2.42. The speed of light in a medium is c ÷ n.

Worked example

Light going from glass (n = 1.5) to air (n = 1.0) at 30° leaves at 48.59°. The critical angle is 41.81°, so at 60° it is totally reflected.

Tips for best results

Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.

Quick facts

Embed this calculator on your site

Copy this code to show the calculator on your own page. A link back to shobfree.com is included.

Frequently asked questions

What is total internal reflection?

All the light is reflected because it cannot leave the denser medium.

Does it need a denser medium?

Yes, light must go from a higher to a lower index.

Does colour matter?

Slightly: the index depends on wavelength, which causes dispersion.

Are angles measured from the normal?

Yes, from the line perpendicular to the surface.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages