How rainbows form comes down to one thing: sunlight bends, reflects and splits into colours inside raindrops. When those colours reach your eyes, you see a coloured arc in the sky.

Three processes, one view

A rainbow combines three effects.

  • Refraction: Light bends slightly when it passes from air into water.
  • Reflection: The back surface of the drop sends the light back toward you.
  • Dispersion: White light contains many colours. Each bends by a slightly different amount, so they separate.

What happens inside one drop

A sunbeam enters the drop and bends. It reflects off the back of the drop, then bends again as it leaves. The colours spread out along the way.

Red light reaches your eye at about 42° from the sunbeam’s original direction, and violet at about 40°. The other colours fall in between. Red bends the least, so it exits at the widest angle and forms the outer edge. Violet bends the most, so it lands on the inner edge.

What you need to see one

  • The sun behind you.
  • Raindrops or spray in front of you.
  • The sun not too high in the sky.

A rainbow always appears opposite the sun. It is really a full circle, but the ground gets in the way, so you usually see only the upper half. From an aeroplane you can sometimes see the whole circle.

Why not at noon?

If the sun is higher than about 42° above the horizon, the rainbow falls below the horizon and you can’t see it from the ground. That is why rainbows usually appear in the morning or evening. In India, the midday sun in summer is often very high, which makes a midday rainbow unlikely. (This follows from the 42° rule; I did not check local sun-angle data.)

Double rainbows

Sometimes a fainter second rainbow appears above the main one. Here the light reflects twice inside the drop, which reverses the colour order: violet outside, red inside. It is much dimmer, about one-tenth as bright as the primary.

Conclusion

A rainbow is not a solid object. It is the result of light, water drops and where you stand. That is why two people standing in different places never see exactly the same rainbow.

FAQ

How many colours does a rainbow have?
Seven are traditionally listed. In reality the colours blend into each other, and there is no fixed number.

Why do rainbows appear after rain?
They need water drops in the air and sunlight from behind you. That happens when the sun comes out during or just after rain.

Why are the colours reversed in a double rainbow?
In the second bow the light reflects twice inside each drop, which flips the colour order.

Can you reach the end of a rainbow?
No. Its position depends on where you stand, so it is not an object in a fixed place.