🌤 Sky mysteries 🔦 Light No background needed ~7 min read

Why is the sky blue,
but sunsets red?

Blue by day, red in the evening. Same sky, same sun — yet the colours swap around. In fact these two aren't separate phenomena at all — they're two sides of exactly the same cause. Air "scatters blue light around", and that's why the sky looks blue by day and red in the evening.

Published: 2026.08.15 Difficulty: ★☆☆ (no background knowledge needed) Maths appears only in the collapsible section at the end
First, think about this

Look up at a clear daytime sky and it's blue all over. Yet nothing up there is actually giving off blue light. Air is transparent, and the sun itself looks whitish.

And yet, even looking away from the sun, the sky is still blue. Blue light is reaching your eyes from a direction where there's supposedly nothing at all.

Then, in the evening, that same sun turns red. The sun's temperature hasn't dropped, and its colour hasn't changed.

What's changed isn't the sun — it's the amount of air its light has travelled through to reach us.

1
Air scatters blue light especially well

Air molecules don't just let light through — they bounce it off in all directions. Blue light gets scattered more than four times as much as red light. That's why blue rains down from the whole sky.

2
In the evening, blue gets used up along the way

Evening light travels through far more air than daytime light does. The blue gets scattered away and used up en route, leaving only red to reach your eyes.

In other words, the blue sky and the red sunset are the same phenomenon, seen either from the "scattered" side or the "surviving" side. Let's take them in order.

Day — sun high Air Sunlight (white) Short path Blue scatters all ways → whole sky looks blue Evening — sun low Sunlight (white) Much longer path Blue lost here Only red left reaches eye ※ Schematic; atmosphere thickness and angle exaggerated
Fig. 1: Top is daytime, bottom is evening. The lower the sun, the more light travels at a slant through a longer stretch of air (green markers). By day, blue scatters in all directions so the whole sky turns blue (blue arrows); in the evening, blue gets scattered away en route, and only the red that travelled straight through survives (red arrow).

What does "scatter" actually mean?

Sunlight is white light made of many colours mixed together. Pass it through a prism and it splits into the colours of the rainbow because that mixture gets separated out.

As this light travels through air, it hits air molecules (nitrogen and oxygen). Some of the light then stops travelling in a straight line and flies off in all sorts of directions. That's "scattering".

What matters is that how easily light scatters depends heavily on colour. Light behaves like a wave, and different colours have different wave sizes (wavelengths). Red is a long, lazy wave; blue is a short, tight one.

The shorter the wave, the more easily it catches on small particles. Air molecules are much smaller than the wavelength of light, so this effect is extreme. As a rough figure, blue scatters more than four times as much as red.

💡 That's why light reaches us from "empty" directions

Scattered blue light flies off in every direction. Some of it lands in your eyes. That's why, even looking away from the sun, blue light still reaches you from that direction.

Put another way, the sky looks blue because the air itself appears to glow. On the airless Moon, the sky stays pitch black even in daytime. With nothing to scatter light, nothing arrives from any direction but the sun's.

So why isn't the sky purple?

Here's a sharp question. There's a colour with an even shorter wavelength than blue: violet. If shorter wavelengths scatter more, shouldn't the sky look violet?

It's a great question, and there isn't just one reason. At least three things combine here.

  1. Sunlight itself carries less violet to begin with. The sun emits weaker light in the violet range than in blue. Even if it scatters easily, less material means less quantity.
  2. Violet gets thinned out high in the atmosphere. High up, some violet and ultraviolet light gets absorbed. Less of it reaches the ground.
  3. Human eyes barely respond to violet. The colour-sensing cells in our eyes respond strongly around blue but grow far less sensitive at violet. And when violet mixes with blue, the brain reads it as "bluish white".

In short, the sky's blue is the result of three things combined: physics, the sun's properties, and the properties of the human eye. If a creature with different eyes looked up at the same sky, it would see a different colour.

The sky's colour isn't decided by the sky alone.
The sun, the air, and the eye — all three work together.

Why sunsets are red

In the evening, the sun sits near the horizon. Its light then reaches us at a much steeper slant, through a far longer stretch of air than when the sun is overhead. Near the horizon, light is said to pass through dozens of times more air than it does straight overhead.

Over that long stretch, blue light keeps getting scattered away. Scattered blue veers off sideways, and is lost from the light travelling straight toward your eyes.

What survives to the end is the colour that scatters least — red and orange. That's why the setting sun looks red, and the sunset sky glows orange.

Here's the interesting part. The blue sky and the red sunset both come from one single fact: that blue scatters easily. Watch the scattered blue from the side, and you get a blue sky; watch the surviving red head-on, and you get a sunset.

🔎 This also explains a few other things

Something you can check in your kitchen

🧪 A 3-minute observation: make a sunset in a glass
  1. Fill a clear glass or plastic bottle with water
  2. Add just a few drops of milk and stir gently (the trick is not too much — just a faint cloudiness)
  3. In a dark room, shine a phone light on it from the side and view the water from the side → it looks bluish-white
  4. Now put the light on the far side, and view it from the direction the light has passed through the water → it looks orange
  5. The longer the container, the deeper the orange becomes

The fine milk particles are playing the role of air molecules. Viewed from the side, it's a blue sky; viewed through the light that has passed all the way through, it's a sunset. The very same water shows two different colours, just by changing which direction you look from. What happens in the real sky can be reproduced right in a glass.

Summary

The sky is blue because air scatters blue light especially well. Sunsets are red because that very same property means blue gets used up over a long path through the air. It's one single fact, seen from different angles.

The blue sky and the red sunset aren't separate phenomena.
They're two sides of the same thing.

The same phenomenon — "light travelling a long distance turns red" — is also behind why the moon looks red during a total lunar eclipse. See this article for details. If you'd like to read about another kind of "blue" that works by a completely different mechanism, try our article on the ocean's blue. And ultraviolet light, with an even shorter wavelength than blue, scatters even more fiercely and rains down from the whole sky. That's why you can get sunburnt even on a cloudy day — explained in this article.

Want to go deeper? — terms, formulas, and how this fits the textbooksFrom middle-school science to open research questions, each level is labelled
How to read the labels below
  • MSCovered in middle-school science
  • HSCovered in high-school "Physics Basics"
  • HS+Covered in high-school "Physics", or treated as advanced/sidebar material in textbooks
  • UnivNot covered in high school — university-level specialist material (electromagnetism, atmospheric optics)
  • ResearchNot yet settled even at university level — an active research question

MSTerms: words for talking about light and colour

HSHS+Working it out with a formula: how many times more does blue scatter than red?

You can actually calculate this. Only one relationship is needed, and it involves nothing more than division and powers.

① The formula itself

I ∝ 1 / λ⁴

I strength of scatteringhow much light is deflected
λ wavelength of lightin nm (nanometres)
 proportional tonot "equals", but "proportional to"

Read it like this: the shorter the wavelength, the more it scatters. And because it's a fourth power, even a small difference in wavelength makes a big difference in scattering.

To compare two colours, just divide. Once the numerator and denominator are tidied up, you're left with just the ratio of λ raised to the fourth power.

② Plugging in numbers
Wavelength of blueλ ≈ 450 nm
Wavelength of redλ ≈ 650 nm
Set up the comparisonblue ÷ red = (650 ÷ 450)⁴
First, work out the bracket650 ÷ 450 ≈ 1.44
Raise it to the fourth power1.44⁴ ≈ 4.3
AnswerBlue scatters about 4.3 times as much as red

The wavelengths only differ by a factor of 1.44, yet the result comes out at 4.3 times. That's the fourth power making its strength visible. This is the substance of "the sky is blue".

③ The same formula explains sunsets too

Evening redness happens because the length of air the light passes through changes. The lower the sun, the longer the light's path through the air. That length can be calculated too.

Length when directly overheadtaken as 1
At 30° elevation1 ÷ 0.50 = 2.0×
At 10° elevation1 ÷ 0.17 ≈ 5.9×

The longer the path, the more blue — which scatters so easily — veers off sideways and gets used up along the way. Only red, which scatters least, keeps travelling straight to your eye. Blue is strong, so the sky is blue; that same blue leaves first, so the setting sun is red. The two are two sides of the same formula.

※ 0.50 and 0.17 are the sine of each elevation angle. The real atmosphere thins out with height, so near the horizon the actual path is longer than this simple calculation gives.

④ An example where the formula alone isn't enough

A natural question arises here. Violet has a shorter wavelength than blue, so shouldn't the sky look violet? Let's calculate it.

Wavelength of violetλ ≈ 400 nm
Ratio relative to red(650 ÷ 400)⁴ ≈ 7.0×

By the numbers, violet scatters even more than blue. Yet the sky doesn't look violet. The reason lies outside the formula: sunlight carries little violet to begin with, and the human eye is poor at sensing violet.

I think this is an important example. The formula tells you what's physically happening, but not how it will look. Only by combining the light source's properties with the receiver's properties do you get the actual answer.

The key point is that strong fourth-power effect. A mere 1.4-fold difference in wavelength turns into more than a fourfold difference in scattering. This "fourth power" is what decides the sky's colour.

HS+Incidentally, scattered light is polarised. Sky light at 90 degrees from the sun is especially strongly polarised. That's why, looking at the sky through polarised sunglasses and tilting your head, the brightness of the sky changes. Bees are thought to read this polarisation pattern to find direction.

UnivWhy the fourth power?

Light is an electromagnetic wave. When it hits an air molecule, the electrons inside the molecule get shaken by the light's electric field and start to oscillate. An oscillating charge itself radiates a new electromagnetic wave (dipole radiation). This is what scattered light really is.

Here, the electron's acceleration is proportional to the square of the frequency, and the power it radiates is proportional to the square of the acceleration. Combine the two and you get a proportionality to the fourth power of frequency, i.e. wavelength to the power of −4. That's where Rayleigh's law comes from.

More generally, once a particle's size is comparable to or larger than the wavelength, you need Mie theory, which solves Maxwell's equations exactly for a sphere. As particles get bigger, the wavelength-dependence weakens, and you get something white, like clouds. The sky's blue (molecules) and clouds' white (water droplets) are two ends of the same phenomenon — scattering — divided by particle size.

ResearchWhat's still under debate

Even the colour of the sky we see every day is still not easy to pin down numerically, in terms of "why exactly that colour".

How this connects to the textbooks (by level)

LevelSubject / unitWhere in this article
MSScience — properties of light / prisms and colourWhite light as a mixture of colours; the idea of scattering
HSPhysics Basics — waves / properties of lightCorrespondence between wavelength and colour; range of visible light
HS+Physics — wave motion / polarisation (often an advanced topic)The fourth-power wavelength law; polarisation of scattered light
UnivElectromagnetism / optics / atmospheric physicsDipole radiation, Mie theory, radiative transfer
UnivPhysiology / colour scienceCone-cell sensitivity, and why the sky isn't violet
ResearchAtmospheric optics (unresolved)Ozone's contribution, quantitative prediction of sky colour, perception of polarisation
References & sources
  1. Rayleigh, Lord (J. W. Strutt), On the light from the sky, its polarization and colour, Philosophical Magazine, 1871 (the original paper on Rayleigh scattering).
  2. Bohren, C. F. & Huffman, D. R., Absorption and Scattering of Light by Small Particles (a standard textbook on scattering theory).
  3. Hulburt, E. O., Explanation of the brightness and color of the sky, particularly the twilight sky, Journal of the Optical Society of America 43, 113–118, 1953 (on twilight sky blue and ozone's contribution).
  4. Lynch, D. K. & Livingston, W., Color and Light in Nature (a guide to colour in the natural world).
  5. Japan Meteorological Agency (気象庁), explanatory material on atmospheric optical phenomena.

※ Wavelength and scattering-ratio figures vary somewhat depending on which value is taken to represent each colour. This article uses commonly cited approximate values.

※ This article is a general-audience science explainer. The figures given are approximate, meant to aid understanding of the underlying mechanism, and can vary with conditions. Note also that looking directly at the sun can damage your eyes — please limit any observation to brief moments around sunrise or sunset, when the light is weak.