This website uses cookies. Read about how we use cookies.

Close window

How are rainbows formed?

Rainbow over England

The properties and behaviour of light, and how it interacts with droplets of water, give rise to one of nature's most colourful meteorological events - the rainbow.

It's all in the geometry...

Rainbows are formed when sunlight is scattered from raindrops into the eyes of an observer.

Most raindrops are spherical rather than the often depicted 'teardrop' shape and it is this spherical shape that provides the conditions for a rainbow to be seen.

The position of the sun and the raindrops in relation to the observer need to be just right for a rainbow to form:

  • The sun needs to be behind the viewer
  • The sun needs to be low in the sky, at an angle of less than 42° above the horizon. The lower the sun in the sky the more of an arc of a rainbow the viewer will see
  • Rain, fog or some other source of water droplets must be in front of the viewer

The size of the raindrops does not directly affect the geometry of a rainbow, but mist or fog tends to disperse the effect more (see fogbows).

Rainbows only appear semi-circular over level ground at sunrise or sunset, when the sun is exactly on the horizon, the majority of the time a smaller segment of an arc is seen.

The effect of light hitting a raindrop

Because water is denser than air, light passing from air to a raindrop at an angle slows and changes direction, in a process called refraction.

Sunlight is made up of light of many different wavelengths that slow by different amounts causing the white light to split, or disperse, with the shorter blue and violet wavelengths going through a slightly increased change of direction to the longer wavelengths of the red light.

If the angles at which the light enters the droplet are correct, some of the light that enters the droplet will be internally reflected from the inside edge of the drop and will exit the drop, undergoing refraction again as it passes back from water to air.

This image shows how the path of light travels through a droplet:

Path of light travelling through a raindrop

Seeing the rainbow

An observer standing in the right place will see the dispersed sunlight reflected back towards them. Light scattered by many drops reaching the observers eye will appear as a colourful rainbow. Different colours exit the droplets at angles varying by around two degrees from red to violet. The red light seen by an observer comes from drops slightly higher in the atmosphere than the drops that scatter violet light towards the observer as shown in the image below:

An observer's view of a rainbow

The colours seen are not a pure spectrum, there is some mixing and blurring of the colours. The human eye can pick out many hues but it is still common to think of a rainbow as having seven colours, red, orange, yellow, green, blue, indigo and violet (ROYGBIV). You can find out more about the colours of the rainbow What are the colours of the rainbow?.

Rainbow in Budapest

Other rainbow phenomena

There are many different variations on conventional rainbows that form in certain conditions. You can find more information on them by clicking the links below:-

· What is a double rainbow?

· What is a fogbow?

· Full circle rainbow

· Moonbow

Last updated:

Follow us on

Facebook, Twitter, YouTube, Instagram, or Snapchat Facebook Follow @metoffice on Twitter YouTube Instagram Snapchat