Lightning Distance Calculator

Quick answer

The lightning distance calculator estimates how far away a lightning strike was from the time between the flash and the thunder, using the speed of sound at the current air temperature.

Speed of sound
343.2146
Distance to the lightning
2.0593
Safety
Within striking distance – go indoors now

Light from a lightning bolt reaches you almost instantly, but thunder travels at the speed of sound. Counting the seconds between them tells you how far away the strike was, and if it is under 10 km, you are within striking distance.

How to use the Lightning Distance Calculator

  1. Time between flash and thunder
  2. Air temperature

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

How it works

Count the seconds from flash to thunder and enter the air temperature.

Inputs explained

Field What to enter
Time between flash and thunder Units: s, ms, min, h, days
Air temperature Units: °C, °F, K

What each result means

  • Speed of sound = 331.3×sqrt(1 + [Air temperature]÷273.15)
  • Distance to the lightning = 331.3×sqrt(1 + [Air temperature]÷273.15)×[Time between flash and thunder]

Example values

How the main result changes when Time between flash and thunder changes and everything else stays at the example values above:

Time between flash and thunder (s) Distance to the lightning (km)
3 1.0296
4.5 1.5445
6 2.0593
7.5 2.5741
9 3.0889
12 4.1186

Formula

d = v·t, v = 331.3·√(1 + T/273.15) m/s (≈ 3 s per km, 5 s per mile)

Worked example

Inputs: Time between flash and thunder: 6 s; Air temperature: 20 °C.
Results: Speed of sound = 343.2146 m/s; Distance to the lightning = 2.0593 km; Safety = Within striking distance – go indoors now.

Key terms

Flash-to-bang
Time between seeing lightning and hearing thunder.

Frequently asked questions

What is the 30-30 rule?

Seek shelter if thunder follows lightning within 30 s; wait 30 min after the last thunder.

How far away can thunder be heard?

Usually up to about 15–25 km.

Is 3 seconds per km exact?

It's close, since sound travels about 343 m/s at 20 °C.

Can lightning strike far from the storm?

Yes, up to 15 km or more ("bolts from the blue").

Sources

  1. NOAA / National Weather Service: Weather calculators
  2. NWS: Lightning safety

Cite this calculator

Speedy Calculator. (2026). Lightning Distance Calculator. Speedy Calculator. https://speedycalculator.com/calculators/physics/lightning-distance/