Page Guide

Start with the short answer, then follow the mechanism

Rainbows form when sunlight enters raindrops, bends, reflects inside them, and exits at angles that separate the colors so different droplets send different wavelengths toward your eyes.

These topics reward attention because they make ordinary skies, mirrors, and reflections feel far stranger and more precise.

Topic hub Light and Color
Estimated read 6 min
Published
Updated
Rainbow lab Primary vs. secondary Sun-angle geometry

Interactive Explainer

How do rainbows form?

A rainbow appears when sunlight enters many raindrops, bends, reflects inside, and emerges separated into colors. You only see it when the geometry is right: Sun behind you, droplets ahead of you, and the Sun not too high.

Short answer

Rainbows are made by refraction, internal reflection, and dispersion inside countless droplets, not by colors being painted onto the sky.

Best setup

Low Sun, bright droplets, and a darker background often make the arc appear stronger and easier to notice.

Color order

Red appears on the outer edge of a primary rainbow and violet on the inner edge because different wavelengths leave the drop at slightly different angles.

Short Answer

Short answer: How do rainbows form?

Rainbows form when sunlight enters raindrops, bends, reflects inside them, and exits at angles that separate the colors so different droplets send different wavelengths toward your eyes.

The sections below unpack the main mechanism, the conditions that change the answer, and the follow-up questions readers usually ask next.

6 min read Light and Color Updated March 29, 2026

Short answer

Rainbows come from refraction, internal reflection, and dispersion inside many droplets.

Why geometry matters

You need the Sun behind you, droplets ahead, and the right angle between them for the bow to appear.

Why second bows flip colors

An extra internal reflection changes both the brightness and the order of the emerging colors.

Choose The Closest Version

If your real question branches from here, start with the closest next page

This is the fastest way to keep the visit useful. The answer stays on-topic, and the next click stays close to what the reader actually meant.

Why Trust This Answer

Review details and key source trail

This sits near the top on purpose so readers can see how the page was reviewed before they decide whether to keep going.

Review summary

How this page was checked

Reviewed against the listed National Weather Service and UCAR educational references for the droplet geometry, color separation, and secondary-rainbow explanations on this page.

Review: Ask a New Question science editorial team Updated: Mar 29, 2026 Group: Light and Color

Keep The Question Moving

The next questions readers usually ask from here

This keeps the visit useful instead of one-and-done. You can branch into the next natural follow-up or open the closest dedicated explainer without losing the thread.

Common follow-up Why are double rainbows dimmer?

The extra internal reflection loses light, so the secondary bow is usually fainter.

Jump to the FAQ
Common follow-up Can two people see the same rainbow?

They see the same pattern in the sky, but each person is receiving light from a slightly different set of droplets.

Jump to the FAQ
Next explainer Why is the sky blue?

A live sky simulator, a clear explanation of Rayleigh scattering, and a comparison with the Moon and Mars.

Open explainer
Next explainer Why do stars twinkle?

A twinkle lab that lets you change turbulence, altitude, humidity, and apparent size to compare stars with steadier-looking planets.

Open explainer

Myth Check

Is a rainbow in one fixed place in the sky?

Not really. The bow depends on the line between you, the Sun, and the droplets, so when you move, you are effectively seeing a different set of droplets build the rainbow.

Raindrop rainbow geometry with observer and Sun positions.
Every droplet can send only certain angles back to your eyes, which is why the rainbow is tied to your viewpoint.

The bow is observer-centered

The rainbow is built from whichever droplets are sending the right angles toward your eyes. Someone standing elsewhere is seeing a slightly different rainbow assembled from other droplets.

That is why you never arrive at the end

Walk toward a rainbow and the geometry just rebuilds farther away. The bow is not a painted object hanging in one place that you can physically reach.

Try It Yourself

Rainbow Lab

Lower the Sun, thicken the spray, enlarge the droplets, or darken the cloud background to see when a rainbow sharpens, widens, or disappears entirely.

20
Near horizon High overhead
62
Sparse spray Many droplets
56
Fine mist Larger drops
74
Bright sky Dark cloud bank

Move the controls or load a preset to see how the system responds.

State: waiting for input Main driver: preset + controls Notice: the lab wakes up as you approach it

What changes the fastest

Good geometry 0%
Color separation 0%
Rainbow brightness 0%
Secondary chance 0%

What is driving the result

Sun angle 0%
Droplets 0%
Drop size 0%
Dark backdrop 0%

What the lab controls represent

Sun height Near horizon to High overhead
Droplet density Sparse spray to Many droplets
Droplet size Fine mist to Larger drops
Storm-dark background Bright sky to Dark cloud bank

The Big Idea

What is actually happening?

Learn how raindrops bend and separate sunlight, why rainbow colors stay in order, and why a second rainbow reverses them. Interactive lab, diagram, and FAQs.

1

Sunlight enters the droplet

As the light crosses from air into water, it bends because it is moving into a different medium.

2

Colors spread slightly apart

Different wavelengths bend by slightly different amounts, so white sunlight begins to separate into a spectrum.

3

Light reflects inside the drop

Some of the light bounces off the back of the droplet and heads back toward the front.

4

Only the right exit angles reach you

You see a rainbow when many droplets send different colors back toward your eyes at the correct angles.

Follow-Up Answer

Why does a second rainbow reverse the colors?

A second internal reflection changes both the path and the exit angles of the light leaving the droplet.

More reflections mean less light

Each extra internal reflection costs brightness, so the secondary rainbow is usually dimmer than the primary one.

The geometry flips the sequence

Because the light leaves the droplet at a different angle after that extra bounce, the color order reverses, putting red on the inner edge of the secondary bow instead of the outer edge.

Good Follow-Up Questions

The details are where light and color gets interesting

The short answer helps, but the edge cases, tradeoffs, and scene changes are what usually make the topic memorable.

A rainbow is not in one fixed place

It depends on the line between you, the Sun, and the droplets. Move, and you are effectively seeing a different set of droplets contribute the bow.

Secondary rainbows reverse the colors

A second internal reflection inside the drop can produce a dimmer outer bow with the color order flipped.

You can see a full circle from above

From the ground, the horizon usually cuts the bow off. From an airplane or mountaintop with droplets below you, a full circle is possible.

Compare Scenes

Why one rainbow is faint and another seems to jump off the sky

Sun angle, droplet field, and the background behind the arc all change how dramatic the bow looks.

High contrast

Dark cloud backdrop

A dark background makes the colors stand out much more clearly, which is why rainbows often pop after a storm edge moves through.

Contrast High
Color pop Strong
Look for Brilliant bow

Dark storm

Dark cloud backdrop

A dark background makes the colors stand out much more clearly, which is why rainbows often pop after a storm edge moves through.

Contrast High
Color pop Strong
Look for Brilliant bow

Fine mist

Tiny mist droplets

Very fine droplets can create a broader, paler, more diffuse bow rather than a razor-sharp rainbow.

Contrast Lower
Color edge Soft
Look for Pastel band

Waterfall

Waterfall rainbow

You can make a rainbow with spray from a waterfall or hose if the Sun is behind you and the viewing angle is right.

Droplets Abundant
Color pop Often good
Look for Local arc

High noon

Sun too high

If the Sun climbs too high, the primary rainbow angle points below the horizon for a ground observer and the full bow disappears.

Geometry Poor
Color pop Weak to none
Look for No full arc

Fast Answers

How do rainbows form? FAQ

Good science pages should answer the obvious follow-ups without making the reader hunt for them.

Because the light has to enter the droplets in front of you and return toward your eyes at the correct angle.

Different wavelengths leave the droplet at different angles, so the geometry naturally puts red on the outside of a primary rainbow and violet on the inside.

The extra internal reflection loses light, so the secondary bow is usually fainter.

They see the same pattern in the sky, but each person is receiving light from a slightly different set of droplets.

Trust And Further Reading

Source shelf, freshness, and where to go next

Reviewed against the listed National Weather Service and UCAR educational references for the droplet geometry, color separation, and secondary-rainbow explanations on this page. This page also links outward to trusted references and inward to nearby explainers on the same topic path.

Stay In This Topic

More from Light and Color

Scattering, reflection, mirages, and visual tricks that change what we think we are seeing.

Related Public Questions

Questions people on the site are also asking

This keeps the explainer connected to the rest of the archive instead of feeling like an isolated page.

No close public question matches are cached yet, but the search page is a good next stop if you want to explore the archive from this starting point.