Why the sky is blue and the sunset red Image: Wikimedia Commons (CC0)

Why the sky is blue and the sunset red

Sunlight is white, which means it contains every colour at roughly equal strength. The air between you and the Sun is transparent. Yet the sky away from the Sun is blue, the Sun itself looks yellow at noon, and at sunset the same Sun is orange or red and the clouds above it are lit in the same colours. The three facts have one cause, and it fits in a single formula.

Scattering by molecules

The molecules of nitrogen and oxygen that make up 99 % of dry air are about a thousand times smaller than the wavelength of visible light. When a light wave passes such a molecule, the wave's electric field pushes the molecule's electrons back and forth, and the oscillating electrons radiate a little light of their own in all directions. This is scattering. For particles much smaller than the wavelength the amount scattered rises very steeply as the wavelength falls: it goes as the inverse fourth power of the wavelength. Lord Rayleigh derived the law in 1871, and it carries his name.

Take blue light at 450 nm and red light at 700 nm. The ratio of the wavelengths is 700/450, which is 1.56, and the fourth power of 1.56 is about 5.9. A given volume of air scatters blue light almost six times more strongly than red. Violet, at 400 nm, is scattered more strongly still, by a factor of 9.4 relative to red, and the sky would be violet if the Sun emitted as much violet as blue and if the eye were as sensitive to it. It emits less, and the eye is much less sensitive, so the mixture that reaches the eye from a clear sky is perceived as blue.

The molecule scatters in all directions, which is why the whole sky is lit rather than the part near the Sun alone. Look at any patch of clear sky and you are seeing sunlight that was travelling in some other direction until a molecule in that patch turned it towards you, and blue light is turned six times more often than red. The light is also polarized: scattered light is strongest at right angles to the Sun, and there it is mostly polarized, which a pair of polarizing sunglasses shows if you tilt your head while looking at the sky 90° from the Sun.

The path through the air

The second half of the explanation is the amount of air the light crosses. Looking straight up, the atmosphere above you is equivalent to a layer about 8 km thick at sea-level density. This is the scale height of the atmosphere, the height over which the pressure falls by a factor of e, which Unit 1 of the masterclass derives from the gas law and hydrostatic balance. Of the blue light entering the top of the atmosphere, that 8 km of air scatters about a fifth out of the direct beam. Of the red, about a twentieth. The Sun at noon is therefore slightly depleted in blue, which is why it looks pale yellow rather than white, and the sky has gained the blue that the beam lost.

At sunset the beam comes in almost horizontally and crosses far more air before it reaches the ground. Geometry on a curved Earth gives a path at the horizon about 38 times longer than the vertical one. The scattering compounds along the path, and the fraction of blue light that survives 38 scale heights is tiny: about two hundredths of a percent, if each scale height removes a fifth. The red survives far better. What arrives at your eye from the direction of the Sun is light from which nearly all the blue and most of the green have been removed on the way, and that is orange or red. The clouds you see lit at sunset are lit by that same beam, from below, which is why a layer of altocumulus turns pink while the sky between the clouds, which you see by scattered light, stays blue for a while longer.

Why clouds are white

Cloud droplets are about 10 micrometres across, twenty times larger than the wavelength of light, and for particles that size the fourth-power law does not apply. Large particles scatter all visible wavelengths about equally, a regime worked out by Gustav Mie in 1908, and so a cloud lit by white light looks white. Haze and smoke sit between the two regimes, and their colour depends on the size of their particles. Fine smoke from distant forest fires, with particles near a few hundred nanometres, reddens the Sun at midday, and the dust of a Saharan outbreak over Europe gives a milky, pale sky. Very fine volcanic aerosol in the stratosphere, after an eruption such as Pinatubo in 1991, makes sunsets purple for a year or more, because the particles scatter the long wavelengths at an angle that lights the sky after the Sun has gone down.

The blue of twilight and the colour of the Moon

The deep blue of the sky twenty minutes after sunset has a second cause. Ozone in the stratosphere absorbs weakly in the orange and red part of the spectrum, and when the only sunlight still reaching the sky overhead has crossed hundreds of kilometres of the upper atmosphere, that absorption is enough to tint the sky. Without ozone the twilight sky would be a yellowish grey.

The Moon looks grey from the Earth and almost white from orbit for the same reason that the Sun looks yellow: its light crosses the atmosphere and loses some blue. During a total lunar eclipse the Moon turns copper because the only sunlight reaching it has passed through the Earth's atmosphere at the horizon, from every sunrise and sunset on Earth at once, and all of it is red.

What the colour tells a forecaster

Red sky at night, shepherd's delight, is a rhyme with some physics in it. In the mid-latitudes the weather comes from the west. A red sunset means that the air to the west, through which the light has travelled, is clear and dry, with the beam reaching high clouds overhead without being blocked by low cloud or rain. Clear air to the west in the evening often means a high-pressure system on its way. A red sunrise, by the same reasoning, means clear air to the east, which is the air that has already passed, and the high cloud overhead that is catching the light may be the leading edge of a warm front coming from the west. The rhyme fails in the tropics, where the weather does not travel from the west, and it fails whenever the sky is red because of dust or smoke rather than clear air.

A more reliable sign is the depth of the blue. A deep blue sky means clean air with little aerosol; a pale, whitish sky at noon means haze, which in summer often means a stagnant high with pollution trapped under an inversion, and in spring it can mean Saharan dust. Pilots use the horizontal visibility that the same aerosol limits, and a weather observer reports the visibility in kilometres as part of every routine report.

The fourth-power law is one line of algebra, and it accounts for the blue of the day, the red of the evening, the pale noon Sun, and the colour of the eclipsed Moon. Unit 2 of the masterclass treats radiation in the atmosphere more generally: the solar spectrum, the absorption by water vapour and carbon dioxide that keeps the surface 33 degrees warmer than it would otherwise be, and the energy balance that the whole weather runs on. The curriculum has the list of topics, and the article on why fog forms on clear nights uses the same radiation physics at the ground.

Understand the weather properly

The Meteorology Masterclass: weekly units, quizzes, a final exam, and a certificate.
About the program