December 5, 2026

Why Rainbows Are Curved: The 42-Degree Angle, Computed From the Refractive Index of Water

A double rainbow arching over green fields after a storm

A rainbow isn’t an object hanging somewhere in the sky. It’s a set of directions. Every raindrop that sits about 42 degrees away from the point directly opposite the sun sends a burst of colored light toward the person looking, and the set of all directions 42 degrees from one point is a circle. That’s the whole reason rainbows curve. Working out where the 42 degrees comes from takes nothing more than the refractive index of water and a few lines of Python, and the same calculation explains the order of the colors, the second bow outside the first and the dark band between them.

Video: Minnesota PBS on YouTube

A circle around a point in the ground

The antisolar point

Atmospheric Optics, a long-running reference site on light in the sky, notes that rainbows are “always opposite the sun,” with their centers “below the horizon at the antisolar point.” The antisolar point is exactly where the shadow of the observer’s head falls. Draw a line from the sun through the eyes and keep going: that’s the center of every rainbow that observer will ever see.

A cone, not an arch

Light reaches the eye from all raindrops lying on a cone around that line, with its tip at the eye. From the ground, the bottom of the cone is cut off by the horizon, so the visible part is an arch. From an airplane, with no ground in the way, rainbows can appear as complete circles. The site’s page on the primary bow puts it this way: the rainbow is not a set of colored rings out in space but light “that forms a circular shape in the sky.”

Everyone sees a different rainbow

Because the cone starts at each observer’s eye, two people standing a few meters apart see light from different raindrops. Each has a personal rainbow centered on their own shadow. That’s also why a rainbow seems to move away when someone walks toward it.

A drop of water hanging from a tree

Where 42 degrees comes from

One bounce inside a drop

Sunlight entering a spherical raindrop bends at the surface, reflects once off the back, and bends again on the way out. How far the ray turns depends on where it hits the drop. A ray straight through the center comes almost straight back. Rays hitting farther from the center come back at larger angles, up to a maximum, and then smaller angles again for rays near the edge.

The calculation

For a ray hitting at an angle of incidence i, Snell’s law gives the angle inside the drop, r, from sin i = n sin r, where n is the refractive index. After one internal reflection, the ray leaves at an angle of 4r − 2i from the antisolar point. Scanning every possible angle of incidence and finding the largest value gives the rainbow angle.

Real refractive indices

The refractive index of water comes from the international reference, the IAPWS release on the refractive index of ordinary water substance, valid for wavelengths from 0.2 to 1.1 micrometers. Evaluated with the iapws Python package for water at 20 °C:

Wavelength Color Refractive index Primary bow radius
400 nm violet 1.3436 40.57°
450 nm blue 1.3396 41.13°
550 nm green 1.3347 41.83°
650 nm red 1.3317 42.27°
700 nm deep red 1.3305 42.44°

Red light is bent slightly less than violet, so its maximum angle is slightly larger. The result is a band about two degrees wide, with red on the outside. Atmospheric Optics confirms the order: “Red is always outermost in the primary bow.”

Why the light piles up at one angle

The maximum is where rays bunch

The key word is “maximum.” Near the largest exit angle, a wide range of entry points all send light out at almost the same angle, so light piles up there. Elsewhere, rays fan out across many angles and the light is spread thin.

Counting rays

A simulation sent a million evenly spaced rays across one face of a drop at 550 nanometers and recorded where each came out. About 8.5 percent of all rays left within half a degree of the 41.83-degree maximum, and 12.1 percent within a degree. For comparison, the one-degree band from 20 to 21 degrees caught only 1.9 percent. The rainbow angle collects six times as much light as an ordinary one-degree slice of sky.

Brighter inside the bow

The rays that don’t reach the maximum all come out at smaller angles, never larger. That’s why the sky just inside a rainbow is noticeably brighter than the sky just outside it: every drop inside the cone sends some light toward the observer, while drops just outside send none from a single internal bounce.

Garden sprinkler beside tree

The secondary bow and the dark band

Two bounces

Light that reflects twice inside the drop before leaving forms the fainter secondary bow. Its exit angle is measured the same way, with a minimum instead of a maximum. The same refractive indices give:

Wavelength Secondary bow radius
400 nm 53.62°
550 nm 51.33°
700 nm 50.24°

The extra reflection flips the order: red is on the inside of the secondary bow and violet on the outside, the reverse of the primary. Each extra reflection also loses light, which is why the secondary bow is dimmer and often shows up only against a dark background of storm cloud.

Alexander’s dark band

Between about 42 degrees and 51 degrees lies a gap of roughly 9.5 degrees where neither once-reflected nor twice-reflected light can arrive. Atmospheric Optics’ explanation is direct: “Raindrops along lines of sight between the two bows cannot send light to your eye and so the sky is darker there.” The band takes its name from Alexander of Aphrodisias, who described it around 200 AD.

Brighter outside the secondary

Twice-reflected rays come out at angles larger than the secondary minimum, so the sky outside the secondary bow is slightly brightened too. A double rainbow is really a bright inner region, a bow, a dark band, another bow and a faintly lighter outer region.

Where the simple picture breaks down

Supernumerary bows

Ray tracing explains the main bows, but not everything that shows up in a good rainbow. Faint extra arcs sometimes appear inside the primary, usually near its top. Atmospheric Optics’ page on supernumerary bows places them “just inside the primary rainbow,” typically in green, pink and purple, and explains that they come from “the interference between light waves as they pass through raindrops.” The calculation above treats light as rays and so can’t produce them at all; they need the wave nature of light.

Drop size matters

The same page notes that “Supernumeraries are created by small, almost same sized raindrops.” When drops are all much the same size, their interference patterns line up and the extra arcs stand out; in a shower of mixed sizes, they wash out. Very small drops, such as those in fog, spread the colors so much through diffraction that the bow turns broad and nearly white.

Why the ray model still works

For ordinary raindrops, about a millimeter across, the ray calculation gets the position of the main bow right to within a fraction of a degree. That’s why it’s the explanation taught everywhere: it’s simple, and for the part of the rainbow most people notice, it’s accurate.

Rainbow over green grass field

When you can see one

The sun has to be low

Because the rainbow is centered on the antisolar point, which sits below the horizon by the same angle the sun stands above it, the top of the bow is at about 42 degrees minus the sun’s elevation. With the sun on the horizon, the top of the primary bow stands 41.8 degrees high, nearly a half circle. With the sun 20 degrees up, the top is at about 22 degrees; at 30 degrees, about 12 degrees. Once the sun climbs past about 42 degrees, the whole primary bow is below the horizon and can’t be seen from the ground. Atmospheric Optics notes that “The lower the sun the higher is the bow.”

Time of day

That’s why rainbows are mostly a morning and late-afternoon sight, and why in summer at middle latitudes they often disappear around midday. In winter, when the sun stays lower all day, a rainbow can appear at noon.

Making one

A garden hose set to fine spray, with the sun low and behind, makes a rainbow at the same 42 degrees. Walking around the spray doesn’t move it, because the bow stays fixed relative to the observer’s own shadow. Standing on a ladder or a hill, with the spray below, reveals more of the circle that the ground normally hides.

Sources

  • Atmospheric Optics, “Primary bow”: https://atoptics.co.uk/rainbows/primary.htm
  • Atmospheric Optics, “Alexander’s dark band”: https://atoptics.co.uk/rainbows/adband.htm
  • IAPWS R9-97, “Release on the Refractive Index of Ordinary Water Substance as a Function of Wavelength, Temperature and Pressure”: http://www.iapws.org/relguide/rindex.pdf

920 Posts

Peter Kalafatis writes and edits X9M8. He holds a bachelor's degree from LIU Post and a master's in Media Studies from The New School, with academic work in the philosophy of science, human behavior, AI, and memetics.

View All Posts

Leave a Reply

Your email address will not be published. Required fields are marked *