Skip to main content
Season 3 ends in 16 d 22:16:04 $2,000 10,000 pts = 1 month Premium
Science

Why Is the Sky Blue? Rayleigh Scattering Explained

Published 16 min read
Open the post and read it to claim 30 points
Earth's horizon seen from orbit at sunrise, with a thin glowing blue layer of atmosphere under the black of space

Sign in and earn +30 points by reading this

Read to the end, wait a few seconds, then tap the claim button below.

In short

The sky is blue because the nitrogen and oxygen molecules in air scatter short-wavelength blue light much more strongly than long-wavelength red light, a process called Rayleigh scattering [1][2][3]. That scattered blue light reaches your eyes from every direction. Violet is scattered even more, but sunlight holds less violet and human eyes are more sensitive to blue [2][4].

Key takeaways

  1. Sunlight looks white but contains every colour of the rainbow, each with a different wavelength [1][4].
  2. Air molecules are much smaller than light waves, so they scatter short waves (blue, violet) far more than long waves (red) [3][4].
  3. Rayleigh scattering grows as one over the wavelength to the fourth power, so light at 400 nanometres is scattered roughly 9 times more than light at 700 nanometres [7].
  4. The sky looks blue rather than violet because our eyes respond more to blue, the Sun gives off more blue than violet, and some violet is absorbed high in the atmosphere [2][4][5].
  5. At sunrise and sunset, sunlight crosses much more air, so most blue is scattered away before it reaches you and reds and oranges remain [1][4].
  6. Space looks black because there is almost no air to scatter light [4].
  7. Clouds look white because their water droplets are about as large as light waves and scatter all colours equally (Mie scattering) [3].
On this page 12 sections
  1. Why is the sky blue? The short answer
  2. What is Rayleigh scattering?
  3. Why is the sky blue and not violet?
  4. Why is the sky red at sunrise and sunset?
  5. Why is the sky blue but space is black?
  6. Why are clouds white and the horizon pale?
  7. Is the sky blue because it reflects the ocean?
  8. How can you see Rayleigh scattering at home?
  9. Common mistakes
  10. Frequently asked questions
  11. Glossary
  12. Sources

Why is the sky blue? The short answer

The sky is blue because air scatters blue sunlight much more than red sunlight, and that scattered blue light reaches your eyes from every part of the sky [1][2].

Sunlight looks white, but it is a mix of all the colours of the rainbow [1]. Each colour is light with a different wavelength: red has the longest waves in the visible range and violet the shortest [4]. When sunlight enters the atmosphere, it meets countless nitrogen and oxygen molecules. These molecules redirect, or scatter, a small part of the light in all directions [2][4].

The key point is that scattering is not equal for all colours. Short waves, blue and violet, are scattered far more strongly than long waves such as red and yellow [2][3]. So when you look at any patch of sky away from the Sun, what you see is mostly blue light that has been bounced towards you by the air [1]. The rest of the sunlight, still nearly white, keeps travelling in a straight line, which is why the Sun itself looks white-yellow when it is high in the sky [5].

This effect is called Rayleigh scattering, after the British physicist Lord Rayleigh, who described it mathematically in a series of papers starting in 1871 [8][4]. The sections below explain how it works, why the sky is not violet, why sunsets turn red and why space is black.

A glass prism splitting a beam of white light into a rainbow spectrum from red to violet
White sunlight is a mix of every colour; each colour has a different wavelength.

What is Rayleigh scattering?

Rayleigh scattering is the scattering of light by particles much smaller than its wavelength, such as single gas molecules, and it is far stronger for short wavelengths [3][7].

Visible light has wavelengths from about 400 to 700 nanometres (billionths of a metre) [7]. A nitrogen or oxygen molecule is thousands of times smaller than that. When a light wave passes such a tiny particle, the wave’s electric field makes the electrons in the molecule oscillate, and the oscillating electrons send out light of the same colour in new directions [7]. That is scattering.

Rayleigh showed that the strength of this scattering depends on wavelength to the inverse fourth power [8][7]. In plain terms: halve the wavelength and the scattering becomes 16 times stronger. NASA’s atmospheric chemistry lecture notes give a concrete example. Light at 400 nanometres, at the blue-violet end of the spectrum, is scattered roughly 9 times as strongly as red light at 700 nanometres [7]. NOAA’s JetStream weather school puts the comparison for typical blue and red light at about four times [3]. Both figures are correct; they simply compare different points on the spectrum.

The table below shows how strongly each colour is scattered compared with red light at 700 nanometres, using the same inverse-fourth-power rule. It explains why the scattered light that fills the sky is dominated by the short, blue end of the spectrum.

Rayleigh scattering also partly polarises skylight, meaning the light waves tend to vibrate in one preferred direction. The effect is strongest about 90 degrees away from the Sun [7]. Polarised sunglasses and camera filters use this to darken the blue sky.

Why is the sky blue and not violet?

Violet light is scattered even more than blue, but the sky still looks blue because sunlight contains less violet, some violet is absorbed high in the atmosphere, and our eyes are much more sensitive to blue [2][4][5].

If scattering were the only factor, the sky would look violet, since violet has the shortest wavelength of visible light. Three things stop that.

  • The Sun’s light. The Sun emits more energy as blue light than as violet light, so there is simply less violet to scatter [4].
  • Absorption. Part of the violet light is absorbed in the upper atmosphere before it can reach the ground [5].
  • Our eyes. The colour-sensing cone cells in the human eye respond strongly to blue and only weakly to violet. NASA notes that even though violet is scattered more than blue, the sky looks blue because our eyes are more sensitive to blue light [2].

The light reaching you from the sky is really a mix of violet, blue and smaller amounts of green and other colours. Your brain reads that mix as sky blue.

NOAA adds a detail that you can see from an aircraft window: much of the violet scatters very high in the atmosphere, and from cruising altitude the sky above can look a deeper, almost indigo blue [3][4].

Why is the sky red at sunrise and sunset?

When the Sun is low, its light travels through much more air to reach you, so almost all the blue is scattered out of the beam on the way and mainly orange and red light is left [1][4].

At midday, sunlight crosses the atmosphere by a fairly short route. Near sunrise and sunset, the Sun sits close to the horizon and its light has to skim through a far longer stretch of the lower, denser atmosphere [3]. Along that long path the air keeps scattering the short wavelengths sideways. First violet and blue are removed from the direct beam, then much of the green and yellow [3]. What arrives straight from the Sun is dominated by orange and red, so the Sun and the clouds it lights take on those colours [1][3].

Particles in the air can make the show stronger. Dust, smoke, sea salt and other aerosols add extra scattering, and NASA notes that when they are present the whole western sky can seem to glow [1]. The National Weather Service points out that some of the most vivid sunrises and sunsets follow major volcanic eruptions, when extra particles are lifted high into the atmosphere [4].

Changes in air quality and the ozone layer can also affect how sunlight passes through the atmosphere. For the latest measurements on the ozone layer, see our guide Ozone Hole 2026: Seventh Largest, Recovery on Track.

The Sun setting over a calm sea, with orange and red near the horizon and blue sky higher up
At sunset, light crosses so much air that most blue is scattered away, leaving orange and red.

Why is the sky blue but space is black?

Space is black because it contains almost no gas to scatter sunlight, so no light is redirected towards your eyes unless you look straight at a star or planet [4].

The blue of the sky is not a property of the light itself but of the air. Without molecules to scatter it, sunlight passes straight through and the background stays dark. The National Weather Service explains that if you climb to high elevations, the sky overhead becomes a deeper, darker blue, because there are fewer molecules above you to scatter light. Keep going upwards and the sky slowly turns black [4].

Astronauts see this transition clearly from orbit. The atmosphere appears as a thin, glowing blue band along Earth’s edge, with black space above it [6]. The same physics also explains why the Moon, which has almost no atmosphere, has a black sky even in full daylight.

Why are clouds white and the horizon pale?

Cloud droplets are about as large as light waves, so they scatter all colours almost equally, and an equal mix of colours looks white; the horizon is paler because light from that direction has been scattered many times over [3][1].

Scattering by particles that are similar in size to the wavelength of light, or larger, is called Mie scattering. NOAA explains that the water droplets in a cloud are close in size to the wavelength of sunlight, so they scatter all colours by similar amounts instead of favouring blue [3]. White light goes in, white light comes out, and the cloud looks white. Very thick clouds look grey or dark from below simply because less light gets through them.

The pale band of sky near the horizon has a different cause. Light reaching you from low in the sky has crossed much more air than light from overhead. Along the way the blue is scattered and re-scattered many times in many directions, and light reflected from the ground mixes the colours back together. NASA explains that this is why the sky fades towards white near the horizon [1].

Haze works in a similar way to clouds. Fine dust, pollution and humidity add larger particles to the air, which scatter all colours and make the sky look whitish or milky. The table below compares the two main kinds of scattering.

Long-term changes in the atmosphere, including aerosols and greenhouse gases, are tracked by the World Meteorological Organization; see our guide State of the Climate 2026: What WMO's COP31 Report Says.

Is the sky blue because it reflects the ocean?

No. The sky is blue because of scattering in the air itself; it is just as blue over deserts and far inland, and the ocean is blue largely because it reflects the sky and because water absorbs red light [1][4].

The idea that the sky mirrors the sea is one of the most common myths about colour in nature. A simple test shows it is wrong: the sky above the Sahara or above Central Asia, thousands of kilometres from any ocean, is just as blue. The explanation in every major scientific source, from NASA to NOAA, is scattering by air molecules [1][3][4].

The connection actually runs the other way. Seen from a beach or a ship, much of the ocean’s blue comes from reflected skylight, which is why the sea looks grey under a grey sky. Deep, clear water also absorbs red light more than blue, which adds its own blue tint.

Is the sky blue on other planets? It depends on the atmosphere [1]. Mars has a very thin atmosphere made mostly of carbon dioxide and filled with fine dust. During the day the Martian sky looks butterscotch or tan, and at sunset the opposite of Earth happens: the area around the Sun turns blue [1][9]. NASA’s Curiosity rover photographed such a blue sunset in Gale Crater in 2015. The fine dust lets blue light pass more efficiently near the Sun’s direction, while other colours are spread more widely [9].

A Mars crater at sunset with a small pale Sun surrounded by a blue glow in a tan dusty sky
On Mars the dusty sky is tan by day and turns blue around the setting Sun.

How can you see Rayleigh scattering at home?

You can recreate a blue sky and a red sunset in a glass of water with a few drops of milk and a torch [10].

This classic classroom demonstration uses tiny fat and protein particles in milk to scatter light, much as air molecules do. It is a model, not an exact copy, but it shows the main effect clearly. The UCAR Center for Science Education publishes it as a classroom activity [10].

  • Set up. Fill a clear glass or a straight-sided plastic container with water and stir in a few drops of milk, just enough to make it faintly cloudy.
  • Make a sky. In a dark room, shine a white torch or phone light through the side of the glass. Look at the water from the side, at right angles to the beam. It should look slightly bluish, because the short wavelengths are scattered sideways most.
  • Make a sunset. Now look straight through the glass towards the torch. The light coming through looks yellow, orange or even reddish, because the blue has been scattered out of the beam, just like sunlight crossing a long path at sunset.
  • Add more milk. Stir in a few more drops and repeat. The light passing through becomes redder, and with too much milk the glass turns yellowish, like the air on a smoggy day [10].

A second experiment needs only polarised sunglasses. On a clear day, look at the blue sky roughly at right angles to the Sun and slowly rotate the glasses. The sky gets darker and lighter as you turn them, because scattered skylight is partly polarised [7].

How strongly each colour is scattered by air molecules, compared with red light (inverse fourth-power rule)
ColourTypical wavelength (nanometres)Scattering compared with red at 700 nm
Violet400about 9.4 times
Blue450about 5.9 times
Green530about 3.0 times
Yellow580about 2.1 times
Orange620about 1.6 times
Red7001 (reference)
Rayleigh scattering and Mie scattering compared
FeatureRayleigh scatteringMie scattering
What scatters the lightGas molecules much smaller than the wavelengthDroplets, dust and smoke about as large as the wavelength or larger
Effect of colourStrongly favours short wavelengthsScatters all colours about equally
What you seeBlue sky, red sunsetsWhite clouds, hazy or milky sky
Main directionSpread widely in all directionsMostly forwards, around the light source
Everyday exampleClear blue sky on a dry dayBright white glow around the Sun on a hazy day

Common mistakes

  • Saying the sky is blue because it reflects the ocean.

    Fix: The sky is blue because air scatters blue light; it is just as blue far inland. The ocean partly reflects the sky, not the other way round [1][4].

  • Thinking blue light is “absorbed and re-emitted” in a way that removes other colours.

    Fix: Scattering redirects light without removing it; the unscattered light continues and stays nearly white [5][7].

  • Assuming violet should be the colour of the sky and science cannot explain why it is not.

    Fix: Less violet in sunlight, absorption high in the atmosphere and the eye’s greater sensitivity to blue explain it [2][4][5].

  • Believing red sunsets happen because the Sun cools down in the evening.

    Fix: The Sun does not change; its light simply crosses much more air, so the blue is scattered away [1][3].

  • Looking straight at the setting Sun to check its colour.

    Fix: Never look directly at the Sun; use the milk-and-torch model to see the effect safely [10].

Frequently asked questions

Why is the sky blue? What is the short answer for kids?

Sunlight is made of all colours. Tiny bits of air bounce the blue part around the sky much more than the red part, so blue light comes at us from everywhere and the sky looks blue [1][5].

Why is the sky blue but space is black?

The blue comes from air scattering sunlight. In space there is almost no air, so nothing scatters the light towards you and the background looks black [4].

Why is the sky red at sunrise and sunset?

When the Sun is low its light passes through far more air. Most of the blue is scattered out on the way, leaving mostly orange and red light [1][3].

Is the sky blue because it reflects the ocean?

No. The sky is blue because of scattering by air molecules and is just as blue over deserts. The ocean looks blue partly because it reflects the sky [1][4].

Why isn’t the sky violet if violet scatters the most?

Sunlight contains less violet than blue, some violet is absorbed high up, and human eyes are much more sensitive to blue [2][4][5].

Who discovered why the sky is blue?

Lord Rayleigh explained the effect mathematically starting in 1871, building on earlier experiments with light scattering. The process now carries his name [8][4].

What colour is the sky on Mars?

The Martian daytime sky looks tan or butterscotch because of fine dust, and at sunset the area around the Sun turns blue [1][9].

Glossary

Wavelength
The distance between one wave crest and the next; for visible light it ranges from about 400 to 700 nanometres [7].
Rayleigh scattering
Scattering of light by particles much smaller than its wavelength, much stronger for short wavelengths [3][7].
Mie scattering
Scattering by particles about as large as the wavelength or larger, such as cloud droplets; affects all colours about equally [3].
Aerosols
Tiny solid or liquid particles in the air, such as dust, smoke and sea salt, that add extra scattering [1][6].
Polarisation
The tendency of light waves to vibrate in one preferred direction; skylight is partly polarised by scattering [7].
Visible spectrum
The range of light wavelengths human eyes can see, from violet to red [4].

Sources

  1. Why Is the Sky Blue? NASA Space Place
  2. Wave Behaviors (Tour of the Electromagnetic Spectrum) NASA Science · 2023-08-03
  3. The Color of Clouds NOAA JetStream · 2023-04-20
  4. Why Is The Sky Blue? US National Weather Service, Flagstaff office
  5. Why Is the Sky Blue? NOAA NESDIS
  6. The Appearance of the Sky UCAR Center for Science Education
  7. Rayleigh Scattering (atmospheric chemistry lecture notes) NASA Goddard Space Flight Center
  8. On the light from the sky, its polarization and colour Philosophical Magazine (Lord Rayleigh)
  9. Sunset in Mars’ Gale Crater NASA Science / JPL · 2015-05-09
  10. Blue Skies and Red Sunsets (classroom activity) UCAR Center for Science Education
Share this guide Telegram WhatsApp X
0 likes

Comments

Top comments

About the Pouyam Team Editorial policy

On Pouyam

Explore Pouyam

Guides are one corner of Pouyam. Here is where to go next.

Play and win dollar prizes

All games

Free online games with no download on Pouyam: every game earns season points, and the top players win dollar prizes.

Quick navigation