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.
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.
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.
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.
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.
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.
- 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.
- Violet gets reduced high in the atmosphere. High up, some violet and ultraviolet light gets absorbed, so less reaches the ground.
- 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 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.
- Why clouds are white: cloud droplets are much bigger than air molecules — about as big as the wavelength of light itself. At that size, colour differences almost disappear, and every colour scatters about equally. Mix all the colours together and you get white. Shaved ice and foam are white for the same reason.
- Why sunsets turn unusually vivid after a volcanic eruption: fine ash particles linger in the sky and change how scattering works. Unusually dramatic sunsets have been recorded worldwide after major historical eruptions (see how eruptions themselves work).
- Why distant mountains look bluish: the air between you and the mountain scatters blue light toward you. The farther away, the bluer it looks. Landscape painters often paint distant scenery blue to capture 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 some 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 (the trick is not to add too much — just enough to turn it faintly cloudy)
- 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 the water → it looks orange
- 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
- 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
- Wavelength: how tight a light wave is. Visible light runs roughly from 380 nm (violet) to 780 nm (red). nm = nanometre (one millionth of a millimetre).
- Dispersion: white light splitting into rainbow colours through a prism (see how rainbows work). It happens because each colour bends by a different angle.
- Scattering: light hitting a particle and changing direction. This is the "scattering away" described in the main text.
- Rayleigh scattering: scattering when the particle is much smaller than the light's wavelength. Scattering by air molecules is this type. This is the real cause of the sky's blue colour.
- Mie scattering: scattering when the particle is about the same size as, or bigger than, the light's wavelength. Clouds, fog, and milk droplets fall here, and the difference between colours shrinks.
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.
I ∝ 1 / λ⁴
| I scattering strength | how much the light veers off |
| λ wavelength of light | measured in nm (nanometres) |
| ∝ proportional to | not "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.
| Wavelength of blue | λ ≈ 450 nm |
| Wavelength of red | λ ≈ 650 nm |
| Set up the comparison | blue ÷ red = (650 ÷ 450)⁴ |
| First, work out the bracket | 650 ÷ 450 ≒ 1.44 |
| Raise it to the 4th power | 1.44⁴ ≒ 4.3 |
| Answer | Blue 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 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 overhead | set 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 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.
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
- The deep blue of twilight can't be explained by Rayleigh scattering alone. After sunset, there's a stretch when the sky turns a deep, saturated blue. It's become clear that absorption by ozone contributes significantly to this colour. Ozone weakly absorbs light in the orange-to-red part of the visible spectrum, and that effect builds up as light travels a long path through the atmosphere. The textbook explanation — "the sky's blue is explained by Rayleigh scattering" — falls short for this particular time of day. Just how much ozone contributes versus Rayleigh scattering is still being worked out.
- Precisely predicting sky colour as a number is still not easy, even today. The actual colour of the sky depends on the amount and type of aerosols (dust and fine particles), water vapour, ozone, ground reflectance, and many other factors. Radiative transfer calculations are highly advanced, but reproducing the exact sky colour at a given place and time requires knowing the atmospheric conditions themselves to a precision we don't usually have.
- There are attempts to read past atmospheric conditions from old paintings. Some research tries to estimate historical aerosol levels from the colour tones of sunsets painted after major eruptions. But how to account for an artist's expression and pigment fading over time is tricky, and conclusions vary.
- Direction-sensing 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 perception humans are said to have (Haidinger's brush) — are still being researched.
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)
| Level | Subject / unit | Where in this article |
|---|---|---|
| Middle school | Science: properties of light / prisms and colour | White light as a mixture of colours; the idea of scattering |
| High school | Physics Basics: waves / properties of light | Correspondence 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 |
| University | Electromagnetism / optics / atmospheric physics | Dipole radiation, Mie theory, radiative transfer |
| University | Physiology / colour science | Cone-cell sensitivity, and why the sky doesn't look violet |
| Research | Atmospheric optics (unresolved) | Ozone's contribution, quantitative prediction of sky colour, 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 (the 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 (on twilight sky blue and the contribution of ozone).
- Lynch, D. K. & Livingston, W., Color and Light in Nature (a reference on colour in the natural world).
- 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.