Lightning Distance Calculator
Calculate how far away a lightning strike is using the flash-to-bang method. Count seconds between flash and thunder, get distance instantly.
How to Calculate Lightning Distance
When you see a lightning flash, start counting seconds until you hear the thunder. The delay between the flash and the bang is caused by the difference between the speed of light (instantaneous over storm distances) and the speed of sound (about 343 m/s or 1,125 ft/s at 20 °C). Our lightning distance calculator uses the formula d = s × t to convert that delay into a distance.
The calculator supports three solve modes. Choose Distance to find how far the strike is from the time delay. Choose Speed of Sound to estimate the local sound speed when you know both the distance and delay. Choose Time to predict how many seconds thunder will take to reach you from a known distance.
The Flash-to-Bang Formula
The relationship between distance, speed of sound, and time is given by the simple formula:
d = s × t
Where:
- d = distance to the lightning strike (meters, kilometers, miles, or feet)
- s = speed of sound (~343 m/s at 20 °C)
- t = time delay between flash and thunder (seconds or minutes)
Rearranged for the other variables:
- s = d ÷ t — solve for the local speed of sound
- t = d ÷ s — solve for the expected time delay
Why Does the Flash-to-Bang Method Work?
Light travels at approximately 300,000 kilometers per second, so a lightning flash reaches your eyes almost instantly even from tens of kilometers away. Sound, however, travels much slower at about 343 meters per second at 20 °C. The time gap between seeing the flash and hearing the thunder is entirely due to the speed of sound. This principle is called the flash-to-bang method and is used widely for estimating storm proximity.
The 30-30 Lightning Safety Rule
The 30-30 rule is a widely accepted lightning safety guideline. If the time between a lightning flash and its thunder is 30 seconds or less (about 10 kilometers or 6 miles), seek shelter immediately. Wait at least 30 minutes after the last thunderclap before going back outside. Our calculator shows a safety message based on this rule to help you make informed decisions during a thunderstorm.
Example Calculation
You see a lightning flash and count 8 seconds before hearing the thunder. The temperature is around 20 °C, so the speed of sound is about 343 m/s. Using the formula:
d = 343 m/s × 8 s = 2,744 meters
That is about 2.7 kilometers or 1.7 miles. Since 8 seconds is well under 30 seconds, the storm is dangerously close and you should seek shelter immediately.
Factors That Affect Accuracy
- Temperature: The speed of sound increases by about 0.6 m/s for every degree Celsius. At 0 °C it drops to 331 m/s; at 35 °C it reaches 352 m/s.
- Wind: Strong winds can bend sound waves, making the thunder arrive earlier or later.
- Terrain: Hills, buildings, and other obstacles can reflect and delay sound.
- Multiple strikes: In active storms, matching the wrong flash to the wrong thunder is the most common source of error.
Related Calculators
- Speed Distance Time Calculator — General-purpose d = s × t calculator for any speed and distance
- Sound Wave Speed Calculator — Calculate speed of sound from frequency and wavelength
- Distance Calculator — Calculate distance between two points
Frequently Asked Questions
How far away was that lightning strike?
Count the seconds between the flash and the thunder, then divide by 3 to get the distance in kilometers or divide by 5 to get the distance in miles. For example, a 9-second delay means roughly 3 km (1.8 miles). Use our calculator for a precise result with your chosen units.
Why is there a delay between lightning and thunder?
Light travels at about 300,000 km/s (essentially instantaneous over storm distances), while sound travels at only 343 m/s at 20 °C. The delay you perceive is the time it takes the sound wave (thunder) to travel from the strike to your location.
How many seconds per mile for lightning distance?
Roughly 5 seconds per mile (or 3 seconds per kilometer). If you count 10 seconds between the flash and thunder, the lightning struck about 2 miles (3.2 km) away.
Does temperature affect the speed of sound?
Yes. The speed of sound increases by about 0.6 m/s for each degree Celsius. At 0 °C it is approximately 331 m/s; at 35 °C it is about 352 m/s. Our calculator defaults to 343 m/s (20 °C), but you can adjust the speed value manually.
What is the 30-30 rule for lightning safety?
If the flash-to-thunder time is 30 seconds or less (about 10 km or 6 miles), seek shelter immediately. Wait at least 30 minutes after the last thunder before going back outside. Our calculator includes a safety indicator to help you apply this rule.
Can you hear thunder from lightning more than 10 miles away?
Rarely. Thunder is typically inaudible beyond about 10-15 miles (16-24 km) because the sound wave refracts upward in the atmosphere and dissipates. If you can hear the thunder, the storm is close enough to be a potential danger.
How accurate is the flash-to-bang method?
Within about 10% for distances under 15 km, assuming you correctly match the flash to its thunder. Accuracy decreases with wind, temperature gradients, and terrain obstructions. In active storms with multiple bolts, pairing the wrong flash with the wrong thunder is the biggest source of error.