Curious Minds

Clear answers to science and history questions

Why Does Light Separate in a Prism?

· 6 min read · Science

Light separates in a prism because different colors travel at slightly different speeds through glass, so each color bends by a different amount when it enters and leaves the prism. This bending is called refraction, and the amount a color bends depends on its wavelength: violet light slows more than red light in glass, so violet bends more. The result is a fan of colors—red, orange, yellow, green, blue, indigo, violet—spread out in that order from least bent to most bent.

Refraction Bends Each Color by a Different Amount

When light passes from air into glass at an angle, it changes direction. That change happens because light travels slower in glass than in air. The key detail is that the slowdown is not identical for every color. Glass has a higher refractive index for violet light than for red light, meaning violet is slowed more and therefore bends more sharply at the surface.

A prism has two angled surfaces, so the bending happens twice: once when light enters and once when it exits. The two bends add together, and the separation grows with each pass. A flat pane of glass also bends colors differently, but the two surfaces are parallel, so the effects cancel and you see no spread. The prism's wedge shape is what lets the colors fan out instead of recombining.

The order of colors in the spread is fixed by wavelength. Red light has the longest wavelength of the visible colors—about 700 nanometers—and bends the least. Violet has the shortest—about 400 nanometers—and bends the most. The full sequence from least to most bent is red, orange, yellow, green, blue, indigo, violet. You may see the shorthand ROYGBIV, though indigo is often hard to distinguish from blue and violet in a real prism spread.

What You Need to See the Spectrum Clearly

A glass or acrylic prism with flat, polished faces works best. An equilateral triangular prism is the classic shape, but any prism with two non-parallel faces will separate light. You also need a narrow beam of white light and a dark room or a dark surface to catch the spread.

Here is a simple setup that produces a visible spectrum:

  • Light source: a bright flashlight or a white LED. A narrow slit made from two pieces of card taped close together sharpens the beam and makes the colors easier to see.
  • Prism position: place the prism on a table with one flat face down. Aim the beam at one of the angled faces at roughly 30 to 60 degrees from perpendicular.
  • Screen: hold a white sheet of paper or a white wall about 6 to 12 inches (15 to 30 cm) past the prism. Move the paper until the spread is widest and brightest.
  • Room light: dim the room. The spectrum is faint compared with the source, so competing light washes it out.

If you see only a white spot, rotate the prism slowly. The separation is strongest when the light enters at an angle rather than straight on. Straight-on entry produces no bend at the first surface, so the colors do not separate until the second surface, and the effect is weaker.

Why White Light Contains All the Colors

White light is a mixture of wavelengths across the visible range. A prism does not create color; it sorts what is already there. Each wavelength leaves the prism at its own angle, so a single white beam becomes a continuous band. That band is a spectrum, and the colors blend smoothly rather than appearing as separate stripes.

This is the same reason a rainbow forms. Water droplets in the air act like tiny prisms: sunlight enters a droplet, bends, reflects off the back, and bends again as it exits. The droplet spreads the colors, and the angle at which each color reaches your eye determines where it appears in the arc. Red appears on the outer edge of a primary rainbow and violet on the inner edge, which matches the order a prism produces.

You can confirm the mixture idea by reversing it. Shine the separated colors back through a second prism, or use a converging lens to bring the fan back to a point, and the colors recombine into white light. That round trip shows the prism only rearranged the light, not changed it.

Dispersion, Refractive Index and the Numbers Behind the Spread

The property that causes the separation is called dispersion: the refractive index of a material changes with wavelength. For ordinary crown glass, the refractive index is about 1.52 for red light and about 1.53 for violet light. That difference looks tiny, but across a prism's path it produces a spread of several degrees.

The amount of bending at a surface follows Snell's law: the sine of the angle of incidence divided by the sine of the angle of refraction equals the ratio of the refractive indices of the two materials. Because the index differs for each color, the refracted angle differs too. A larger index means a smaller refracted angle, which is why violet, with the higher index, bends closer to the normal inside the glass and then swings farther away when it exits.

Diamond has a much higher refractive index—about 2.42—and much stronger dispersion than glass. That is why a cut diamond throws such wide, bright flashes of color, often called fire. Water has a lower index, about 1.33, and weaker dispersion, which is why rainbow colors are spread over a wide arc rather than a tight fan.

The prism angle also matters. A wider apex angle gives more separation but also more reflection losses at the faces. A typical equilateral prism has a 60-degree apex and produces a clearly visible spectrum on a nearby screen with a bright flashlight.

What Changes the Spread and What Does Not

Several factors affect how far apart the colors appear:

  • Material: higher dispersion means more spread. Flint glass separates colors more than crown glass; diamond separates more than either.
  • Prism angle: a sharper wedge bends light more per surface, but very sharp angles lose light to reflection.
  • Entry angle: the spread grows as the beam angle moves away from perpendicular, up to a point. At the angle of minimum deviation, the beam passes through symmetrically and the spectrum is clean and well separated.
  • Distance to the screen: a farther screen makes the colors farther apart in space, though the angular spread is the same.

What does not change the order is the light source. A white LED, a flashlight bulb, or sunlight all produce the same sequence because the prism sorts by wavelength, not by source. A colored source produces a narrower band or a single line, not a full spectrum. A red laser, for example, stays red because it contains essentially one wavelength.

If your spectrum looks blurry rather than sharp, check three things: the slit width, the distance to the screen, and stray room light. A wide slit blends adjacent colors; a screen too close compresses the fan; and ambient light reduces contrast. Narrow the slit, dim the room, and move the screen back in small steps until the colors are distinct.

Separating Colors Without a Prism

A diffraction grating does the same job by a different mechanism. Instead of bending colors by different amounts through a material, a grating sends light through many closely spaced slits and spreads colors by interference. A CD or DVD surface works as a reflection grating because its tracks are spaced closely enough to separate visible wavelengths; tilt one under a lamp and you will see a rainbow pattern.

Water droplets, as in a rainbow, are the most common natural prism. You can also use a glass of water set on a sunny windowsill to cast a faint spectrum, though the curved surface makes the result less orderly than a prism's. For a sharp, repeatable spread, a prism or a grating is the better tool.

The core fact to carry away: the prism does not add color. It reveals the colors already present in white light by bending each wavelength by a slightly different amount. Once you know that, the order of the spectrum and the reason a second prism can undo the spread both follow naturally.

In this article
  1. Refraction Bends Each Color by a Different Amount
  2. What You Need to See the Spectrum Clearly
  3. Why White Light Contains All the Colors
  4. Dispersion, Refractive Index and the Numbers Behind the Spread
  5. What Changes the Spread and What Does Not
  6. Separating Colors Without a Prism