How Far Away Is the Lightning? Counting the Thunder

Lightning's light reaches you in microseconds; thunder needs about 3 seconds per kilometre. Count the gap, learn why it rumbles, and know when to go in.

Table of Contents

A white flash fills the window. You start counting, one, two, three, and at eleven the glass rattles. Without a single instrument you have just measured the distance to a lightning stroke to within a few hundred metres, using nothing but the fact that light and sound travel at wildly different speeds. Done honestly, the same habit also tells you when to stop counting and go inside.

Light Wins by a Factor of a Million

Light covers a kilometre in about 3.3 microseconds: 1,000 m divided by 3 × 10⁸ m/s. For a thunderstorm, that is effectively instantaneous.

Sound is the slowpoke. In air at 20 °C it travels at about 343 m/s, nearly 900,000 times slower than light. It needs 2.9 seconds to cover a kilometre and 4.7 seconds to cover a mile. Because the light delay is negligible, the whole gap between flash and bang is the travel time of the sound, and the distance follows from the simplest formula in physics, d = c·t, where c is the speed of sound and t the delay.

Round the numbers and you get the rule every child learns: divide the seconds by 3 for kilometres, or by 5 for miles. An eleven-second gap puts the stroke about 3.7 km, or 2.2 miles, away. The rule works because air has a well-defined sound speed set by the gas itself. As our look at the speed of sound in solids, liquids and gases explains, in air that speed depends on temperature and on very little else.

Counting the Gap Properly

In an ideal gas, sound travels at c = √(γRT/M), where γ is the ratio of specific heats, R the gas constant, T the absolute temperature and M the molar mass, so it speeds up as the air warms. Near everyday temperatures a good approximation is c ≈ 331 + 0.6·T metres per second, with T in degrees Celsius. At 0 °C sound covers 331 m/s; on a 30 °C summer afternoon, about 349 m/s. That shifts an estimate by around 5 per cent: ten seconds means 3.3 km in freezing air and 3.5 km in hot air. The divide-by-three rule assumes 333 m/s, so in summer it slightly underestimates the distance, which errs on the side of caution.

Temperature is rarely your biggest error. Starting or stopping the count a beat off costs a few tenths of a second, 50 to 100 metres either way. The subtler point is what you are measuring. The first sound comes from the nearest part of the lightning channel, not necessarily where it hit the ground, so a flash running sideways overhead can sound close even when its ground strike is kilometres off.

Try it below with a real storm or a storm video.

5.15 km · 3.20 mi Within strike range: go indoors 16 km (10 mi) strike reach you 0 5 10 15 20 25 30 km Distance from observer (heights not to scale)
0.0 s Press Flash! at the lightning, Bang! at the thunder
15.0 s
20 °C
Speed of sound 343 m/s · Distance 5.15 km (3.20 mi) · Rule of thumb 15.0 ÷ 3 = 5.0 km, 15.0 ÷ 5 = 3.0 mi · Within about 16 km (10 mi): lightning can reach you, go indoors now
Press Flash! at a lightning flash and Bang! at the first sound, or drag the time slider, then change the temperature to see how little it matters. Speed of sound c = 331.3 + 0.606·T m/s and distance d = c·t; the 16 km band is the National Weather Service figure for how far from a storm lightning can strike. The result is the distance to the nearest part of the channel.

Thunder Is a Shock Wave That Grew Up

The flash and the sound come from the same event. When a return stroke surges up the channel, tens of thousands of amperes heat a column of air a few centimetres wide to around 30,000 K in a few microseconds, as our guide to the physics of lightning describes. The air has no time to move while it is being heated, so its pressure jumps to many times atmospheric. Then it expands violently, driving a cylindrical shock wave outward faster than sound.

A shock cannot stay strong for long. As the cylinder grows, its energy spreads over a larger surface and the overpressure falls. Arthur Few, who spent the 1960s and 1970s recording and modelling thunder at Rice University, described this with a relaxation radius: the distance at which the work done pushing back the surrounding atmosphere matches the energy dumped into each metre of channel. It is a few metres at most. Beyond it the disturbance travels on as ordinary sound, and the radius sets the pitch: more energy per metre means a larger radius and a lower thunder. The snap of a static spark from a doorknob is the same process in miniature.

The process is a cousin of the sonic boom. A supersonic jet shoves air aside faster than the air can get out of the way and drags a cone of shock behind it. Lightning does the job with heat instead of a fuselage, and along its entire length almost at once: the return stroke races up the channel at roughly a third of the speed of light, lighting a 5 km channel in about 50 microseconds. As far as the sound is concerned, the whole line exploded at the same instant.

Why Thunder Rolls Instead of Bangs

Since the whole channel fires together, everything you hear afterwards is geometry. A cloud-to-ground channel several kilometres long has parts at very different distances from you. If its nearest point is 1 km away and its farthest 6 km, the first sound arrives after 2.9 seconds and the last after 17.5 seconds, and the thunder rolls on for about 15 seconds.

The channel is not straight, either; it kinks and branches on scales from metres to hundreds of metres. Few modelled it as a chain of short, tortuous segments, each launching its own cylindrical wave. A cylindrical wave is loudest broadside, perpendicular to its segment, so segments that happen to lie side-on to you deliver their sound in a concentrated burst, the claps and peals inside the rumble, while segments pointing toward you smear theirs out in time. Every listener hears a different thunder from the same flash, and Few’s group used microphone arrays to reconstruct lightning channels in three dimensions from sound alone.

Distance changes the character too. Very close by, thunder is one ear-splitting crack, because the nearby channel is all at nearly the same distance and its high frequencies are intact. Air absorbs high frequencies far more strongly than low ones, so distant thunder arrives as a low growl. Hills, buildings and cloud bases add reflections, the physics of echoes and sonar, and stretch the rumble further.

Why the Sound Gives Out Before the Light

You can see the glow of a storm 100 km away on a clear night, yet thunder is rarely heard beyond about 15 to 25 km. Absorption plays a part, but the main culprit is refraction. Air usually cools with height, by about 6.5 °C per kilometre on average, so sound high up travels about 4 m/s slower for every kilometre of altitude. A wavefront bends toward the slower side, so sound rays from the channel curve upward, away from the ground.

With that gradient, a ray follows an arc whose radius R is the speed of sound divided by the speed gradient, about 90 km. A ray that just grazes the ground at the listener must still pass through the source, so a source at height H can reach the ground only out to roughly √(2·R·H): about 19 km for a stretch of channel 2 km up and 26 km for one 4 km up. Beyond that you sit in an acoustic shadow and the thunder passes overhead. Wind adds its own tilt: sound heading downwind is bent back toward the ground and sound heading upwind is bent up even harder, so thunder carries farther downwind of a storm. The same physics in reverse is why sound travels farther at night, when cool air near the ground under warmer air above bends sound back down.

This also explains heat lightning, the silent flickering on the horizon on a warm evening. Hot air does not flash on its own. The National Weather Service describes heat lightning as ordinary lightning from a thunderstorm too far away for its thunder to be heard. The storm is real, just beyond the shadow line, and it may be heading your way.

When Thunder Roars, Go Indoors

Here the counting game becomes safety guidance. Lightning often strikes outside the rain, and the National Weather Service warns that it can reach about 10 miles (16 km) from a storm. At 20 °C that is a flash-to-bang gap of about 47 seconds, close to the limit at which thunder can be heard at all. The practical conclusion is blunt: if you can hear thunder, you are close enough to be struck. The official slogan is “When thunder roars, go indoors,” and the guidance is to stay inside until 30 minutes have passed since the last thunder.

That advice grew out of the 30-30 rule, published by lightning safety specialists in 1999: shelter once the flash-to-bang time falls to 30 seconds, about 10 km, and wait 30 minutes after the last thunder. The waiting half survives. For the first half, US public messaging now uses the simpler rule, since any audible thunder already puts you within range. Safe shelter means an enclosed building with wiring and plumbing, or a hard-topped metal vehicle; a tent or a tree is not.

So keep counting, from behind a window, to see whether a storm is approaching or leaving. The count’s most important lesson, though, is its upper limit. Your ears are a rangefinder whose maximum range happens to match the reach of the bolt, and the moment the instrument gives a reading at all, you are already inside the danger zone.

Sources

  • Lightning Safety, US National Weather Service (NOAA): “When thunder roars, go indoors”, lightning striking about 10 miles from a storm, waiting 30 minutes after the last thunder
  • Lightning Myths, US National Weather Service (NOAA): heat lightning as lightning from a storm too far away to be heard, strikes outside the rain area
  • Updated recommendations for lightning safety, 1998, R. L. Holle, R. E. López and C. Zimmermann, Bulletin of the American Meteorological Society 80, 2035–2041 (1999): the 30-30 rule
  • Power spectrum of thunder, A. A. Few, Journal of Geophysical Research 74, 6926–6934 (1969): the shock-wave model of thunder and its relaxation radius
  • Thunder, A. A. Few, Scientific American 233 (1), 80–90 (July 1975): channel tortuosity, rumble, refraction and acoustic reconstruction of lightning channels
  • Lightning: Physics and Effects, V. A. Rakov and M. A. Uman, Cambridge University Press (2003): chapter on thunder, channel temperature and pressure, audibility range
  • Speed of Sound in Air, HyperPhysics, Georgia State University: 343 m/s at 20 °C and the approximation v ≈ 331 + 0.6·T m/s

Frequently Asked Questions

How do you calculate how far away lightning is?

Count the seconds between the flash and the first sound of thunder, then divide by 3 to get the distance in kilometres or by 5 to get it in miles. The method works because light from the flash arrives almost instantly, taking about 3.3 microseconds per kilometre, while sound in air travels at about 343 metres per second at 20 °C, so it needs about 2.9 seconds per kilometre and 4.7 seconds per mile. The distance is simply d = c × t, where c is the speed of sound and t is the delay. A ten-second gap therefore means roughly 3.4 km or 2.1 miles. The speed of sound rises with temperature, approximately c = 331 + 0.6 × T metres per second with T in degrees Celsius, so the same ten seconds corresponds to about 3.3 km in freezing air and 3.5 km on a 30 °C day. Timing errors of a few tenths of a second usually matter more than temperature. The count gives the distance to the nearest part of the lightning channel, which is not always the spot where it struck the ground.

Why do you see lightning before you hear thunder?

You see lightning first because light travels nearly a million times faster than sound. Light moves at about 300,000 kilometres per second, so the flash from a storm several kilometres away reaches you in a few millionths of a second. Thunder is a sound wave and travels through air at about 343 metres per second at 20 °C. Both are produced at the same moment. The return stroke heats a narrow channel of air to around 30,000 K in a few microseconds; the glowing channel emits the light, and the sudden expansion of the heated air launches a shock wave that weakens within a few metres into ordinary sound. The light arrives essentially at once, while the sound needs about 3 seconds for every kilometre, or about 5 seconds for every mile. That delay is what lets you estimate the distance of a storm by counting. If the flash and the bang arrive less than a second apart, the lightning was within about 300 metres of you.

Why does thunder rumble?

Thunder rumbles because the sound comes from a lightning channel several kilometres long, and different parts of it are at different distances from you. The whole channel is heated almost at once, since the return stroke travels up it at roughly a third of the speed of light, but the sound from each part then travels to you at about 343 metres per second. If the nearest part of the channel is 1 km away and the farthest 6 km, the thunder starts after about 3 seconds and continues until about 17 seconds. The channel is also crooked. Atmospheric physicist Arthur Few modelled it as a chain of short segments, each radiating most strongly perpendicular to itself, so segments that happen to lie side-on to you deliver loud claps while others smear into a long roll. Air absorbs high frequencies more strongly than low ones, so distant thunder sounds deeper, and echoes from hills, buildings and clouds stretch the rumble further. Very close lightning gives a single sharp crack instead.

How far away can lightning strike you?

Lightning can strike about 10 miles, or 16 kilometres, from the storm that produces it, according to the US National Weather Service, and often well outside the area where rain is falling. Thunder is rarely audible beyond about 15 to 25 km, because the air usually cools with height and bends sound upward, away from the ground, so if you can hear thunder at all you should assume you are within striking distance. With the flash-to-bang count, 16 km corresponds to a gap of roughly 47 seconds at 20 °C. The NWS advice is summed up as 'when thunder roars, go indoors': take shelter as soon as you hear thunder and wait 30 minutes after the last thunder before going back outside. An older guideline, the 30-30 rule, also told people to shelter once the flash-to-bang gap fell to 30 seconds, about 10 km, but public messaging now favours the simpler rule. Safe shelter means an enclosed building with wiring and plumbing, or a hard-topped metal vehicle with the windows closed.

Read Next