Sound travels through air at approximately 343 meters per second, which is roughly one kilometer every three seconds. By counting the seconds between seeing the lightning flash and hearing the thunder, then dividing that number by three, you can estimate the distance to the storm in kilometers.