⚡
✓ Editorially reviewed by Derek Giordano, Founder & Editor · BA Business Marketing

Lightning Distance Calculator

Seconds between flash and thunder to miles and kilometers, with National Weather Service safety guidance

Updated October 2026

🧮
700+ calculators, no signup required
Finance · Health · Math · Science · Business
nnng.com
Count the seconds from the flash to the thunder and divide by 5 to get miles (divide by 3 for kilometers). The National Weather Service’s examples: 5 seconds = 1 mile, 15 seconds = 3 miles, 0 seconds = very close. Using the speed of sound at 68 °F, 15 seconds is 3.2 miles. Distance is not safety: if you can hear thunder, you are within striking distance. When thunder roars, go indoors, and wait 30 minutes after the last thunder.

How the Distance Is Calculated (Flash to Bang)

Light from the flash reaches you almost instantly; the sound of thunder travels at the speed of sound, about 343 m/s in air at 68 °F (20 °C). That is 4.69 seconds per mile or 2.91 seconds per kilometer, which the National Weather Service rounds to 5 seconds per mile. Distance = seconds × speed of sound, with the speed from 331.3 × √(1 + T/273.15) m/s for air temperature T in °C. Worked example: a 15-second count at 68 °F is 15 × 343.2 = 5,148 m, or 3.2 miles (5.1 km); the NWS rule gives 3 miles.

SecondsAir (°F)NWS rule (mi)Calculated (mi)Calculated (km)Note
0680.00.00.0Thunder with the flash
5681.01.11.7NWS example
10682.02.13.4Common count
15683.03.25.1NWS example
30906.06.510.5Hot summer afternoon
30326.06.29.9Freezing air
45689.09.615.4Distant storm

Temperature and the Speed of Sound

Sound is faster in warm air, about 0.6 m/s more per °C. A 30-second count is 6.5 miles on a 90 °F afternoon and 6.2 miles at freezing. The difference is small next to the error in counting seconds by ear, which is why the NWS uses a single rule. The speed of sound calculator covers other temperatures and materials.

NWS Safety Rules: When Thunder Roars, Go Indoors

The NWS states it plainly: there is no safe place outside when thunderstorms are in the area, and if you hear thunder you are likely within striking distance. Thunder can be heard only about 10 miles away, while lightning can strike as far as 10 miles from the storm; NWS myth-busting notes “bolts from the blue” 10 to 15 miles out. Safe places are substantial buildings with wiring and plumbing, or a hard-topped metal vehicle with the windows closed. Porches, dugouts, picnic shelters and tents are not safe.

The 30-Minute Rule (and the Old 30-30 Rule)

Stay inside at least 30 minutes after the last thunder you hear; charge can linger in the clouds after a storm seems to have passed. An older approach, the 30-30 rule (the American Meteorological Society’s 2002 lightning safety statement, since expired), treated a flash-to-bang count under 30 seconds, about 6 miles, as the signal to take shelter. NWS research summaries note that successive flashes are often 6 to 8 miles apart rather than the 2 to 3 miles once assumed, and current NWS messaging uses the simpler rule: if you hear thunder, go indoors. Some local NWS pages still mention 30/30; the 30-minute wait is common to both.

Heat Lightning Myth

The NWS glossary defines heat lightning as lightning far enough away that its thunder can no longer be heard. It is ordinary lightning from a distant storm, not a separate kind caused by heat, and that storm can move closer.

Outdoor Sports and Events (NWS)

For organized activities such as a kids’ soccer game, the NWS recommends a written lightning safety plan followed without exception: check the forecast beforehand, name a lightning monitor who is not the coach or referee, stop play at the first thunder or lightning, allow time for everyone to reach a safe building or vehicle, and resume no sooner than 30 minutes after the last thunder. The NWS notes that about two-thirds of lightning deaths are associated with outdoor recreation.

What This Calculator Does Not Tell You

It does not tell you whether you are safe; no flash-to-bang count does. It cannot see storms you cannot hear, and wind, traffic and rain can hide thunder. Use radar and lightning-detection apps and NWS warnings for planning, and call 911 for anyone struck: victims carry no electrical charge and may need CPR or an AED.

Common Mistakes

Counting from the start of a long rumble. Count to the first sound of thunder; the rumble comes from farther parts of the channel.

Matching the wrong flash to the thunder. In an active storm, flashes overlap; use a clear, isolated one.

Treating a large count as safe. Any audible thunder means the storm can reach you.

Dividing by 3 for miles. Divide by 5 for miles and by 3 for kilometers.

Frequently Asked Questions

How far away is lightning when you hear thunder?
Count the seconds from the flash to the thunder and divide by 5 for miles. If you can hear thunder at all, the NWS says you are within striking distance.
How far away is lightning per second?
About a fifth of a mile (0.21 mile, or 343 meters at 68 °F) for every second between flash and thunder.
How far away is lightning 5 seconds after the flash?
About 1 mile, by the NWS rule; 1.07 miles using the speed of sound at 68 °F.
How far away is lightning if I count 10 seconds?
About 2 miles (2.1 miles at 68 °F). That is well within striking distance.
How far away is lightning from my location right now?
Count the seconds from the next flash to its thunder and enter them above. For a live view, use a radar or lightning-detection app and NWS alerts.
How far away does lightning need to be to swim safely?
There is no safe distance once you can hear thunder: the NWS says there is no safe place outside when thunderstorms are in the area. Get out of the water and indoors, and wait 30 minutes after the last thunder.
What is the 30-30 rule for lightning?
An older guideline: take shelter when the flash-to-bang count is under 30 seconds, and wait 30 minutes after the last thunder. Current NWS messaging is to go indoors whenever you hear thunder; the 30-minute wait still applies.
Is heat lightning dangerous?
Heat lightning is ordinary lightning too far away for its thunder to be heard. The storm producing it can move toward you.

How to Use This Calculator

  1. See the flash — start counting seconds.
  2. Stop at the first thunder — and enter the seconds.
  3. Enter the air temperature — for the speed of sound (68 °F if unsure).
  4. Read the distance and the safety note — then go indoors if you heard thunder.
📚 Sources & References
  1. [1] National Weather Service. Understanding lightning: thunder (page created Sept 8, 2023). Accessed Oct 2026. www.weather.gov
  2. [2] National Weather Service. Lightning safety: When thunder roars, go indoors (page created June 25, 2024). Accessed Oct 2026. www.weather.gov
  3. [3] National Weather Service. Lightning safety and outdoor sports activities (page created April 20, 2018). Accessed Oct 2026. www.weather.gov
  4. [4] National Weather Service. Lightning myths (page created July 10, 2023), citing Lopez and Holle (1998). Accessed Oct 2026. www.weather.gov
  5. [5] National Weather Service glossary. Heat lightning. Accessed Oct 2026. forecast.weather.gov
  6. [6] American Meteorological Society. Lightning safety awareness (statement adopted April 29, 2002; expired September 2013). ametsoc.org
✅ Editorial Standards — Every calculator is built from peer-reviewed formulas and official data sources, editorially reviewed for accuracy, and updated regularly. Read our full methodology · About the author