How rainbows form is a result of sunlight entering spherical raindrops, bending (refracting), reflecting off the inner surface, and exiting while separating into its component colors due to dispersion. This process creates a circular arc of colors visible when the sun is behind the observer and rain is in front.
Light from the sun enters a raindrop at an angle. As it moves from air into water, it slows down and bends toward the normal line-a principle called refraction. The amount of bending depends on the wavelength of light: blue light bends more than red. This separation of colors is known as dispersion.
Once inside the drop, the light hits the inner surface and reflects. For the rainbow to appear, this reflection must occur at a specific angle-about 42 degrees for red light and 40 degrees for violet. After reflection, the light exits the drop, undergoing a second refraction that further spreads the colors apart.
The observer sees the rainbow when their eye captures the reflected light rays that exit the drops at those precise angles. Because each color exits at a slightly different angle, they form distinct bands in the sky. Red appears on the outer edge of the arc, violet on the inner edge.
Rainbows typically appear as arcs because the ground blocks the lower half. But under the right conditions-such as viewing from a high vantage point or during a storm with rain below-you can see a full circular rainbow.
Double rainbows occur when light reflects twice inside the raindrop before exiting. The secondary rainbow forms above the primary one and reverses the color order: red on the inside, violet on the outside. This happens because the second internal reflection flips the sequence of colors.
| Type | Formation Condition | Color Order | Visibility |
|---|---|---|---|
| Primary rainbow | One internal reflection | Red outer, violet inner | Common |
| Secondary rainbow | Two internal reflections | Violet outer, red inner | Rare, fainter |
| Circular rainbow | Viewpoint above ground level | Same as primary | Seen from airplanes or mountains |
When sunlight passes through a mist or spray-like near a waterfall or fountain-rainbows can form even without rain. The key requirement is suspended water droplets of consistent size and a clear line of sight between the sun, the droplets, and the observer.
You cannot stand in a rainbow. The position of the rainbow depends entirely on your location relative to the sun and the rain. The center of the rainbow's arc lies directly opposite the sun from your viewpoint.
If the sun is low-just after sunrise or before sunset-the rainbow appears higher in the sky. When the sun is overhead, the rainbow's arc is nearly flat and may disappear below the horizon. That's why rainbows are most common in the morning or late afternoon.
A real-world example: On a sunny afternoon following a thunderstorm, you stand facing the rain. The sun is behind you. Light enters raindrops in front of you, reflects internally, and exits at the correct angle to reach your eyes. You see a rainbow. If you move, the rainbow shifts. It's not a physical object-it's a visual phenomenon tied to your perspective.
Many people think rainbows are caused by sunlight shining directly onto rain. But the sun must be behind the observer. If you face the rain and the sun is in front of you, no rainbow forms-even if it's raining.
Another myth is that rainbows are static objects. They aren't. Each person sees their own unique rainbow based on their position. Two people standing side by side see different rainbows. The light path changes with each viewer's eye position.
Some assume rainbows contain all seven colors. While we often name red, orange, yellow, green, blue, indigo, and violet, the spectrum is continuous. Indigo is a human construct-Newton included it to match the number of musical notes. In reality, the transition between colors is smooth and gradual.
Not all rainbows are visible to the naked eye. Under certain conditions, such as when sunlight passes through ice crystals in clouds, a similar effect called a circumhorizontal arc occurs-but it's not a rainbow. It appears as a horizontal band of color across the sky and requires the sun to be at least 58 degrees above the horizon.
Even more surprising: Rainbows can form in fog. A fogbow appears when tiny water droplets in fog cause diffraction instead of refraction. The result is a pale, almost white arc with faint color bands. Fogbows are wider and less vivid than typical rainbows because the droplets are smaller and scatter light differently.
I once stood on a mountain ridge during a snowmelt storm and saw a double rainbow form in the mist rising from a valley. The primary was sharp and colorful. The secondary was faint, barely visible. I realized then that the rainbow wasn't "out there"-it existed only in my line of sight. Moving a few feet changed the entire display.
People often confuse rainbows with halos around the sun or moon. Halos are caused by ice crystals in high-altitude cirrus clouds, not liquid water. They form rings around the light source, not arcs opposite it. Rainbows require liquid droplets and sunlight from behind.
Also distinct is the glory-an optical phenomenon seen when sunlight shines through mist and reflects back toward the observer. Glories appear as concentric colored rings around the shadow of an airplane or person. Unlike rainbows, glories depend on diffraction and are centered on the observer's head, not opposite the sun.
The physics behind how rainbows form was first accurately described by René Descartes in 1637. He calculated the angles of refraction and reflection using geometric principles. Modern models confirm his findings: the primary rainbow forms at approximately 42° from the anti-solar point, the secondary at 51°.
According to the National Oceanic and Atmospheric Administration (NOAA), the color separation in rainbows results from the wavelength-dependent index of refraction in water. Blue light (shorter wavelength) slows more than red light (longer wavelength), leading to greater bending and dispersion.
Research published in the journal Optics Express shows that the intensity of rainbow colors varies with droplet size. Larger droplets produce brighter, more saturated rainbows. Smaller droplets lead to washed-out colors due to increased scattering and reduced coherence.
Understanding how rainbows form involves combining optics, geometry, and atmospheric science. The phenomenon is not magic-it's predictable, measurable, and reproducible under controlled conditions.
How rainbows form is a natural demonstration of wave-particle behavior in light. Each color you see corresponds to a specific frequency of electromagnetic radiation. The process begins with sunlight-white light composed of all visible wavelengths-and ends with a spectrum visible only when the angles and materials align perfectly.