Why is the sky blue?

Look up on a clear day and the sky is blue. But the light that comes from the Sun is white — a mix of all the colours of the rainbow. So where does the blue come from?
Light meets air
On its way to us, sunlight passes through the atmosphere. Air is made of tiny molecules, mostly nitrogen and oxygen, far smaller than the waves of light. When light hits them, part of it bounces off in every direction. Scientists call this scattering.
The key is that short waves scatter much more than long ones. Blue light has a short wavelength, red light a long one. Blue is scattered roughly five to six times more than red. So blue light ends up coming at us from every part of the sky — and the whole sky glows blue.

Why not violet?
Violet waves are even shorter, so they scatter even more. But the Sun sends us less violet light, some of it is absorbed high in the atmosphere, and our eyes are much more sensitive to blue. Together, we see blue.
And sunsets?
At sunset, light reaches us at a low angle and travels through far more air. Most of the blue is scattered away before it arrives, and what is left is orange and red.
Mini quiz
3 questions — choose one answer each.