Drops · bows · colours · the whole spectrum

How rainbows work

A rainbow is sunlight that went into raindrops and came back out, sorted by colour. This page has three tables to work at: one raindrop with light passing through it, the sky full of such drops, and the spectrum itself, which carries on far past the red and the violet where the eye gives up.

–primary bow
–secondary bow
–parameters

1 · One raindrop

Sunlight arrives from the left as parallel rays. Each ray bends as it enters the drop, reflects off the back, and bends again as it leaves. Where a ray comes out depends on how far from the centre it went in, and one direction gets far more than its share.

Show
–

Where each ray comes out

Why 42°

Rays that enter near the centre come almost straight back. Further out they come back at a wider angle, but only up to a limit: about 42° from the direction pointing away from the sun. Near that limit a wide bundle of rays all leave in nearly the same direction, so the drop looks bright from there and dim from everywhere else. Descartes found this in 1637 by working out the paths of rays one after another by hand.

Why colours

Water bends violet light a little more than red. So each colour has its own limiting angle: 42.3° for red, 40.8° for violet. A drop sends red to your eye only if it sits 42.3° from the point opposite the sun, and violet only if it sits at 40.8°. Different drops supply different colours. Newton worked this out in the 1660s with prisms.

Why a second bow

Some light is reflected twice inside the drop before it leaves. It also piles up at a limiting angle, this time about 51°, approached from the other side. The second reflection turns the light over, so the colours come out in the opposite order: red on the inside. Each reflection lets most of the light escape, so the second bow is much fainter and nearly twice as wide.

2 · The sky full of drops

Stand with the sun behind you. Every drop that lies 42° from the point opposite the sun sends you its bunched-up light, and those drops form a circle. Drag the picture to look round; scroll to zoom.

Start from
–

Seen from the side

Why an arc. The angle is the same in every direction round the line from the sun through your head, so the bright drops lie on a cone with your eye at its tip. You see the cone end on: a circle, with the ground cutting off the lower part.

Why the sun must be low. The centre of the circle is as far below the horizon as the sun is above it. With the sun higher than 42° the whole primary bow is below the horizon, which is why rainbows belong to mornings and late afternoons.

Nobody else sees yours. The cone is built on your own eye. Someone beside you gets their light from other drops, and each of your eyes from different ones still. A rainbow has no place; it has only a direction.

The dark band

Once-reflected light can leave a drop anywhere inside 42° and twice-reflected light anywhere outside 51°, but neither can come out in between. So the sky between the two bows is darker than the sky inside the first or outside the second. It is called Alexander’s band, after Alexander of Aphrodisias, who described it about the year 200.

Pale fringes, and white bows

Just inside the primary there are often a few narrow green and pink bands. Rays cannot explain them. Light is a wave, and two paths through the drop that leave in the same direction reinforce or cancel one another. Thomas Young saw this in 1804; George Airy gave the mathematics in 1838. The fringes spread as drops get smaller, and in fog the colours overlap completely: a white bow.

Polarised light

The reflection inside the drop happens close to the angle at which water reflects only light vibrating one way. So rainbow light is about 95% polarised, vibrating along the bow. Polarising sunglasses can make the top of a rainbow disappear; tilt your head and it comes back.

Red at sunset

The bow can only contain the colours the sun sends. When the sun is on the horizon its light has crossed forty times as much air as at noon, and the blue has been scattered away. What is left makes a bow that is mostly red, and as tall as a bow can be: a full half circle.

Third and fourth bows

Light reflected three or four times makes bows too, but these lie round the sun, in the brightest part of the sky, and each is fainter than the last. They were first photographed in 2011, by stacking and stretching many exposures. A fifth, back on the side opposite the sun, has been recorded since.

A full circle

There is nothing special about the half you see. Wherever there are sunlit drops in the right direction there is bow, including below the horizon. From an aeroplane, a mountain or behind a garden hose the circle closes, with the shadow of your own head at its centre.

3 · Beyond the colours

Red and violet are where the eye stops, not where the light stops. The same waves exist at every length from smaller than an atom to larger than a mountain, and the colours of the rainbow are a sliver in the middle. Drag across the chart.

Herschel’s thermometer

In 1800 William Herschel spread sunlight into a spectrum and laid thermometers in each colour to see which warmed most. The one he had put beyond the red end, in what looked like shadow, warmed more than any. There was light there that the eye could not see. He called it calorific rays; we call it infrared.

Ritter’s paper

A year later Johann Ritter looked at the other end. Silver chloride darkens in light, and faster in violet than in red. Beyond the violet, where nothing could be seen, it darkened fastest of all. That was ultraviolet. Both discoveries were made, in effect, by looking for the rest of the rainbow.

One thing, many names

In 1865 James Clerk Maxwell showed that light is a wave of electric and magnetic fields, and that such waves could have any length at all. Radio waves, microwaves, infrared, light, ultraviolet, X-rays and gamma rays are the same thing at different wavelengths. They all travel at the same speed in empty space; the shorter the wave, the more energy each packet of it carries.

Why we see this slice

The sun is brightest in the visible band, the air is transparent there, and so is water, in which eyes first evolved. Ultraviolet is mostly stopped by ozone and much of the infrared by water vapour. Eyes use the light that was available.

The rainbow is wider than it looks

Rain bends infrared a little less than red and ultraviolet a little more than violet, so there is an infrared bow just outside the red edge and an ultraviolet bow just inside the violet. Both have been photographed. Try “Beyond the visible” in the sky above.

Where the bow ends

Further into the infrared water stops being clear and absorbs the light instead. At the far end, radio and radar waves are as long as raindrops or longer, so drops cannot focus them into a bow; they scatter a little in all directions, and weather radar listens for that echo.

What comes from the real thing, and what this page chose

From the real thing

  • Rays through the drop follow Snell’s law and the law of reflection; their strengths follow Fresnel’s equations for both polarisations. The bow angles are computed from these, not typed in.
  • The refractive index of water at each wavelength and temperature is the international standard formulation (IAPWS 1997), taken relative to air.
  • With “light as waves”, each bow is Airy’s 1838 theory: fringe spacing and the widening for small drops follow from the drop radius and the wavelength.
  • Colours are computed from the spectrum with the CIE 1931 standard observer. Sunlight is a 5772 K black body, reddened along its path through the air by Rayleigh scattering.
  • The sky picture uses the true geometry: the bows are circles round the point opposite the sun, blurred by the half-degree width of the sun.
  • Wavelength, frequency, photon energy and the black-body curve in the spectrum chart are exact relations.

Chosen by this page

  • Drops are perfect spheres. Real raindrops larger than about half a millimetre are flattened by the air, which shifts and weakens the top of the bow.
  • Airy’s theory is an approximation that is good for rain and drizzle and only rough for fog. The exact answer (Mie theory) adds a fine ripple and the glory round the point opposite the sun, which are not shown.
  • Far from each bow the wave picture is joined on to the ray picture’s brightness only approximately. The spot of light at the point opposite the sun is softened.
  • The background sky, cloud and ground are simple gradients and are not polarised. How bright the bow is against them is set by eye; the “amount of sunlit rain” slider stands for the depth of the shower. The picture is white-balanced for a high sun and its brightness follows the light, as an eye or camera would.
  • Infrared and ultraviolet are drawn in false colours (pink and lavender) and their brightness is set for visibility, not measured. Absorption of the infrared by water vapour and of the ultraviolet by ozone is left out of the sky picture.
  • In the spectrum chart the atmosphere’s transparency is a sketch of the real curve; band edges are conventions and differ between fields; the limits of animal vision are approximate.