Why Do Rainbows Appear After Rain?

A rainbow is an optical phenomenon that transforms white sunlight into a spectacular arc of color across the sky. This display is commonly observed following a rain shower, resulting from precise physical interactions between light and water suspended in the atmosphere. Understanding the science requires looking at the necessary components and the exact geometric conditions that must align for an observer to see the resulting spectrum.

The Essential Ingredients

The formation of a visible rainbow requires three essential physical elements. First, direct and intense sunlight provides the source of white light that will be separated into colors; ambient or indirect light is insufficient. The second component is a concentration of water droplets suspended in the air, acting as the optical mechanism. These droplets are typically residual moisture from a rain shower, but mist or spray can also suffice. Each tiny, spherical water droplet functions as a minuscule prism for the light rays. Finally, the geometry involving the observer is the third ingredient, as a rainbow is not a fixed physical object. The precise positioning of the viewer relative to the sun and the airborne water determines whether the phenomenon can be seen.

How Light Bends and Separates

The transformation of white sunlight into a spectrum occurs through three distinct optical processes inside each water droplet. The process begins with refraction, where sunlight enters the droplet, causing the light to slow down and bend as it moves from air to the denser water. Following the initial refraction, dispersion occurs because white light is a mix of different wavelengths. Each color’s wavelength bends at a slightly different angle when passing into the water. Violet light bends the most, while red light bends the least, separating the white light into its component colors. The separated light rays then travel to the back interior wall of the droplet, where they undergo internal reflection, bouncing back toward the front. As the light exits the water droplet back into the air, it undergoes a second refraction. This final bending further emphasizes the separation of colors, and the collective effect from billions of droplets creates the visible arc.

Why Location Matters

The reason rainbows often appear immediately after a storm passes is due to the very specific geometric alignment required for viewing. To see a primary rainbow, the sun must be shining directly at the observer’s back, with the sheet of rain or mist positioned in front. This arrangement ensures the light processed inside the water droplets is reflected back toward the eye.

The colored light is returned to the observer’s eye at a precise angle between approximately 40 and 42 degrees from the line extending from the sun through the observer’s head. Red light is concentrated at the 42-degree angle, appearing on the outside of the arc, while violet light is concentrated around 40 degrees, forming the inner edge. This angular restriction means that the center of the rainbow’s arc is always directly opposite the sun, at a point called the anti-solar point.

This required geometry frequently occurs when a weather system moves away. The clouds clear enough for the sun to shine, but residual rain droplets are still suspended in the distant atmosphere. Because the sun must be below 42 degrees in the sky for the entire arc to be visible above the horizon, rainbows are most often seen in the early morning or late afternoon.

The rainbow is entirely personal, as two people standing side-by-side see light reflected from two different sets of water droplets, each centered on their own unique viewing cone.