Lightning Distance Calculator
See the flash, count the seconds until the thunder, and this lightning distance calculator tells you how far away the strike was, in miles, kilometers, feet or nautical miles. It uses the temperature-adjusted speed of sound rather than one fixed figure, flags the danger band your count falls into, and includes a storm tracker: take two readings a few minutes apart and it works out whether the storm is moving toward you or away from you.
Storm tracker: is it coming toward you?
Take two flash-to-bang readings a few minutes apart. A shrinking count means the storm is approaching.
Quick Answer
A 10 second count at 20°C means the strike was about 2.13 miles away (3.43 km, 11267 feet), which this tool flags as HIGH DANGER: seek shelter immediately. The field shortcut agrees: divide the count by 5 for miles (2.0) or by 3 for kilometers (3.3).
How the flash-to-bang method works
Light from the strike reaches you almost instantly, while thunder travels at the speed of sound, so the gap between them is a rangefinder: distance = speed of sound × seconds counted.
The speed of sound is not a constant. In dry air it follows v = 331.3 + 0.606 × T, where T is the air temperature in Celsius, the linear relation taught in acoustics and summarised on NASA Glenn’s speed of sound page. At 20°C that gives 343.4 m/s, which is the figure behind the worked example below. The light side of the gap can be ignored honestly: at 299,792.458 km per second, light covers 2 miles in about 11 microseconds, so every microsecond of your count is sound travel, not light travel. Seismologists exploit the same trick with different waves, timing the gap between fast P-waves and slow S-waves in the epicenter distance calculator.
Worked example: 10 seconds at 20°C
The pre-filled run is the classic case. Count 10 seconds, temperature 20°C, answer in miles, and the tool computes 10 × 343.42 = 3,434.2 meters of sound travel. It reports the headline “The strike was about 2.13 miles away.” and the breakdown line “Exact breakdown: 2.13 miles = 3.43 km = 11267 feet (using 343.4 m/s).” Underneath, the rule-of-thumb check reads “10 seconds / 5 = 2.0 miles; 10 seconds / 3 = 3.3 km”, close enough to confirm the count, and the band shows HIGH DANGER because 10 seconds sits in the over-5-to-15 window.
Now feed the tracker its pre-filled pair: a first reading of 20 seconds, a second of 12 seconds, 5 minutes apart, at the same 20°C. The tracker converts those to 4.3 and 2.6 miles, a closing speed of about 0.34 miles per minute, and concludes “Storm is APPROACHING: about 0.34 miles closer per minute”, with the strikes reaching your area in roughly 7 minutes. Two counts told you what one count never can: not just where the storm is, but where it is going.
Danger bands and the 30-30 rule
The bands in this tool are keyed to your count, and at 20°C they land close to the distance bands other safety guides use.
| Your count | Distance at 20°C | Band the tool shows | What to do |
|---|---|---|---|
| 0 to 5 s | Up to about 1.07 miles | EXTREME | Take shelter now, if you are somehow still outside |
| Over 5 to 15 s | About 1.07 to 3.20 miles | HIGH | Seek shelter immediately, do not start a new activity |
| Over 15 to 30 s | About 3.20 to 6.40 miles | MODERATE | Move toward shelter and keep counting |
| Over 30 s | Beyond about 6.40 miles | LOW | Keep watching the sky; low means lower, never zero |
The 30-30 rule wraps the bands into one habit: if the flash-to-bang count is 30 seconds or less, go indoors, and wait 30 minutes after the last thunder before going back out. It matches the guidance on the National Weather Service lightning safety pages, whose working slogan is “when thunder roars, head indoors”. Treat the LOW band with respect rather than relief: the Weather Service’s lightning myths page documents strikes landing 10 miles or more from the rain, under a visibly clear sky, the so-called bolt from the blue. If you can hear thunder at all, a strike can reach you, whatever the calculator says.
Is the storm coming toward you?
One reading gives a distance; two readings give a direction, and direction is the decision that matters.
Count, wait a few minutes, count again. If the second count is smaller, the strikes are closer than they were: the tracker divides the distance change by the minutes between readings to get an approach rate, and divides the current distance by that rate for a rough arrival time. If the second count is larger, it reports the storm moving away and reminds you of the 30 minute wait. If the two distances land within 0.05 miles of each other, it calls the storm steady rather than inventing a trend from counting noise. Use the tracker with the same strike cell where you can: a new cell building overhead can shrink the count without the old storm moving at all, which is one more reason the only wrong answer is staying outside to collect better data.
How accurate is the count?
Expect the right band, not the right meter. A half-second counting slip is worth about 170 meters, and real air adds its own noise on top.
| Air temperature | Speed of sound | A 10 second count reads |
|---|---|---|
| 0°C, a cold storm day | 331.3 m/s | 2.06 miles |
| 20°C, the default | 343.4 m/s | 2.13 miles |
| 35°C, a hot summer storm | 352.5 m/s | 2.19 miles |
Temperature is the error you can fix, which is why this tool asks for it. The errors you cannot fix: wind carrying the sound toward or away from you, temperature layers aloft bending the sound path, hills and buildings shadowing the first clap, and, worst of all in a busy storm, pairing a flash with thunder from a different strike. Humidity nudges the speed of sound slightly too, well under 1 percent across the range the dew point calculator works in, so this tool leaves it out rather than pretend to precision the count itself cannot support. Sound also fades with distance for a separate reason, spreading and absorption, which the decibel distance calculator quantifies when the question is loudness rather than travel time. The CDC’s lightning overview and the NOAA JetStream lightning lessons both land on the same practical point: use the count to decide early, not to negotiate with the storm.
What competing calculators miss
The top results for this keyword are thinner than they look:
- CalculatorLib is the closest rival: it has danger bands and a seconds table, but the bands are keyed to a fixed 343 m/s world with no temperature input, and there is no storm tracker.
- Omni Calculator keeps the whole method to divide-by-5 and divide-by-3. Its own storm distance steps never leave the rule of thumb, so the answer is the approximation, not a computation.
- AJDesigner prints the correct formula and good worked examples, including an aviation case, but the tool answers in one unit logic with a fixed sound speed and no danger banding or tracking.
- Symbolab’s lightning page explains the speed gap between light and sound well, then stops at the 5-second rule: no temperature, no bands, no second reading.
- The gap this page fills: a temperature-adjusted speed of sound you can actually set, four output units including nautical miles for boaters, count-keyed danger bands shown with the result, a rule-of-thumb cross-check printed next to the exact figure, and a two-reading storm tracker with an approach rate and ETA that no rival in the top results offers.
Thunder timing is not light-speed timing
This page and the light speed distance calculator run the same equation shape, distance = speed × time, at speeds about 873,000 apart, and they answer unrelated questions. Here, the timed thing is sound at roughly 343 m/s, the distance is a safety margin, and the output that matters is a decision: shelter or not. There, the timed thing is light itself at 299,792.458 km per second, and the output is an astronomy or engineering figure: how long sunlight takes to arrive, or how much latency a fiber run adds. If you are holding a stopwatch in a storm, stay on this page. Nobody has ever needed the light-speed tool to survive weather.
Lightning distance FAQs
About 5 seconds per mile, or about 3 seconds per kilometer. At 20°C sound actually covers a mile in about 4.7 seconds, so the divide-by-5 rule slightly understates the distance: this calculator’s exact breakdown for a 10 second count is 2.13 miles, against the rule’s 2.0.
Good enough for safety decisions, rough for surveying. Counting error alone is worth about half a second, roughly 170 meters. Wind pushing the sound along, temperature layers bending it, and pairing a flash with the wrong thunderclap in a multi-bolt storm all add error, so treat the result as a band rather than a point, and let the danger bands make the decision.
Yes, by about 0.606 m/s of sound speed for every degree Celsius. A 10 second count reads 2.06 miles at 0°C, 2.13 miles at 20°C and 2.19 miles at 35°C in this calculator. Leave the temperature blank and the tool assumes 20°C, the standard case, which uses 343.4 m/s.
Yes. Bolts can leave the side of a storm cloud and land 10 miles or more away, sometimes under a clear patch of sky, which is why the safety rule is about hearing rather than distance: if you can hear thunder, the storm is close enough to strike you. The National Weather Service shortens it to a slogan: when thunder roars, head indoors.
Go inside a substantial building or a hard-topped vehicle, and stay there until 30 minutes after the last thunder. Thirty seconds is about 6.40 miles in this tool, well inside bolt range. While you wait, skip showers, wired electronics and corded phones, and keep away from windows.
Take a flash-to-bang count, wait a few minutes, and take another one. The tracker converts both counts to miles and compares them: a shrinking count means the strikes are closing in, and it estimates the approach rate in miles per minute and the minutes until the strikes reach you. The pre-filled pair, 20 seconds then 12 seconds over 5 minutes, reads as approaching at about 0.34 miles per minute, arriving in roughly 7 minutes.
For readers on the water, where distances are charted in nautical miles and lightning is especially dangerous because a boat is often the tallest object around. A 10 second count at 20°C is 1.85 nautical miles in this tool. Harbors and race committees typically suspend activity on a similar few-miles threshold.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- National Weather Service. Lightning safety: when thunder roars, head indoors. Accessed October 22, 2026.
- National Weather Service. Lightning safety tips and resources. Accessed October 22, 2026.
- National Weather Service. Lightning myths and facts. Accessed October 22, 2026.
- NOAA JetStream. Lightning: introduction and safety lessons. Accessed October 22, 2026.
- NASA Glenn Research Center. Speed of sound: temperature dependence for beginners. Accessed October 22, 2026.
- Centers for Disease Control and Prevention. About lightning: risks and safety. Accessed October 22, 2026.
