The sky is blue because air molecules scatter short, blue wavelengths of sunlight much more than long, red wavelengths — by a factor of roughly 16. The effect is called Rayleigh scattering, and it's the same physics that makes sunsets red and the deep ocean look turquoise.

Sunlight starts white. The atmosphere edits it before it reaches your eye.

Sunlight is all the colors at once

The sun emits a near-continuous spectrum of visible light. Newton's prism experiment in 1666 split it into red, orange, yellow, green, blue, indigo, and violet. They're all there, traveling together as "white light" until something separates them.

Air separates them.

The Rayleigh rule

When light hits gas molecules smaller than its wavelength (which is most of them in air), scattering intensity scales with 1 / wavelength⁴. Blue light (~450 nm) gets scattered roughly 16 times more strongly than red light (~700 nm).

That means as sunlight passes through the atmosphere, the blue gets bounced around in every direction — and some of those bounces hit your eye no matter where you look.

Why not violet?

Violet has an even shorter wavelength than blue and theoretically scatters more. But two things stop violet from dominating: the sun emits less violet to begin with, and your eyes are about 8× more sensitive to blue than to violet. The combined result reads as blue.

Why sunsets are red and orange

At sunset, sunlight enters the atmosphere at a low angle and passes through far more air on the way to you — about 38× more than at noon. That extra distance scatters out so much blue and green that mostly red and orange light survives the trip.

Same physics, different geometry.

Why clouds are white

Clouds aren't made of gas molecules — they're tiny water droplets, much bigger than the wavelengths of visible light. Bigger particles scatter all wavelengths roughly equally (called Mie scattering), so all colors come out in the same ratio they went in. That's white.

This is also why milk is white and fog is white. Same effect.

Why the sky on Mars is butterscotch

Mars's atmosphere is 100× thinner than Earth's, so Rayleigh scattering is weak. Instead, suspended dust particles scatter red wavelengths the most. Result: butterscotch sky in the day, blue glow only at sunset (the opposite of Earth's geometry).

Why the deep ocean is blue

Water itself absorbs longer wavelengths preferentially. Reds get absorbed within the first few meters; blues penetrate down 50+ meters before being absorbed. Below the surface, the only light reaching depth is blue — so the water glows it back.

Glacial ice does the same thing for the same reason.

Quick experiment you can do

Fill a clear glass with water. Add a few drops of milk. Shine a flashlight through from one side. Looking through the side, the beam appears yellow-orange (transmitted light, blues scattered out). Looking from the front, the beam appears blue (scattered light, mostly the blue part).

That's the entire atmosphere in a kitchen glass.

Why the sky has any brightness at all

Without an atmosphere, daylight sky would be black with the sun as a single bright disc — exactly what astronauts see on the moon. Earth's atmosphere is what fills the sky with light. The blue color is the bonus.

Want more light-and-color physics? Try how fast light travels or how many colors humans can see.

🎮 Try it yourself: Speed of Light

Watch how fast photons cross the solar system in real time.

Play free at whatifs.fun