Skip to content

Light and optics simulation

How Are Rainbows Formed? Why a Double Rainbow Is Reversed (3D Simulation)

Try this: Press Shine sunlight in and watch A reflection off the back. Under What changed, compare the angle at the back with the critical angle: is this total internal reflection?

Loading simulation…

Shine white sunlight into a magnified 3D raindrop and watch it bend, reflect off the back and split into colours. Spray rays across the drop to see the light pile up near 42°, then step back into the rain to see your own rainbow, the reversed second bow and the dark band between them.

In short

How are rainbows formed?

Sunlight from behind you enters falling raindrops, bends (refracts), reflects off the back of each drop and bends again as it leaves. Water bends violet slightly more than red, so the colours separate, and the light piles up about 42° from the point opposite the Sun. Every drop at that angle sends you colour, so you see a circle of light, red on the outside.

This is one of our 3D physics simulations: drag to turn it, or use the Front, Side and Top buttons.

Show symbols for

Predict first

Question 1 of 4

  1. Predict
  2. Run
  3. Check

In water, violet light slows down a little more than red light, so violet bends a little more each time it enters or leaves a raindrop. On the main (primary) rainbow, which colour is on the outside of the arc?

Try this

  1. Press Shine sunlight in and watch A reflection off the back. Under What changed, compare the angle at the back with the critical angle: is this total internal reflection?
  2. Press Back, switch on Slow and press Next to replay Out again, in colours. Which colour leaves at the bigger angle, and where does it end up in the Colour order tile?
  3. Drag Your ray from 0% to 99% and watch the angle red leaves at. Where does it stop rising?
  4. Set Reflections inside (your ray) to Two and drag Your ray to about 95%. How do the red and violet angles compare now?
  5. In the rainbow stages, drag Sun height from 20° up to 50°. At what height does the top of the primary bow sink below the horizon?

What you are looking at

A raindrop, magnified until it fills the stage, with sunlight arriving from the left. Shine sunlight in plays seven named stages, ending with a double rainbow over a rainy hillside. Your ray traces a ray of your own, and Sun height moves the Sun.

How are rainbows formed?

Light travels more slowly in water than in air, so a ray entering a raindrop bends towards the normal. Part of it reflects off the back of the drop, crosses the water again and bends a second time on the way out. Water slows violet a little more than red (its refractive index is about 1.343 for violet and 1.331 for red), so violet is bent slightly more whenever it crosses the surface. The colours leave the drop fanned out, a few degrees apart.

The reflection inside is not total internal reflection. The light meets the back of the drop at about 40°, below the critical angle of about 48.6°, so only around 6% reflects and the rest escapes.

Why does the light pile up at 42°?

Rays hit the drop all over its face. A ray through the middle comes straight back towards the Sun; rays further out come back at bigger and bigger angles, until near the edge the angle starts to shrink again. Around the turning point a wide band of rays all leave at almost the same angle, so their light adds up. René Descartes worked this out in 1637, in Les Météores, by tracing rays through a sphere of water. For red light the turning point is at about 42.4°, for violet about 40.6°. Books usually give a single 42° (and 51° for the second bow): those are the figures for yellow light, near the middle of the spectrum, while each real bow is a band a couple of degrees wide.

Why are rainbows curved?

The point directly opposite the Sun, where the shadow of your head points, is called the antisolar point. Any drop about 42° from it sends red light to your eye; a drop a little closer sends violet. All the directions at one angle from a point make a circle, so the bow is a circle centred on the antisolar point. The ground hides the lower part; from an aircraft you can sometimes see the whole ring.

Why is a double rainbow reversed?

Some light reflects twice inside the drop before it leaves. The extra reflection turns it round further, and now violet leaves at the bigger angle: about 53.5°, against about 50° for red. So the secondary bow has red on the inside and violet on the outside. More light escapes at each reflection, which makes it fainter. Between the two bows lies Alexander's dark band, roughly 8° of sky that receives light reflected neither once nor twice.

When can you see a rainbow?

You need the Sun behind you and rain in front. The antisolar point sits as far below the horizon as the Sun is above it, so from flat ground the primary bow vanishes once the Sun is higher than about 42°. That is why rainbows appear in the morning, late afternoon and evening rather than around midday in summer.

In your course

Ray diagrams of refraction are in AQA 4.6.2.2, and the Higher-tier ideas that refraction comes from a change of speed and varies with wavelength are in the same section; reflection at a boundary is 4.6.1.3 (physics only). See our AQA refraction notes. Cambridge IGCSE covers the critical angle and internal reflection in 3.2.2 and dispersion in 3.2.4: see IGCSE refraction of light. Punjab Class 10 Physics covers refraction and the critical angle in section 14.2 (total internal reflection) and dispersion in 14.8 (dispersion of light). The 42° calculation is beyond all three. Split light with the prism and colour simulation, measure angles with Snell's law, and compare another sky effect in why the sky is blue in 3D.

Quiz

Check your understanding

7 questions

  1. 1.Which three things happen to sunlight inside a raindrop to make the main (primary) rainbow?
  2. 2.On the primary rainbow, which colour is on the outside of the arc?
  3. 3.Why are the colours of a secondary (double) rainbow in the reverse order?
  4. 4.The reflection at the back of a raindrop is:
  5. 5.Why is a rainbow curved?
  6. 6.The Sun is 50° above the horizon. Standing on flat ground in a shower, can you see the primary rainbow?
  7. 7.What is Alexander's dark band?

For teachers

Embed it in your site or open it full-screen for the projector.

Next step

Optical fibres

The next simulation in light and optics.