Lightning Distance Calculator
Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 12/5/2026
Distance (m) = seconds between lightning and thunder × speed of sound, about 343 m/s at 20 °C. 9 seconds is about 3.1 km: as a rule of thumb, divide the seconds by 3 for kilometers, or by 5 for miles.
Explanation
Lightning and thunder happen at the same moment: thunder is the sound of air suddenly heated and expanded by the electrical discharge. Light travels at about 300,000 kilometers per second and reaches you almost instantly, while sound travels at about 343 meters per second in air at 20 °C. The delay before the thunder is therefore the time the sound takes to reach you, and multiplying it by the speed of sound gives the distance. The speed of sound depends mainly on temperature: about 331 m/s at 0 °C, rising by roughly 0.6 m/s per degree. The calculator adjusts for the temperature you enter, but the difference is small: the rule of thumb of 3 seconds per kilometer, or 5 seconds per mile, gives a very close answer. Count as accurately as you can, for example with a stopwatch, since one second of error already means about 340 meters. By counting across several flashes, you can also tell whether the storm is coming closer, if the delay shrinks, or moving away, if it grows. Note that this calculation is not a safety measure: lightning can strike more than 10 kilometers from the heart of the storm, and if you can hear thunder, you are within range. Weather and safety services advise going indoors or into a closed car as soon as thunder roars, and waiting about 30 minutes after the last thunder before going back out. For the details of the speed of sound, see the speed of sound by temperature calculator; for another everyday weather measure, the wind chill calculator.
Example: 9 seconds on a summer evening
Inputs
Lightning-to-thunder delay: 9 s. Temperature: 20 °C.
Calculation
Speed of sound = 331.3 + 0.606 × 20 = 343.4 m/s. Distance = 343.4 × 9 ≈ 3,091 m, or 3.1 km (about 1.9 miles). The quick rule gives 9 ÷ 3 = 3 km.
Result
The storm is about 3 km away: you are within lightning range, so take shelter.
Frequently asked questions
Why divide the seconds by 3 (or 5)?
Because sound covers about 1 kilometer in 3 seconds (343 m/s × 3 ≈ 1,030 m), and about 1 mile in 5 seconds. Dividing the delay by 3 gives kilometers, and by 5 gives miles, to within a few percent.
How far away is safe?
No distance is guaranteed: lightning can strike more than 10 km (6 miles) from the storm. If you can hear thunder, shelter in a building or closed car and wait about 30 minutes after the last thunder.
What if I see lightning but don't hear thunder?
Thunder is rarely heard beyond 15 to 20 km: the storm is far away, or background noise is drowning it out. Keep an eye on it, as a storm can move at several tens of km/h.