Skip to main content
Virtual Laboratory
Physics Simulations Free · No Account Free & source-available · CC BY-NC-SA 4.0

Measuring the Refractive Index of Glass

Light entering a parallel crown glass slab (reference n = 1.52) bends according to Snell's law, n = sin i / sin r = c / v, and emerges parallel to the incident ray with a lateral shift. Practice four-pin ray tracing, align pin bases, check the unit-circle ratio, and test boundary-line errors in this free 3D refraction simulation below.

Measuring the Refractive Index of Glass — 3D Bench Preview

Interactive 3D Lab Preview

Runs right on this page in fullscreen · No account required

  • Apply Snell's law (n = sin i / sin r = c / v) and Huygens's wavefront principle to show why light leaves a parallel glass slab parallel to the incident ray with lateral shift Δd = a·sin(i − r) / cos r.
  • Reconstruct the hidden refracted ray OO' inside glass using the four-pin method: mark corner points and draw boundary lines with a ruler, sight along pin bases at eye level to avoid head-tilt parallax, and choose a moderate incident angle.
  • Verify the refractive index without trigonometric tables using the unit-circle ratio n = AB / CD, and trace ray geometry to predict systematic error when drawn boundaries are too wide (a' > a) or too narrow (a' < a).

Press Esc or your browser Back button anytime to return to the guide.

Principle, Mechanism & Key Concepts

Measuring the Refractive Index of Glass

What You Will Investigate
Goal 01

Apply Snell's law (n = sin i / sin r = c / v) and Huygens's wavefront principle to show why light leaves a parallel glass slab parallel to the incident ray with lateral shift Δd = a·sin(i − r) / cos r.

Goal 02

Reconstruct the hidden refracted ray OO' inside glass using the four-pin method: mark corner points and draw boundary lines with a ruler, sight along pin bases at eye level to avoid head-tilt parallax, and choose a moderate incident angle.

Goal 03

Verify the refractive index without trigonometric tables using the unit-circle ratio n = AB / CD, and trace ray geometry to predict systematic error when drawn boundaries are too wide (a' > a) or too narrow (a' < a).

Without a visible laser beam, how can you trace the hidden refracted ray inside a transparent glass slab using only white paper, a parallel glass block, and four ordinary pins?

Look obliquely through a 60.0 mm thick crown glass slab (lesson setting) at vertical pins standing behind it, and the lower half of each pin appears shifted sideways. That shift happens because light slows down and bends toward the normal when entering glass from air. Place pins P₁ and P₂ in front of the slab to fix the incident ray, then lower your eye to paper level and place P₃ and P₄ so their bases block the virtual images of P₁ and P₂. Four tiny pinholes on paper capture the entire invisible path.

You cannot see a transparent light ray on white paper, yet two pins on each side lock down the incoming and outgoing lines. Sight along the pin bases at paper level and record the true glass boundaries, and a ruler and compass reveal the hidden angle of refraction inside the slab.
Four-Pin Ray Path in Parallel Glass (setting: a = 60.0 mm, n = 1.52)Top surface aa'Bottom surface bb'P₁P₂P₃P₄OO'i=45°r=27.7°Shift Δd=20.1 mmEye-Level View: Pin Base vs. Pin HeadCorrect: bases alignedWrong: heads (+9 mm)At ~8° tilt (illustrative), align pin basesNever trace directly along the glass face
2D Visual Guide & Diagram — Measuring the Refractive Index of Glass

Cause-and-Effect Chain

01 Speed Drop Bends Ray to Normal
Condition: Light enters crown glass from air at incident angle i = 45.0°

Wave speed drops to v = c / 1.52 in glass while frequency stays constant, shortening wavelength and bending the wavefront toward the normal

→ Top-surface refraction angle narrows to r = 27.7° (sin i / sin r = 1.52)
02 Parallel Faces Produce Lateral Shift
Condition: Refracted ray crosses a 60.0 mm thick (lesson setting) parallel slab to bottom face bb'

The angle of incidence at bb' equals the top refraction angle r, so reversibility restores the exit angle to i = 45.0°

→ The emerging ray is parallel to the incident ray, shifted sideways by Δd = 20.1 mm
03 Four Pins Reconstruct the Path
Condition: Sight through the glass at eye level to align P₃ and P₄ with the virtual images of P₁ and P₂

P₃ blocks the images of P₁ and P₂, and P₄ blocks P₃ and both images, locking the outgoing line onto paper pinholes

→ Remove the slab, extend P₁P₂ to O on aa' and P₃P₄ to O' on bb', and connect OO' to reveal the internal ray
04 Unit Circle & Boundary-Error Check
Condition: Draw a radius R = 50.0 mm (lesson setting) circle centered at O, or inspect drawn spacing a'

n = AB / CD = 35.4 / 23.3 = 1.52; if drawn boundaries are too wide (a' > a), line OO' tilts farther from the normal so r_meas increases

→ Confirms crown glass n = 1.52 and explains why wide boundaries systematically underestimate n_meas

Core Formulas & Quantitative Relations

Snell's Law and Absolute Refractive Index
n = sin i / sin r = c / v = λ₀ / λ

Measure both i and r from the surface normal. When light enters a medium from vacuum (or air), frequency f stays constant while speed v and wavelength λ decrease by the same factor n.

Lateral Shift Through a Parallel Glass Slab
Δd = a · sin(i − r) / cos r

Here a is the slab thickness between parallel faces (60.0 mm lesson setting). Larger thickness a, incident angle i, or refractive index n increases the lateral shift Δd.

Unit-Circle Perpendicular Ratio Method
n = sin i / sin r = (AB / R) / (CD / R) = AB / CD

Draw a circle of any radius R (50.0 mm lesson setting) centered at O to cut the incident and refracted rays. Measure perpendicular distances AB and CD to the normal to find n without trig tables.

Unit-Circle Ratio Method and Geometric Proof of Wide-Boundary Error (a' > a)

You do not need to memorize systematic error outcomes. Keep the four real pinholes P₁, P₂, P₃, and P₄ fixed on paper, draw wider dashed boundary lines, and reconnect the drawn refracted ray O₁O₁' to see immediately how the angle changes.

  • Canceling radius R with a unit circle: in panel A, OA = OC = R = 50.0 mm (lesson setting). Right triangles give sin i = AB / R and sin r = CD / R, so n = AB / CD = 35.4 mm / 23.3 mm = 1.52.
  • Wide boundary lines (a' > a): in panel B, the true internal ray is the solid blue segment OO'. When pencil lines spread outward, the extended incident ray hits the upper drawn line farther up-left at O₁ and the extended exit ray hits the lower drawn line farther down-right at O₁'. Segment O₁O₁' tilts farther from the vertical normal than OO', so i_meas = i_true while r_meas > r_true, making n_meas = sin i / sin r_meas too low.
  • Narrow boundary lines (a' < a): if the drawn boundary spacing is narrower than the true slab thickness (a' < a), the drawn refracted segment tilts closer to the normal (r_meas < r_true), making n_meas too high.
A. Unit-Circle Method: n = AB / CD = 1.52aa'ABAB=35.4CDCD=23.3OB. Wide Boundary (a' > a) Error GeometryDrawn line a'O₁O₁'OO'r_meas > r_true ⇒ n_meas too low

Concept Breakdown

01

Why does a ray passing obliquely through a parallel glass slab emerge in the exact same direction yet shifted sideways?

Huygens Wavefront Bending and Lateral Shift Without Angular Deviation

By Huygens's principle, when light travels obliquely from air (n₁ ≈ 1.00) into crown glass (n₂ = 1.52), the source fixes the frequency f, while the wave speed drops from c to v = c / n and the wavelength compresses to λ = λ₀ / n. Secondary wavelets inside the glass expand more slowly, tilting the wavefront envelope toward the normal according to sin i / sin r = n (for i = 45.0°, r ≈ 27.7°). Because the top and bottom optical faces aa' and bb' are parallel, their normals are parallel too. The internal ray strikes bb' at angle r, and applying Snell's law again (n sin r = sin i') yields an exit angle i' = i = 45.0°. The emerging ray stays parallel to the incident ray, shifted sideways by Δd = a sin(i − r) / cos r = 20.1 mm for this lesson's 60.0 mm slab thickness.

Try in the 3D bench: In the 3D bench, click Wavefront View under 03 · Views & Layers (or click the wavefront chamber on the right side of the bench) to watch secondary wavelet envelopes bend and compress, then test 35° / 45° / 60° incident angles in Step 6 to compare the lateral shift Δd.
02

Why does aiming at the colored pin heads throw off the refractive index, and what goes wrong at 12° or 78°?

Three Essential Pin-Method Habits: Protect Faces, Sight Pin Bases, and Pick Moderate Angles

Three practical habits determine accuracy. First, never run a pencil directly along a polished optical face of the glass block; graphite and hard tips scratch the surface and shift the drawn line outward. Instead, mark light dots near both ends of each face, lift the slab away, and connect the dots with a ruler. Second, pins pushed into a cork board often tilt slightly (about 8° in this lesson's illustrative model). If you sight across the pin heads from above, aligned heads can hide pinhole offsets of 5.5–9.0 mm (lesson setting). Lower your eye to paper level and align the pin bases where they enter the paper, making P₃ block the virtual images of P₁ and P₂ and P₄ block P₃ together with both images. Space same-side pins generously to keep angular error small. Third, choose a moderate incident angle between 35° and 60° (such as 45°): at 12°, small angles magnify relative reading error, whereas at 78°, strong Fresnel reflection leaves the transmitted virtual images dim and hard to align.

Try in the 3D bench: In Step 1, click the 3D pencil or glass edge to trigger the optical-face warning, then click the ruler (or Ruler trace) to draw aa' and bb' safely. In Step 4, toggle Pin base (OK) and Pin head (bias) to watch the offset alert inside the Pin-Base Alignment Eyepiece.
03

How can you find n with only a ruler and compass, and does drawing the boundary lines too wide make n too high or too low?

Unit-Circle Verification and Boundary-Spacing Systematic Error

After removing the slab and pins and drawing the rays, you do not need a protractor or sine table. Center a circle of radius R = 50.0 mm (lesson setting) at the incidence point O so it intersects the incident ray at A and the refracted ray at C. Drop perpendiculars AB and CD to the normal: because sin i = AB / R and sin r = CD / R, the radius cancels and n = AB / CD. To analyze boundary-spacing error, keep the paper pinholes fixed and move only the drawn boundaries. If the drawn spacing a' exceeds the true slab thickness a, extending the incident ray to the higher boundary moves O up-left to O₁, and extending the exit ray to the lower boundary moves O' down-right to O₁'. Connecting O₁O₁' yields a larger drawn refraction angle r_meas > r_true while i stays unchanged, so n_meas = sin i / sin r_meas comes out too low.

Try in the 3D bench: In Step 5, click Remove slab and Unit circle to overlay the R = 50.0 mm circle on the 3D paper and verify 35.4 / 23.3 = 1.52. In Step 7, switch between Wide a'>a (low) and Narrow a'<a (hi) to observe the systematic shift in n.

Reference & Comparison Table

Simulated Readings for a Parallel Crown Glass Slab (lesson setting a = 60.0 mm, reference n_true = 1.52; slab thickness, circle radius, pin offsets, and boundary bias are lesson settings)
Operating ConditionIncident Angle iMeasured Angle rTrue Lateral Shift Δd (mm)Unit Circle AB / CD (mm)Calculated n & Error Diagnosis
Standard optimal (pin bases · a' = a)45.0°27.7°20.135.4 / 23.3n = 1.52 (relative error 0.0%)
Small-angle control (weak bending)12.0°7.9° (ideal) / 8.5° (with +0.65° setting error)4.410.4 / 6.8 (ideal)Tiny base angle means ±0.5°–0.65° reading error causes 6%–7.6% error (simulated n ≈ 1.40)
Grazing-angle control (strong Fresnel reflection)78.0°40.1°48.248.9 / 32.2Strong surface reflection makes virtual images P₁' and P₂' very dim
Tilted pin-head sighting (parallax bias)45.0°29.1° (distorted)20.135.4 / 24.3n_meas ≈ 1.46 (−4.2% error; simulated pinhole offsets +5.5 / +9.0 mm)
Wide boundary error (setting a' = 68 mm > a)45.0°30.2° (too large)20.135.4 / 25.1n_meas ≈ 1.41 < 1.52 (−7.4% error; O₁O₁' tilts away from normal, n too low)
Common Misconceptions

Common Misconceptions

Should I press a pencil directly against the polished glass face and use the block as a ruler for faster, straighter lines?

No. A pencil tip can scratch the polished optical face and degrade image clarity, and the tip width pushes the drawn boundary outward, causing n to be underestimated. Mark light positioning dots near both ends, remove the slab, and connect them with a ruler.

If I keep increasing the incident angle i on a parallel glass slab, will the ray eventually undergo total internal reflection at the bottom surface bb'?

No. When the two optical faces are parallel, the angle of incidence on the bottom face equals the top refraction angle r. Because n sin r = sin i < 1, r is always strictly smaller than the critical angle arcsin(1/n), so total internal reflection cannot occur at the parallel exit face.

When placing pins P₃ and P₄, is it enough to line up their colored plastic heads with the virtual images of the front pin heads?

No. The traced rays are drawn through the pinholes left in the paper, not through the pin heads. If any pin tilts slightly, aligned heads still leave the bases offset from the true exit ray. Always lower your eye to paper level and align the pin bases.

If the glass block's two optical faces are not parallel (such as a trapezoid or prism), does the four-pin method fail because the exit ray is no longer parallel?

No. Snell's law (n = sin i / sin r) depends only on the incident and refracted angles at a single interface. As long as you accurately record the two actual non-parallel boundaries and locate points O and O' to connect OO', the measured refractive index remains accurate.

Practice Quiz

Test your understanding with 6 diagnostic questions

Check concepts, graphs, and experimental error reasoning with immediate feedback for every choice.

Embed & Source Availability

Embed this simulation

Paste this iframe snippet into your non-commercial course page or learning platform.

Free & Source-Available (CC BY-NC-SA 4.0)

This simulation is licensed under CC BY-NC-SA 4.0 for non-commercial educational use, embedding, and adaptation with attribution.

Browse All 159 Free Labs →
Sources, Revision & Feedback

Sources, Revision & Feedback

Quiz →