Why is the sky blue and the sunset red?
One effect explains both: air scatters short wavelengths of sunlight far more than long ones. Which colour reaches you depends on how much air the light crosses.
Look up on a clear day and the sky is a deep blue. Look west a few hours later and the same sky burns orange and red. It seems odd that one sky can be two such different colours, but the same piece of physics explains both.
Sunlight is every colour at once#
Sunlight looks white, but it is a mixture of all the colours of the rainbow, each with its own wavelength. Blue light has a short wavelength and red light has a long one. When this light enters the atmosphere, it meets billions of air molecules and a scattering of tiny particles, and it is bounced in new directions.
Why the daytime sky is blue#
The molecules that make up air are much smaller than the wavelengths of visible light. Particles that small scatter short wavelengths far more strongly than long ones. NASA's educational material gives the rule as an inverse fourth-power relationship with wavelength, which means that shorter wavelengths are scattered much, much more.
So when you look at a part of the sky away from the sun, the light reaching your eyes is mostly sunlight that was scattered sideways on its way down. Because blue is scattered most, that scattered light is dominated by blue, and the sky looks blue.
Why sunsets are red#
At midday the sun's light takes a fairly short path through the atmosphere. When the sun is low, near the horizon, the light has to cross a much greater thickness of air before it reaches you.
Along that longer path, a large share of the blue light is scattered out of the direct beam and sent off in other directions. What is left travelling straight towards you is richer in the longer wavelengths: orange and red. NOAA's Storm Prediction Center puts it neatly: sunsets are red because the daytime sky is blue. The same scattering that fills the sky with blue light is what removes it from the sun's direct light at the end of the day.
What dust and haze do#
Air is not only gas. It also carries dust, smoke, water droplets and pollution. These particles are larger than air molecules, and they scatter all colours much more evenly. That has some visible consequences:
- A hazy sky looks paler, greyer or whiter than a clear one, because the extra scattering is not favouring blue.
- Dirty air can dull sunset colours.
- Volcanic particles that reach high into the atmosphere have been linked to especially vivid sunsets.
Try it yourself#
You can see the effect for yourself. Compare the sky at midday with the sky an hour before sunset. Notice that the colour is deepest in the part of the sky furthest from the sun, and that the sun itself looks yellower the lower it gets. After a rainstorm, when the air is cleaner, the blue is often richer.
The next time someone asks why the sky is blue, you can answer with one idea: small molecules scatter blue light the most, and the colour you see depends on how much air the light has crossed.
Sources#
- Met Office, Why the sky is blue and sunsets red, Optical effects. https://weather.metoffice.gov.uk/learn-about/weather/optical-effects/why-is-the-sky-blue
- NASA Goddard Institute for Space Studies, Aerosols in the Atmosphere, Instructional resources. https://www.giss.nasa.gov/edu/icp/research/ppa/1997/reyes/
- NOAA Storm Prediction Center, The Science of Sunsets. https://www.spc.noaa.gov/publications/corfidi/sunset.html
- NASA Space Place, Why Is the Sky Blue? https://spaceplace.nasa.gov/blue-sky/en/