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

If the sky is blue,
why is the sunset red?

By day the sky is blue; by evening it's red. Same sky, same sun — yet the color flips. In fact these two aren't separate phenomena at all. They're two sides of exactly the same cause. Because air "scatters" blue light, the sky looks blue by day and red at dusk.

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 it's blue everywhere. Yet nothing up there is actually giving off blue light. The air is transparent, and the sun itself looks whitish.

Still, even looking away from the sun, the sky is blue. Blue light is reaching your eyes from a direction where nothing should be shining.

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

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

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 over four times more than red light. That's why blue rains down from the whole sky.

2
At dusk, blue gets scattered away entirely

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

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

Daytime ― 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 its light must travel at a slant through a longer stretch of air (green ticks). By day, blue scatters in all directions so the whole sky turns blue (blue arrows); at dusk the blue is scattered away completely, and only the red that traveled straight through remains (red arrow).

What does "scattering" actually mean?

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

As this light travels through air, it collides with air molecules (nitrogen and oxygen). Part of the light then stops going straight and flies off in all sorts of directions. This is "scattering."

What matters is that how easily light scatters depends heavily on its color. Light behaves like a wave, and different colors 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 guide, blue is scattered more than four times as much as red.

💡 Why light reaches you even from "no sun" directions

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

In other words, the sky looks blue because the air itself seems to glow. On the airless Moon, the sky is pitch black even at midday. With nothing to scatter light, nothing arrives from any direction but the sun.

So why isn't the sky "violet"?

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

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

  1. Sunlight itself contains little violet. The sun emits less light in the violet range than in blue. Even if violet scatters more easily, there isn't much of it to begin with.
  2. Violet gets cut down high in the atmosphere. High up, some violet and ultraviolet light gets absorbed, reducing how much reaches the ground.
  3. Human eyes barely respond to violet. The cells in our eyes that sense color respond strongly around blue but weakly at violet. And when violet mixes with blue, the brain reads it simply as "bluish white."

In short, the sky's blue isn't just physics — it's the combined result of three things: physics, the sun's properties, and the human eye. A creature with different eyes looking at the same sky would see a different color.

The sky's color isn't decided by the sky alone.
The sun, the air, and the eye — it's a three-way collaboration.

Why sunsets are red

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

Over that long path, blue light keeps getting scattered. The scattered blue veers off sideways, and it's lost from the light heading straight toward your eyes.

What survives to the end are the colors that resist scattering — 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 the 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…

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 (don't overdo it — a faint cloudiness is enough)
  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 → it looks orange
  5. Use a longer container to stretch the distance, and the orange gets deeper

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 exact same water shows two different colors depending only on the direction you look. What happens in the sky plays out right there in your glass.

Summary

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

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

The same idea — "light that has traveled a long path 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 see "blue" explained by a completely different mechanism, check out our article on why the ocean is blue. And ultraviolet light, with an even shorter wavelength than blue, scatters even more fiercely across the whole sky — which is why you can still get sunburned on a cloudy day, explained in this article.

Want to know more? ― terms, formulas, and where this fits in textbooksFrom junior-high science to topics still being researched, each level is labeled
How to read the labels below
  • JHSCovered in junior-high school science
  • HSCovered in high-school "Physics Basics"
  • HS+High-school "Physics," or advanced/sidebar content in textbooks
  • Univ.Not taught in high school — university-level content (electromagnetism, atmospheric optics)
  • ResearchNot yet settled even at university level — something researchers are actively studying

JHSTerms: words for light and color

HSHS+Check it with a formula: 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 exponents.

① The formula itself

I ∝ 1 / λ⁴

I Scattering strengthHow much the light veers sideways
λ Wavelength of lightUnits in nm (nanometers)
∝ Proportional toMeans "proportional," not "equal"

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

To compare two colors, just divide. Sorting the numerators and denominators, it reduces to raising the ratio of the two λ values 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, the part in parentheses650 ÷ 450 ≒ 1.44
Raise it to the 4th power1.44⁴ ≒ 4.3
AnswerBlue scatters about 4.3 times more than red

The wavelengths differ by only 1.44x, yet the result is 4.3x. That's the fourth power showing its strength. This is the substance of "why the sky is blue."

③ The same formula also explains the sunset

Evening redness comes from a change in how much air the light passes through. The lower the sun, the longer that path gets. That length can be calculated too.

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

The longer the path, the more thoroughly easily-scattered blue gets veered off and used up. What's left to reach your eyes directly is mostly red, which resists scattering. Blue is strong, so the sky is blue; that same blue exits first, so the sunset is red. The two are two sides of the same formula.

※ 0.50 and 0.17 are the sine (height ratio) of each angle. Since the real atmosphere thins 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 arises here. Violet has an even shorter wavelength than blue, so shouldn't the sky look violet? Let's calculate.

Wavelength of violetλ ≈ 400 nm
Ratio 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 contains little violet to begin with, and the human eye is dull to violet.

This strikes me as an important example. A formula tells you "what's happening," but not "how it looks." You need the properties of the light source and the properties of the receiver together to get the answer.

The fourth-power effect is the key point. A mere 1.4x difference in wavelength turns into a more-than-4x difference in scattering. This "fourth power" decides the color of the sky.

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

Univ.Why 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's the scattered light.

Here, the electron's acceleration is proportional to the square of the frequency, and the power radiated is proportional to the square of the acceleration. Combined, this gives a dependence on the fourth power of frequency, i.e., wavelength to the −4th power. That's where Rayleigh's law comes from.

More generally, once particle 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, which is why clouds look white. The sky's blue (molecules) and the cloud's white (water droplets) are two ends of the same scattering phenomenon, differing only in particle size.

ResearchStill under debate

Even the color of the sky we see every day is, numerically, still not simple to pin down.

Where this fits in textbooks (by level)

LevelSubject / unitWhere in this article
JHSScience / properties of light; prisms and colorWhite light as a mixture of colors; the idea of scattering
HSPhysics Basics / waves; properties of lightCorrespondence between wavelength and color; visible range
HS+Physics / wave motion; polarization (often advanced in textbooks)The fourth-power law of wavelength; polarization of scattered light
Univ.Electromagnetism / optics / atmospheric physicsDipole radiation, Mie theory, radiative transfer
Univ.Physiology / color scienceCone cell sensitivity, and why we don't see violet
ResearchAtmospheric optics (unresolved)Ozone's contribution, quantitative prediction of sky color, 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 (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 (twilight sky blue and ozone's contribution).
  4. Lynch, D. K. & Livingston, W., Color and Light in Nature (a reference on color in the natural world).
  5. Explanations of atmospheric optical phenomena from the Japan Meteorological Agency (気象庁).

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

※ This article is a general-audience science explainer. The figures given are approximate guides for understanding the mechanism and can vary by conditions. Note that looking directly at the sun can damage your eyes, so please only observe the weak light around sunset, and only briefly.