Refraction of Light Simulation: Snell's Law
Bend a laser through glass and water. When does the light stop getting out?
When light crosses a boundary between media with different refractive indices, it obeys Snell's law (n_1 sin theta_1 = n_2 sin theta_2), bending toward the normal when entering a denser material and undergoing total internal reflection whenever leaving a denser material above the critical angle theta_c = arcsin(n_2 / n_1). This 3D refraction of light simulation lets students rotate water, acrylic, crown, and flint semicircles, bracket theta_c, and design fiber bends.
- 11 languages
- Laptop · tablet · phone
- Members
Create a free account to get 2 lifetime Free Lab Passes for any labs in the library. The course guide on this page stays free.

Inside this lab
- 1
Preview
- Driving question
- What you will predict
- Equipment and safety
- 2
Lab
- Lock in prediction
- Run the experiment, measure and replay
- Your notebook fills in as you go
- 3
Check
- Did the lab agree with you?
- Claim, evidence, reasoning
- Check questions and a printable lab report
Snell's law formula, critical angle, and total internal reflection
Because light slows to v = c / n inside transparent media (shortening wavelength lambda = lambda_0 / n at constant frequency f), wavefronts pivot across a flat boundary according to Snell's law formula: n_1 sin(theta_1) = n_2 sin(theta_2). Rotating a semicircular block on the 3D ray table tests both directions cleanly: entering a denser medium (air -> material) always transmits a bent beam, whereas exiting a denser medium (material -> air) hits the critical angle theta_c = arcsin(1 / n) and switches completely to total internal reflection (R = 1, T = 0)—the exact principle behind optical light pipes.
Apparatus, safety notes, and step-by-step procedure
- Apparatus: Rotating 3D optical ray table (
0°–89°in0.5°steps,1°protractor ring),650 nmred diode laser (< 1 mW), four semicircular blocks (watern = 1.3317,acrylicn = 1.4883,crownglassn = 1.5145,flintglassn = 1.6671) plus amysteryblock (n = 1.40–1.70), reversible direction (out: material to air;in: air to material), underwater water-tank sweep (20°–60°), and challenge stations (C1mystery index,C290°light-pipe bendR = 3–12 mm,C3submerged coin aim). - Safety note (for physical lab prep): When aligning a classroom red diode laser on a ray table, keep the beam strictly horizontal on the benchtop, avoid eye-level reflections off glass faces, and handle semicircular glass blocks carefully.
- Open the ray table in Ideal mode with
acrylic(n = 1.4883) in the out direction (flat face, light leaving acrylic into air). - Measure refracted angles
theta_2attheta_1 = 10°,20°,30°(48.1°), and40°, confirming that light bends away from the normal when speeding up into air. - Slowly increase
theta_1in0.5°steps past42.0°to bracket the critical angle (42.2°): record the last transmitting angle (42.0°) and the first total-internal-reflection angle (42.5°), then computen_est = 1 / sin(theta_mid). - Switch material to
water(theta_c = 48.7°),crownglass (41.3°), andflintglass (36.9°) in the out direction, verifying that higher refractive index produces a smaller critical angle. - Reverse the block to the in direction (
air -> material) and measuretheta_2at15°,30°,45°,60°, and80°forwaterandflint. - Confirm that light entering from air always bends toward the normal (
theta_2 < theta_1) and never undergoes total internal reflection even at80°–89°. - Plot
sin(theta_air)vs.sin(theta_material)through the origin and verify that the slope equals the refractive indexn. - Switch to Real mode, record a multi-angle sweep on
crownormystery(C1), and compare a multi-point linear fit fornagainst a single-angle measurement. - Test Challenges
C2(choose the lowest-nmaterial that traps light around a tight90°light-pipe bend) andC3(use Snell's law to aim a laser from air to hit a submerged coin at the tank bottom).
Recording table and model reference data
Model reference data — run your own trials in the 3D lab. Values below reflect Ideal mode (
PHY-028-v0.3,650 nmred laser,n_air = 1.0000).
| Trial | Independent Variable (Material & n at 650 nm) | Dependent Variable (theta_2 for 30° in, theta_2 for 30° out, Critical Angle theta_c) | Units | Observation |
|---|---|---|---|---|
| Ref 1 | water (n = 1.3317) | in: 22.1°, out: 41.7°, theta_c = 48.7° | deg | Lowest index; largest critical angle and widest escape cone |
| Ref 2 | acrylic (n = 1.4883) | in: 19.6°, out: 48.1°, theta_c = 42.2° | deg | Stronger bending than water; traps light beyond 42.2° |
| Ref 3 | crown glass (n = 1.5145) | in: 19.3°, out: 49.2°, theta_c = 41.3° | deg | Slightly higher n than acrylic lowers theta_c by 0.9° |
| Ref 4 | flint glass (n = 1.6671) | in: 17.5°, out: 56.5°, theta_c = 36.9° | deg | Highest index; tightest critical angle (36.9°) for light pipes |
| Your Trial | Record material, direction (in/out), theta_1, mode | Record theta_2, sin(theta_1), sin(theta_2), bracket [A, B] | deg, ratio | Compute n = sin(theta_air)/sin(theta_mat) and 1 / sin(theta_c) |
Lab report outline (blank template)
- Title: State the refraction relationship investigated (e.g., Snell's law slope determination and critical-angle comparison across optical media).
- Purpose: Define how ray-table angle pairs and critical-angle brackets measure refractive index
n. - Hypothesis: Predict how
ncontrols refracted angle and whether total internal reflection can occur in both directions. - Variables: List material, beam direction (
in/out), and incidence angletheta_1(independent); refracted angletheta_2and critical bracket[A, B](dependent); laser wavelength650 nmand mode (controlled). - Data Table: Include material, direction,
theta_1 (deg),theta_2 (deg),sin(theta_1),sin(theta_2), andtheta_cbracket. - Analysis & Calculation: Plot
sin(theta_air)vs.sin(theta_material), findnfrom the slope, compare with1 / sin(theta_c), and calculate light speedv = c / nin each block. - Conclusion & Sources of Error: Explain the two conditions required for total internal reflection and evaluate how Real-mode block alignment offset (
0.25°) and0.5°scale rounding affect your fittedn.
Related optics and wave labs
Apply refraction to image formation in Lenses & Mirrors, explore wave superposition in Double Slits & Gratings, compare water-wave refraction in Ripple Tank, or explore Light & Optics Simulations and all Physics Simulations.
Common questions
What is Snell's law formula and how does refractive index relate to light speed?
Snell's law is n_1 sin(theta_1) = n_2 sin(theta_2), where angles are measured from the surface normal. Refractive index n = c / v gives the factor by which light slows down and shortens its wavelength inside the material while its frequency stays unchanged.
What is the critical angle and when can total internal reflection happen?
The critical angle theta_c = arcsin(n_2 / n_1) is the incidence angle where the refracted ray skims along the boundary (theta_2 = 90 deg). Total internal reflection occurs only when light travels from a higher-index medium toward a lower-index medium (n_1 > n_2) at theta_1 >= theta_c.
Why does flint glass trap light at a smaller critical angle than water?
Flint glass has a larger refractive index (n = 1.6671 at 650 nm) than water (n = 1.3317), so sin(theta_c) = 1 / n is smaller—giving theta_c = 36.9 deg for flint glass versus 48.7 deg for water.
Can total internal reflection happen when a laser shines from air into water or glass?
No. Entering a denser medium (n_1 < n_2) always bends the ray toward the normal so theta_2 is strictly less than theta_1, meaning a transmitted ray exists for every incidence angle from 0 to 89 degrees.
Why does a semicircular block keep the ray from bending a second time on its curved face?
Because the laser aims straight at the flat face's center of curvature, every ray passing through the curved cylindrical surface hits along a radius (normal incidence, 0 deg) and passes through without additional refraction.
How does Real mode differ from Ideal mode on the ray table?
Real mode adds a small semicircular block alignment offset (sigma = 0.25 deg), 0.2 deg angle readout scatter, and 0.5 deg scale rounding so students practice fitting n across multiple angles.


