PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Optics & Light

Other simulators in this category — or see all 44.

View category →
FeaturedSchool

Lens Simulator

Converging and diverging lenses with ray diagrams and image formation.

Launch Simulator
NewSchool

Simple Eye (Thin Lens)

P_total = P_eye + P_glasses; 1/v = P − 1/u vs retina; blur cue.

Launch Simulator
NewSchool

Thin Lens Equation

Hyperbola d_i(d_o), pole at d_o = f, schematic + 1/d check.

Launch Simulator
NewSchool

Prism & Dispersion

White light through a prism creating a rainbow spectrum.

Launch Simulator
NewSchool

Thin-Film Interference

Wedge fringes: n, d, θ; cos²(δ/2) colors and I(λ) at mid thickness.

Launch Simulator
NewSchool

Newton’s Rings

Spherical lens on flat glass: air-film thickness fringes; optional π phase on reflection.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Optics & Light/Total Internal Reflection

Total Internal Reflection

Total internal reflection (TIR) is a fundamental optical phenomenon that occurs when light traveling from a denser medium into a less dense medium strikes the boundary at an angle greater than a specific critical value. This simulator visualizes this principle using a ray of light incident on a planar interface between two transparent media with different refractive indices, such as glass and air. The core physics is governed by Snell's Law, n₁ sin θ₁ = n₂ sin θ₂, where n₁ and n₂ are the refractive indices of the denser and rarer media, respectively, and θ₁ and θ₂ are the angles of incidence and refraction. As the angle of incidence increases, the refracted ray bends closer to the boundary. The critical angle (θ_c) is defined when θ₂ equals 90°, derived from Snell's Law as θ_c = arcsin(n₂ / n₁). For any angle of incidence exceeding θ_c, all light is reflected back into the denser medium, obeying the law of reflection. The simulator simplifies the model by assuming perfectly smooth, flat interfaces and monochromatic, coherent light, neglecting effects like absorption, scattering, and partial polarization. By adjusting the incident angle and the refractive indices of the two media, students can directly observe the transition from refraction to TIR, measure the critical angle, and explore how it depends on the index ratio. This interactive exploration reinforces understanding of boundary conditions for light propagation and provides a foundational analogy for technologies like fiber optic cables, where TIR is used to guide light signals over long distances with minimal loss.

Who it's for: High school and introductory undergraduate physics students studying geometric optics, as well as educators demonstrating the principles of refraction and wave boundary behavior.

Key terms

  • Total Internal Reflection
  • Critical Angle
  • Snell's Law
  • Refractive Index
  • Angle of Incidence
  • Optical Medium
  • Fiber Optics
  • Law of Reflection

Dense → rare boundary

1.33
1
52°

Light travels upward in the denser medium. When θᵢ exceeds θ_crit = arcsin(n₂/n₁), Snell’s law would require sin θₜ > 1 — no transmitted ray; all energy reflects at the boundary (basis of fiber optics).

Shortcuts

  • •Raise θᵢ past θ_crit to see TIR
  • •Use presets for common n₁/n₂

Measured values

θᵢ52°
θₜTIR
θ_crit48.8°°

How it works

For n₁ > n₂, there is a critical angle θ_crit = arcsin(n₂/n₁). Rays incident from the denser side at θᵢ > θ_crit undergo total internal reflection instead of refracting out. Optical fibers trap light by TIR at the core–cladding interface.

Key equations

n₁ sin θᵢ = n₂ sin θₜ   (Snell)
θ_crit = arcsin(n₂/n₁)   when n₁ > n₂

Frequently asked questions

Does total internal reflection occur when light goes from air into water?
No, total internal reflection cannot occur when light travels from a less dense medium (like air, lower n) into a denser medium (like water, higher n). It is only possible when light travels from a denser medium into a less dense one. In the air-to-water case, light will always refract into the water, though it may reflect partially.
Is 100% of the light energy reflected during total internal reflection?
In an ideal model with perfectly transparent materials and a perfectly smooth interface, yes, total internal reflection is indeed total, with no energy transmitted. In real materials, some energy is lost due to absorption and microscopic imperfections at the boundary, but for high-quality optical fibers, the efficiency is extremely high.
What is the connection between the critical angle and fiber optic communication?
Fiber optic cables consist of a core with a high refractive index surrounded by a cladding with a lower index. Light signals injected into the core at angles greater than the critical angle undergo repeated total internal reflection, confining the light within the core and allowing it to travel kilometers with minimal signal degradation, enabling high-speed data transmission.
Why does the simulator show a reflected ray even before reaching the critical angle?
This illustrates a real-world behavior. Whenever light hits a boundary between two different media, a portion is always reflected (partial reflection) and a portion is refracted. The simulator shows this weaker reflected ray. Only when the incident angle exceeds the critical angle does refraction cease and the reflection become 'total,' meaning all the light's energy is reflected.