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

Related simulators

Continue with similar topics in this category — or all 50 in Optics & Light.

View category →
School

Total Internal Reflection

Launch Simulator

Find the critical angle. Fiber optics analogy.

NewUniversity / research

Evanescent Wave (TIR)

Launch Simulator

Beyond θ_c: penetration depth scale in the rarer medium vs λ.

NewSchool

Rainbow in a Droplet

Launch Simulator

Snell in a sphere: primary (1× internal reflection ~42°) and secondary (2× ~51°, reversed spectrum); scan b/R and n.

NewSchool

Fiber Bend & TIR Loss

Launch Simulator

Curved core: outer-wall incidence vs θ_c; tight R leaks (meridional sketch).

NewSchool

Prism & Dispersion

Launch Simulator

White light through a prism creating a rainbow spectrum.

NewSchool

Fiber: Numerical Aperture

Launch Simulator

NA from n_core, n_clad; acceptance angle and bend loss cue.

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/Refraction

Refraction

Light crossing boundaries. Snell's law with angle measurements.

Media & incidence

1
1.52
35°

Horizontal boundary: light in medium 1 (above) refracts into medium 2 (below). If n₁ > n₂ and θᵢ exceeds the critical angle, you get total internal reflection.

Shortcuts

  • •Adjust n₁, n₂ and angle of incidence

Measured values

θᵢ35°
θₜ22.2°
θ_crit (n₁>n₂)—

About this model

Rays crossing a flat boundary between media with different refractive indices. Snell’s law relates incident and refracted angles; total internal reflection appears at grazing exit angles.

Who it's for: High-school and college optics; Snell’s law and critical angle.

Key terms

  • Snell’s law
  • refractive index
  • refraction
  • total internal reflection
  • critical angle

How it works

Snell’s law n₁ sin θᵢ = n₂ sin θₜ relates angles measured from the surface normal. When sin θₜ would exceed 1 (light going from the optically denser medium toward a rarer one at a large angle), all energy is reflected—total internal reflection.

Key equations

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