Skip to content
Starts With A Bang

Why the sky is blue, according to science

The combination of a blue sky, dark overhead, lighter near the horizon, along with a reddened Sun at either sunrise or sunset, can all be explained scientifically. Here’s how. Image credit: Robert Villalta / Pexels.

If you’ve ever wondered where it gets its blue color from, physics has you covered.

“That’s a misconception, Lennie. The sky is everywhere, it begins at your feet.” –Jandy Nelson

One of the first questions a curious child often asks about the natural world is “why is the sky blue?” Yet despite how widespread this question is, there are many misconceptions and incorrect answers bandied about — because it reflects the ocean; because oxygen is a blue-colored gas; because sunlight has a blue tint — while the right answer is often thoroughly overlooked. In truth, the reason the sky is blue is because of three simple factors put together: that sunlight is made out of light of many different wavelengths, that Earth’s atmosphere is made out of molecules that scatter different-wavelength light by different amounts, and the sensitivity of our eyes. Put these three things together, and a blue sky is inevitable. Here’s how it all comes together.

Light of many different wavelengths, not all of which are visible, are emitted by the Sun. The atmosphere affects every unique wavelength differently, resulting in the full suite of optical phenomena we can observe. Image credit: Negative Space / Pexels.

Sunlight is made up of all the different colors of light… and then some! The photosphere of our Sun is so hot, at nearly 6,000 K, that it emits a wide spectrum of light, from ultraviolet at the highest energies and into the visible, from violet all the way to red, and then deep into the infrared portion of the spectrum. The highest energy light is also the shortest-wavelength (and high-frequency) light, while the lower energy light has longer-wavelengths (and low-frequencies) than the high-energy counterparts. When you see a prism split up sunlight into its individual components, the reason the light splits at all is because of the fact that redder light has a longer wavelength than the bluer light.

Schematic animation of a continuous beam of light being dispersed by a prism. If you had ultraviolet and infrared eyes, you’d be able to see that ultraviolet light bends even more than the violet/blue light, while the infrared light would remain less bent than the red light does. Image credit: LucasVB / Wikimedia Commons.

The fact that light of different wavelengths responds differently to interactions with matter proves extremely important and useful in our daily lives. The large holes in your microwave allow short-wavelength visible light in-and-out, but keep longer-wavelength microwave light in, reflecting it. The thin coatings on your sunglasses reflect ultraviolet, violet, and blue light, but allow the longer-wavelength greens, yellows, oranges, and reds to pass through. And the tiny, invisible particles that make up our atmosphere — molecules like nitrogen, oxygen, water, carbon dioxide, as well as argon atoms — all scatter light of all wavelengths, but scatter the shorter-wavelengthlight much more efficiently.

When the Sun is high overhead, the sky towards the zenith is a much darker blue, while the sky towards the horizon is a lighter, brighter cyan color. This is due to the larger amount of atmosphere, and the larger amount of scattered light, that is visible at low angles on the sky. Image credit: Karsten Kettermann / Pixabay.

Because these molecules are all much smaller than the wavelength of light itself, the shorter the light’s wavelength is, the better it scatters. In fact, quantitatively, it obeys a law known as Rayleigh scattering, which teaches us that the violet light at the short-wavelength limit of human vision scatters more than nine times more frequently than the red light at the long-wavelength limit. (The scattering intensity is inversely proportional to the wavelength to the fourth power: I ∝ λ-4.) While sunlight falls everywhere on the day side of Earth’s atmosphere, the redder wavelengths of light are only 11% as likely to scatter, and therefore make it to your eyes, as the violet light is.

Some opalescent materials, like the one shown here, have similar Rayleigh scattering properties to the atmosphere. With white light illuminating this stone from the upper right, the stone itself scatters blue light, but allows the orange/red light to preferentially pass through undeterred. Image credit: optick / flickr.

When the Sun is high in the sky, this is why the entire sky is blue. It appears a brighter blue the farther away from the Sun you look, because there’s more atmosphere to see (and therefore more blue light) in those directions. In any direction you look, you can see the scattered light coming from the sunlight striking the entirety of the atmosphere between your eyes and where outer space begins. This has a few interesting consequences for the color of the sky, depending on where the Sun is and where you’re looking.

From very high altitudes in the pre-sunrise or post-sunset skies, a spectrum of colors can be seen, caused by the scattering of sunlight, multiple times, by the atmosphere. Image credit: Public domain.

If the Sun is below the horizon, the light all has to travel through large amounts of atmosphere. The bluer light gets scattered away, in all directions, while the redder light is far less likely to get scattered, meaning it arrives at your eyes. If you’re ever up in an airplane after sunset or before sunrise, you can get a spectacular view of this effect.

The atmosphere of Earth, as seen during sunset in May of 2010 from the International Space Station. Image credit: NASA / ISS.

It’s an even better view from space, from the descriptions and also the images that astronauts have returned.

With a large amount of atmosphere to pass through, light from the Sun (or Moon) reddens tremendously when it’s close to the horizon. Farther away from the Sun, the sky turns gradually bluer. Image credit: Max Pixel /

During sunrise/sunset or moonrise/moonset, the light coming from the Sun (or Moon) itself has to pass through tremendous amounts of atmosphere; the closer to the horizon it is, the more atmosphere the light must pass through. While the blue light gets scattered in all directions, the red light scatters much less efficiently. This means that both the light from the Sun’s (or Moon’s) disk itself turns a reddish color, but also the light from the vicinity of the Sun and Moon — the light that hits the atmosphere and scatters just once before reaching our eyes — is preferentially reddened at that time.

The total eclipse, as seen in Madras, Oregon in this picture, resulted in not only a spectacular view of the Sun, but of the horizon surrounding everyone in the path of totality. Image credit: Rob Kerr/AFP/Getty Images.

And during a total solar eclipse, when the Moon’s shadow falls over you and prevents direct sunlight from hitting large sections of the atmosphere near you, the horizonturns red, but no place else. The light striking the atmosphere outside the path of totality gets scattered in all directions, which is why the sky is still visibly blue in most places. But near the horizon, that light that gets scattered in all directions is very likely to get scattered again before it reaches your eyes. The red light is the most likely wavelength of light to get through, eventually surpassing the more-efficiently-scattered blue light.

Rayleigh scattering affects blue light more severely than red, but of the visible wavelengths, violet light is scattered the most. It’s only due to the sensitivity of our eyes that the sky appears blue and not violet. Image credit: Dragons flight / KES47 of Wikimedia Commons.

So with all that said, you probably have one more question: if the shorter-wavelength light is scattered more efficiently, why doesn’t the sky appear violet? Indeed, there actually is a greater amount of violet light coming from the atmosphere than blue light, but there’s also a mix of the other colors as well. Because your eyes have three types of cones (for detecting color) in them, along with the monochromatic rods, it’s the signals from all four that need to get interpreted by your brain when it comes to assigning a color.

The light response of the human eye, normalized, in terms of the three types of cones and (dashed line) the monochromatic rods. Image credit: George Wald / Hektoen International Journal.

Each type of cone, plus the rods, are sensitive to light of different wavelengths, but all of them get stimulated to some degree by the sky. Our eyes respond more strongly to blue, cyan, and green wavelengths of light than they do to violet. Even though there’s more violet light, it isn’t enough to overcome the strong blue signal our brains deliver.

The gravitational pull on the gases in our atmosphere cause a substantial surface pressure, giving rise to liquid oceans. Image credit: NASA Goddard Space Flight Center Image by Reto Stöckli, Terra Satellite / MODIS instrument.

It’s that combination of three things together:

  1. the fact that sunlight is made up of light of many different wavelengths,
  2. that atmospheric particles are very small and scatter the shorter-wavelength light much more efficiently than longer-wavelength light,
  3. and that our eyes have the responses they do to various colors,
Travel the Universe with astrophysicist Ethan Siegel. Subscribers will get the newsletter every Saturday. All aboard!

that makes the sky appear blue to humans. If we could see into the ultraviolet very efficiently, the sky would likely appear more violet and ultraviolet; if we only had two types of cones (like dogs), we could see the blue sky during the day, but not the reds, oranges, and yellows of sunset. But don’t be fooled: when you look at the Earth from space, it’s blue, too, but the atmosphere has nothing to do with it!

Ethan Siegel is the author of Beyond the Galaxy and Treknology. You can pre-order his third book, currently in development: the Encyclopaedia Cosmologica.


Up Next