Optics

Rayleigh Scattering

The 1/λ⁴ law that paints the daytime sky blue and the setting Sun red

Rayleigh scattering is scattering of light by particles much smaller than its wavelength, with a cross-section proportional to 1/λ⁴.

  • Cross-sectionσ ∝ 1/λ⁴
  • Blue/red ratio(700/400)⁴ ≈ 9.4×
  • RegimeParticles ≪ λ (size param 2πr/λ ≪ 1)
  • Daytime skyBlue — scattered out of the beam
  • Sunset SunRed — blue removed over long path
  • Named forLord Rayleigh, 1871

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

Definition

Rayleigh scattering is the elastic scattering of electromagnetic radiation by particles much smaller than its wavelength. "Elastic" means the scattered light keeps the same wavelength — only its direction changes. The defining feature is how strongly the effect depends on color: the scattering cross-section scales as the inverse fourth power of the wavelength.

σ ∝ 1 / λ⁴

That single relationship is the whole story of the blue sky and the red sunset. Shorter wavelengths (blue, violet) are scattered far more than longer ones (orange, red). The full single-molecule cross-section is:

σ = (2π⁵ / 3) · (d⁶ / λ⁴) · ((n² − 1) / (n² + 2))²

where d is the particle diameter, λ the wavelength, and n the refractive index. The factor you care about for everyday sky color is the lone 1/λ⁴.

How it works — molecules as tiny antennas

Light is an oscillating electromagnetic field. When it passes a molecule far smaller than its wavelength, the field grabs the molecule's electron cloud and drives it to oscillate at the same frequency. An oscillating charge is an antenna — it re-radiates light in (almost) all directions. That re-radiated light is the scattered light.

Why the steep 1/λ⁴ dependence? The induced dipole's acceleration goes as the square of the driving frequency, and the radiated power from an accelerating charge goes as acceleration squared — so power scales as frequency to the fourth, i.e. 1/λ⁴. Higher-frequency (bluer) light shakes the electrons harder and they radiate disproportionately more.

Because the molecule re-radiates as a dipole, the scattered light has two important properties:

  • Angular pattern. Intensity goes as 1 + cos²θ, so light scatters preferentially forward and backward, with a minimum (but never zero) at 90°.
  • Polarization. A dipole radiates nothing along its own axis, so light scattered at 90° to the Sun is strongly linearly polarized — the basis of the polarized band of sky 90° from the Sun.

Worked example — the blue/red ratio

The headline number falls straight out of the law. Take the blue end of the visible spectrum at λ_blue = 400 nm and the red end at λ_red = 700 nm. The ratio of their scattering cross-sections is:

σ_blue / σ_red = (λ_red / λ_blue)⁴
              = (700 / 400)⁴
              = 1.75⁴
              ≈ 9.4

Blue light is scattered about 9.4 times more strongly than red light. Use a more central blue of 450 nm and you still get (700/450)⁴ ≈ 5.8 — either way, blue wins by a large factor. This is why:

  • The daytime sky is blue. Looking anywhere away from the Sun, you see sunlight that has been scattered toward you. Blue dominates that scattered light ~9× over red, so the whole dome glows blue.
  • The sunset Sun is red. At sunset the beam crosses a long slanted path through the air. Over that distance, the ~9× more-scattered blue is stripped out of the direct beam and flung sideways into the sky. What is left in the transmitted beam is the weakly-scattered red and orange.

How much longer is the sunset path? Looking straight up you cross one "air mass." With the Sun on the horizon the geometric slant is dozens of air masses (refraction and Earth's curvature cap it near 38). With 9.4× per air mass acting on blue, multiplying that attenuation over many air masses leaves essentially no blue in the direct beam — hence deep red.

Variants and regimes

Rayleigh scattering is one corner of a broader landscape set by the size parameter x = 2πr/λ, the particle circumference measured in wavelengths.

RegimeSize parameter x = 2πr/λWavelength dependenceColor outcomeEveryday example
Rayleighx ≪ 1 (r ≪ λ)Strong, σ ∝ 1/λ⁴Blue sky, red sunsetAir molecules (~0.3 nm)
Rayleigh–Gansx ≲ 1, n ≈ 1IntermediateWeakly coloredLarge biomolecules, some aerosols
Miex ≈ 1 (r ≈ λ)Weak / oscillatoryWhite or grayCloud, fog droplets (~10 µm)
Geometric opticsx ≫ 1 (r ≫ λ)None (all colors)White, plus rainbows/halosRaindrops (~1 mm)
Tyndall effectcolloidal, x < 1Bluish in scatterBlue haze on transmissionSmoke, diluted milk, opal
Resonant (near absorption)anyAnomalousVivid, line-specificSodium D-line, dye solutions

The crucial neighbor is Mie scattering, which takes over once particles approach the wavelength. Mie scattering is nearly color-blind: clouds and fog scatter all wavelengths roughly equally, so they look white or gray. The contrast — blue clear sky, white cloud right next to it — is Rayleigh versus Mie playing out side by side.

Common pitfalls and misconceptions

  • "The sky is blue because it reflects the ocean." No — the causality runs the other way. The sky is blue from Rayleigh scattering of sunlight by air; the clear sea looks blue partly because it reflects the sky and partly from its own weak scattering and absorption of red light.
  • "Blue scatters more, so the sky should be violet." The 1/λ⁴ law does favor violet, but sunlight carries less violet power, the upper air absorbs some, and our cones integrate the scattered spectrum to "blue." Physics scatters violet most; perception reads blue.
  • "Sunsets are red because the air glows or the Sun cools." The Sun's spectrum doesn't change. Sunsets are red purely because the long path scatters the blue out of the transmitted beam — subtraction, not emission.
  • "Clouds are white because water is white." Water is nearly colorless. Clouds are white because their droplets are large enough for color-blind Mie scattering — not Rayleigh.
  • "Rayleigh scattering changes the light's color (frequency)." It is elastic — wavelength is unchanged. The sky looks blue because blue is preferentially redirected, not because anything is recolored. (Inelastic Raman scattering is the cousin that does shift frequency.)
  • "It only happens in the sky." The same 1/λ⁴ scattering off frozen-in density fluctuations in glass sets the loss floor of optical fibers, and gives clear deep water its faint blue.

Applications

  • Atmospheric and climate science. Rayleigh scattering is a calibration baseline (the "Rayleigh atmosphere") for satellite radiometers and for separating molecular from aerosol signals in LIDAR.
  • Optical fiber design. Intrinsic Rayleigh scattering off glass density fluctuations dominates loss at short wavelengths; because it falls as 1/λ⁴, telecom settled near 1550 nm where the Rayleigh floor (~0.2 dB/km) is minimal.
  • Remote sensing and astronomy. Correcting for the blue Rayleigh haze sharpens ground-based imaging; the reddening of starlight through the atmosphere mimics interstellar reddening and must be subtracted.
  • Polarization navigation. The sky's polarization pattern (peaking 90° from the Sun) is used by insects, by Viking-era "sunstone" navigation lore, and by modern polarized-sky compasses.
  • Particle sizing. Because the Rayleigh-to-Mie transition depends on x = 2πr/λ, measuring the wavelength dependence of scattered light reveals particle size in aerosols and colloids.
  • Structural color. Blue eyes, blue feathers, and the blue of some mammal skin arise from Rayleigh/Tyndall scattering in tissue, not from blue pigment.

Derivation and scaling analysis

Start with an oscillating field E = E₀ cos(ωt) driving a molecule of polarizability α. The induced dipole is p = αE₀ cos(ωt), with acceleration amplitude ∝ ω². The Larmor formula says an accelerating charge radiates power ∝ (acceleration)² ∝ ω⁴. Since ω = 2πc/λ, this is ∝ 1/λ⁴. Putting the constants in gives the cross-section quoted above.

The practical consequences are all about scaling:

Wavelength λ (nm)ColorRelative scattering (∝ 1/λ⁴, normalized to red 700)
400Violet/blue edge9.4×
450Blue5.8×
500Cyan/green3.8×
550Green (peak eye sensitivity)2.6×
600Orange1.85×
700Red1.0× (reference)

The column on the right is just (700/λ)⁴. It shows the smooth, steep ramp: by the time you reach the blue edge you are nearly an order of magnitude above red. Note the law has no free parameters tuned to the sky — the 1/λ⁴ falls out of electrodynamics, and the observed blue-to-red sky behavior follows automatically.

// Relative Rayleigh scattering vs. a reference wavelength
function rayleighRatio(lambda_nm, refLambda_nm = 700) {
  return Math.pow(refLambda_nm / lambda_nm, 4);
}

console.log(rayleighRatio(400).toFixed(1)); // 9.4  -> blue scatters ~9.4x more than red
console.log(rayleighRatio(450).toFixed(1)); // 5.8
console.log(rayleighRatio(550).toFixed(1)); // 2.6

// Transmitted (direct-beam) survival through N "air masses".
// Sunset slant path is many air masses; blue is stripped out, red survives.
function transmitted(lambda_nm, airMasses, baseOpticalDepth = 0.05) {
  // optical depth scales as 1/lambda^4 (normalized at 700 nm)
  const tau = baseOpticalDepth * rayleighRatio(lambda_nm) * airMasses;
  return Math.exp(-tau); // fraction of direct beam surviving
}

// Noon (1 air mass): blue mostly survives -> Sun looks white/yellow
console.log(transmitted(450, 1).toFixed(2));  // ~0.75
console.log(transmitted(650, 1).toFixed(2));  // ~0.97

// Sunset (~12 air masses): blue gone, red survives -> red Sun
console.log(transmitted(450, 12).toFixed(2)); // ~0.03  (blue nearly extinguished)
console.log(transmitted(650, 12).toFixed(2)); // ~0.69  (red mostly through)

The toy model above captures the essence: per air mass, blue is attenuated ~9× faster than red. Over a single vertical air mass the Sun looks white; stack a dozen air masses at the horizon and the blue is gone from the direct beam while most of the red survives — a red Sun in a sky that has caught all the scattered blue.

Frequently asked questions

Why is the sky blue?

Air molecules (mostly N₂ and O₂) are far smaller than the wavelength of visible light, so they scatter sunlight by Rayleigh scattering, whose cross-section scales as 1/λ⁴. Blue light (~450 nm) scatters far more strongly than red light (~700 nm) — the ratio (700/450)⁴ ≈ 5.8, and against deep red ≈ 700/400 it is about 9.4. That scattered blue light reaches your eyes from every direction across the sky, so the sky looks blue. It is not quite violet because the Sun emits less violet and your eyes are less sensitive to it.

Why are sunsets red?

At sunset the Sun's light travels a much longer slanted path through the atmosphere — tens of times the vertical thickness. Along that long path, the strongly-scattered blue and green light is removed from the direct beam, scattered out sideways into the sky. What survives to reach your eye is dominated by the weakly-scattered long wavelengths — orange and red. The same 1/λ⁴ law that paints the daytime sky blue also reddens the transmitted Sun.

What does "cross-section proportional to 1/λ⁴" mean?

The scattering cross-section σ is an effective target area a molecule presents to the incoming light. For Rayleigh scattering σ ∝ 1/λ⁴, so halving the wavelength makes a molecule 16× more effective at scattering. Comparing blue (400 nm) to red (700 nm): (700/400)⁴ = 1.75⁴ ≈ 9.4. Blue is scattered about nine times more than red — the central number behind both the blue sky and the red sunset.

What is the difference between Rayleigh and Mie scattering?

Rayleigh scattering applies when particles are much smaller than the wavelength (size parameter x = 2πr/λ ≪ 1), giving the strong 1/λ⁴ color dependence. Mie scattering applies when particles are comparable to or larger than the wavelength — cloud droplets, fog, dust. Mie scattering is nearly wavelength-independent, which is why clouds and fog look white or gray rather than blue: all colors scatter about equally.

Why are clouds white but the clear sky blue?

Clouds are made of water droplets roughly 10–20 µm across — far larger than the ~0.5 µm wavelength of light. They scatter by Mie scattering, which is almost color-blind, so all wavelengths leave together and the cloud looks white. The clear sky is gas molecules ~0.0003 µm across, deep in the Rayleigh regime, so blue dominates and the sky is blue.

Why isn't the sky violet, since violet scatters even more than blue?

The 1/λ⁴ law does favor violet over blue. But three things suppress violet: sunlight contains less violet power than blue, the upper atmosphere absorbs some violet, and human eyes have three cone types whose combined response to the scattered spectrum reads as sky-blue rather than violet. The physics scatters violet most; the perceived color is blue because of the source spectrum and our visual system.

Why is Rayleigh-scattered light polarized?

An incoming light wave drives the molecule's electrons to oscillate; the molecule then re-radiates like a tiny dipole antenna. A dipole radiates nothing along its own axis, so light scattered at 90° to the Sun is strongly linearly polarized. That is why the sky is most polarized in a band 90° from the Sun — bees and some birds navigate by it, and a polarizing filter darkens that part of the sky most.

Does Rayleigh scattering happen in things other than air?

Yes. It occurs whenever light meets density fluctuations or particles much smaller than its wavelength: the faint blue tint of clear deep water, the bluish haze of distant mountains, the blue of some bird feathers and human-eye irises (structural color), and — critically — attenuation in optical fibers, where intrinsic 1/λ⁴ Rayleigh scattering off frozen-in glass density fluctuations sets the lower limit on signal loss near 1550 nm.