Prism refraction, dispersion & rainbow: interactive simulation
When a beam of white light passes through a glass prism, it splits into a band of seven colors: Violet, Indigo, Blue, Green, Yellow, Orange, Red (VIBGYOR). This phenomenon is called dispersion.
Useful for: CBSE Boards, NEET, JEE Main
Try this
Dispersion occurs because glass has different refractive indices for different wavelengths: violet light bends the most (shortest wavelength), while red light bends the least. In a primary rainbow, sunlight undergoes refraction, dispersion, and total internal reflection within spherical raindrops.
- 1
Drag the "Angle of Incidence" slider to find Minimum Deviation.
What you should see
Around i ≈ 48°–49°, angle of incidence equals angle of emergence (i = e), the ray inside the prism passes parallel to the base, and deviation δ reaches its minimum value.
- 2
Switch to "Rainbow in Raindrop" mode.
What you should see
Sunlight refracts at the front surface, reflects internally (TIR) at the back, and refracts out: Red emerges at 42° and Violet at 40° into the observer’s eye.
Formulas behind it
Prism Formula (Minimum Deviation)
Angle of Deviation
Cauchy’s Dispersion Formula
Common mistakes
- Thinking red light bends the most. Red bends the LEAST because it has the longest wavelength and lowest refractive index in glass.
- Assuming total internal reflection alone forms a rainbow. A rainbow requires refraction, dispersion, AND total internal reflection.
FAQ
Why does white light disperse into spectrum colors in a prism but not in a glass slab?
In a rectangular glass slab, the opposing refracting faces are parallel, so emergent rays for all colors emerge parallel to each other. In a prism, the non-parallel faces cause emergent rays to diverge at different angles.
Related simulations
All 65 simulationsWant a specific topic or simulation added?
Tell us in our feedback box which chapter or concept you want visualised next.