It is one of the first scientific questions a child asks. Why is the sky blue? The answer most adults give — "because of the atmosphere" — is true but unsatisfying. Why doesn't the atmosphere make the sky green, or violet, or some sober gray? Why blue specifically? And why does the same atmosphere produce a red sky at sunset, when nothing about the air has changed?
The full answer was worked out in the 1870s by the British physicist John William Strutt — better known as Lord Rayleigh — and it turns out to be a small masterpiece of physics. The phenomenon is called Rayleigh scattering, and once you understand it, you start noticing it everywhere.
What Sunlight Actually Is
Sunlight looks white. It is not. Sunlight is a mixture of all the visible wavelengths — what Newton famously demonstrated by passing a beam through a prism, splitting it into red, orange, yellow, green, blue, indigo, and violet. Each color is a different wavelength of electromagnetic radiation. Red has the longest visible wavelength, around 700 nanometers; violet the shortest, around 400 nanometers.
When sunlight enters Earth's atmosphere, it encounters trillions of molecules, mainly nitrogen and oxygen. Most of the light passes through without being deflected at all. But some of it gets scattered — bounced off in random directions by interactions with these molecules.
Here is the crucial fact, and the one Lord Rayleigh worked out mathematically: the amount of scattering depends very strongly on the wavelength of the light. Specifically, the intensity of scattering goes as 1/λ⁴. That fourth-power relation is doing nearly all the work.
Why the Math Matters
A 1/λ⁴ relationship is steep. It means that shorter wavelengths are scattered far more than longer ones — not slightly more, but dramatically so.
Run the numbers. Violet light (~400 nm) is scattered roughly 9 to 10 times more strongly than red light (~650 nm) of the same intensity. Blue light (~450 nm) is scattered about 5 to 6 times more strongly than red.
When sunlight passes through the atmosphere, the blue and violet wavelengths get bounced around in every direction. Look up at any patch of daytime sky away from the sun, and what you are seeing is not direct sunlight but the scattered light — predominantly the short wavelengths, predominantly blue.
Then Why Isn't the Sky Violet?
This is the question almost no one thinks to ask, and the answer is twofold.
First, sunlight contains less violet than blue to begin with — the sun's emission spectrum peaks closer to the green-yellow region. So even though violet is scattered slightly more than blue, there is less of it to scatter.
Second, the human eye is not equally sensitive to all wavelengths. Our cones — the color receptors — peak in sensitivity in the green region and have only modest sensitivity to deep violet. The combination of these two effects means our perception of the scattered light is dominated by blue, not violet, even though physics scatters the violet a bit more.
The sky is the color the eye sees when the atmosphere is mostly removing the short wavelengths from sunlight and re-emitting them in every direction. We are seeing scattered short-wavelength light, weighted by what our eyes can perceive.
Why Sunsets Are Red
The same scattering law explains the opposite-looking phenomenon at sunrise and sunset.
When the sun is overhead, sunlight passes through a relatively short path of atmosphere on its way to your eye. When the sun is at the horizon, that path becomes much longer — sometimes by a factor of 30 or more. The light is now traveling through enormously more air.
Along that long path, the short wavelengths — blue and violet — have already been scattered out of the direct beam by the time it reaches you. What remains in the direct light is mostly the long wavelengths: red, orange, and yellow. That is why the sun itself appears red or orange at sunset, and why the entire western sky often glows in warm tones. The blue light has been scattered into the distance; the red has come straight through.
The blue sky and the red sunset are two views of the same physics from different angles.
When Rayleigh Breaks Down
The 1/λ⁴ rule applies when the scattering particles are much smaller than the wavelength of light — true for nitrogen and oxygen molecules. But when the particles are comparable in size to the wavelength — as in fog, clouds, or smoke — a different physics takes over, called Mie scattering. Mie scattering is much less wavelength-dependent. It scatters all visible wavelengths roughly equally, which is why clouds and fog look white or gray. The water droplets in a cloud are too big to play favorites among the colors.
This is also why the sky over a city polluted with fine particles often looks washed out. The air is doing more Mie scattering, less Rayleigh.
Why It Matters Beyond the Sky
Rayleigh scattering is not just a curiosity about color. It shapes a great deal of how we perceive and study the natural world.
It is why distant mountains appear hazy and bluish — the long path of air between you and them scatters blue light into your line of sight. It is why a glass of water with a few drops of milk, lit from the side, glows faintly blue when viewed from one angle and faintly orange from another. It is one reason why fiber-optic communication systems cannot use arbitrarily short wavelengths: shorter wavelengths scatter more inside the fiber, attenuating the signal.
It is also a quietly elegant example of how a single physical principle — discovered by analyzing one strange feature of the world — turns out to explain many features at once. Rayleigh's calculation, done with pen and paper in the 1870s, still describes what happens every morning when the sun rises and the sky turns the color it has always turned.
The next time a child asks why the sky is blue, the deepest honest answer is: because of how light interacts with very small things, and because the shortest waves get tossed around the most. It is not a small piece of physics. It is the physics of how we see the world.



