Why is the sky blue?

The sun shines white light. The air is clear — you can see right through it. So where does all that blue come from?

1Two things to know first

White light is sneaky, and air is bouncy

You need two small ideas. Watch each one happen:

White = every color

Sunlight looks white, but it's all the colors mixed together — red, orange, yellow, green, blue, all at once.

Blue bounces more

When light hits the tiny specks in the air, blue bounces all over the place. Red mostly zooms straight through.

2It depends where you look

Same air — two very different views

Look away from the sun ☁️

All that bounced-around blue comes at your eyes from every direction. That blue is the sky.

Look through lots of air 🌇

If the blue already bounced away before the light reaches you, only the red is left. Keep this in mind…

3Watch the blue leave

More air, more bouncing

White light goes in on the left. Add more air and watch the blue bounce away — see what color makes it out the other side.

Air to cross: a little
THIN AIRLOTS OF AIR

The more air the light crosses, the more blue bounces away — so what's left turns orange, then red.

4Now predict the sunset

Drag the sun down to the horizon 🌅

At noon the sun is high — its light takes a short path through the air. At sunset it's low, so the light has to cross a HUGE amount of air to reach you.

Guess before you drag

When the sun drops to the horizon and its light crosses all that extra air, what color does the sun turn?

5But wait…

Two honest questions

So why isn't it purple?

Purple light bounces even more than blue! But the sun sends out less purple, and our eyes are far better at noticing blue — so blue wins.

What about the Moon?

The Moon has no air — nothing for light to bounce off. So even in broad daylight, its sky stays black.

Blue light bounces off the air way more than red. Look away from the sun and you catch that bounced-around blue — a blue sky. Look through a sunset's worth of air and the blue has all bounced away, leaving red.

Psst, grown-ups: this is Rayleigh scattering — air molecules scatter light in proportion to 1/wavelength⁴, so short (blue) wavelengths scatter far more than long (red) ones. By day you see scattered blue from across the sky; at sunset the light's path through the atmosphere is long, so blue is scattered out of the direct beam and mostly red survives. It looks blue rather than violet because sunlight carries less violet and the eye's cones are more blue-sensitive (with some upper-atmosphere violet absorption too).