How Light Bends Through a Prism
When a ray of white light strikes the surface of a glass prism, it crosses a boundary between two media of different optical density — air (n ≈ 1.00) and glass (n ≈ 1.52). At this boundary, light slows down and bends toward the normal. This bending is called refraction, governed by Snell's Law:
θ_r = arcsin( (n₁/n₂) × sin θ_i ) // solving for refracted angle
δ = (i − r₁) + (e − r₂) // total angle of deviation
At the second face the ray exits the glass — bending away from the normal back into air. The angular difference between the original incident direction and the final emergent ray is the angle of deviation (δ).
Visible Spectrum — Refractive Indices (Borosilicate Glass)
| Colour | λ (nm) | n(λ) | Bending |
|---|---|---|---|
| Red | 700 | 1.5100 | Least ↓ |
| Orange | 620 | 1.5140 | ↑ |
| Yellow | 589 | 1.5170 | ↑ |
| Green | 530 | 1.5200 | ↑ |
| Blue | 470 | 1.5240 | ↑ |
| Indigo | 440 | 1.5270 | ↑ |
| Violet | 400 | 1.5310 | Most ↑ |
Each wavelength follows its own Snell's Law computation, producing the rainbow fan emerging from the second prism face. Drag the slider to see how the angle of incidence changes the spread and deviation of all colours simultaneously.