Physics

Why Sky is Blue? And the connection to Rayleigh Scattering

Sang Trần Minh

Jan 11, 2026

The sky color is blue

If you were to ask a child to draw a picture of a sunny day, they would almost instinctively reach for a blue crayon to color the sky. It is a fact of life so constant that most adults rarely stop to question it. We simply accept that the sky is blue, just as we accept that grass is green or snow is white.

But from a physics perspective, the blue sky is actually quite strange. Space, which is just a few miles above our heads, is pitch black. The sun, which provides the light, looks white or pale yellow. So where does this vibrant blue come from? For a long time, people believed it was a reflection of the oceans, but this is a myth; if it were true, the sky over the middle of a continent like North America or Asia would be brown or green, which it isn't.

For centuries, this question puzzled some of history's greatest thinkers. Leonardo da Vinci suspected it had something to do with the mixture of light and darkness.[1] Isaac Newton realized that white light was a mixture of colors, but he couldn't quite pin down the exact mechanism of the sky.[2] It wasn't until the 19th century that a British physicist named John William Strutt, better known as Lord Rayleigh, finally cracked the code.

John William Strutt (Lord Reyleigh)

Lord Rayleigh’s Discovery

The answer lies in a chaotic game of billiards happening billions of times a second right above your head. It is a phenomenon we now call Rayleigh Scattering.

To understand it, we just need to understand two things: the behavior of waves and the nature of the air we breathe. Lord Rayleigh discovered that when light moves through a transparent material (like air), it crashes into the atoms and molecules that make up that material. However, he found that not all light crashes in the same way. The interaction depends entirely on the specific color of the light and the size of the particle it hits.

The Spectrum of Light

To understand the sky, we first have to understand the sunlight that paints it. When we look at the sun (which you should never do directly), the light appears white. But "white" is not a single color in the way that red or green is. White is a mixture—a camouflage worn by a combination of every color in the visible spectrum blended together.

White light is actually composed of a spectrum of colors, ranging from low-energy red waves to high-energy violet waves.

Think of sunlight not as a single beam, but as a busy highway packed with different types of vehicles traveling together. Each color corresponds to a specific energy and, crucially, a specific wavelength.[3]

  • Red light travels in long, rolling waves. It is the "lazy" traveler of the spectrum, with a wavelength of about 700 nanometers.

  • Blue and Violet light travel in short, choppy, high-energy waves.5 They are the "frantic" travelers, with a wavelength of about 400 nanometers.

When this multi-colored traffic jam reaches Earth, it doesn't just hit the ground immediately. It has to navigate through the atmosphere first. The atmosphere isn't empty space; it is a dense fog of gas molecules, predominantly nitrogen (78%) and oxygen (21%).[4]

The Physics of Scattering

This is where the physics of "scattering" comes into play. Scattering is simply what happens when a particle of light (a photon) hits an obstacle and changes direction. However, the way it bounces depends entirely on the size of the obstacle compared to the size of the wave.

Here is the fundamental rule you need to know: Rayleigh scattering only happens when the particle is much, much smaller than the wavelength of the light.

The oxygen and nitrogen molecules in our air are tiny—about 1000 times smaller than a wave of light. Because they are so small, they interact very differently with the long waves of red light versus the short waves of blue light.

Tiny gas molecules scatter the short blue waves in all directions, while the long red waves pass through largely undisturbed.

Imagine you are standing at the edge of a pond.

  • If a large rolling wave (like a boat wake) hits a small rock sticking out of the water, the wave barely notices. It rolls right over the rock and keeps going.

  • However, if tiny, choppy ripples hit that same rock, they get disrupted. They bounce off the rock, splashing in every direction.

In the atmosphere, red light is the large rolling wave. It passes over the tiny gas molecules without much trouble. Blue light is the tiny ripple. It hits the gas molecules and gets scattered in every direction—up, down, and sideways.[5]

The Invisible Antenna

What is really happening when a light wave hits a gas molecule? It isn't actually bouncing like a ball off a wall; it is an electromagnetic interaction.

Light is an electromagnetic wave, which means it carries an oscillating electric field.[6] When this wave passes a nitrogen molecule, it pushes and pulls on the electrons inside that molecule. The molecule’s positive nucleus is pulled one way, and its negative electron cloud is pushed the other.[7]

This creates an electric dipole—a separation of positive and negative charge. Because the light wave is oscillating (wiggling), the dipole starts to wiggle, too. The molecule effectively becomes a tiny antenna. As it wiggles, it absorbs the light's energy and re-radiates it.

However, this "molecular antenna" works much better for high-frequency signals. Blue light oscillates incredibly fast, so it grabs onto the electrons and shakes them violently, causing them to re-radiate (scatter) that energy in all directions. Red light oscillates slowly; the electrons barely respond, so the red light passes by with very little interaction. This process is considered “elastic scattering” meaning the light changes direction but does not lose energy.[8]

The Inverse Fourth Power Law

Lord Rayleigh quantified this effect with a mathematical formula that is surprisingly simple in its implication.[9] He discovered that the intensity of scattered light is inversely proportional to the fourth power of the wavelength.[10,11,12]

Where is number of scatters, is polarizability and is distance for scatter. Therefore we have

This is the "Inverse Fourth Power Law." It is the academic heart of this phenomenon. Let’s plug in some simple numbers to see why this matters so much.

  • Let's assume Red light has a wavelength of unit. The scattering intensity is

  • Blue light has a wavelength roughly half that of red (0.5 units). The scattering intensity is

  • Since to the power of is , and divided by is , blue light scatters 16 times more intensely than red light in this simplified model.

In the real atmosphere, blue light scatters about 10 times more efficiently than red.[13] This massive difference is why the effect is so dominant. The blue light is scattered so aggressively that it fills the entire sky, raining down on our eyes from every direction, while the red light mostly shoots straight through to the ground.

Why the Sky is Blue (and not Violet)

Based on everything we just discussed, you might notice a flaw in the logic. If you look at a rainbow, you will see that violet is actually at the very end of the spectrum. It has an even shorter wavelength than blue. According to Rayleigh’s equation( ), violet should scatter even more than blue. So, why isn't the sky purple?

The answer lies not in the sky, but in our heads. This is a perfect example of how physics meets biology.

First, the sun is not an equal-opportunity emitter. The spectrum of light coming from the sun peaks in the blue/green range and drops off significantly in the violet range.[14] There is simply less violet light entering our atmosphere to begin with.

Second, and most importantly, the human eye is biased. Our retinas contain three types of color-detecting cells, called cones: Red, Green, and Blue.[15] We do not have "Violet" cones. When we see violet light, it stimulates our Blue cones and a little bit of our Red cones. However, our eyes are incredibly sensitive to blue. When the mixture of scattered violet and blue light hits our eyes, the strong signal from the blue receptors overwhelms the weaker violet signal. If humans had eyes like honeybees (who can see UV and violet very well), the sky might indeed look purple!

The Sunset: A Change in Geometry

If Rayleigh scattering turns the sky blue, how can it possibly be responsible for the red sunset? It seems contradictory, but it is actually the same process taken to the extreme.

At noon, the sun is directly overhead. The light travels through a relatively thin layer of atmosphere (maybe 10-20 miles of dense air). The blue scatters, and we see a blue sky.

But at sunset, the sun is on the horizon. The light is striking the atmosphere at a low angle.[16] To reach your eyes, that light has to travel through hundreds of miles of air. It is passing through 10 to 20 times more atmosphere than it did at noon.
This long journey acts as a heavy filter.

  • The blue light scatters almost immediately.

  • As the light continues, the green light scatters away.

  • Eventually, even the yellow light scatters away.

By the time the beam of light reaches your eyes, all the shorter wavelengths have been scattered out of the main beam. They were lost miles ago, scattered into the skies of people in different time zones. The only wavelengths "tough" enough to survive the long journey without being scattered are the long red and orange waves. The sunset is effectively the "leftover" light—the survivors of the atmospheric obstacle course.

When Rayleigh Fails (Clouds and Fog)

Finally, you might wonder why clouds are white. If they are in the sky, why don't they scatter blue light like the rest of the air?

This highlights an important limitation of Rayleigh scattering. Remember the Golden Rule: the particle must be smaller than the light wave. Clouds are made of water droplets.[17] While small to us, these droplets are gigantic compared to a nitrogen molecule—and larger than the wavelength of light.

When light hits a water droplet, Rayleigh scattering stops working and Mie Scattering takes over. Mie scattering is not picky; it scatters all wavelengths roughly equally.[18] When you mix red, blue, and green light together equally, our eyes perceive the result as white.[19] This is why clouds, fog, and mist appear white or gray, rather than blue. It is the visual difference between a molecular interaction (Rayleigh) and a physical reflection (Mie).

References

For readers interested in exploring the primary sources and deeper mathematics of this topic, the following resources are recommended:

  1. Historical Context (Da Vinci): Hecht, Eugene. (2016). Optics (5th Edition). Pearson.

  2. Historical Context (Newton): Hecht, Eugene. (2016). Optics (5th Edition). Pearson.

  3. Wavelengths of Light: NASA Langley Research Center. "Atmospheric Scattering."

  4. Atmospheric Composition: NASA Langley Research Center. "Atmospheric Scattering."

  5. Scattering Mechanics: HyperPhysics. "Rayleigh Scattering." Georgia State University.

  6. Electromagnetic Fields: Bohren, C. F., & Huffman, D. R. (1983). Absorption and Scattering of Light by Small Particles. Wiley-VCH.

  7. Dipole Interaction: Bohren, C. F., & Huffman, D. R. (1983). Absorption and Scattering of Light by Small Particles. Wiley-VCH.

  8. Elastic Scattering: HyperPhysics. "Rayleigh Scattering." Georgia State University.

  9. Mathematical Derivation: Strutt, J.W. (Lord Rayleigh). (1871). "On the light from the sky, its polarization and colour." Philosophical Magazine.

  10. Definition of Intensity (I): Strutt, J.W. (Lord Rayleigh). (1871). Philosophical Magazine.

  11. Definition of Wavelength (λ): Hecht, Eugene. (2016). Optics (5th Edition).

  12. The Inverse Fourth Power Law: Strutt, J.W. (Lord Rayleigh). (1871). Philosophical Magazine.

  13. Scattering Efficiency (Blue vs Red): HyperPhysics. "Rayleigh Scattering." Georgia State University.

  14. Solar Spectrum Emission: NASA Langley Research Center. "Atmospheric Scattering."

  15. Human Eye Biology (Cones): Hecht, Eugene. (2016). Optics (5th Edition). Pearson.

  16. Atmospheric Path Length: NASA Langley Research Center. "Atmospheric Scattering."

  17. Particle Size (Water Droplets): Bohren, C. F., & Huffman, D. R. (1983). Absorption and Scattering of Light by Small Particles.

  18. Mie Scattering Principles: Bohren, C. F., & Huffman, D. R. (1983). Absorption and Scattering of Light by Small Particles.

  19. Perception of White Light: Hecht, Eugene. (2016). Optics (5th Edition). Pearson.