Lightning Distance Calculator

Lightning is about 1 mile away for every 5 seconds between the flash and the thunder, by the National Weather Service (NWS) rule: sound takes about 5 seconds to travel a mile. Type the seconds you counted to see how far away it struck, in miles, kilometers and feet.

s
Distance
2 miles

Thunder 10 seconds after the flash means the lightning was 2 miles away.

Kilometers 3.2 km
Feet 10,560 ft
Seconds per mile 5

What is the flash-to-bang rule?

It’s the National Weather Service’s way to tell how far away lightning is: count the seconds from the flash to the thunder and divide by 5 to get miles.

How to calculate lightning distance

You see lightning straight away, but its thunder travels at the speed of sound: about 5 seconds for each mile. So count the seconds from the flash to the thunder and divide by 5. NWS gives the examples 5 seconds = 1 mile and 15 seconds = 3 miles.

Miles = seconds ÷ 5

Here it is with your numbers:

  1. Divide the seconds by 5: 10 ÷ 5 = 2 miles.
  2. In kilometers: 2 × 1.609344 = 3.2 km.

It means the lightning was 2 miles (3.2 km) from you.

Source NWS · Understanding Lightning: Thunder ↗NIST Handbook 44 (2026) · Appendix C, General Tables of Units of Measurement ↗

Flash to bang chart

SecondsMilesKilometers
10.20.3
20.40.6
30.61.0
40.81.3
51.01.6
61.21.9
81.62.6
102.03.2
153.04.8
204.06.4
255.08.0
306.09.7
408.012.9
5010.016.1
6012.019.3

Miles are the seconds divided by 5; kilometers are the miles times 1.609344. Both are rounded to 1 decimal.

How far away can you hear thunder?

NWS says thunder can be heard only about 10 miles from the strike: about 50 seconds after the flash. A sharp crack means the lightning was close; a long rumble means it was several miles away.

The rule gives a distance, not a safe one. For what to do in a storm, see the NWS lightning safety page.

Source NWS · Lightning Safety Tips and Resources ↗

FAQs

How can you tell how far away lightning is?

Count the seconds from the flash to the thunder and divide by 5 to get miles. You see the flash straight away, but thunder takes about 5 seconds to travel a mile: 15 seconds is 3 miles.

Source NWS · Understanding Lightning: Thunder ↗

How can you tell how far away a storm is?

The same way: every 5 seconds between flash and thunder is about a mile. If you can hear thunder at all, NWS says you’re probably within striking distance, because thunder carries only about 10 miles.

What comes first, lightning or thunder?

Lightning. Thunder is the sound lightning makes as it heats the air, which expands and then contracts quickly. The flash reaches you almost at once; the sound takes about 5 seconds for each mile.

Sources

Related calculators