Rainbows appear after rain because sunlight enters millions of falling raindrops, is refracted (bent), reflected off the back of each drop, and refracted again as it exits, splitting white light into its component colours and sending them to your eye at specific angles. This process turns the sky into a giant natural prism, but only when the Sun is behind you and rain is in front of you.
The Basic Optics: Refraction, Reflection, and Dispersion
To understand why a rainbow forms, you need to follow a single ray of sunlight as it hits a spherical raindrop. The drop acts like a tiny lens and mirror combined. The sequence happens in three main steps:
- Refraction on entry: Sunlight enters the drop and bends because light travels slower in water than in air. Different colours bend by slightly different amounts—violet bends most, red least—a phenomenon called dispersion.
- Internal reflection: The light hits the back inner surface of the drop and reflects back toward the front, like a mirror.
- Refraction on exit: As the light leaves the drop, it bends again, and the colours separate even more.
The result is that each colour emerges at a slightly different angle. For the primary rainbow, the angle between the incoming sunlight and the emerging light is about 42 degrees for red and about 40 degrees for violet. This angle difference is why you see a band of colours rather than a single blended beam.
Why the Sun Must Be Behind You
A rainbow is not an object you can walk up to; it is an optical phenomenon that depends on your position. The geometry requires the Sun to be behind you and the rain to be in front of you. The light enters the raindrops, bounces around inside, and then travels back toward your eyes. If the Sun were in front of you, the light would be scattered away from your line of sight.
This is also why rainbows are most common in the late afternoon or early morning. The Sun must be low in the sky—ideally below about 42 degrees above the horizon—for the rainbow arc to appear above the ground. When the Sun is higher, the arc forms below the horizon and you cannot see it from ground level. This is why you rarely see a rainbow around midday.
The Role of Raindrops: Size, Shape, and Quantity
Rainbows need raindrops of a certain size to produce clear colours. Very small droplets (like those in fog or mist) create white or pale arcs called fogbows, because the light diffracts rather than refracts cleanly. Large, uniform raindrops—typically around 1 to 2 millimetres in diameter—give the brightest, most distinct rainbows.
The drops do not need to be perfectly spherical; they are slightly flattened by air resistance as they fall, but the spherical approximation works well enough for the optics. What matters most is that there are many drops and that they are falling in a curtain in front of you. A heavy shower that is moving away often leaves the ideal setup: rain ahead, clearing sky behind.
Why You See a Bow and Not a Full Circle
From the ground, a rainbow appears as an arc because the Earth blocks the lower part of the circle. The full circle of a rainbow exists, but you need to be high up—on a mountain or in an airplane—to see it. The centre of that circle is always directly opposite the Sun, at a point called the antisolar point. The rainbow is simply the set of all raindrops that happen to be at the correct angle (about 42 degrees) from that point.
This also explains why a rainbow seems to move as you move. It is not fixed in space; it is a direction-dependent illusion. Two people standing side by side see slightly different rainbows, each centred on their own antisolar point.
Double Rainbows and Supernumerary Arcs
Sometimes you see a second, fainter rainbow outside the primary one. This is a secondary rainbow, caused by light reflecting twice inside the raindrops instead of once. The extra reflection flips the colour order: in the secondary bow, red is on the inside and violet on the outside, the reverse of the primary. Secondary rainbows are dimmer because each reflection loses some light.
Between the two bows, the sky often looks darker than elsewhere. This region is called Alexander's band, named after Alexander of Aphrodisias, who described it in antiquity. The darkness occurs because light that would otherwise reach your eye is refracted away from that angle.
On rare occasions, faint pastel bands called supernumerary arcs appear just inside the primary rainbow. These are caused by interference between light waves that travel slightly different paths through the drops. They are most visible when the raindrops are very uniform in size.
Common Misconceptions About Rainbows
One persistent myth is that rainbows only form after rain. In fact, they can appear during rain, as long as the Sun is shining and the geometry is right. Another misconception is that rainbows are physical objects with a location. They are optical effects, like a mirage, and have no fixed position in space.
It is also not true that rainbows require a heavy downpour. A light shower or even spray from a garden hose can produce one, provided the Sun is low and behind you. And while rainbows are often associated with hope or luck in folklore, their appearance is purely a matter of physics.
How to See a Rainbow: Practical Tips
If you want to increase your chances of seeing a rainbow, keep these factors in mind:
- Time of day: Early morning or late afternoon, when the Sun is low.
- Weather: Rain in front of you, clear sky behind you.
- Position: Stand with your back to the Sun and look toward the rain.
- Horizon: A low, unobstructed horizon helps you see the full arc.
- Polarisation: Rainbows are strongly polarised, so wearing polarised sunglasses can make them appear dimmer or even invisible. Remove them for the best view.
You can also create your own rainbow with a garden hose on a sunny day by spraying a fine mist in front of you while the Sun is behind you.
Frequently Asked Questions
Can a rainbow appear at night?
Yes, but it is called a moonbow. Moonbows are created by moonlight instead of sunlight and are usually faint and appear white to the naked eye, though long-exposure photographs can reveal colours. They are rare because they require a bright Moon, rain, and dark skies.
Why is red on the outside of a rainbow?
Red light is refracted less than violet light as it passes through water. In the primary rainbow, this means red emerges at a slightly larger angle (about 42 degrees) than violet (about 40 degrees), placing red on the outer edge of the arc.
Do rainbows always have the same colour order?
Primary rainbows always show red on the outside and violet on the inside. Secondary rainbows reverse this order. The exact number of visible colours depends on the observer and conditions; the traditional seven-colour list is a cultural convention, not a sharp physical boundary.
Can you see a rainbow from an airplane?
Yes, and sometimes you can see the full circle. From high altitude, with the Sun behind the plane and rain or mist below, the rainbow can appear as a complete ring. The same physics applies; you are simply seeing more of the circle.
Is a rainbow a physical object?
No. A rainbow is an optical phenomenon that depends on the observer's position. It has no fixed location and changes as you move. It is similar to a mirage in that it is a trick of light, not a tangible thing.
Why do rainbows sometimes appear white?
White rainbows, or fogbows, occur when the water droplets are very small—typically less than 0.05 millimetres across. Diffraction blurs the colours together, producing a pale, whitish arc. They are often seen in fog or mist rather than rain.