Why the Sky Is Blue and Sunsets Are Red: Light Wavelength Explained
On a clear day, every direction you look overhead gives you the same deep blue colour — even though the Sun is a single point of white light. At sunset, that same white Sun turns orange and red. The atmosphere has not changed. What has changed is the path length sunlight travels through the air — and that interacts with wavelengths of light in a beautifully precise way.
This is one of the most elegant demonstrations in all of physics that the colour of light is determined by its wavelength.
White Light Is a Mixture of All Colours
The starting point for understanding the blue sky is understanding what sunlight actually is. Sunlight appears white but is actually a mixture of all wavelengths of visible light simultaneously — every colour from violet (380 nm) to red (700 nm). Pass sunlight through a glass prism and it fans out into a rainbow because each wavelength bends by a slightly different angle (refraction), separating the colours.
380–450 nm
450–495 nm
495–520 nm
520–565 nm
565–590 nm
590–625 nm
625–700 nm
| Colour | Wavelength | Frequency |
|---|---|---|
| Violet | 380–450 nm | 667–789 THz |
| Blue | 450–495 nm | 606–667 THz |
| Cyan | 495–520 nm | 577–606 THz |
| Green | 520–565 nm | 531–577 THz |
| Yellow | 565–590 nm | 508–531 THz |
| Orange | 590–625 nm | 480–508 THz |
| Red | 625–700 nm | 428–480 THz |
When all these wavelengths arrive together at the right proportions, our eyes perceive them as white. Remove the shorter wavelengths and the remaining mix looks orange or red. This selective removal is exactly what the atmosphere does.
What Is Rayleigh Scattering?
When light travels through the atmosphere, it collides with gas molecules — primarily nitrogen (N₂) and oxygen (O₂), which are much smaller than the wavelengths of visible light. These collisions cause the molecules to absorb and re-emit the light energy in all directions. This process is called scattering.
Lord Rayleigh (John William Strutt, 3rd Baron Rayleigh) derived the mathematical relationship between light scattering and wavelength in 1871. His result — now called Rayleigh’s Law — showed that the intensity of scattered light depends on wavelength as:
Shorter wavelengths scatter far more intensely than longer wavelengths.
The fourth power makes the wavelength dependence extremely steep. Here is how much more each colour scatters relative to red light (700 nm):
If we compare blue light (450 nm) to red light (700 nm):
Scattering ratio = (λ_red / λ_blue)⁴ = (700/450)⁴ = (1.556)⁴ = 5.84
Blue light is scattered approximately 5.8 times more than red light by air molecules.
Use our Wavelength to Frequency Calculator to find the exact wavelength and frequency of any colour of light.
Why the Sky Is Blue — Step by Step
Here is the complete chain of reasoning:
Why Violet Light Does Not Make the Sky Purple
This is one of the most common follow-up questions. If violet scatters more than blue, why is the sky blue and not purple or violet?
Three reasons work together:
The net result of all three factors is that the scattered light reaching our eyes from the sky is dominated by blue, not violet — even though violet individually scatters more.
Why the Sun Looks Yellow-White (Not Blue)
If blue is being scattered out of sunlight in all directions, then the direct light from the Sun has had its blue content partially removed. What remains — the light travelling directly to your eyes from the Sun’s disc — is slightly enriched in yellow, orange, and red wavelengths.
At midday, when the Sun is directly overhead, light travels through a relatively thin column of atmosphere (the minimum path length). Only a small fraction of blue is scattered away, so the Sun appears nearly white with a very slight yellow tint.
Why Sunsets Are Red and Orange — The Long Path Effect
The dramatic colours of sunrise and sunset happen because sunlight must travel through a much longer path of atmosphere when the Sun is near the horizon.
Path Length at Different Sun Angles
Sun directly overhead (90°)
~100 km of atmosphere — minimum path. Most blue light survives. Sky is bright blue. Sun appears nearly white.
Sun at 30° elevation
~2× overhead path. Some blue removed. Sky appears deeper blue. Sun slightly yellow-orange.
Sun at horizon (0° elevation)
~38× overhead path. Nearly all blue scattered away. Only red, orange, yellow survive. Vivid sunset colours.
What Happens Over 38× the Path Length
With 38 times more air molecules to scatter light:
- Virtually all of the blue and violet has been scattered away by the time the light reaches your eyes
- A large fraction of green has also been scattered
- Mainly yellow, orange, and red wavelengths survive the long journey
- The sky near the horizon glows orange and red; the Sun itself appears deep orange or red
The exact colours depend on dust and aerosols in the atmosphere (larger particles scatter all wavelengths more equally, producing more vivid oranges and reds), humidity, pollution, and cloud cover. Notably, the 1883 Krakatoa eruption produced vivid red sunsets worldwide for two years due to volcanic ash suspended in the stratosphere.
Worked Example — Calculating the Scattering Ratio
Problem: How much more is blue light (450 nm) scattered than red light (650 nm)?
Ratio = (λ_red)⁴ / (λ_blue)⁴ = (650)⁴ / (450)⁴
= (650/450)⁴ = (1.444)⁴
= 1.444² × 1.444²
= 2.085 × 2.085
Problem: How much more is violet light (400 nm) scattered than red light (650 nm)?
= 1.625² × 1.625²
= 2.641 × 2.641
The Blue Sky on Other Planets
The colour of a planet’s sky depends on the composition of its atmosphere — what molecules are present — and what colours of light its star emits. Earth’s blue sky is not universal.
Earth
N₂ + O₂ atmosphere. Tiny molecules cause Rayleigh scattering. Blue light dominates scattered sky light.
Mars
Thin CO₂ atmosphere with iron oxide dust. Dust absorbs blue and scatters red. Opposite of Earth at sunset.
Venus
Dense CO₂ and sulfuric acid clouds. Light diffused through layers — no direct sunlight at surface.
Titan
Thick nitrogen atmosphere with organic haze particles. Mie scattering dominates through organic smog.
Why Clouds Are White
Clouds contain water droplets or ice crystals that are much larger than air molecules — typically 1 to 100 micrometres in diameter, compared to nitrogen molecules at 0.37 nanometres. These large particles scatter light through a different process called Mie scattering (after physicist Gustav Mie).
Unlike Rayleigh scattering (I ∝ 1/λ⁴), Mie scattering is nearly independent of wavelength when the particle size is much larger than the wavelength. All colours of light are scattered almost equally — so clouds appear white (all colours combined) rather than blue.
Why the Ocean Is Blue
The ocean appears blue for two reasons — one involving the sky and one involving water itself:
Reflection of the sky: Much of what you see when looking at calm ocean water is simply the blue sky being reflected by the water surface. This is the dominant effect for calm water seen at low angles.
Absorption by water molecules: Water absorbs red and infrared light more strongly than blue light. In deep, clear water with no surface reflection (looking straight down from a boat), the water itself appears blue because red wavelengths are absorbed and blue wavelengths are transmitted. This is why deep ocean water in scuba diving appears progressively more blue-green with depth, and red objects appear grey or black at depths beyond a few metres.
The combination of both effects — sky reflection and selective absorption — gives tropical oceans their vivid blue-green colour, while sediment, algae, and dissolved organic matter shift the colour toward greens and browns in coastal waters.
The Tyndall Effect — Blue Eyes and Blue Smoke
The same physics that makes the sky blue explains several other blue appearances in nature, through what is called the Tyndall effect — scattering of light by particles suspended in a transparent medium.
Blue eyes: Eyes are not actually blue. There is no blue pigment in a blue iris. Instead, the iris contains a layer of translucent tissue with collagen fibres that scatter light. Short wavelengths (blue) scatter more than long wavelengths, making the iris appear blue when viewed from the front — exactly like the sky. Brown eyes have melanin pigment in the same layer, which absorbs most light and makes the eye appear brown regardless of scattering.
Blue smoke: The fine particles in fresh smoke (cigarette smoke, incense smoke) are small enough to cause Rayleigh-like scattering. Freshly exhaled smoke or thin wisps of incense appear pale blue for the same reason the sky is blue. Older, cooler smoke with larger particles appears white or grey.
Blue milk: Skim milk with very low fat content appears slightly blue rather than white because the smaller protein molecules (casein micelles) scatter blue light preferentially over red — Tyndall scattering. Whole milk appears whiter because the larger fat globules cause Mie scattering that is wavelength-independent.
Common Misconceptions
❌ The Sky Reflects the Ocean
Many people believe the sky is blue because it reflects the blue ocean. It is actually the reverse — the ocean appears blue partly because it reflects the blue sky.
❌ Rayleigh Scattering Only Affects Sunlight
Rayleigh scattering happens with any light source. The sky is blue from moonlight too — just much dimmer. At night under a full moon, with dark-adapted eyes, the sky appears dark blue for the same reason it appears bright blue during the day.
❌ The Sky Is the Same Blue Everywhere
The sky is deepest blue at 90° from the Sun (directly to the side) and paler nearer the Sun and near the horizon. Polarisation of scattered light also varies with direction.
❌ Sunsets Are Caused by Pollution
While pollution can intensify sunset colours, the fundamental red-orange sunset is caused purely by the long atmospheric path length at low Sun angles — which would occur on a perfectly clean Earth.
Frequently Asked Questions
Sunlight contains all colours. When it enters the atmosphere, gas molecules scatter shorter wavelengths (blue and violet) much more than longer wavelengths (red and orange) — this is Rayleigh scattering, where intensity ∝ 1/λ⁴. Scattered blue light comes at us from all directions across the sky, making it appear blue.
At sunset, sunlight travels through approximately 38 times more atmosphere than at midday. Over this long path, virtually all of the blue light has been scattered away in other directions. Only the longer wavelengths — yellow, orange, and red — survive the journey to reach your eyes directly from the Sun.
Three reasons: the Sun emits less violet than blue, our eyes are less sensitive to violet, and ozone absorbs some violet wavelengths. The combined effect means the sky appears blue rather than violet despite violet scattering more intensely.
The colour changes because the path length of sunlight through the atmosphere changes with the Sun’s angle. At noon (short path) — white-blue sky. In afternoon (longer path) — deeper blue sky. At sunset (very long path — 38× overhead) — orange and red sky.
Clouds contain water droplets much larger than air molecules. Large particles scatter all wavelengths of light nearly equally (Mie scattering, not Rayleigh scattering) — so all colours combined appear white. Only Rayleigh scattering (from tiny molecules) is strongly wavelength-dependent.
No — it depends entirely on atmospheric composition. Mars has a pinkish sky due to iron oxide dust. Venus has a yellowish haze. Titan (Saturn’s moon) has an orange-brown sky. The blue sky is a specific feature of Earth’s nitrogen-oxygen atmosphere with its small molecules.
🌈 Explore Light and the Visible Spectrum
Our Visible Light Spectrum page lets you explore the full visible range interactively — click any wavelength to see its colour, frequency, and photon energy. To convert between wavelength and frequency for any colour of light, use our Wavelength to Frequency Calculator. For the full picture of EM radiation beyond visible light, read our guide to the Electromagnetic Spectrum.