ForHosting KIT · Science

Total internal reflection critical angle calculator

Light passing from glass of index 1.5 into air of index 1 is fully reflected beyond 41.810315° from the normal. Enter both refractive indices in the real direction of travel to get the critical angle in degrees and radians. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
N1
1.5
N2
1
You get
Ratio
0.6666666667
Critical angle radians
0.7297276562
Critical angle degrees
41.8103148958

This total internal reflection critical angle calculator finds the boundary angle at which a ray traveling from a higher-index medium toward a lower-index medium begins to reflect completely. Enter the refractive index of the incident medium as n1 and the refractive index of the second medium as n2. The calculator evaluates the inverse sine of n2 divided by n1, then reports the result in both degrees and radians. It also validates the physical requirement that n1 must be greater than n2, helping prevent a plausible-looking but impossible total internal reflection result.

Understand what the critical angle represents

Total internal reflection can occur when light travels from a medium with a higher refractive index into one with a lower refractive index. As the angle of incidence increases, the refracted ray bends farther away from the normal. At one particular incidence angle, the refracted ray reaches ninety degrees and runs along the boundary.

That incidence angle is the critical angle. At angles greater than it, the ideal ray no longer passes into the second medium and is reflected internally. This calculator uses n1 for the incident medium and n2 for the second medium, so n1 must be strictly greater than n2.

Both values are dimensionless refractive indices and should describe the materials at the same wavelength and under compatible conditions. The returned angle is measured from the normal to the interface, not from the surface itself. That distinction matters because an angle quoted from the surface is the complement of the conventional optics angle.

The output includes degrees for ordinary interpretation, radians for mathematical workflows, and the index ratio so you can audit the intermediate value. This is an ideal planar-interface calculation; it does not account for roughness, absorption, graded-index materials, or wavelength-dependent changes unless those effects are already represented in the indices you enter.

Apply the inverse-sine formula correctly

The calculation follows directly from Snell's law. At the critical condition, the refraction angle is ninety degrees, whose sine equals one. Rearranging the law gives sin(theta critical) = n2 / n1, and taking the inverse sine gives theta critical = asin(n2 / n1).

For example, an ideal glass-to-air boundary can be approximated with n1 equal to 1.5 and n2 equal to 1.0. The ratio is two thirds, and its inverse sine is about 0.729728 radians or 41.810315 degrees. Do not reverse the materials merely to make the input pass.

Instead, enter the actual direction of travel. If light travels from air into glass, total internal reflection does not occur at that interface direction, so there is no applicable critical angle even though the same two materials can support it in the reverse direction.

Use the result in experiments and applications

A critical-angle result is useful as a threshold, not as a complete ray trace. In a laboratory exercise, compare a measured onset of internal reflection with the calculated angle while keeping in mind the precision of the material indices and angle scale. In a prism check, confirm that the internal incidence angle is greater than the returned critical angle if the design depends on total internal reflection.

For an optical fibre, the same boundary concept helps explain confinement, although practical fibre calculations may also require core and cladding geometry, numerical aperture, launch conditions, and modal behavior. Because refractive index depends on wavelength and sometimes temperature, choose indices for the conditions that matter to your problem rather than treating a handbook value as universally exact. The calculator does not estimate those inputs.

It answers the narrower question reliably: given two valid indices in the correct order, what angle results from asin(n2 / n1)? Preserve enough precision in n1 and n2 for your intended comparison, and avoid implying more significant figures than the source measurements justify.

Physics coursework

Check total internal reflection exercises with a transparent ratio and answers in both degrees and radians.

Prism threshold checks

Compare a prism's internal incidence angle with the ideal critical angle for its material boundary.

Optical fibre teaching

Demonstrate how higher-index core and lower-index cladding values determine the boundary for internal reflection.

What formula does the calculator use?

It uses theta critical = asin(n2 / n1), derived from Snell's law when the refracted angle is ninety degrees.

Why must n1 be greater than n2?

Total internal reflection requires light to travel from the higher-index medium toward the lower-index medium.

Is the angle measured from the surface?

No. As is conventional in optics, the critical angle is measured from the normal to the boundary.

What is the critical angle from glass into air?

About 41.810315°, or 0.729728 radians, taking glass as 1.5 and air as 1.0. The ratio of the two indices is two thirds, and the critical angle is the angle whose sine equals that ratio.

What if the light travels from air into glass?

Then there is no critical angle, because total internal reflection only happens when light heads toward a lower index. Enter the media in the real direction of travel instead of swapping them just so the values are accepted.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/optics/total-internal-reflection-angle

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/optics/total-internal-reflection-angle \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"n1":1.5,"n2":1}'
{
  "n1": 1.5,
  "n2": 1
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "optics.total_internal_reflection_angle",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Use the result in experiments and applications

Automated lessons and engineering utilities can call the API and store the returned ratio, radians, and degrees alongside their source values. Each successful API calculation costs $0.002 per item, while the pure calculation uses no network data source or changing lookup table.

Does the result include degrees and radians?

Yes. The response provides critical_angle_degrees and critical_angle_radians, plus the refractive-index ratio.

How much does an API calculation cost?

Each successful calculation costs $0.002 per item.

Read the full KIT documentation →