Lightning Distance Calculator

Time the seconds between a lightning flash and its thunder to estimate how far away the strike occurred, using the speed of sound for your air temperature.

Quick Facts

Speed of sound formula
v ≈ 331.3 + 0.606 × T(°C) m/s
Sound travels roughly 0.6 m/s faster for every 1°C rise in air temperature.
Typical value
≈ 343 m/s (1,125 ft/s)
At 20°C (68°F), the value most flash-to-bang rules of thumb assume.
Quick field rule
seconds ÷ 5 ≈ miles
Or divide the seconds by 3 for a rough kilometer estimate.
30/30 safety rule
≤ 30 s = seek shelter
Stay sheltered until 30 minutes after the last flash or thunder (NOAA guidance).

Your Results

Calculated
Distance to Lightning
-
Speed of sound × time delay
Alternate Distance
-
Same result in a second common unit
Speed of Sound Used
-
Calculated from your air temperature
Storm Proximity
-
Based on the NWS 30/30 safety rule

Ready

Enter the seconds between the flash and the thunder, then press Calculate.

Formula and Method for Lightning Distance

Thunderstorms produce lightning and thunder at essentially the same instant, but the two travel to your eyes and ears at wildly different speeds. Light covers roughly 300,000 km/s, so over a few miles it arrives in a few millionths of a second — effectively instant. Sound, by contrast, only travels at about 343 m/s (767 mph) in air near room temperature. That gap is what makes the "flash-to-bang" method work: distance = time delay × speed of sound, where the time delay is the seconds you count between seeing the flash and hearing the thunder.

How the calculation works

The speed of sound in air is not fixed — it depends on temperature. This calculator uses the standard linear approximation v = 331.3 + 0.606 × T, where v is in meters per second and T is the air temperature in degrees Celsius (your Fahrenheit entry is converted automatically). Multiplying that speed by your timed delay in seconds gives the distance in meters, which is then converted into miles, kilometers, feet, or meters depending on the unit you select. At 20°C (68°F) this works out to roughly 343 m/s, which is why the common field shortcut — divide the seconds by 5 for miles, or by 3 for kilometers — lines up closely with the exact result.

Common mistakes

  • Timing the wrong event: start counting the instant you see the flash, not when you first notice the storm, and stop the instant the thunder begins (not when it peaks or fades).
  • Ignoring temperature: the speed of sound changes by about 0.6 m/s per °C, so on a very hot or very cold day the exact distance can shift by several percent compared to the 343 m/s "typical" value.
  • Assuming lightning only strikes directly under the storm: lightning can strike more than 10 miles from the parent thunderstorm cell, even when the sky overhead looks clear.

Lightning safety and real-world use

The National Weather Service's 30/30 rule is the standard field guideline: if the flash-to-bang time is 30 seconds or less, the storm is close enough to be dangerous — seek sturdy shelter immediately and stay there until 30 minutes have passed since the last flash or thunder. This calculator is meant for situational awareness and education; it is not a substitute for official weather alerts, and you should never delay seeking shelter to keep timing strikes.

Frequently Asked Questions

How does the flash-to-bang method work?
Light from a lightning flash reaches your eyes almost instantly, but the thunder it creates travels much slower, at the speed of sound. Count the seconds from when you see the flash to when you hear the thunder, then multiply that time by the speed of sound (about 343 m/s, or roughly one mile every 5 seconds) to estimate how far away the strike occurred.
What speed of sound does this calculator use?
It uses the standard linear approximation v = 331.3 + 0.606T m/s, where T is the air temperature in Celsius. Sound travels faster in warmer air, so entering an accurate temperature improves the estimate; at 20°C (68°F) this works out to about 343 m/s (1,125 ft/s).
Why don't I need to time the light from the flash?
Light travels at about 300,000 km/s, so over distances of a few miles it arrives in a few millionths of a second — effectively instantaneous compared to sound. That's why the entire flash-to-bang delay can be attributed to the travel time of the thunder.
What is the 30/30 lightning safety rule?
The National Weather Service recommends seeking sturdy shelter if the flash-to-bang time is 30 seconds or less, since that means the storm is roughly 6 miles away or closer, within lightning's striking range. Stay inside until 30 minutes have passed since the last flash or thunder.