{"id":162,"date":"2026-10-27T11:00:00","date_gmt":"2026-10-27T01:00:00","guid":{"rendered":"https:\/\/williamwonderlab.com\/blog\/?p=162"},"modified":"2026-10-26T06:03:52","modified_gmt":"2026-10-25T20:03:52","slug":"how-do-rainbows-form","status":"publish","type":"post","link":"https:\/\/williamwonderlab.com\/blog\/how-do-rainbows-form\/","title":{"rendered":"How Do Rainbows Form?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">After a shower, the clouds start to break and the sun comes out behind you. Then, if you look the right way, a curved band of colour hangs in the sky opposite the sun. Where does all that colour come from? The rain is not painting the sky. Each raindrop is quietly splitting sunlight into its colours.<\/p>\n\n\n\n<div class=\"wp-block-group ww-box ww-box-quick has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-3b599d0a wp-block-group-is-layout-constrained\" style=\"background-color:#eaf2ff;padding-top:1.25rem;padding-right:1.5rem;padding-bottom:1.25rem;padding-left:1.5rem\">\n<p class=\"wp-block-paragraph\"><strong>The short answer:<\/strong> Sunlight enters a raindrop and bends. It reflects off the back of the drop, then bends again as it leaves. The light that leaves at about 42 degrees from the direction back toward the sun reaches your eyes, and the colours are spread out along that angle. Red is on the outside of the bow and violet is on the inside.<sup><a href=\"#ref-1\">[1]<\/a><\/sup><sup><a href=\"#ref-2\">[2]<\/a><\/sup><\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"bending\">Light bends when it changes speed<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Light travels at different speeds in different materials. Scientists call the bending that happens at the boundary between two materials <strong>refraction<\/strong>. HyperPhysics describes it as &#8220;the bending of a wave when it enters a medium where its speed is different.&#8221;<sup><a href=\"#ref-3\">[3]<\/a><\/sup> A medium is simply the material light is travelling through, such as air, water or glass.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Water slows light down compared with air. The index of refraction is a number that compares how fast light travels in a material with its speed in a vacuum. The listed value for water is 1.33.<sup><a href=\"#ref-4\">[4]<\/a><\/sup><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The direction of the bend follows a simple pattern. When light slows down, its path moves closer to the perpendicular, which is the imaginary line standing straight out from the surface.<sup><a href=\"#ref-5\">[5]<\/a><\/sup> Keep that rule in mind, because it decides where the light ends up.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"inside\">Inside the raindrop<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A raindrop is a tiny sphere of water. When sunlight hits it, the light is refracted at the surface, travels across the inside of the drop, and is refracted again on the way out. The light that bounces off the back of the drop is called <strong>internally reflected<\/strong>, because it reflects from the inside surface.<sup><a href=\"#ref-2\">[2]<\/a><\/sup><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-02-one-raindrop-42-degree-diagram.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-02-one-raindrop-42-degree-diagram-1024x576.webp\" class=\"wp-image-160\" alt=\"Diagram: a sunbeam enters a round raindrop, reflects once off the inside back, and leaves bent, with the 42 degree angle marked.\" srcset=\"https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-02-one-raindrop-42-degree-diagram-1024x576.webp 1024w, https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-02-one-raindrop-42-degree-diagram-300x169.webp 300w, https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-02-one-raindrop-42-degree-diagram-768x432.webp 768w, https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-02-one-raindrop-42-degree-diagram-1536x864.webp 1536w, https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-02-one-raindrop-42-degree-diagram.webp 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Diagram, not to scale: light bends on entry, reflects once inside and bends again on exit. Angle calculated with Snell&#8217;s law (n = 1.333).<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The diagram shows one ray of sunlight. It bends when it enters, reflects off the inside back surface, and bends again when it leaves. The drop does not make new colour. It separates the colours that were already in the sunlight.<sup><a href=\"#ref-1\">[1]<\/a><\/sup><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"angle\">The 42-degree edge<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The University of Texas at Austin describes a rainbow as &#8220;an arc of light, with an angular radius of 42\u00b0, centred opposite the Sun.&#8221;<sup><a href=\"#ref-2\">[2]<\/a><\/sup> Stand with the sun behind you and the centre of the bow is the point directly opposite the sun, which is why rainbows never appear in the part of the sky where the sun is.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The 42\u00b0 figure is a limit, not a sharp line for every drop. The same source notes that reflected light &#8220;cannot deviate by more than&#8221; 42\u00b0 from the reverse direction.<sup><a href=\"#ref-2\">[2]<\/a><\/sup> Many rays leave at smaller angles, so the outer edge of the bow looks bright and sharp, while the inner side fades into the sky.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"colours\">Why the colours sit in bands<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sunlight contains many colours mixed together. The University of Texas notes that &#8220;violet is concentrated on the inside of the rainbow, and red is concentrated on the outside.&#8221;<sup><a href=\"#ref-2\">[2]<\/a><\/sup> So if you could see the bow close up, the red would be on the top edge of the arc and the violet closer to the centre.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each colour has its own wavelength, and water slows each colour by a slightly different amount, so each colour bends by a slightly different amount. MetLink explains that &#8220;The blue light is a shorter wavelength and so is refracted at a bigger angle than the longer wavelength red light&#8221;.<sup><a href=\"#ref-1\">[1]<\/a><\/sup> HyperPhysics calls this spreading out <strong>dispersion<\/strong>. It notes that &#8220;Generally the index decreases as wavelength increases&#8221;, so &#8220;Blue light travels more slowly than red light in transparent media.&#8221;<sup><a href=\"#ref-6\">[6]<\/a><\/sup><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-03-primary-bow-red-outside-diagram.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-03-primary-bow-red-outside-diagram-1024x576.webp\" class=\"wp-image-161\" alt=\"Diagram: a rainbow arc of coloured bands, red on the outer edge and violet on the inner edge, centred on the point opposite the sun.\" srcset=\"https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-03-primary-bow-red-outside-diagram-1024x576.webp 1024w, https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-03-primary-bow-red-outside-diagram-300x169.webp 300w, https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-03-primary-bow-red-outside-diagram-768x432.webp 768w, https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-03-primary-bow-red-outside-diagram-1536x864.webp 1536w, https:\/\/williamwonderlab.com\/blog\/wp-content\/uploads\/2026\/10\/how-do-rainbows-form-03-primary-bow-red-outside-diagram.webp 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Diagram, not to scale across colours: red is on the outside of the primary bow and violet on the inside (UT Austin).<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"viewing\">Why you see a rainbow and not the drops<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A rainbow is not a solid object that you can walk to. Many drops are falling in front of you, and each one sends light in every direction. Your eyes only receive the light from drops lying along the 42\u00b0 line from the point opposite the sun, so the bow you see belongs to your own position.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So the rainbow moves when you move. If you walk towards it, the bow moves with you, because the angle to the opposite-sun point stays the same.<\/p>\n\n\n\n<div class=\"wp-block-group ww-box ww-box-fact has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-3b599d0a wp-block-group-is-layout-constrained\" style=\"background-color:#fff6d6;padding-top:1.25rem;padding-right:1.5rem;padding-bottom:1.25rem;padding-left:1.5rem\">\n<p class=\"wp-block-paragraph\"><strong>Did you know?<\/strong> Light from a rainbow is not produced by reflecting off the surface of the rain. Refraction and internal reflection inside each drop create the bands, and the drops only need to be in the right place for their light to reach you.<sup><a href=\"#ref-2\">[2]<\/a><\/sup><\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"try-it\">Try it: a mist rainbow in the garden<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This is a <strong>proposed at-home activity<\/strong>. It is not something that was done for this article.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>You need:<\/strong> a garden hose with a fine spray setting, a sunny day, and an adult to help with the hose.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Stand with the sun behind you and face the shady side of the garden.<\/li>\n\n<li>Spray a fine mist into the air in front of you, a few metres away from you.<\/li>\n\n<li>Move the mist slowly until you see a band of colour. Predict where the colour will appear before you look.<\/li>\n\n<li>Notice that the colour is opposite the sun, not directly in front of the spray.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What to expect:<\/strong> a faint arc of colour in the mist, sitting at the angle described above. The bow is easier to see when the mist is thick and the sun is low in the sky.<\/p>\n\n\n\n<div class=\"wp-block-group ww-box ww-box-safety has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-3b599d0a wp-block-group-is-layout-constrained\" style=\"background-color:#ffe9e4;padding-top:1.25rem;padding-right:1.5rem;padding-bottom:1.25rem;padding-left:1.5rem\">\n<p class=\"wp-block-paragraph\"><strong>Safety first:<\/strong> Never look straight at the sun, even on a cloudy day. Keep the spray pointed away from power points, cables and light fittings, and do not spray near electrical outlets. Check that the ground is not slippery before you move. An adult should handle the hose and tap.<\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"go-deeper\">Go deeper: the Snell&#8217;s law arithmetic<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Working out the bend<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The law that controls refraction is Snell&#8217;s law: n\u2081 sin \u03b8\u2081 = n\u2082 sin \u03b8\u2082. Here n is the index of refraction and \u03b8 is the angle measured from the perpendicular to the surface.<sup><a href=\"#ref-5\">[5]<\/a><\/sup> Air is almost exactly 1.00, and water is 1.333 in the value used for this calculation.<sup><a href=\"#ref-4\">[4]<\/a><\/sup><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Take a ray of sunlight that meets a drop at an angle of about 59.4\u00b0 from the perpendicular. Entering the water:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>sin \u03b8\u2082 = (1.00 \u00d7 sin 59.4\u00b0) \u00f7 1.333<\/li>\n\n<li>sin 59.4\u00b0 = 0.8607, so sin \u03b8\u2082 = 0.8607 \u00f7 1.333 = 0.6457<\/li>\n\n<li>\u03b8\u2082 = arcsin(0.6457) \u2248 40.2\u00b0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The light bends from 59.4\u00b0 to about 40.2\u00b0, which is closer to the perpendicular, as the rule predicts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why the angle comes out at 42\u00b0<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A ray goes in, reflects once, and comes out. The total turn of the ray is 180\u00b0 + 2i \u2212 4r, where i is the entry angle and r is the angle inside the drop. With i = 59.4\u00b0 and r = 40.2\u00b0, the total turn is 180\u00b0 + 118.8\u00b0 \u2212 160.8\u00b0 = 138.0\u00b0. The exit ray therefore lies 180\u00b0 \u2212 138.0\u00b0 = 42.0\u00b0 away from the direction back toward the sun.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Many rays turn by slightly different amounts, so the bow has a bright edge at 42\u00b0 and gets fainter inside it. The calculation is a check on the 42\u00b0 figure, not a replacement for the measured bow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">Frequently asked questions<\/h2>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Do rainbows form from reflection off the rain?<\/summary>\n<p class=\"wp-block-paragraph\">No. Each drop bends sunlight when it enters, reflects it from the inside surface, and bends it again on exit. The reflection happens inside the drop.<sup><a href=\"#ref-2\">[2]<\/a><\/sup><\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Why is the rainbow always opposite the sun?<\/summary>\n<p class=\"wp-block-paragraph\">The 42\u00b0 path goes from each drop to your eyes at a fixed angle from the point opposite the sun. The bow is centred on that point, so it cannot appear in the sun&#8217;s direction.<sup><a href=\"#ref-2\">[2]<\/a><\/sup><\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Why is red on the outside?<\/summary>\n<p class=\"wp-block-paragraph\">The University of Texas states that red is concentrated on the outside of the rainbow and violet on the inside.<sup><a href=\"#ref-2\">[2]<\/a><\/sup><\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Can you walk to the end of a rainbow?<\/summary>\n<p class=\"wp-block-paragraph\">No. The bow depends on where you stand, so it moves as you move. There is no fixed object at its end.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>How does water bend light?<\/summary>\n<p class=\"wp-block-paragraph\">Water slows light down, so refraction bends it towards the perpendicular when it enters. The index of refraction for water is about 1.33.<sup><a href=\"#ref-5\">[5]<\/a><\/sup><sup><a href=\"#ref-4\">[4]<\/a><\/sup><\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Is the rainbow in the sky, or in my eyes?<\/summary>\n<p class=\"wp-block-paragraph\">The light is in the sky, coming from the drops. What you see depends on your position, and that is why two people standing side by side can see different bows.<\/p>\n<\/details>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"big-idea\">The big idea<\/h2>\n\n\n\n<div class=\"wp-block-group ww-box ww-box-takeaway has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-3b599d0a wp-block-group-is-layout-constrained\" style=\"background-color:#e3f9ff;padding-top:1.25rem;padding-right:1.5rem;padding-bottom:1.25rem;padding-left:1.5rem\">\n<p class=\"wp-block-paragraph\"><strong>Each drop is a tiny prism.<\/strong> Sunlight bends on the way in, reflects off the back of the drop and bends again on the way out. The light leaves at about 42\u00b0 from the direction back toward the sun, so the colours form a bow opposite the sun.<\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"related\">Related reading<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">More from William Wonderlab:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Why Does a Straw Look Bent in Water?<\/li>\n\n<li>How Do Mirrors Work?<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Explore more from scientists:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.metlink.org\/fieldwork-resource\/rainbows\/\">Rainbows (MetLink, Royal Meteorological Society)<\/a><\/li>\n\n<li><a href=\"https:\/\/farside.ph.utexas.edu\/teaching\/316\/lectures\/node131.html\">Rainbows lecture notes (University of Texas at Austin)<\/a><\/li>\n\n<li><a href=\"https:\/\/phys.libretexts.org\/Bookshelves\/College_Physics\/College_Physics_1e_(OpenStax)\/25:_Geometric_Optics\/25.03:_The_Law_of_Refraction\">The Law of Refraction (Physics LibreTexts, OpenStax)<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"references\">References<\/h2>\n\n\n\n<p id=\"ref-1\" class=\"has-small-font-size wp-block-paragraph\">[1] <a href=\"https:\/\/www.metlink.org\/fieldwork-resource\/rainbows\/\">Royal Meteorological Society, MetLink, &#8220;Rainbows&#8221;<\/a> (accessed 25 October 2026)<\/p>\n\n\n\n<p id=\"ref-2\" class=\"has-small-font-size wp-block-paragraph\">[2] <a href=\"https:\/\/farside.ph.utexas.edu\/teaching\/316\/lectures\/node131.html\">University of Texas at Austin, Physics, &#8220;Rainbows&#8221; (lecture notes)<\/a> (accessed 25 October 2026)<\/p>\n\n\n\n<p id=\"ref-3\" class=\"has-small-font-size wp-block-paragraph\">[3] <a href=\"https:\/\/hyperphysics.gsu.edu\/hbase\/geoopt\/refr.html\">HyperPhysics, Georgia State University, &#8220;Refraction&#8221;<\/a> (accessed 25 October 2026)<\/p>\n\n\n\n<p id=\"ref-4\" class=\"has-small-font-size wp-block-paragraph\">[4] <a href=\"https:\/\/hyperphysics.gsu.edu\/hbase\/Tables\/indrf.html\">HyperPhysics, Georgia State University, &#8220;Indices of Refraction&#8221;<\/a> (accessed 25 October 2026)<\/p>\n\n\n\n<p id=\"ref-5\" class=\"has-small-font-size wp-block-paragraph\">[5] <a href=\"https:\/\/phys.libretexts.org\/Bookshelves\/College_Physics\/College_Physics_1e_(OpenStax)\/25:_Geometric_Optics\/25.03:_The_Law_of_Refraction\">OpenStax via Physics LibreTexts, &#8220;25.3: The Law of Refraction&#8221;<\/a> (accessed 25 October 2026)<\/p>\n\n\n\n<p id=\"ref-6\" class=\"has-small-font-size wp-block-paragraph\">[6] <a href=\"https:\/\/hyperphysics.gsu.edu\/hbase\/geoopt\/dispersion.html\">HyperPhysics, Georgia State University, &#8220;Dispersion&#8221;<\/a> (accessed 25 October 2026)<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>A rainbow is sunlight split into colours inside falling raindrops. Here is how each drop bends and reflects light, and why the bow always sits opposite the sun.<\/p>\n","protected":false},"author":1,"featured_media":159,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wwl_seo_title":"","wwl_meta_description":"","wwl_focus_keyphrase":"","footnotes":""},"categories":[8],"tags":[117,4,114,116,115],"class_list":["post-162","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-physics-everyday-science","tag-colour","tag-light","tag-rainbows","tag-raindrops","tag-refraction"],"_links":{"self":[{"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/posts\/162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/comments?post=162"}],"version-history":[{"count":1,"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/posts\/162\/revisions"}],"predecessor-version":[{"id":451,"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/posts\/162\/revisions\/451"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/media\/159"}],"wp:attachment":[{"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/media?parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/categories?post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/williamwonderlab.com\/blog\/wp-json\/wp\/v2\/tags?post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}