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.