← All Discoveries

Interactive Discovery · Science Explained · For ages 8+

Why Is the Sky Blue?

Sunlight looks white, yet the sky glows blue by day and orange at sunset. Here's what is really happening when sunlight meets the air, explained in three levels.

  • By William, real-life teacher
  • Last reviewed
  • 8 sources
  • Video: coming soon

Level 1 Quick answer

The quick answer

Sunlight looks white, but it is really a mix of every colour. When sunlight passes through the air, tiny gas molecules bounce blue light around the sky much more than red light. So wherever you look, scattered blue light comes towards your eyes, and the whole sky looks blue.

Level 2 Explore the science

Sunlight is a mix of colours

Sunlight looks white, but it is made of all the colours of the rainbow mixed together[1]. A glass prism, or raindrops in a rainbow, can spread that mix out so you can see the separate colours.

Light travels as waves. Each colour has a different wavelength, which means the distance from one wave peak to the next.

  • Violet and blue light have short wavelengths.
  • Green and yellow are in the middle.
  • Orange and red light have long wavelengths[2].
The visible spectrum A colour bar running from violet at about 400 nanometres through blue, green, yellow and orange to red at about 700 nanometres. Above it, a short tightly packed wave represents blue light and a long stretched wave represents red light. Blue: short waves Red: long waves 400 nm550 nm700 nm violetbluegreenyelloworangered

Visible light from short wavelengths (violet, about 400 nanometres) to long wavelengths (red, about 700 nanometres). A nanometre is one millionth of a millimetre. Illustrative diagram.

Air is full of tiny molecules

Air looks empty, but it is packed with molecules, mostly nitrogen and oxygen. These molecules are far smaller than the wavelength of visible light.

When sunlight hits one of these tiny molecules, some of the light is sent off in a new direction. Scientists call this scattering. Because the molecules are so much smaller than the light waves, this kind is called Rayleigh scattering, after Lord Rayleigh, who first described it in the 1870s[2].

Blue light gets scattered the most

Here is the key idea: tiny molecules scatter short wavelengths much more strongly than long ones[3]. Blue light is scattered roughly four to six times more than red light, depending on exactly which shades of blue and red you compare[4].

So as sunlight streams through the atmosphere, blue light is bounced around in every direction. When you look at any part of the sky away from the Sun, some of that scattered blue light is heading straight for your eyes. That is why the sky looks blue[1].

How air scatters sunlight On the left, the Sun sends a white beam into a band of air. Inside the air, small dots stand for air molecules. Short blue arrows spread out from each molecule in every direction, while yellow and red light carries on mostly in a straight line. A person on the ground looks up at the sky away from the Sun and receives scattered blue light. Air Sun white sunlight red & yellow carry on blue light spreads out in all directions You see blue light from all over the sky

Sunlight (white beam) enters the atmosphere. Tiny air molecules send blue light off in all directions, while most red and yellow light keeps going straight. Illustrative diagram, not to scale.

Why isn't the sky violet?

Violet light has an even shorter wavelength than blue, so it is scattered even more strongly. So why don't we see a violet sky? Two main reasons[2]:

  1. Sunlight contains less violet light than blue light to begin with.
  2. Our eyes are much more sensitive to blue than to violet.

Our eyes blend all the scattered colours together, and the mix looks sky blue to us.

Why are sunsets orange and red?

Make a prediction

Make a prediction: When the Sun is low near the horizon, does its light travel through more air or less air to reach you than at midday? What might that do to the colour of the sunlight?

Reveal the answer

Reveal: More air, a lot more! When the Sun is low, its light comes in at a slant and passes through much more atmosphere. Along that long path, so much blue light is scattered out of the beam that mostly yellow, orange and red light is left to reach your eyes[2]. Try the sunset model below to see how the path length changes.

When the Sun is high, its light takes a fairly short path through the air. Near sunrise and sunset, the light has to travel a much longer, slanting path. Along the way, even more of the blue light is scattered away, so the light that finally reaches you is mostly yellow, orange and red[1].

Dust, smoke, pollution and other tiny particles in the air can change sunset colours too[1]. After a large volcanic eruption, extra particles high in the atmosphere can create especially vivid sunrises and sunsets[2]. That is why no two sunsets look exactly the same.

Interactive model

From midday to sunset: follow the sunbeam

Illustrative model, not an exact simulation. Clean, dry air only. The drawing is not to scale: the real atmosphere is far thinner compared with Earth.

Diagram of sunlight travelling through the atmosphere to an observer Edge of the atmosphere (drawn much too thick) You
Path through the air
1.2 × the overhead path
Colour of the direct sunlight
white

How much of each colour in the direct beam gets through

  • Violet0%
  • Blue0%
  • Green0%
  • Yellow0%
  • Red0%

How strongly air scatters each colour (compared with red)

  • Violet
  • Blue
  • Green
  • Yellow
  • Red

Rayleigh scattering grows as 1/wavelength⁴: blue light (470 nm) is scattered about 3.7 times more strongly than red light (650 nm). That scattered blue is what fills the sky, and it is what the direct beam loses on its long path at sunset.

With the Sun 60° above the horizon, sunlight passes through about 1.2 times as much air as when the Sun is overhead.

The sky colour in the drawing is illustrative. The numbers come from standard formulas for clean air; real sunsets can look quite different because of dust, smoke and droplets. See “About the interactive model” in Go deeper.

Is the sky blue because it reflects the ocean?

No! This is a very common myth. The sky is blue over deserts and mountains far from any sea, because the colour comes from sunlight scattering in the air above us[1].

The ocean has its own reason for looking blue: water absorbs light from the red end of the spectrum[6]. Both are blue, but for different reasons.

What about clouds, haze and dust?

  • Clouds look white because cloud droplets are much bigger than air molecules. Big droplets scatter all colours about equally, and all the colours mixed together look white[5].
  • Cloud bases can look grey because the cloud scatters light back upwards and out to the sides, so less light reaches the bottom of the cloud[5].
  • The sky near the horizon looks paler. Light from that direction has passed through more air and been scattered again and again, so the colours mix back towards white[1].
  • Dust, smoke and haze add bigger particles, which can make the sky look milky or change sunset colours[1].

Try it yourself

Sky colour detective

You need: a notebook, coloured pencils, and a clear day.

  1. Around the middle of the day, look at the sky high overhead, well away from the Sun. Colour in a square to match it.
  2. Now look at the sky just above the horizon. Colour another square. Is it the same blue, or paler?
  3. If you can, repeat around sunset with an adult. Draw how the colours change.
  4. Note any clouds, haze or smoke. Did they change what you saw?

What to expect: the sky overhead is usually a deeper blue than the sky near the horizon, which tends to look paler.

Safety first

Never look directly at the Sun, not even at sunset, and never through binoculars, a telescope, a camera viewfinder or sunglasses. Always keep the Sun out of your view and observe the sky away from it. Younger scientists should do this activity with an adult.

Level 3 Go deeper

Go deeper The inverse fourth power law

For particles much smaller than the wavelength of light, the intensity of scattered light is proportional to 1/λ⁴, where λ (the Greek letter lambda) is the wavelength[3][4].

That fourth power makes a big difference. Compare blue light at 450 nm with red light at 650 nm: (650 ÷ 450)⁴ ≈ 4.4, so blue is scattered about four times more strongly. Compare violet at 400 nm with red at 700 nm and the ratio is about 9.4.

Go deeper Why "longer path" changes the colour

Each short stretch of air removes a fraction of the light from the direct beam, and that fraction is larger for short wavelengths. Scientists describe how much air the light passes through with a number called air mass: 1 when the Sun is straight overhead, about 2 when the Sun is 30° above the horizon, and around 38 at the horizon[8].

Because the losses multiply along the path, a beam that travels through 38 times as much air loses far more of its blue light than one that travels through 1 air mass. What remains in the direct beam is shifted towards orange and red.

Go deeper Why clouds are a different story

Rayleigh scattering applies when the particles are much smaller than the wavelength. Cloud droplets are much larger than that, and they scatter all visible wavelengths about equally[5]. Scientists often describe this regime with a more general theory called Mie scattering. The result is white or grey clouds rather than blue ones.

Go deeper About the interactive model

The sunset model uses two well-tested approximations: the Kasten and Young (1989) air-mass formula[8], and a standard formula for how much clean, dry air scatters each wavelength (it gives about 0.144 at 500 nm, close to the published sea-level value of about 0.145[7]). It then estimates the colour of the direct sunbeam with a simple model of the Sun's spectrum and human colour vision.

It deliberately leaves out dust, smoke, water droplets, ozone and the bending of light near the horizon. Real sunsets can look quite different from this clean-air model because those particles also change the colours[1]. Treat it as an illustration of the main idea, not an exact simulation.

Frequently asked questions

Why is the sky sometimes grey?

Thick clouds scatter all colours about equally and block much of the sunlight, so an overcast sky looks white or grey rather than blue[5].

Why is the sky paler near the horizon?

Light from near the horizon has travelled through more air and been scattered many times, so the colours mix back towards white[1].

Does pollution change sunset colours?

Yes. Dust, smoke and other particles change how light is scattered and can make sunsets look different, sometimes more vivid[1][2].

Is the sky blue because of the ocean?

No. The blue comes from sunlight scattering in the air. The sky is blue over land too[1].

The big idea

Same Sun, different journey. By day, air molecules scatter blue light across the whole sky. At sunset, sunlight takes a much longer path through the air, so more blue is scattered away and warm colours shine through.

Sources

We checked the facts in this Discovery against these sources on the dates shown.

  1. Why Is the Sky Blue?, NASA Space Place. Accessed 25 October 2026.
  2. Why Is The Sky Blue?, US National Weather Service, Flagstaff office (NOAA). Accessed 25 October 2026.
  3. Blue Sky and Rayleigh Scattering, HyperPhysics, Georgia State University. Accessed 25 October 2026.
  4. Rayleigh Scattering in the Earth's Atmosphere, University of Twente, ITC Living Textbook. Accessed 25 October 2026.
  5. Why are clouds white?, Met Office (UK). Accessed 25 October 2026.
  6. Why is the ocean blue?, NOAA National Ocean Service. Accessed 25 October 2026.
  7. Rayleigh optical depth, American Meteorological Society Glossary of Meteorology. Accessed 25 October 2026.
  8. pvlib.atmosphere.get_relative_airmass (Kasten and Young 1989 model), pvlib python documentation. Accessed 25 October 2026.

Illustrations and the interactive model on this page explain the science; they are not photographs or records of real experiments.

Keep experimenting in the Lab

Explore more

Coming soon in Science Explained:

  • Can you see electricity?
  • Why do magnets stick to fridges?
  • Why does ice float?