Admin

Why Is the Sky Blue and Sunsets Red? Rayleigh Scattering Explained

The sky is blue because the nitrogen and oxygen molecules in air scatter short-wavelength light far more strongly than long-wavelength light, a process called Rayleigh scattering. Its strength goes as 1/λ⁴, so blue light at 450 nm is scattered about 5.9 times as much as red light at 700 nm, and that scattered blue reaches your eyes from every direction of the sky. At sunset, sunlight crosses up to about 38 times as much air, so most of the blue is scattered out of the beam on the way, leaving orange and red.

Diagram: white sunlight enters the atmosphere from the left; air molecules scatter blue light in all directions, so an observer on the ground sees blue from every part of the sky, while red and orange light continues mostly straight on
Figure 1. Air molecules scatter blue light out of the sunbeam in every direction, so blue reaches your eyes from the whole sky; most red and orange light carries straight on.

Sunlight is a mix of every color

Sunlight looks white, but it is a blend of all the colors of the rainbow, each with its own wavelength. NASA gives the range the human eye can detect as roughly 380 to 700 nanometers (nm), and some references stretch the red end to about 750 nm. Violet sits at the short end, followed by blue, green, yellow and orange, with red at the long end.

A prism or a raindrop bends these colors apart. Clear air does something subtler: it redirects a small share of the light sideways, and how much it redirects depends very strongly on wavelength. That single fact explains the blue sky, the red sunset and, by contrast, the white cloud.

Rayleigh scattering: the 1/λ⁴ rule, worked out

When light meets a particle much smaller than its wavelength, the light's oscillating electric field makes the particle's electrons vibrate, and they re-radiate light in all directions. Nitrogen and oxygen molecules are well under a nanometer across, roughly a thousand times smaller than a wave of visible light, so they scatter in this regime, named after the 19th-century physicist Lord Rayleigh. The scattered intensity is proportional to 1/λ⁴, which is the same as saying it rises with the fourth power of frequency. Halve the wavelength and scattering grows 2⁴ = 16 times.

To compare blue (450 nm) with red (700 nm), divide the wavelengths and raise the result to the fourth power: 700 ÷ 450 = 1.556, and 1.556⁴ ≈ 5.86. Blue light is therefore scattered almost six times as strongly as red. The table repeats the calculation across the spectrum.

WavelengthColorCalculationScattering relative to 700 nm
400 nmViolet(700/400)⁴9.38×
450 nmBlue(700/450)⁴5.86×
550 nmGreen(700/550)⁴2.62×
650 nmRed(700/650)⁴1.35×
700 nmDeep red(700/700)⁴1.00×
Bar chart of Rayleigh scattering strength relative to 700 nm red light: 400 nm violet 9.38, 450 nm blue 5.86, 550 nm green 2.62, 650 nm red 1.35, 700 nm deep red 1.00
Figure 2. Relative Rayleigh scattering strength, calculated as (700/λ)⁴. Blue light at 450 nm is scattered 5.86 times as strongly as red light at 700 nm.

You will see other multiples quoted, because the answer depends on which wavelengths you call "blue" and "red." NOAA, for example, describes blue as scattering about four times more strongly than red, which matches roughly 460 nm against 650 nm. The rule is the same in every case; only the endpoints differ.

Why isn't the sky violet?

If scattering were the whole story, the sky would look violet: at 400 nm, violet is scattered (450 ÷ 400)⁴ ≈ 1.6 times as strongly as 450 nm blue. Three things tip the balance toward blue.

  1. Sunlight carries less violet than blue. The Sun does not emit an even mix of colors, and its output falls off toward the violet end before the light even reaches Earth.
  2. Violet is used up on the way down. Because violet scatters most, it is also stripped from the incoming sunbeam fastest, so less of it is left deep in the atmosphere to be scattered toward you.
  3. Your eyes are less sensitive to violet. The three types of color-sensing cone cells overlap and respond weakly at the violet end. The brain combines plenty of blue and violet with smaller amounts of green and red into a pale, whitish blue.

So skylight is not a single pure color. It is a broad mixture weighted toward short wavelengths, and human vision reports that mixture as "sky blue."

Why sunsets are red and orange

Sunset colors come from the same scattering, seen from the other end of the beam. Around midday, sunlight takes a short path down through the atmosphere. When the Sun is low, its light skims through far more air, and blue and violet are scattered out of the beam along the way. What survives the trip is weighted toward yellow, orange and red, and that light colors the Sun's disk and the undersides of clouds.

Astronomers and solar engineers describe this path with the air mass: the length of the light's path through the atmosphere divided by the path when the Sun is straight overhead. The values below come from the Kasten–Young formula, which allows for Earth's curvature.

Sun's height above the horizonRelative air mass
90° (overhead)1
30°2.0
10°5.6
5°10.3
0° (on the horizon)About 38
Two-panel diagram: with the Sun overhead, sunlight crosses a short path of air and stays white; at sunset it crosses about 38 times as much air, loses its blue and arrives orange-red. Cards give relative air mass 1, 2.0, 5.6, 10.3 and about 38 for Sun heights of 90, 30, 10, 5 and 0 degrees
Figure 3. A low Sun shines through far more air. At the horizon the path is about 38 times the overhead path, so blue is scattered away and orange and red remain.

Each stretch of air removes another share of the blue, so a path 38 times longer strips it out almost completely. Dust, pollution and other aerosols scatter light too and can make sunsets redder still. The same effect explains why the sky near the horizon looks paler than the sky overhead: light reaching you from low angles has crossed so much air that its blue has been scattered and re-scattered into a whitish mix.

Clouds and Mars: when bigger particles change the color

Why clouds are white (or gray)

Cloud droplets are enormous compared with air molecules. A typical droplet is about 20 micrometers (0.02 mm) across, around 40 times the wavelength of green light. Particles of that size produce Mie scattering, which treats all visible wavelengths about equally. Light scattered by a cloud keeps its full mix of colors, so the cloud looks white. As a cloud thickens, less sunlight gets through, and its base turns gray.

  • Air molecules (well under 1 nm): Rayleigh scattering, strongly favors blue, giving blue skies and red sunsets.
  • Cloud droplets (about 2–50 micrometers): Mie scattering, nearly color-neutral, giving white or gray clouds.
Comparison diagram: a tiny air molecule scatters mostly blue light (Rayleigh scattering, blue sky), while a cloud droplet about 20 micrometers across scatters all colors about equally (Mie scattering, white cloud)
Figure 4. Particle size decides the color. Tiny molecules favor blue (Rayleigh scattering); cloud droplets scatter all colors about equally (Mie scattering), so clouds look white.

Why Mars has blue sunsets

Mars shows how much the particles matter. Its atmosphere is very thin and mostly carbon dioxide, and fine dust suspended in it does most of the coloring, so the daytime sky looks orange to reddish. Near sunset the pattern flips: the dust lets blue light through slightly more efficiently, so a blue-gray glow gathers around the setting Sun. NASA's Curiosity rover photographed this in Gale Crater in 2015.

FAQ

Is the sky blue because it reflects the ocean?

No. The color is produced by the air itself, which is why the sky is just as blue over deserts and mountains far from the sea.

Why is the sky black in space or on the Moon?

Without air there is nothing to scatter sunlight toward you from directions away from the Sun. Above the atmosphere, or on the airless Moon, the sky stays black even in full daylight.

Why does the Moon turn red during a total lunar eclipse?

The only sunlight reaching the eclipsed Moon has been filtered through a thick slice of Earth's atmosphere, which removes blue just as it does at sunset. NASA describes it as if all the world's sunrises and sunsets were projected onto the Moon.

Sources: NASA Space Place: Why is the sky blue?; NOAA JetStream: The Color of Clouds; West Texas A&M University (Christopher S. Baird): Why is the sky blue?; PVEducation: Air Mass.

Related reading

Original illustrations created to help explain this article.