Lightning Distance Formula
The distance to a lightning strike equals the speed of sound multiplied by the time between the flash and the thunder. Light arrives almost instantly, so the delay is entirely due to the slower speed of sound (≈343 m/s at 20°C).
d = s × t
Speed of Sound
Rearranging the distance formula lets you solve for the speed of sound when you know the distance and the time delay. This is useful for estimating the local speed of sound under different temperature conditions.
s = d ÷ t
Flash-to-Thunder Time
Solve for the expected time delay between the flash and the thunder when you know the distance and the speed of sound. Useful for verifying observations or planning safety responses.
t = d ÷ s
How It Works
Light from a lightning flash arrives almost instantly, but thunder travels at about 343 m/s (1,125 ft/s) at 20°C. Multiply the seconds between the flash and the thunder by the speed of sound to get the distance. The classic "5-second rule" says every 5 seconds equals roughly 1 mile (or about 3 seconds per kilometer).
Example Problem
You see lightning and hear thunder 8 seconds later. The air temperature is about 20°C. How far away is the storm?
- Identify the known values: time delay t = 8 seconds, speed of sound v ≈ 343 m/s at 20°C.
- Write the distance formula: d = v × t.
- Substitute the values: d = 343 m/s × 8 s.
- Calculate: d = 2,744 meters.
- Convert to familiar units: 2,744 m ÷ 1,609 m/mile ≈ 1.7 miles (or about 2.7 km).
- Apply the 30-30 safety rule: since 8 seconds is well under 30 seconds, the storm is dangerously close — seek shelter immediately.
At 8 seconds the storm is under 3 km away. The 30-30 rule says to seek shelter whenever the flash-to-thunder delay is 30 seconds or less.
When to Use Each Variable
- Solve for Distance — when you count the seconds between a lightning flash and thunder and want to know how far away the strike was.
- Solve for Speed — when you know the distance and time and want to estimate the local speed of sound (which varies with temperature).
- Solve for Time — when you know the distance to a storm and want to predict how many seconds the thunder will take to arrive.
Key Concepts
Light travels at roughly 300,000 km/s, arriving almost instantly from a lightning strike. Sound travels much slower at about 343 m/s (at 20 degrees C), creating a measurable delay between the flash and the thunder. The speed of sound increases by approximately 0.6 m/s per degree Celsius, so temperature affects accuracy. The classic 5-second rule approximates one mile per five seconds of delay.
Applications
- Outdoor safety: determining storm proximity to decide when to seek shelter using the 30-30 rule
- Aviation weather: estimating thunderstorm distance for flight planning and ground operations
- Event management: monitoring lightning risk for outdoor concerts, sports events, and construction sites
- Education: demonstrating the speed of sound and the relationship between distance, speed, and time
Common Mistakes
- Counting from the wrong flash — in active storms, multiple lightning bolts can overlap, leading to incorrect time measurements
- Using the speed of sound at standard conditions without adjusting for temperature — at 0 degrees C the speed is only 331 m/s versus 352 m/s at 35 degrees C
- Assuming lightning at 10+ seconds away is safe — the 30-30 rule says to take shelter whenever the delay is 30 seconds or less (about 10 km)
Frequently Asked Questions
How far away was that lightning strike?
Count the seconds between the flash and the thunder, then divide by about 3 to get the distance in kilometers, or divide by 5 for miles. For example, a 9-second delay means the strike was roughly 3 km (1.8 miles) away.
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 about 343 m/s. The delay you perceive is the time it takes the sound wave (thunder) to cover the distance between the strike and your ears.
How many seconds per mile for lightning?
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 away.
Does temperature change 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 ~331 m/s; at 35°C it is ~352 m/s. For most purposes the default 343 m/s (20°C) is close enough.
What is the 30-30 rule for lightning safety?
If the flash-to-thunder time is 30 seconds or less (about 6 miles or 10 km), seek shelter immediately. Wait at least 30 minutes after the last thunder before going back outside.
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 match the flash to its thunder correctly. 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.
Lightning Distance Formula
The flash-to-bang method uses the speed of sound to convert the time delay between a lightning flash and the arriving thunder into a distance:
Where:
- d — distance to the lightning strike, in meters (m)
- v — speed of sound, approximately 343 m/s at 20°C
- t — time delay between the flash and the thunder, in seconds (s)
Light travels at roughly 300,000 km/s, so the flash arrives almost instantly. The entire delay is due to the much slower speed of sound. The formula applies to any distance where sound can travel in a straight line; at very long ranges (>25 km), atmospheric refraction and wind can distort the result.
Worked Examples
Outdoor Safety
How close is the storm? Should you seek shelter?
You see a lightning flash and count 10 seconds before the thunder arrives. The temperature is about 20°C (speed of sound ≈ 343 m/s).
- d = v × t = 343 m/s × 10 s
- d = 3,430 m (about 2.1 miles)
Under the 30-30 rule, any delay of 30 seconds or less (≤10 km) means you should already be in shelter. At 10 seconds this storm is dangerously close.
Aviation
How far is a thunderstorm from the runway?
A ground crew at the airport observes lightning and hears thunder 25 seconds later. Using standard sea-level speed of sound (340 m/s), estimate the storm distance.
- d = v × t = 340 m/s × 25 s
- d = 8,500 m (8.5 km / 5.3 miles)
Most airports halt ground operations when lightning is within 5 nautical miles (~9.3 km). At 8.5 km this storm is at the threshold — operations may be paused until the storm moves further away.
Science Education
What is the local speed of sound during a classroom experiment?
Students know a lightning strike hit a radio tower 2,000 m away. They measure a 6-second delay. What speed of sound does this imply?
- Rearrange: v = d / t
- v = 2,000 m / 6 s
- v ≈ 333.3 m/s
This is lower than 343 m/s, which suggests the outdoor temperature was below 20°C — consistent with thunderstorm conditions where descending air cools the surface.
Related Calculators
- Cloud Base Calculator — estimate cloud ceiling from temperature and dewpoint.
- Relative Humidity Calculator — compute humidity from vapor pressure or dewpoint.
- Sound Wave Calculator — calculate speed of sound, frequency, and wavelength.
- Heat Index Calculator — check heat conditions during thunderstorm season.
- Speed Unit Converter — convert the speed of sound between m/s, mph, and km/h.
- Length Unit Converter — convert lightning distances between miles, kilometers, and feet.
Related Sites
- Hourly Salaries — Hourly wage to annual salary converter
- Medical Equations — Clinical and medical calculators
- BOGO Discount — Buy one get one deal savings calculator
- CameraDOF — Depth of field calculator for photographers
- Percent Error Calculator — Measurement accuracy and error analysis tool
- OptionsMath — Options trading profit and loss calculators