Explainer Science 5 min read

Why is the sky blue, and why are sunsets red?

BLUF: Sunlight contains all colors; air molecules scatter short blue wavelengths far more than long red ones, so the daytime sky glows blue. At sunset, light travels through much more air, the blue scatters away, and mostly red and orange reach your eyes.

The same physics — Rayleigh scattering — also explains hazy blue distant mountains, pale blue eyes, and why the low sun looks warm rather than white.

Share:

How it works

Sunlight looks white but is really a blend of every visible color, each with its own wavelength. Earth's atmosphere is mostly nitrogen and oxygen molecules, far tinier than the wavelength of light. When sunlight streams through, these molecules scatter it in all directions — a process called Rayleigh scattering. Crucially, the scattering is not even-handed: shorter wavelengths get scattered far more strongly than longer ones. Blue and violet light, near the short end of the spectrum, bounce around the sky repeatedly, while red and orange mostly pass straight through. So when you look up anywhere away from the sun, you are seeing sunlight that has been redirected sideways toward you — and because blue dominates that scattered light, the whole dome of the sky glows blue.

The deeper principle

The strength of Rayleigh scattering depends dramatically on wavelength: it rises with the inverse fourth power of the wavelength. Halving the wavelength scatters light sixteen times more strongly. Blue light, around 450 nanometers, is therefore scattered roughly five to ten times more than red light near 700 nanometers. This steep relationship is why the daytime sky is decisively blue rather than a pale, even mix. The same law explains sunsets through simple geometry. When the sun sits low on the horizon, its light must travel through a much thicker slice of atmosphere before reaching you. Over that long path, nearly all the blue and green light is scattered away sideways, leaving mostly reds and oranges to travel straight to your eyes. The setting sun and the clouds around it glow warm as a result.

In the real world

This one principle paints the world in familiar ways. Distant mountains fade to hazy blue — aerial perspective — because miles of intervening air scatter blue light toward you, an effect landscape painters have used for centuries. The blue of many birds' feathers and of pale human eyes comes from scattering by tiny structures, not from blue pigment. Photographers chase the warm golden hour near sunrise and sunset for the same reason skies turn red. Large particles matter too: volcanic ash high in the stratosphere and wildfire smoke can deepen sunsets into vivid crimson, while everyday haze often just mutes them. The physics even travels: on Mars, fine dust scatters light so that its sunsets glow blue near the sun — the reverse of Earth, and a striking sign that a planet's atmosphere sets its palette.

Common misconceptions

Myth: the sky is blue because it reflects the blue ocean. Reality: the color is made by air molecules scattering sunlight; if anything, the sea partly mirrors the sky, not the reverse. Myth: sunsets are red only because of pollution or dust. Reality: the main cause is sunlight's longer path through clean air, which scatters the blue away; particles can intensify or dull the colors but are not required. Myth: the sky should look violet, since violet scatters even more than blue. Reality: sunlight contains less violet, some is absorbed high in the atmosphere, and human eyes are far more sensitive to blue, so blue wins out. Myth: scattering paints new colors into the light. Reality: every color is already present in white sunlight; scattering simply sorts them by direction, sending blue sideways and red straight ahead.

Get tomorrow's explainer One email. One topic. No noise.
Subscribe →
Sources
Browse More Explainers
What is radioactivity? Why did the Roman Empire fall? How does magnetism work? View All Topics → Today's Explainer