Two messengers at very different speeds
A lightning bolt and its thunder are born at the same instant, in the same place. The flash heats the air so violently that the air explodes outward as a pressure wave — thunder. But the two signals then travel to you at wildly different speeds.
Light moves at about 300,000 kilometres per second, so fast that the flash of a storm ten kilometres away reaches you in a tiny fraction of a millisecond — effectively instantly. Sound dawdles along at about 343 metres per second in air. The race is no contest: your eyes always get the news first.
Counting the gap measures the storm
Because sound takes about three seconds to cover one kilometre, the delay between flash and thunder is a built-in rangefinder. Count the seconds, divide by three, and you have the storm's distance in kilometres. A nine-second gap means the lightning struck about three kilometres away.
Watch the gap over successive flashes and you also learn the storm's direction of travel: if the delay shrinks, the storm is coming closer; if it grows, it is moving away. Generations of sailors, farmers and shepherds have used exactly this arithmetic, because it needs nothing but eyes, ears and counting.
What the delay should tell you to do
The same physics carries a safety warning. If thunder follows a flash within about thirty seconds, the storm is within roughly ten kilometres — close enough that the next bolt could reach you, since lightning can strike well ahead of the rain, out of an apparently clear sky. The standard advice is to get indoors and wait thirty minutes after the last thunder.
And if you can hear thunder at all, the light from that same bolt has already passed you by. The gap is never a mystery of timing at the source — it is purely the difference between the fastest messenger in nature and a comparatively pedestrian one.

