Skip to main content
Physics

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. 1

    Preview

    • Driving question
    • What you will predict
    • Equipment and safety
  2. 2

    Lab

    • Lock in prediction
    • Run the experiment, measure and replay
    • Your notebook fills in as you go
  3. 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° in 0.5° steps, 1° protractor ring), 650 nm red diode laser (< 1 mW), four semicircular blocks (water n = 1.3317, acrylic n = 1.4883, crown glass n = 1.5145, flint glass n = 1.6671) plus a mystery block (n = 1.40–1.70), reversible direction (out: material to air; in: air to material), underwater water-tank sweep (20°–60°), and challenge stations (C1 mystery index, C2 90° light-pipe bend R = 3–12 mm, C3 submerged 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.
  1. Open the ray table in Ideal mode with acrylic (n = 1.4883) in the out direction (flat face, light leaving acrylic into air).
  2. Measure refracted angles theta_2 at theta_1 = 10°, 20°, 30° (48.1°), and 40°, confirming that light bends away from the normal when speeding up into air.
  3. Slowly increase theta_1 in 0.5° steps past 42.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 compute n_est = 1 / sin(theta_mid).
  4. Switch material to water (theta_c = 48.7°), crown glass (41.3°), and flint glass (36.9°) in the out direction, verifying that higher refractive index produces a smaller critical angle.
  5. Reverse the block to the in direction (air -> material) and measure theta_2 at 15°, 30°, 45°, 60°, and 80° for water and flint.
  6. Confirm that light entering from air always bends toward the normal (theta_2 < theta_1) and never undergoes total internal reflection even at 80°–89°.
  7. Plot sin(theta_air) vs. sin(theta_material) through the origin and verify that the slope equals the refractive index n.
  8. Switch to Real mode, record a multi-angle sweep on crown or mystery (C1), and compare a multi-point linear fit for n against a single-angle measurement.
  9. Test Challenges C2 (choose the lowest-n material that traps light around a tight 90° light-pipe bend) and C3 (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 nm red laser, n_air = 1.0000).

TrialIndependent Variable (Material & n at 650 nm)Dependent Variable (theta_2 for 30° in, theta_2 for 30° out, Critical Angle theta_c)UnitsObservation
Ref 1water (n = 1.3317)in: 22.1°, out: 41.7°, theta_c = 48.7°degLowest index; largest critical angle and widest escape cone
Ref 2acrylic (n = 1.4883)in: 19.6°, out: 48.1°, theta_c = 42.2°degStronger bending than water; traps light beyond 42.2°
Ref 3crown glass (n = 1.5145)in: 19.3°, out: 49.2°, theta_c = 41.3°degSlightly higher n than acrylic lowers theta_c by 0.9°
Ref 4flint glass (n = 1.6671)in: 17.5°, out: 56.5°, theta_c = 36.9°degHighest index; tightest critical angle (36.9°) for light pipes
Your TrialRecord material, direction (in/out), theta_1, modeRecord theta_2, sin(theta_1), sin(theta_2), bracket [A, B]deg, ratioCompute n = sin(theta_air)/sin(theta_mat) and 1 / sin(theta_c)

Lab report outline (blank template)

  1. Title: State the refraction relationship investigated (e.g., Snell's law slope determination and critical-angle comparison across optical media).
  2. Purpose: Define how ray-table angle pairs and critical-angle brackets measure refractive index n.
  3. Hypothesis: Predict how n controls refracted angle and whether total internal reflection can occur in both directions.
  4. Variables: List material, beam direction (in/out), and incidence angle theta_1 (independent); refracted angle theta_2 and critical bracket [A, B] (dependent); laser wavelength 650 nm and mode (controlled).
  5. Data Table: Include material, direction, theta_1 (deg), theta_2 (deg), sin(theta_1), sin(theta_2), and theta_c bracket.
  6. Analysis & Calculation: Plot sin(theta_air) vs. sin(theta_material), find n from the slope, compare with 1 / sin(theta_c), and calculate light speed v = c / n in each block.
  7. Conclusion & Sources of Error: Explain the two conditions required for total internal reflection and evaluate how Real-mode block alignment offset (0.25°) and 0.5° scale rounding affect your fitted n.

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.