Skip to content
paintcolorkeColour for every idea My projects

Prism and light dispersion lab

Shine light through a glass prism and watch each wavelength bend by its own amount. Turn the prism, aim the beam, change the glass, then collect the colours that reach the screen.

Loading the prism lab…

What the prism shows

Refraction

Light changes direction when it crosses into a material where it travels at a different speed. The refractive index n is how many times slower light travels in the material than in a vacuum. At each face, Snell’s law links the angles measured from the face’s normal (the line at right angles to the surface):

n1 sin θ1 = n2 sin θ2

The lab bends every ray twice, once where it enters and once where it leaves, using the actual face it meets and that face’s normal. When light inside the glass meets a face at more than the critical angle (sin θc = n2/n1), none of it escapes: it reflects back inside. This is total internal reflection, and the lab follows such rays for up to four reflections.

Dispersion

In glass the refractive index depends on wavelength: it is higher for violet than for red, so violet bends more. That is dispersion, and it is why a prism spreads white light into a spectrum. The real glasses use the Sellmeier formula with SCHOTT’s published coefficients (wavelength in micrometres):

n2(λ) − 1 = Σ Bi λ2 / (λ2 − Ci)

The teaching glass uses Cauchy’s simpler approximation n = A + B/λ2, with values chosen to make the spread easy to see. It is not a real named glass.

Glasses and controls in the lab
MaterialModelValid rangeSource
SCHOTT N-BK7 (borosilicate crown glass)Sellmeier300–2500 nmSCHOTT Zemax catalog 2017-01-20b (SCHOTT optical glass data), as listed by refractiveindex.info
SCHOTT N-SF11 (dense flint glass)Sellmeier370–2500 nmSCHOTT Zemax catalog 2017-01-20b (SCHOTT optical glass data), as listed by refractiveindex.info
Hypothetical teaching glass (exaggerated dispersion)Cauchy360–830 nmCauchy approximation n = A + B/λ², coefficients chosen by PaintColorKE for teaching; not a named glass
Dispersion off (constant n = 1.52)Constant index360–830 nmControl: one refractive index for every wavelength
Equal index (n = 1.000, like air)Constant index360–830 nmControl: the prism has the same index as the surrounding air

“Crown” and “flint” are optical-glass terms for glasses with low and high dispersion. They have nothing to do with any paint brand.

Two controls

Dispersion off gives the glass one refractive index for every wavelength. The beam still bends, but all colours leave in the same direction, so no spectrum appears. Equal index gives the prism the same index as the air around it, so the beam passes straight through without bending at all.

Not the same as diffraction or interference

A prism separates colours because the refractive index changes with wavelength. Diffraction gratings separate them by interference between many narrow openings, and the colours of oil films and soap bubbles come from interference between light reflected from the top and bottom of a thin film. Those are different effects and are not modelled here.

What the model leaves out

This is educational geometric optics in two dimensions. Each ray is a line with no width. Partial reflection at each face (Fresnel losses), absorption in the glass and polarisation are not modelled, and the brightness and glow of the drawn rays are not measured intensities. The screen positions are in the bench’s own units, not millimetres. When the colours land close together, the magnified view enlarges the screen, never the angles.

White light can be modelled two ways: equal energy, where every sampled wavelength has the same power, or the CIE D65 standard daylight model. Neither is a measurement of the light where you are.

Sources and data

  1. NASA Science, “Visible Light”
    Owner’s reading reference. Introductory explanation and the approximate 380–700 nm range used as the teaching preset.
  2. Britannica, “Color: The visible spectrum”
    Owner’s reading reference, listed for further reading. No figures on these pages are taken from it.
  3. Jack Westin, “Visual Spectrum Color”
    Owner’s reading reference, listed for further reading. No figures on these pages are taken from it.
  4. Gurukul Global, “Prismatic effect (Dispersion of Light by Prisms)”
    Owner’s reading reference. Classroom prism explanation and Cauchy’s formula. Its oil-film colours are a different effect (see OpenStax).
  5. CIE, CIE 1931 colour-matching functions, 2° observer (DOI 10.25039/CIE.DS.xvudnb9b)
    The 1 nm table behind every approximate screen colour. Bundled unchanged; CC BY-SA 4.0.
  6. CIE, Standard illuminant D65 (DOI 10.25039/CIE.DS.hjfjmt59)
    The daylight model in the prism lab. Bundled unchanged; CC BY-SA 4.0.
  7. NIST, SP 330 Section 2: the SI defining constants
    Exact values of c, h and e used for frequency and photon energy.
  8. W3C, CSS Color Module Level 4
    XYZ to sRGB conversion and the gamut-mapping method used for every screen colour.
  9. SCHOTT, TIE-29 Refractive Index and Dispersion (August 2023)
    Snell’s law, the Sellmeier formula, its wavelength units and validity range.
  10. SCHOTT optical glass data for N-BK7 and N-SF11 (Zemax catalogue 2017-01-20b, as listed by refractiveindex.info)
    The published Sellmeier coefficients used for the two real glasses.
  11. NASA Science, “Anatomy of an Electromagnetic Wave”
    Wavelength, frequency and energy of electromagnetic waves.
  12. MIT, Color Theory notes
    Magenta as a non-spectral colour.
  13. OpenStax, University Physics Volume 3, 3.4 Interference in Thin Films
    Why oil and soap films are coloured: interference, not prism dispersion.

Ray colours are approximate screen colours of single wavelengths. The lab is an interactive learning and design tool, not a laboratory measurement.