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.
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.
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.
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.
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.
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.
- 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.
- Violet gets cut down high in the atmosphere. High up, some violet and ultraviolet light gets absorbed, reducing how much reaches the ground.
- 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 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.
- Why clouds are white: Cloud droplets are far bigger than air molecules — about the size of light's wavelength or larger. At that size, the difference between colors nearly vanishes, and every color scatters about equally. Mix all the colors together and you get white. The same reason shaved ice and foam look white.
- Why sunsets turn unusually vivid after a volcanic eruption: Fine ash particles linger in the sky for a long time and change how scattering works. Unusual sunsets around the world have been recorded after major historical eruptions (see our article on how eruptions work).
- Why distant mountains look bluish: The air between you and the mountain scatters blue light your way. The farther away, the bluer it looks. Painters shading distant scenery in blue are capturing exactly this effect.
- The saying "red sky at night, sailor's delight": Near Japan, weather tends to move from west to east, so a red sunset is evidence of clear skies to the west. The old saying has a real basis.
Something you can check in your kitchen
- Fill a clear glass or plastic bottle with water
- Add just a few drops of milk and stir gently (don't overdo it — a faint cloudiness is enough)
- 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
- Now move the light to the opposite side and look from the direction the light has passed through → it looks orange
- 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
- 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
- Wavelength: how fine a light wave is. Visible light runs roughly 380 nm (violet) to 780 nm (red). nm means nanometer (one millionth of a millimeter).
- Dispersion: white light splitting into rainbow colors through a prism (see our article on rainbows). It happens because each color bends by a different angle.
- Scattering: light hitting a particle and changing direction in various ways. This is the "scattering" in the main text.
- Rayleigh scattering: scattering when particles are much smaller than the light's wavelength. Scattering by air molecules is this kind. This is the true cause of the blue sky.
- Mie scattering: scattering when particles are about the same size as the wavelength or larger. Clouds, fog, and milk droplets work this way, and the difference between colors shrinks.
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.
I ∝ 1 / λ⁴
| I Scattering strength | How much the light veers sideways |
| λ Wavelength of light | Units in nm (nanometers) |
| ∝ Proportional to | Means "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.
| Wavelength of blue | λ ≈ 450 nm |
| Wavelength of red | λ ≈ 650 nm |
| Set up the comparison | Blue ÷ Red = (650 ÷ 450)⁴ |
| First, the part in parentheses | 650 ÷ 450 ≒ 1.44 |
| Raise it to the 4th power | 1.44⁴ ≒ 4.3 |
| Answer | Blue 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."
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 overhead | defined as 1 |
| At 30° elevation | 1 ÷ 0.50 = 2.0× |
| At 10° elevation | 1 ÷ 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.
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
- The deep blue of twilight can't be explained by Rayleigh scattering alone. After sunset, there's a stretch of time when the sky turns a deep, rich blue. It's become clear that absorption by ozone plays a large role in this color. Ozone weakly absorbs light in the orange-to-red range, and that effect accumulates when light travels a long path through the atmosphere. The textbook explanation "the sky's blue comes from Rayleigh scattering" is incomplete for this time of day. Exactly how to apportion the contributions of ozone versus Rayleigh scattering is still an open research question.
- Predicting the exact "numerical" color of the sky is still not easy. The actual color of the sky depends on many factors — the amount and type of aerosols (dust and fine particles), water vapor, ozone, ground reflectance, and more. Radiative transfer calculations are highly developed, but reproducing the precise sky color of a specific place and moment requires atmospheric conditions known to a precision we don't yet have.
- Some researchers try to read past atmospheric conditions from old paintings. There are studies that try to estimate historical aerosol levels from the color tones of sunsets painted after major eruptions. But how to account for an artist's interpretation and the fading of pigments over time is tricky, and conclusions vary.
- Perception of direction via polarization also isn't fully understood. It's established that insects use the sky's polarization pattern, but the details of how that information gets processed, and the mechanism behind the faint polarization sensitivity some claim humans have (Haidinger's brush), are still being studied.
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)
| Level | Subject / unit | Where in this article |
|---|---|---|
| JHS | Science / properties of light; prisms and color | White light as a mixture of colors; the idea of scattering |
| HS | Physics Basics / waves; properties of light | Correspondence 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 physics | Dipole radiation, Mie theory, radiative transfer |
| Univ. | Physiology / color science | Cone cell sensitivity, and why we don't see violet |
| Research | Atmospheric optics (unresolved) | Ozone's contribution, quantitative prediction of sky color, perception of polarization |
- Rayleigh, Lord (J. W. Strutt), On the light from the sky, its polarization and colour, Philosophical Magazine, 1871 (the original paper on Rayleigh scattering).
- Bohren, C. F. & Huffman, D. R., Absorption and Scattering of Light by Small Particles (a standard textbook on scattering theory).
- 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).
- Lynch, D. K. & Livingston, W., Color and Light in Nature (a reference on color in the natural world).
- 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.