Explainer: why is the sky blue?

The cobalt hues of the sky above are thanks to all manner of molecules in the air. djking

A young child looked up in the sky,
And said, “It’s so blue, Mum, but why?”
You see, blue scatters more,
(There’s this power of 4),
So it rarely comes straight to your eye.

Author unknown

Most of what is between us and space is air, which is made up of very small molecules. There are also varying amounts of other stuff – aerosols, dust, haze, clouds, smoke and so on.

The light from the sun has to pass through this “stuff” to get to the surface of the earth. But some of the light does not make it, or if it does arrive at the surface, it gets there indirectly.

Why? Because the light – or more accurately, part of the light – is scattered by “stuff” in the atmosphere.

Visible light is an electromagnetic wave of a rather narrow range of wavelengths (roughly 390-700 nanometres, where 1 nanometre is 1 billionth of a metre) in the complete spectrum. This electromagnetic spectrum spans the very long wavelengths of radio to the extremely short wavelengths of gamma rays.

Within the visible portion of the spectrum red light has a longer wavelength than blue – 650 nm vs 450 nm.

A linear representation of the visible range of the electromagnetic spectrum. Shorter wavelength light is on the left with longer wavelength light on the right. Wikimedia Commons

When light is scattered in the atmosphere, the amount of scatter and the angle by which it is scattered depend on the wavelength and the size of the scatterer.

If the scatterer’s size is significant compared to the wavelength of the light being scattered, the shape of the scatterer becomes important too.

Molecules are the smallest scatterers, being about a factor of 1,000 smaller than the wavelength of visible light. For these molecules – such as nitrogen gas (N2) which makes up 78% of the atmosphere – the dependence of scattering on wavelength goes as the inverse fourth power of wavelength.

That is, comparing blue to red, we take the wavelength ratio (650/450) and raise that to the fourth power to calculate how much more likely (4.3 times, as it turns out) it is blue will be scattered than the red.

Sunlight travelling past you through the air has the blue component scattered preferentially toward you. Murray Hamilton

If you look away from the sun, blue light travelling from the sun through the earth’s atmosphere (but not directly toward you) is scattered by the molecules toward your eye.

Thus the sky looks blue because scattering from molecules is much more probable for blue light than red.

There is so much blue light from any particular direction that it completely dominates the light from the stars, which is nonetheless still there.

If you get close enough to space, the sky is black (see image below). This is just because there is nothing significant up there that will scatter the sunlight to your eye.

Conversely, if you look through a clean atmosphere (i.e. with no dust or smoke) towards the sun, a significant amount of the blue light is scattered away from the line of sight, which tends to give the sun a yellowish hue.

This sort of scattering – when the scatterer is considerably smaller than the wavelength of the light – is usually called “Rayleigh scattering”, after the 19th century British physicist Lord Rayleigh.

Space doesn’t appear blue because there are not enough molecules to scatter blue light towards the observer. NASA

Near sunset, the path sunlight takes on its way through the atmosphere to you is especially long. In this case, so much blue light is lost (i.e. scattered away) that the sun appears orange or even red (see image below).

The water droplets and ice crystals that make up clouds are quite large compared to the wavelength of visible light (at least 20 times greater). In this case the scattering of light is strong and nearly independent of wavelength, over the visible range at least.

Because nearly all wavelengths of visible light are scattered, clouds appear white, or varying shades of neutral grey if they are in the shadow of other clouds.

This photo of the setting sun shows the reddening effect of scatter from molecules in the air. We can’t see from this photo that the sun itself is reddened, because it is overexposed. However the scattered sunlight from the clouds shows the reddening. Cloud particles have very little wavelength dependence of scatter (for visible light). Thus their colour in the picture shows us the colour of the sunlight that strikes them. Photo: the author

If you consider the wavelength dependence of scattering for medium-sized particles, you find that for a narrow wavelength range the dependence reverses for a bit. That is, in this range – which can be as wide as the visible spectrum – the scattering is stronger for longer wavelengths, as opposed to weaker.

It is possible for the size of the particles to be just right for this to happen in the visible spectrum. In this case the sunlight that passes through air with these particles suspended has red light scattered away leaving the sun (or moon) looking bluish.

This is rare but has happened on occasion when volcanoes or forest fires load the atmosphere with particles of just the right size.

In contrast to Earth, the Martian atmosphere is quite dusty, and there the sky tends to be orange, sometimes with blue sunsets. This is because the dust particles are much larger than the carbon dioxide molecules which make up the atmosphere.

The fact that the atmosphere is very thin on Mars means scattering from dust is relatively more important than it would be on Earth.

So next time you’re lying in the grass looking up at white clouds float across a stunning blue sky, spare a moment to think about the physics responsible for what you’re seeing.