Boneyard Tools

Critical Angle Calculator

This tool finds the critical angle for total internal reflection from the refractive indices of two media. Type the denser index n1 and the rarer index n2, or tap a preset like glass to air, and the answer appears in both degrees and radians. The formula is theta_c = asin(n2 / n1), and a result only exists when n1 is larger than n2.

How to find the critical angle

  1. Pick a starting point from the preset row (glass to air, water to air, diamond to air, or glass to water) or skip straight to the inputs.
  2. Type n1, the refractive index of the denser medium the light begins in, into the n1 (denser) box.
  3. Type n2, the refractive index of the rarer medium it tries to enter, into the n2 (rarer) box.
  4. Read the critical angle shown in degrees on the left card and in radians on the right card.
  5. Press Copy to grab the result as text, for example 41.8103 deg (0.729728 rad).

Examples

Glass to air

n1 = 1.5 (glass), n2 = 1.0 (air)
Critical angle = 41.8103 deg (0.729728 rad)

Water to air

n1 = 1.33 (water), n2 = 1.0 (air)
Critical angle = 48.7535 deg (0.850909 rad)

Diamond to air

n1 = 2.42 (diamond), n2 = 1.0 (air)
Critical angle = 24.4075 deg (0.425991 rad)

Frequently asked questions

What is the critical angle?

It is the angle of incidence, measured from the normal, at which light grazes along the boundary between two media. Above this angle none of the light refracts across and all of it reflects back inside the denser medium. This calculator returns it from the two refractive indices you enter.

What formula does the calculator use?

It uses the standard result from Snell's law, theta_c = asin(n2 / n1), where n1 is the denser medium and n2 is the rarer one. The angle is computed in radians and then converted to degrees, and both figures are shown rounded to six significant digits.

Why must n1 be greater than n2?

Total internal reflection only occurs when light moves from a slower, denser medium into a faster, rarer one. If n1 is equal to or smaller than n2 the ratio n2 / n1 is at least one, its arcsine is undefined or 90 degrees, and no true critical angle exists. The tool shows a notice in that case instead of a number.

What is total internal reflection?

It is the effect where light hitting a boundary beyond the critical angle bounces entirely back rather than passing through. Optical fibers trap light this way to carry signals over long distances, and it is also why a diamond sparkles and why the underside of a water surface can act like a mirror.

What units does the calculator return?

It gives the critical angle in degrees on one card and in radians on the other, so you can drop the value straight into a physics problem or a trigonometry function without converting it yourself.

What are typical refractive indices to enter?

Air is close to 1.00, water is about 1.33, common crown glass is near 1.50, and diamond is roughly 2.42. A larger n1 gives a smaller critical angle, which is why diamond, at about 24 degrees, traps light so readily and looks brilliant.

Does the calculator account for the wavelength of light?

No. Refractive index depends slightly on wavelength, an effect called dispersion, but the tool treats each index as a single fixed number. For precise work at a specific color, look up the index for that wavelength and enter it directly.

Is my input sent anywhere?

No. The whole calculation runs in your browser with plain JavaScript and nothing is uploaded to a server, so the indices you try stay on your device.

Can I use this for fiber optics design?

You can use it to find the core to cladding critical angle, which is a good starting estimate. Full fiber design also involves the numerical aperture and acceptance angle, so treat this as one step rather than a complete optical model.

Learn more

Related tools