To determine how far away lightning is from sound, you can use the following steps:
1. Count the seconds between the lightning flash and the thunderclap.
2. Divide the number of seconds by 5 to obtain the distance in miles.
For example, if you count 10 seconds between the lightning flash and the thunderclap, the lightning is approximately 2 miles away (10 seconds / 5 = 2 miles).