How the Lightning Distance Calculator Works
A lightning stroke heats a narrow channel of air to close to 30,000 °C in a few millionths of a second. The air expands violently and sends out a pressure wave that becomes the thunder. The flash and the bang start at the same moment, but they race to you at very different speeds. The light is effectively instant, so the delay you count is the time the sound took to reach you:
v = 331.3 √(1 + T / 273.15) m/s
(T in °C)
At 20 °C, a 10-second count means 3432 m: 3.43 km or 2.13 miles.
Why the Light Arrives Effectively Instantly
Light travels at 299,792 km/s, nearly a million times faster than sound. From a strike 10 km away it arrives in 33.4 millionths of a second, while the thunder takes about half a minute. A typical human reaction time of 0.2 s is thousands of times longer than the light's travel time, so starting the count at the flash adds no error you could ever notice.
How Temperature Changes the Speed of Sound
Sound is passed along by molecules bumping into each other, and in warmer air they move faster. The speed of sound grows with the square root of the absolute temperature, about 0.6 m/s for each degree Celsius near everyday temperatures. Air pressure does not matter, and humidity matters only slightly: moist air carries sound a fraction of a percent faster, which this calculator leaves out.
| Air | Sound (m/s) | Per mile | Per km |
|---|---|---|---|
| −10 °C (14 °F) | 325.2 | 4.95 s | 3.08 s |
| 0 °C (32 °F) | 331.3 | 4.86 s | 3.02 s |
| 10 °C (50 °F) | 337.3 | 4.77 s | 2.96 s |
| 20 °C (68 °F) | 343.2 | 4.69 s | 2.91 s |
| 30 °C (86 °F) | 349.0 | 4.61 s | 2.87 s |
| 35 °C (95 °F) | 351.9 | 4.57 s | 2.84 s |
Use the temperature where you are standing. The air between you and the storm is not all one temperature, and rain-cooled air from the storm can be several degrees colder than the air around you, but the effect on the distance is a few percent at most.
Why Thunder Rumbles
A lightning channel is not a point. It often runs for several kilometers, with branches through the cloud and down to the ground. Every part of it makes sound at the same instant, but the parts are at different distances from you, so their sound arrives spread out over several seconds. The first sound comes from the nearest part of the channel, which is the distance this calculator gives.
A strike very close by starts with a sharp crack from the nearby channel, followed by a long rumble from the more distant parts. Far-off thunder sounds like a low growl because air absorbs high pitches more strongly than low ones over long distances, and echoes from hills, buildings, and cloud layers stretch the sound further. Air usually gets colder with height, which bends sound upward, away from the ground. That is a large part of why thunder is seldom heard beyond 10 to 15 miles, even when the flashes are easy to see.
Worked Example: A Summer Storm
On an 86 °F (30 °C) evening, you count 12 seconds between a flash and its thunder.
- Speed of sound: v = 331.3 √(1 + 30 / 273.15) = 349 m/s.
- Distance: d = v t = 349 × 12 = 4188 m = 4.19 km, or 2.6 miles.
- The 5-second rule says 12 / 5 = 2.4 miles, 7.8% short. The 3-second rule says 12 / 3 = 4 km, 4.5% short. Both rules assume cooler air than this.
- The light took 14 µs to arrive.
The same 12-second count on a freezing day means 2.47 miles, because sound is slower in cold air. Either way, the strike was well within the 10-mile zone: go inside. Try it in the calculator.
Common Mistakes
- Counting from the wrong flash. In an active storm, flashes come every few seconds. Watch for one clear flash and listen for the first thunder after it; a count of more than a minute usually means a mix-up.
- Waiting for the loudest part. Stop the count at the very first sound of thunder. The loud crash or peak of the rumble comes later and makes the strike seem farther away.
- Counting "one, two, three" too fast. Most people count faster than one per second when excited. Use the tap timer or a watch.
- Thinking a long count means safety. Thunder heard at all means you are within reach. Storms also move at 10 to 25 mph, so the next strike can be much closer.
- Treating 343 m/s as fixed. That value holds at 20 °C. In winter thunderstorms or on hot afternoons, the speed differs by several percent.
Questions
Is the 5-second rule accurate?
Close enough to act on. At 20 °C sound covers a mile in 4.69 s, so dividing by 5 comes out about 6% short. The 3-seconds-per-kilometer rule comes out about 3% short. Your reaction time when counting is usually a bigger error than either rule.
Can lightning really strike 10 miles from a storm?
Yes. Lightning can travel sideways out of the side or top of a storm and strike ground under clear sky, sometimes 10 miles or more from the rain. That is why the safe rule is based on hearing thunder, not on seeing rain or dark clouds overhead.
How long should I wait after the storm passes?
Stay indoors until 30 minutes after the last thunder you hear. The back edge of a storm can still produce strikes well after the rain has stopped. This is standard U.S. National Weather Service guidance.
What is heat lightning?
It is ordinary lightning from a storm too far away for its thunder to reach you, often more than 10 to 15 miles off. On warm summer nights you see the glow on the horizon but hear nothing, which is how it got the name.
Does the count tell me where the lightning hit the ground?
Not exactly. The first thunder comes from the nearest part of the lightning channel, which may be a branch or a section high in the cloud. The answer is the distance to that nearest part, not necessarily to the point where the bolt reached the ground.
