Critical Angle and Total Internal Reflection Calculator
Find the critical angle between two media and see whether a ray refracts or is trapped by total internal reflection.
What it does
Send light into water from below and, past a certain angle, it refuses to leave. The light is trapped. That is total internal reflection, and it is the reason an optical fibre can carry a signal around a corner, the reason a diamond sparkles, and the reason a layer of hot air over a road can throw a mirage at you.
OpenStax describes the mechanism. The critical angle is defined as the incident angle that produces a refraction angle of 90 degrees, and if the incident angle is greater than that, all of the light is reflected back into the first medium. The condition can only be met when the second medium has a lower index of refraction than the first, because the light has to speed up on the way out.
Putting the critical angle in terms of Snell's law gives a short result: the sine of the critical angle is the ratio of the two indices. The OpenStax text works through the consequences with real numbers, noting that the critical angle for a ray going from water to air is 48.6 degrees while the one from diamond to air is only 24.4 degrees, and that a flint glass to crown glass interface gives 66.3 degrees. A large index of refraction means a small critical angle, which is why diamonds are so good at holding light inside.
This page computes the critical angle for any pair of media and then applies Snell's law to the angle of incidence you enter. It tells you whether the ray refracts, where it goes if it does, how much of the light is reflected, and whether you are above or below the critical angle.
The calculation is for a clean flat interface. In a real fibre the core and cladding have slightly different indices, the ray bounces along the core, and the light that is not guided leaks out at bends and where the fibre is not perfectly straight. The angle of acceptance of a real fibre is smaller than the simple critical angle suggests, because the light also has to travel down the fibre at an angle.
How to use
- Pick the medium the light starts in. It has to be the denser one for total internal reflection to be possible.
- Pick the medium the light would enter.
- Enter the angle of incidence, measured from the normal.
- Read the critical angle for the pair of media.
- Read the outcome. Above the critical angle the ray is trapped and the reflectance is 100 %.
- Below the critical angle, read the refraction angle and the reflected fraction, which rises as the angle approaches the critical one.
Formula
- theta c
- Critical angle of incidence, in degrees.
- n1
- Refractive index of the medium the light starts in.
- n2
- Refractive index of the medium the light would enter.
- theta i
- Angle of incidence, measured from the normal.
- theta t
- Angle of refraction, measured from the normal.
There is no critical angle when the light is going from a less dense medium into a denser one, because the refraction angle can never reach 90 degrees. The formula then has no solution, and the page says so rather than printing a number. As the incidence angle approaches the critical angle from below, the reflectance rises steeply towards 100 % and the transmitted ray runs along the surface.
Worked example
Example: light hitting diamond at 30 degrees
Defaults: diamond into air at an angle of incidence of 30 degrees.
- The critical angle satisfies sin(theta c) = 1.000 / 2.417 = 0.41374, so theta c = 24.44 degrees.
- The incidence angle of 30 degrees is larger than 24.44 degrees, so the ray is totally internally reflected.
- Nothing refracts into the air, so the angle of refraction does not exist and the reflectance is 100.00 %.
- Every bit of the light stays inside the diamond, which is why a cut stone returns light to the eye from many directions at once.
- Had the ray arrived at 20 degrees, below the critical angle, it would have left at 55.76 degrees and 36.35 % of the light would have been reflected.
- The tool shows 24.44 degrees, total internal reflection, 100.00 % and that all the light is reflected.
Reference table
| Light travels in | Light travels into | Critical angle |
|---|---|---|
| Water | Air | 48.61 degrees |
| Glass | Air | 41.14 degrees |
| Diamond | Air | 24.44 degrees |
| Sapphire | Air | 34.40 degrees |
| Flint glass | Crown glass | 66.30 degrees |
Limits
- The calculation assumes a smooth flat interface with no absorption and no scattering in either medium.
- It describes a single ray, while a real fibre guides a spread of angles and loses light at bends and at joints.
- The wavelength of the light is fixed at the usual indices, and the index of a material shifts a little with wavelength.
- It does not cover the case where the interface is only a thin film, where a frustrated total internal reflection can still leak light across.
Common mistakes
- Measuring the angle from the surface rather than from the normal. The critical angle is quoted from the normal.
- Looking for a critical angle when the light goes from air into water. There is none, because the light slows down and the refraction angle can never reach 90 degrees.
- Swapping the two media. The formula has the denser medium on top, and the answer changes completely if you swap them.
- Forgetting that the critical angle falls as the index of refraction rises. Diamond holds light in far better than glass does.
- Assuming a fibre transmits every ray that is under the critical angle. Only rays close to the axis stay guided for any distance.
Try it yourself
Quick checks. Answers sit tucked under each question.
What is the critical angle for light going from diamond into air?
24.44 degrees, from the sine of the angle equal to 1.000 divided by 2.417, which is 0.41374.
Does light hitting diamond at 30 degrees refract out?
No. Since 30 degrees is above the critical angle of 24.44 degrees, the ray is totally internally reflected and the reflectance is 100 %.
What is the critical angle for water into air?
48.61 degrees, from the sine of the angle equal to 1.000 divided by 1.333. That is why a diver looking up at the surface sees the whole sky compressed into a cone of about 97 degrees.
Questions
What is total internal reflection?
The complete reflection of light at a boundary when the light goes from a denser medium into a less dense one at more than the critical angle. No light refracts out at all.
How do I find the critical angle?
Take the sine of it as the ratio of the two refractive indices, with the denser medium on top. For diamond into air that gives arcsin(1 / 2.417) = 24.44 degrees.
Why does a diamond sparkle?
Because its critical angle to air is only 24.44 degrees, so light entering the stone at most angles is trapped by total internal reflection and comes back out through the facets facing the eye.
How does an optical fibre work?
The core has a slightly higher index than the cladding, so light that hits the boundary beyond the critical angle is reflected back into the core and guided along the fibre.
What happens below the critical angle?
The ray splits. Part refracts into the second medium, bending away from the normal, and part is reflected, and the reflected share grows as the incidence angle approaches the critical one.
Can total internal reflection happen going from air into glass?
No. Light slows down on entering a denser medium, so the refraction angle stays below 90 degrees and there is no critical angle in that direction.
Sources
- OpenStax University Physics Volume 3, 1.4: total internal reflection and the critical angle
- OpenStax College Physics 2e, 25.4: total internal reflection
- Physics LibreTexts: critical angle, diamond and flint glass examples