UPSCYatra
Topper CopiesDaily Current AffairsPlaces in NewsPricing
UPSCYatra

Navigate your UPSC journey with clarity.

UPSC Resources

UPSC SyllabusPrelims cut-offMains cut-offFinal cut-offNCERT BooksPlaces in NewsGovernment schemesIUCN species in newsIndices & reportsUNESCO heritage sitesGovernment reports

UPSC Preparation

Study essentialsPrelims GS PYQPrelims CSAT PYQsMains PYQsAnswer writing hubTopper mains copiesPrelims GS PYQ analysisPrelims CSAT PYQ analysisCDS PYQCAPF PYQ

Company

BlogPricingAbout usOur story

© 2026 UPSCYatra. Built by an aspirant for the aspirants.

Privacy Policy and DisclaimerRefund Policy

Table of Contents

HomeGeography Around YouRainbow Formation: Why the Sun Must Be Behind You
Bright primary rainbow over green fields after rain, sunlight coming from behind the observer — atmospheric optics for UPSC geography
Geography Around You

Rainbow Formation: Why the Sun Must Be Behind You

Rainbow formation needs refraction, dispersion, and internal reflection in raindrops — and the sun behind you facing the rain. Diagrams for UPSC geography.

12 JUL 202613 min read

PYQs

Explore UPSCYatra

Today's Current Affairs

Prelims GS PYQ

Topper Answer Copies

UPSC Mains PYQ

PYQs

Wide primary rainbow arching over wet green fields in India just after a monsoon shower, clearing blue sky beyond the rain curtain

You have probably seen it a hundred times without asking the question. The rain eases. The sun peeks out. And suddenly there is a glowing arc of colour hanging in the sky.

But here is the odd part. You never see that arc when you are facing the sun. You see it when the sun is at your back, and the rain is still hanging in the air in front of you.

So why does a rainbow insist on this exact arrangement? Why not when you look toward the bright sun? Why not on a clear afternoon with no rain at all?

Rainbow formation happens when raindrops refract, disperse, and internally reflect sunlight back to your eyes — so you only see the arc when the sun is behind you and the rain is ahead.

That is really the whole secret. Everything else is just that one idea playing out. Sunlight enters a drop. The drop bends it. The drop reflects it. And your eye catches the colours only when you stand with your back to the sun.

Let's walk through it step by step.

In one line

Rainbow formation needs refraction, dispersion, and internal reflection in raindrops — and you only see the arc when the sun is behind you and rain is ahead.

So what exactly is a rainbow?

A is a curved band of colours you see in the sky when sunlight hits falling raindrops at the right angle. It is not a solid thing. You cannot fly up and touch it. Move a few steps, and the rainbow you see is made by a slightly different set of drops.

Think of it as a private light show. The raindrops act like tiny glass beads. Each drop catches white sunlight, splits it into colours, and sends a little of that colour back toward whoever is standing in the right spot.

You will notice a few things every time one shows up:

  • The sun is behind you, low or medium in the sky, not straight overhead.
  • There is rain, drizzle, or leftover spray still in the air in front of you.
  • The colours always run in the same order: red on the outside of the main arc, violet on the inside.

In India, you will spot this after monsoon showers, after a Kalbaisakhi evening storm clears, or when the sun breaks through during a light afternoon rain over the plains. Basically anywhere sunlight and raindrops share the sky for a few minutes.

And this is not the same as the colourful rings you sometimes see around the sun or moon in thin ice-cloud. A rainbow is made by liquid raindrops close to the ground. The light has to travel through those drops and bounce back to you.

If you have watched an evening thunderstorm fade at dusk, you already know the setup: wet air in front, softer sunlight behind. That is rainbow weather.

Why the sun has to be behind you

You see a rainbow only with the sun behind you because sunlight must reach the raindrops, turn around inside them, and travel back to your eyes. That bounce-back path lines up when the sun is at your back, the rain is ahead, and you stand in the middle.

Think of a raindrop as a tiny mirror-ball for light.

Light travels in straight lines until something bends or bounces it. For you to see a rainbow, sunlight must reach the drop, turn around inside it, and come back toward your eyes. That return trip only works if the sun is behind you.

Labeled diagram of rainbow viewing geometry: sun behind the observer, rain curtain ahead, and light rays bouncing from raindrops back to the eye for UPSC geography

Here is the lineup:

  1. The sun sits behind your shoulder.
  2. A curtain of rain hangs in the air in front of you.
  3. Sunlight races past you, hits the drops, and comes back.

If you turn around and look toward the sun, you are staring at the light source itself. The raindrops behind you are not bouncing that light into your face as a neat coloured arc. You might see glare, clouds, or even a bright sky — but not the classic rainbow.

Three things make the geometry even clearer:

  • Sun behind you: light comes from the rear and can be sent back.
  • Rain in front: drops that can catch and return the light.
  • You in the middle: your eyes sit on the return path.

Scientists talk about the and a roughly 42-degree viewing angle for the main rainbow, but you do not need the number to picture it. Stand with your back to the sun, face the rain, and you are already in the right theatre seat.

How is a rainbow formed? Refraction, dispersion, and internal reflection

Rainbow formation is due to three linked steps inside each raindrop: , , and . Light bends as it enters water, splits into colours, bounces off the back of the drop, then bends again as it leaves — and different colours bend by slightly different amounts.

Sunlight looks white, but it is really a mix of many colours packed together. A raindrop sorts them out.

Single raindrop diagram showing sunlight entering, refracting, reflecting off the back wall, and exiting as separated spectrum colours toward the observer for UPSC geography

Here is what happens inside one drop, one step at a time:

  1. A ray of sunlight hits the front of the raindrop.
  2. As it enters the water, it slows and bends. That bending is called .
  3. Different colours bend by slightly different amounts. Red bends a little less; violet bends a little more. So the white mix starts to spread.
  4. The light hits the back of the drop and reflects, like bouncing off a curved mirror. That bounce is (the same idea as ordinary , just happening inside the drop).
  5. As the light leaves the front of the drop again, it bends once more and spreads further.

By the time the light reaches your eye, the colours that started together have been pulled apart into the familiar band: red, orange, yellow, green, blue, indigo, violet.

You already know a simpler version of this. When sunlight hits a glass prism or a CD, you see coloured streaks for the same reason: white light is a mixture, and different colours take slightly different paths when they bend.

The fancy name for sunlight splitting into its colours is . The everyday name is: the drop is sorting the light.

Why it looks like an arc, not a full circle

A rainbow looks like an arc from the ground because every raindrop that can send colour to your eye sits on a cone of directions around the line from the sun through your head — and the ground usually hides the lower half of that cone.

Every raindrop that can send colour to your eye sits on a cone of directions around the line from the sun through your head. From the ground, you usually see only the top half of that cone — so the rainbow looks like an arch.

The ground cuts off the bottom. If you were high enough, say in an aeroplane looking down on rain with the sun behind you, you could sometimes see a full circle. From a field or a terrace, you get the familiar half-circle resting on the horizon.

That is also why the rainbow seems to move when you move. It is not attached to a hill or a tree. It is a set of directions relative to you and the sun. Change your place, and a new set of drops plays the same trick.

Conditions for rainbow formation

Rainbow formation needs two ingredients at once: sunlight and raindrops. That combination is commonest when the sun is low enough in the sky — morning or late afternoon — and a shower is ending or still falling nearby. The observer must stand with the sun behind and the rain ahead.

SituationWhat you usually get
Rain ahead, sun behind, late afternoonBright primary rainbow
Clear sky, no rainNo rainbow
Facing the sun into heavy rainGlare and wet sky, not the classic arc
Midday sun almost overheadRare — the geometry is awkward from the ground

In India, the monsoon months are rich in these moments. A cell of rain passes. The western sky opens. Light floods in from behind you. The eastern sky is still wet. And the arc appears.

The same timing often follows an evening thunderstorm: the heat-built storm breaks, the cloud thins, and for a few minutes sunlight and leftover rain share the air. That is why a rainbow after a storm feels like a quiet ending to a noisy afternoon.

Primary and secondary rainbow difference

The is the bright inner arc (usually one reflection inside the drop, red outside). The is the fainter outer arc (two reflections, colours reversed). Both still need the sun behind you and rain ahead.

Sometimes you see that second, fainter arc outside the first one after a heavy shower.

Side-by-side diagram comparing a bright primary rainbow with red outside against a fainter secondary rainbow with reversed colours after two internal reflections for UPSC geography

The main arc — the bright one — is the primary rainbow. Light usually reflects once inside the drop before coming back to you. Red sits on the outer edge; violet on the inner edge.

The fainter outer arc is the secondary rainbow. Light reflects twice inside the drop before escaping. That extra bounce flips the colour order: red ends up on the inside of the secondary arc, violet toward the outside. It is dimmer because more light is lost in the second reflection.

Between the two arcs, the sky often looks a little darker. People sometimes call that darker band Alexander's dark band, but you can just notice it as the quieter strip between the bright bow and the faint one.

So if you ever spot two arcs after a heavy shower, you are not imagining it. Same raindrops, same sun — just two different bounce paths.

Rainbow vs looking into the sun after rain

Both moments involve sun and wet air. The difference is where you are standing.

Where you lookWhat you usually see
Sun behind you, rain aheadClassic rainbow arc
Facing the sun after rainGlare, bright cloud edges, sometimes a — not the ground-level rainbow
Comparison diagram for UPSC geography: left panel shows observer with sun behind and rainbow ahead; right panel shows observer facing the sun with no rainbow arc

When the sun is behind you and rain is ahead, raindrops can send bent, sorted light back into your eyes. You get the arc.

When you face the sun, you are looking toward the lamp, not toward the bounced light. The drops in front of you are lit from your side of the sky in a different way. You may see sparkling rain, a bright cloud edge, or a halo in thin ice clouds high above — but not the classic ground-level rainbow made by raindrops returning light from behind you.

Same ingredients. Different seating arrangement.

Things to remember next time you see it

  • Turn your back to the sun. If a rainbow is possible, it will be in the rain-facing half of the sky.
  • You need both sunlight and raindrops. One without the other is not enough.
  • A rainbow is not a fixed object. It is light returned to your eyes from many drops at once.
  • Red sits outside on the bright primary bow; violet sits inside.
  • A second, fainter bow means light bounced twice inside the drops — and the colours reverse.

Frequently asked questions

How is a rainbow formed?

A rainbow forms when sunlight hits raindrops and undergoes refraction, dispersion, and internal reflection. The drop bends white light, splits it into colours, reflects some of that light inside, then sends the coloured rays back toward an observer standing with the sun behind them.

Which physical phenomena are responsible for rainbow formation?

Dispersion, refraction, and internal reflection — all three. Refraction bends the light at the air–water boundary, dispersion separates the colours, and internal reflection turns the light back toward your eyes so the arc is visible.

Why do we see a rainbow only when the sun is behind us?

Because a rainbow is sunlight that raindrops bend and bounce back toward your eyes. That return path only works when the sun is behind you and the rain curtain is in front of you. Facing the sun puts you looking at the light source, not at the bounced colours.

When we see a rainbow, where should the sun be?

The sun remains behind us and we face the raindrops. That is the geometry that lets internally reflected, dispersed light reach the eye as a coloured arc.

Why do rainbow colours appear in a fixed order?

White sunlight is a mix of colours. When light enters a raindrop, different colours bend by slightly different amounts (dispersion). Red bends less than violet, so in the bright primary rainbow red ends up on the outer edge and violet on the inner edge.

Can you ever see a full-circle rainbow?

Yes, but rarely from the ground. The rainbow is really a circle around the line from the sun through your eye. The ground usually hides the lower half, so you see an arc. From a high viewpoint, such as an aircraft above rain with the sun behind you, a full circle is sometimes visible.

What is the difference between a primary and a secondary rainbow?

The primary rainbow is the bright inner arc, usually made by one reflection inside the raindrop, with red outside. The secondary rainbow is the fainter outer arc, made by two reflections, with the colour order reversed. Both need the sun behind you and rain ahead.

Why are rainbows more common in the morning or late afternoon?

The sun needs to be low enough in the sky for the bounce-back geometry to work from the ground. Near midday, when the sun is almost overhead, that arrangement is much harder to get, even if it is raining.

Is a rainbow the same as a halo around the sun?

No. A rainbow is made by liquid raindrops near the ground and appears opposite the sun, with your back to the light. A halo is a ring around the sun or moon made by ice crystals in high clouds. Same sky, different physics.

Do you need rain for a rainbow, or can spray work too?

You need water droplets in the air that can bend and bounce sunlight — rain, drizzle, mist, or spray from a waterfall or hose can all work. Clear dry air with no droplets will not make a rainbow, no matter how bright the sun is.