Home▸Articles▸Colours & Light

The Science Behind Prism Dispersion: A Rainbow Unveiled

Discover how prisms separate light into its constituent colors through the principles of refraction and dispersion.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is Prism Dispersion?

Prism dispersion occurs when white light, which consists of a mixture of different wavelengths (colors), enters a transparent medium like a glass prism and separates into its individual spectral components. This phenomenon is due to the varying refractive indices for different wavelengths within the material.

The resulting separation of colors can be observed as a spectrum or rainbow, with red on one side and violet on the other, corresponding to the longest and shortest visible wavelengths, respectively.

Why Does Prism Dispersion Happen?

Prism dispersion is governed by Snell's Law of Refraction, which states that the ratio of the sine of the angle of incidence to the sine of the angle of refraction is constant for a given pair of media. As light enters and exits the prism, it bends at different angles depending on its wavelength, leading to separation.

The varying refractive indices in glass for different wavelengths cause this bending effect, with shorter (violet) wavelengths being bent more than longer (red) wavelengths, thus separating them within the spectrum.

live demo · related simulation● LIVE

Real-World Applications of Prism Dispersion

Prism dispersion has numerous practical applications beyond just creating rainbows. It is used in spectroscopy to analyze chemical compounds by examining their light absorption spectra, and in optical instruments like spectrometers and prisms for precise measurements.

In addition, this principle underpins the functioning of optical fibers and laser technology, where controlling the path of light through different media is crucial.

Understanding the Role of White Light

White light is a combination of all visible wavelengths. When it passes through a prism, each wavelength bends at slightly different angles due to its unique refractive index in glass. This bending separates the white light into its spectral components, creating the rainbow effect.

The separation occurs because the speed of light varies with its wavelength in transparent materials, leading to a phenomenon known as dispersion.

Frequently asked questions

How does temperature affect prism dispersion?

Temperature changes can alter the refractive index of glass, which in turn affects the angle of refraction and thus the dispersion pattern. Higher temperatures generally decrease the refractive index slightly, leading to a slight reduction in the separation of colors.

Can prism dispersion occur with other types of light sources?

Yes, prism dispersion can occur with any type of light source that contains multiple wavelengths. However, it is most commonly observed and studied using white light because it includes a wide range of visible wavelengths.

Why do we see different colors in rainbows formed by water droplets?

Rainbow formation by water droplets follows the same principles as prism dispersion. When sunlight enters a water droplet, it refracts and disperses into its component colors before reflecting off the back of the droplet and exiting, creating the familiar arc of colors.

Is prism dispersion reversible?

Yes, the process is reversible. If light passes through a second identical prism in the reverse direction (with the same orientation), it can be recombined into white light again, demonstrating that the separation and combination are essentially the inverse of each other.

Try it live

Everything above runs in your browser — open Rainbow Prism Dispersion Simulation and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Rainbow Prism Dispersion Simulation simulation

What did you find?

Add reproduction steps (optional)