Lightning Distance Calculator
Measure the gap between lightning and thunder, and get lightning distance in km, miles, meters, and feet — with air temperature correction and a built-in stopwatch.
⚡ Mode 1 — Distance from the flash-to-bang gap
Press Flash! the moment lightning is seen, then Thunder! when its sound is heard. Or enter manually below.
Speed of sound at this temperature: 343.2 m/s
🔁 Mode 2 — Time from distance (inverse)
Enter a known distance, get the thunder gap you should hear.
Pada 343.2 m/s (20°C — follows the slider in mode 1).
🛡️ Thunderstorm safety guide (30-30 rule)
General educational content, not medical advice. Lightning is a real weather hazard — always prioritize your personal safety.
- First 30 rule: if the flash-to-bang gap is under 30 seconds, the storm is close enough to be dangerous — get inside an enclosed building (not an open shelter) or a metal-topped vehicle with windows closed.
- Second 30 rule: wait at least 30 minutes after the last thunder before going back outside. Half of lightning victims are struck after the storm appears to have passed.
- Indoors: avoid corded electrical equipment, faucets and water pipes, and areas near windows.
- Outdoors with no shelter: stay away from open fields, tall isolated trees, and puddles/water. If trapped, crouch low with feet together as a last resort.
Methodology
The speed of sound in air rises with temperature. At 20°C: c = 343.2146 m/s, so a 9-second gap → d = 9 × 343.2146 = 3088.93 m ≈ 3.089 km. Inverse mode uses t = d / c(T). Unit conversions use exact international definitions: 1 mile = 1609.344 m, 1 foot = 0.3048 m.
Frequently asked questions (FAQ)
How do you correctly measure lightning distance?
Why do the "3 seconds ≈ 1 kilometer" and "5 seconds ≈ 1 mile" rules exist?
Does air temperature affect the result?
How far away can thunder still be heard?
Does wind affect the speed of sound?
What is the 30-30 rule for lightning safety?
How accurate is this lightning distance calculator?
Is it true that lightning light is treated as arriving instantly?
How do you use the "time from distance" mode?
See also
- Speed of Sound Calculator — compute c(T) in more detail with altitude, humidity, and other-medium corrections.
Free tool by NRTechStudio