← Back to Mind & Matter

Rainbows: The Ultimate Optical Illusion of Nature!

Rainbows: The Ultimate Optical Illusion of Nature!

You are walking after a light rain. The Sun is behind you. Suddenly, a rainbow appears ahead like a curved bridge of color.

It feels magical. But a rainbow is one of the most precise geometry tricks in nature.

A Rainbow Is an Angle, Not an Object Most people think a rainbow is "out there" in the sky, like a cloud. It is not.

Here is what happens when a beam of sunlight hits a water droplet:

1. Some light reflects off the outer surface immediately.

2. The rest refracts, or bends, into the droplet.

3. That refracted light reaches the inner back surface of the droplet.

4. At that back surface, some of the light reflects back inward, while some passes out through the droplet.

The important part is the light ray that reflects once from the inner back surface and then exits the droplet. That is the ray that creates the rainbow.

The 42° Angle The brightness of each color peaks at a specific scattering angle. This concentration of light is called a caustic.

For light passing through a water droplet, the peak scattering angles are approximately:

- red: 42°

- green: 41°

- blue/violet: about 40°

That is why red appears on the outer edge of the rainbow, while blue and violet appear on the inner edge.

Why do the angles differ? Because shorter wavelengths, such as blue and violet, travel more slowly in water and bend more strongly. As a result, they emerge at slightly smaller angles than red light.

Why the Rainbow Is an Arc Imagine a line starting from your eyes and going straight through the point in the sky exactly opposite the Sun. Around that line, all the raindrops at the correct angle form a cone of light. That cone is what creates the rainbow.

Now, there are billions of raindrops in the sky, each having its own light cone. But why the rainbow still looks smooth is the most beautiful part.

Each individual droplet creates its own outgoing cone of light, but your eyes receive only a tiny part of that cone from any one droplet. From any one droplet, your eyes mainly receive one color, depending on the angle.

Some droplets are in exactly the right position to send red light to your eyes. This only happens when the angle from the Sun to the raindrop to your eye is 42°. The droplets that are slightly lower send violet light at 40°. And droplets at all intermediate angles send all the other colors of the rainbow.

This happens continuously across the whole rain field. So the rainbow looks uniform not because one droplet makes the whole bow, but because countless droplets "take turns" sending the right color from the right angle.

Since the lower part of this circular cone is usually hidden below the horizon, we normally see only part of the full circle as an arc. This also explains why rainbows take the shape of a curved arch at a 42° angle.

From an airplane or a high mountain, people sometimes see the full circular rainbow.

Sunlight passing through water droplets forms a rainbow at a 42° angle
Sunlight passing through water droplets forms a rainbow at a 42° angle

Why the Colors Always Stay in Order The color order of a rainbow is not random. It follows directly from dispersion — the fact that different wavelengths of light bend by slightly different amounts.

Longer wavelengths like red emerge at larger angles: about 42°. Shorter wavelengths like violet emerge at smaller angles: about 40°.

So the order is always the same for a primary rainbow: red on the outside, violet on the inside.

If you see a secondary rainbow above the first one, it is formed by two internal reflections inside the droplets. That extra bounce reverses the geometry, and so the color order is also reversed: violet on the outside, red on the inside.

When Does a Rainbow Appear? The real rule is not clock time. It is the height of the Sun.

For a primary rainbow viewed from the ground, the Sun must be lower than about 42° above the horizon. If the Sun is higher than that, the bow falls below the horizon and disappears from view.

That is why rainbows are common in the morning and late afternoon, and usually rare when the Sun is high.

Why No Two People See Exactly the Same Rainbow This also explains a beautiful fact: no two people see exactly the same rainbow.

A rainbow forms from sunlight reaching your eyes from raindrops at very specific angles. That means your eyes select one particular set of droplets that are at the correct angles for you.

A person standing next to you has a slightly different viewing position. So their "correct-angle" droplets are slightly different from yours.

Even if you are only a few feet apart, you are not receiving light from exactly the same droplets. The rainbow looks almost identical, but physically it is being built from a different set of droplets for each observer.

Why You Can Never Reach the End You can drive toward a rainbow for hours and never arrive. Not because it is far away, but because it is not fixed in one location.

As you move, the geometry moves with you. The set of droplets sending light to your eyes changes continuously.

The rainbow you chase is rebuilt in real time, centered on your own viewpoint.

The Best Part Rainbows feel mystical because they are personal. They are not objects you simply look at. They are events you participate in.

For a few moments, the Sun, rain, and your exact position line up with mathematical precision, and physics turns into color. That is why rainbows are the ultimate optical illusion of nature!

Enjoyed this piece?

Get fresh deep-dives on science, engineering, and space delivered to your inbox.

Subscribe to the newsletter →