It’s one of the first science questions children ask, and many adults can’t quite answer it: why is the sky blue? The answer involves sunlight, tiny air molecules and an effect called Rayleigh scattering. It also explains why sunsets turn orange and red, and why sunsets on Mars are blue.
Quick answer: Sunlight contains all colours. When it enters our atmosphere, tiny nitrogen and oxygen molecules scatter short-wavelength light, blue and violet, far more than red. That scattered blue light comes at us from every direction, so the whole sky looks blue. This is called Rayleigh scattering. At sunset, light travels through much more air, most of the blue is scattered away, and the reds and oranges are left.
Sunlight is a mix of colours
Sunlight looks white, but it’s really every colour of the rainbow mixed together, as a prism or a rainbow shows. Each colour has a different wavelength. Red light has long waves of around 700 nanometres, and blue and violet have short waves of around 400–450 nanometres.
Why is the sky blue? Rayleigh scattering
Air is mostly nitrogen and oxygen molecules, which are much smaller than the wavelength of light. When sunlight hits them, some light bounces off in random directions. This is scattering.
In the 1870s, British scientist Lord Rayleigh showed that this type of scattering is much stronger for short wavelengths. In fact, it depends on wavelength to the fourth power, so blue light is scattered roughly five to six times more than red. That scattered blue light fills the sky, reaching your eyes from every direction you look.
So why isn’t the sky violet?
Violet has an even shorter wavelength than blue, so it’s scattered even more. But the sky still looks blue, for three reasons:
- The Sun gives off less violet light than blue.
- Some violet light is absorbed high in the atmosphere.
- Most importantly, our eyes are much more sensitive to blue than to violet. The colour-sensing cells in our eyes combine the scattered light into the sky blue we see.
Why are sunsets orange and red?
When the Sun is low, its light travels through far more atmosphere to reach you, many times more than at midday. Along the way, most of the blue and violet light is scattered out of the direct beam. What’s left are longer wavelengths: yellow, orange and red.
| Time of day | Path through air | Colour we see |
|---|---|---|
| Midday | Short | Blue sky, white-yellow Sun |
| Late afternoon | Longer | Paler sky, golden light |
| Sunset or sunrise | Very long | Orange, red and pink |
Dust, smoke and pollution can make sunsets even more vivid, which is why wildfire smoke and volcanic eruptions often bring dramatic red skies.
Why are clouds white?
Cloud droplets are much bigger than air molecules. They scatter all colours roughly equally, an effect called Mie scattering, so clouds look white. Thick clouds look grey because less light gets through them.
Why is the sky black in space?
There’s almost no air in space to scatter sunlight. Astronauts see a black sky with a bright Sun, even in daytime. The Moon has no real atmosphere either, which is why photos from the lunar surface show a black sky.
Blue sunsets on Mars
Mars flips Earth’s colours. Its daytime sky looks butterscotch or pinkish because of fine reddish dust. But around sunset, that dust scatters blue light forward towards the observer, creating a blue glow around the setting Sun. NASA’s Curiosity and Perseverance rovers have photographed these blue Martian sunsets.
Rayleigh scattering also explains why the Moon looks orange near the horizon. See it for yourself with the Beaver supermoon in November. Like this kind of explainer? Read how GPS works next.
Frequently asked questions
Why is the sky blue in simple words?
Air molecules scatter blue sunlight much more than red, so blue light reaches our eyes from all over the sky.
Why isn’t the sky violet if violet scatters more?
The Sun gives off less violet, some is absorbed high up, and our eyes are more sensitive to blue.
Why are sunsets red?
At sunset, light passes through much more air, so most of the blue is scattered away and mainly red and orange light reaches us.
What colour is the sky on Mars?
Butterscotch or pinkish by day, with blue-tinted sunsets because of the way Martian dust scatters light.
Sources: NASA (Space Place and Mars rover missions), Royal Museums Greenwich, Met Office, Encyclopaedia Britannica.
