04Science & Nature · Updated
How Rainbows Form: Light, Water, and Color Explained
Short answer
Sunlight bends, reflects, and separates inside raindrops
A rainbow forms when sunlight enters water droplets, bends and separates into colors, reflects inside the droplets, then bends again as it exits. The colors reach an observer from droplets in a particular direction, making a curved arc.
What a rainbow is
A rainbow is an optical effect: a pattern of light reaching your eyes from water droplets in the air. It is not a colored object hanging in the sky, and it does not occupy one fixed place that everyone can approach. Its apparent position depends on the Sun, the droplets, and where the observer is standing.
Each droplet sends only a narrow range of colors toward your eye at the right angle. Many droplets, each contributing light from a slightly different position, together make the continuous-looking arc. The droplets do not need to be large or arranged in a band; rain, mist, or spray can supply them if the lighting and viewing geometry are suitable.
How sunlight separates into colors
Sunlight looks white in ordinary conditions, but it contains a range of visible wavelengths. When light crosses from air into water, it slows and changes direction, a process called refraction. The amount of bending depends slightly on wavelength, so different colors do not follow precisely the same path. This separation is called dispersion.
Violet light bends more strongly than red light when entering a raindrop. Inside, light reflects from the drop’s rear surface and then bends again as it leaves. The outgoing rays spread into different directions according to color. A viewer sees red from droplets at a slightly different angle than violet, which creates the familiar sequence across the bow.
These are not separate bands painted onto the sky. The visible spectrum changes continuously, though people commonly name its colors as red, orange, yellow, green, blue, indigo, and violet. The boundaries are gradual, and the exact shades can look different with brightness, background, and individual vision.
The path of light through a raindrop
A useful way to picture a primary rainbow is to follow one ray of sunlight. It enters a roughly spherical drop and refracts, reflects once from the inside back surface, and refracts as it exits. A great deal of light travels through droplets along other paths, but the rays that emerge concentrated in a particular direction are especially visible as a bow.
For the primary rainbow, the outgoing rays arrive from droplets roughly 40 to 42 degrees from the point opposite the Sun, with the precise angle varying by color. This is why the bow’s center is the antisolar point, the spot directly opposite the Sun from the observer’s perspective. Red lies toward the outside of the primary bow and violet toward the inside.
At any one moment, light from different droplets can reach your eye as the same color. A droplet that sends red light toward you is not also supplying all the other colors to you along the same line of sight. The full arc appears because many droplets occupy the correct positions above the horizon.
Why the rainbow looks like an arc
The angle between the antisolar point and the incoming rainbow light stays nearly constant. The set of directions at a fixed angle around a point forms a circle. From the ground, the horizon and the Earth usually hide the lower part, so the visible section looks like an arc. The familiar shape comes from viewing only part of this circular geometry.
From a high viewpoint, such as an aircraft, it may be possible to see more of a rainbow’s circle if droplets are below and the Sun is behind the observer. From the ground, a full circle is usually blocked by the horizon or nearby terrain. A mountain, building, or tree can also conceal part of the arc without changing how the light behaves.
What you need to see one
For a common rainbow, the Sun must illuminate water droplets in the part of the sky opposite the Sun. That is why rainbows are often seen when a rain shower is ahead of you and sunlight comes from behind. The Sun should be low enough for the bow to clear the horizon; when it is high, the primary bow is low and may be hidden from a ground-level view.
Rainbows can appear in more than rain. Waterfall spray, garden sprinklers, ocean mist, and fine fog can all provide droplets. The essential ingredients are not a storm or a particular season, but droplets in the right direction and a light source bright enough to illuminate them.
- Look toward a shower or spray with the Sun behind you.
- Check the opposite sky, rather than looking toward the Sun.
- Notice whether buildings, hills, or the horizon block the lower arc.
- Try again as clouds move; a brief opening can illuminate droplets.
Why a second rainbow sometimes appears
A fainter, larger bow can appear outside the primary one. This secondary rainbow forms when light reflects twice inside a droplet before exiting. The extra reflection sends the light out at a wider angle and reduces its brightness, so the secondary bow is usually dimmer and less distinct.
Its color order is reversed: red is on the inner edge and violet on the outer edge. The region between the primary and secondary bows can look relatively dark compared with the sky inside the primary bow. This contrast is sometimes called Alexander’s band. It is a visual effect of how much light is directed into those parts of the sky, not a shadow cast by a physical object.
Why rainbows vary in brightness and color
A rainbow’s appearance depends on the light source, the droplets, the sky behind it, and the observer’s view. A dark cloud behind the bow can make its colors seem vivid by contrast. A pale or bright background may make the same bow look faint. Dense, well-lit spray can produce a strong display, while sparse or uneven droplets may leave gaps.
Sunlight is the usual source, but the Moon can illuminate droplets too. A moonbow follows the same basic optics, though it is usually much dimmer to the eye because moonlight is weaker than direct sunlight. It may appear mostly white because human color vision is less effective at low light levels; a camera with a long exposure may record more color than a person readily sees.
Common rainbow misconceptions
A rainbow is not a fixed object with a reachable end. As you move, the droplets that send the right rays to your eyes change, so the bow appears to move with you. Two people standing apart receive light from different droplets and therefore do not see precisely the same rainbow, even though they may describe its location in similar terms.
Nor does a rainbow require rain to fall directly overhead. The droplets may be far ahead, across a valley, or in spray near a fountain. And while the Sun is usually behind the observer, staring toward the Sun is unnecessary and uncomfortable; look toward the illuminated droplets in the opposite part of the sky instead.
Frequently Asked Questions
Why is red on the outside of a rainbow?
In the primary bow, red light leaves droplets at a slightly larger angle from the antisolar point than violet light. That places red along the outer edge and violet along the inner edge.
Can you ever see a complete rainbow circle?
Yes, if droplets are visible all around the antisolar point and the horizon does not block the view. A high viewpoint can sometimes reveal more of the circle than is visible from the ground.
Why are there sometimes two rainbows?
The secondary bow forms when light reflects twice inside droplets instead of once. It is fainter, appears outside the primary bow, and has its colors in reverse order.
Can a rainbow happen without rain?
Yes. Mist, waterfall spray, fountain spray, or other airborne droplets can refract and disperse sunlight. The droplets must be in the right part of the sky for the observer.
Why do two people see a rainbow in different places?
Each person sees light arriving from droplets at the required angle to that person’s eyes. Moving to a new position changes which droplets contribute, so the apparent bow shifts.
Further reading: NOAA National Weather Service. Details can change, so check the official page for anything that matters to you. Spotted a mistake? Tell us. How we write an answer.