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

If the sky is blue, why
do sunsets turn red?

By day it's blue, by evening it's red. Same sky, same sun, yet the colour flips. In fact these two aren't separate phenomena at all — they're two sides of exactly the same cause. Air "scatters" blue light away, so by day we see blue, and by evening we see red.

Published: 2026.08.15 Difficulty: ★☆☆ (no background needed) Formulas appear only in the final collapsible section
First, think about this

Look up at a clear daytime sky and the whole dome looks blue. Yet nothing up there is actually giving off blue light. The 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 nothing should be producing it.

Then comes evening. The same sun turns red. Its temperature hasn't dropped, and its colour hasn't changed.

What's changed isn't the sun — it's how much air its light has had to pass through to reach us.

1
Air "scatters" blue light especially well

Air molecules don't just let light pass 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
By evening, the blue has been scattered away

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

In other words, a blue sky and a red sunset are the same phenomenon, just viewed from the "scattered" side or the "surviving" side. Let's look at it step by step.

Day ― sun high Air Sunlight (white) Short air path Blue scatters every way → whole sky looks blue Evening ― sun low Sunlight (white) Much longer air path Blue lost here Only red left reaches the eye ※ Atmosphere thickness and angle are exaggerated for clarity
Figure 1: Top is day, bottom is evening. The lower the sun, the more obliquely — and farther — its light travels through the air (green markers). By day, blue scatters in all directions and the whole sky turns blue (blue arrows); by evening, the blue is scattered away en route, and only the red that travelled straight through survives (red arrow).

What does "scattering" 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 the air, it collides with air molecules (nitrogen and oxygen). Some of the light stops travelling in a straight line and scatters off in all sorts of directions. That's "scattering."

What matters is that how easily light scatters depends heavily on its colour. Light behaves as a wave, and different colours have different wave sizes (wavelengths). Red has a long, lazy wave; blue has 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 rule of thumb, blue scatters more than four times as much as red.

💡 That's why light comes even from "away from the sun"

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

In other words, the sky looks blue because the air itself seems to glow. On the Moon, which has no atmosphere, the sky stays pitch black even at midday. There's nothing to scatter light, so nothing arrives from any direction except the sun itself.

So why isn't the sky "violet"?

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 overlap.

  1. Sunlight itself contains little violet to begin with. The sun emits less light in the violet range than in the blue range. Even if violet scatters more easily, there's not much of it to start with.
  2. Violet gets reduced high in the atmosphere. High up, some violet and ultraviolet light gets absorbed, so less reaches the ground.
  3. Human eyes aren't very sensitive to violet. The colour-sensing cells in our eyes respond strongly around blue but weaken toward violet. On top of that, when violet mixes with blue, the brain reads it as a "bluish white."

So the sky's blue colour is the result of three things combined — not just physics, but also the sun's properties and the properties of the human eye. A creature with different eyes looking at the same sky would likely see a different colour.

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

Why sunsets are red

In the evening, the sun sits near the horizon. Its light then reaches us much more obliquely, 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. The scattered blue veers off sideways, lost from the light travelling straight toward your eyes.

What survives to the end is the colour that resists scattering — red and orange. That's why the sun itself turns red, and why the sunset sky glows orange.

Here's the interesting part. A blue sky and a red sunset both come from the one fact that blue scatters easily. View the scattered blue from the side and you get a blue sky; view the surviving red head-on and you get a sunset.

🔎 This also explains…

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 to add too much — just enough to turn it faintly cloudy)
  3. In a dark room, shine a phone light at the water from the side and look at it from the side → it looks bluish-white
  4. Now move the light to the opposite side and look 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 standing in for air molecules. Look from the side and you get a blue sky; look at the light that passed through and you get a sunset. The very same water shows two different colours just by changing which direction you look from — reproducing in a glass exactly what happens in the sky.

Summary

The sky is blue because air scatters blue light so efficiently. A sunset is red because that very same property causes blue to be lost over a long stretch of air. It's one single fact, seen from two different angles.

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

This same principle — that light turns red after travelling a long distance — is also behind why the moon looks red during a total lunar eclipse. You can read more about that in this article. If you'd like to see "blue" produced by a completely different mechanism, check out our article on the ocean, which is also blue but for different reasons. And ultraviolet light, with an even shorter wavelength than blue, scatters even more violently across the whole sky — which is why you can get sunburned even on a cloudy day, as explained in this article.

Want to go deeper? ― terms, formulas, and how this connects to the textbookFrom middle-school science to open research questions, each level is clearly marked
How to read the labels below
  • Middle schoolcovered in middle-school science
  • High schoolcovered in high-school "Physics Basics"
  • High school+covered in high-school "Physics," or treated as an advanced/sidebar topic in textbooks
  • Universitynot taught in high school — university-level specialist material (electromagnetism, atmospheric optics)
  • Researchnot even settled "textbook fact" at university level — something researchers are actively investigating

Middle schoolTerms: words for light and colour

High schoolHigh school+Working the numbers: how many times more does blue scatter than red?

This is something you can actually calculate. Only one relationship is needed, and it only involves division and powers.

① The formula itself

I ∝ 1 / λ⁴

I scattering strengthhow much the light veers off
λ wavelength of lightmeasured in nm (nanometres)
∝ proportional tonot "equals" — "proportional to"

In plain words: the shorter the wavelength, the more easily it scatters. And because the effect depends on the fourth power, even a small difference in wavelength makes a big difference in how much scattering happens.

To compare two colours, just divide. Tidy up numerator and denominator, and you're left with raising the ratio of the two λ values to the 4th power.

② Plugging in real 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 4th power1.44⁴ ≒ 4.3
AnswerBlue scatters roughly 4.3× more than red

The wavelengths only differ by a factor of 1.44, yet the result comes out to 4.3 times. That's the fourth power at work, visibly. This is the whole story of why the sky is blue.

③ The same formula explains sunsets too

The evening red comes from a change in how much air the light passes through. The lower the sun, the farther light has to travel through the air. That distance can also be calculated.

Path length straight overheadset as 1
At 30° elevation1 ÷ 0.50 = 2.0×
At 10° elevation1 ÷ 0.17 ≒ 5.9×

The longer the path, the more thoroughly blue — which scatters so easily — gets used up along the way. What's left to reach your eyes in a straight line is mostly red, which resists scattering. Blue dominates, so the sky is blue; and because that same blue drains away first, 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. Because the real atmosphere thins out with altitude, the actual path near the horizon is longer than this simple calculation suggests.

④ An example of where calculation alone isn't enough

A natural question follows: violet has a shorter wavelength than blue, so shouldn't the sky look violet? Let's calculate.

Wavelength of violetλ ≈ 400 nm
Ratio against 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 itself contains little violet to begin with, and human eyes are weak at sensing violet.

I think this is an important example. The formula tells you "what's happening," but not "how it looks." You only get the full answer by combining the properties of the light source with the properties of whatever is receiving it.

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

High school+By the way, scattered light is polarized. Sky light in a direction 90 degrees from the sun is especially strongly polarized. That's why the sky's brightness changes if you look through polarized sunglasses and tilt your head. Honeybees are thought to read this polarization pattern to find direction.

UniversityWhy the fourth power?

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

Here, the electron's acceleration is proportional to the square of the frequency, and the radiated power is proportional to the square of the acceleration. Put together, that gives a dependence on 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 approaches or exceeds the wavelength, you need Mie theory, which solves Maxwell's equations exactly for a sphere. As particles get bigger, the wavelength dependence weakens, and things start to look white, as with clouds. The sky's blue (molecules) and a cloud's white (water droplets) are the two ends of the same scattering phenomenon, differing only in particle size.

ResearchWhat's still being debated

Even the colour of the sky we see every single day isn't something science can fully pin down numerically yet.

How this connects to the textbook (by level)

LevelSubject / unitWhere in this article
Middle schoolScience: properties of light / prisms and colourWhite light as a mixture of colours; the idea of scattering
High schoolPhysics Basics: waves / properties of lightCorrespondence between wavelength and colour; the visible range
High school+Physics: wave motion / polarization (often an advanced topic)The fourth-power law of wavelength; polarization of scattered light
UniversityElectromagnetism / optics / atmospheric physicsDipole radiation, Mie theory, radiative transfer
UniversityPhysiology / colour scienceCone-cell sensitivity, and why the sky doesn't look violet
ResearchAtmospheric optics (unresolved)Ozone's contribution, quantitative prediction of sky colour, perception of polarization
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 (the 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 the contribution of ozone).
  4. Lynch, D. K. & Livingston, W., Color and Light in Nature (a reference on colour in the natural world).
  5. Japan Meteorological Agency (気象庁), explanatory material on atmospheric optical phenomena.

※ The wavelength and scattering-ratio figures vary somewhat depending on which value is taken as representative for each colour. This article uses commonly cited reference values.

※This article is a general-audience science explainer. The figures given are approximate, meant to aid understanding of the mechanism, and can vary with conditions. Please note that looking directly at the sun can damage your eyes, so keep any observation brief and limit it to the weak light around sunrise or sunset.