keepcalculator

06 Numbers and Powers

Calculate Distance of Lightning Strike

Card No. 06·88837 · Updated · Standard formula, shown below

Distance (miles) 2.128 mi
Distance (kilometers)
3.333 km
Result
Seconds between flash and thunder
10 s
You entered
You enter
Seconds between flash and thunder
You get
Distance (miles), Distance (kilometers)
Rounding
1 dp

To calculate the distance of a lightning strike in miles, count the seconds between the flash and the thunder and divide by 5; for kilometers, divide by 3. This gives you a reliable estimate of how far away the lightning struck.

Formula

The distance to a lightning strike is calculated using the speed of sound in air. The formula is:

Distance = Time × Speed of Sound

Where:

  • Time (t) – the number of seconds between seeing the flash and hearing the thunder, measured in seconds.
  • Speed of sound – approximately 343 meters per second (1,125 ft/s) at 20°C (68°F) at sea level. This equals about 1 mile in 4.7 seconds or 1 kilometer in 2.9 seconds.

In practice, the common rule of thumb is 5 seconds per mile (or 3 seconds per kilometer), which accounts for slightly cooler air and gives a conservative estimate. The calculator above uses the more precise 4.7 seconds per mile.

Worked Example

Using the default values from the calculator: you count 10 seconds between the flash and the thunder.

  1. Convert to miles: 10 ÷ 4.7 = 2.1 miles
  2. Convert to kilometers: 10 ÷ 3 = 3.3 km

So the lightning struck about 2 miles (3.3 km) away. The calculator shows the same result.

Why the Flash Arrives Before the Thunder

Light and sound travel at vastly different speeds. Light moves at about 299,792 kilometers per second (186,282 miles per second), so the flash reaches your eyes almost instantly. Sound, on the other hand, crawls at roughly 343 meters per second (767 mph) in air. This difference is what allows you to estimate distance: the longer the delay, the farther away the strike.

For example, if you see a flash and hear thunder 15 seconds later, the strike is about 3 miles away (15 ÷ 5). If the delay is only 2 seconds, the strike is less than half a mile away – extremely dangerous.

How to Measure the Seconds Accurately

To get a useful estimate, you need a reasonably accurate count of the time between flash and thunder. Here are practical tips:

  • Use a stopwatch or your phone – start timing the moment you see the flash, stop when you hear the thunder.
  • Count aloud – saying “one-thousand-one, one-thousand-two…” approximates seconds, but it is less accurate.
  • Take multiple measurements – lightning often strikes multiple times in the same area. Average a few counts for a better estimate.
  • Note the trend – if the time between flash and thunder is decreasing, the storm is moving toward you; if increasing, it is moving away.

Common Mistakes and Misconceptions

Several errors can throw off your calculation:

  • Counting from the wrong start – begin timing only when you see the flash, not when you hear the previous thunder.
  • Using the wrong speed of sound – the speed of sound varies with temperature and humidity. In hot, humid air it is faster (about 350 m/s), making the 5-second rule slightly conservative. In cold air it is slower.
  • Confusing miles and kilometers – the 5-second rule gives miles; the 3-second rule gives kilometers. Mixing them up can double the error.
  • Assuming the strike is directly overhead – the method gives the distance to the strike location, not the height of the cloud. The actual path of the lightning can be several kilometers long.

When to Use This Calculation

This method is most useful for situational awareness during a thunderstorm. It tells you whether lightning is close enough to pose an immediate threat. The National Weather Service recommends seeking shelter if the delay is less than 30 seconds (about 6 miles). Many outdoor activities, such as sports, hiking, or construction, use the “30-30 rule”: if the time is 30 seconds or less, go inside; wait 30 minutes after the last thunder before resuming activities.

The calculation is also a fun educational tool for understanding the speed of sound. It is not, however, a precise scientific measurement – it cannot tell you exactly where the lightning struck, only how far away it was.

Limitations of the Method

The flash-to-thunder method has inherent limitations:

  • Sound refraction – wind and temperature gradients can bend sound waves, making the thunder appear to come from a different direction or distance.
  • Echoes – in mountainous areas, thunder may bounce off terrain, creating multiple rumblings that confuse the timing.
  • Human reaction time – the average person takes about 0.2–0.3 seconds to react, which introduces a small but measurable error.
  • Multiple strikes – a single flash can involve several return strokes, producing a prolonged rumble that makes it hard to identify the “start” of the thunder.

For critical safety decisions, always rely on official weather alerts and lightning detection networks, not just this calculation.

Frequently Asked Questions

How accurate is the 5-second rule?

The 5-second rule (dividing seconds by 5 to get miles) is accurate to within about 10–15% under typical conditions. It assumes a speed of sound of about 1,100 feet per second, which is close to the real value at moderate temperatures. The error increases in extreme heat or cold, but it remains a useful safety guideline.

Can I use this method to track a storm’s direction?

Yes. If you measure the time between flash and thunder repeatedly, a decreasing time means the storm is approaching; an increasing time means it is moving away. However, the storm may also be moving parallel to you, so the time could stay roughly constant. Use this as a rough indicator, not a precise tracker.

Why do I sometimes see lightning but hear no thunder?

Thunder is rarely heard beyond about 10–15 miles (16–24 km) from the strike, even on a clear night. If the storm is farther away, the sound may be too weak or refracted away. This is called “heat lightning” when it occurs on a warm summer evening – it is simply lightning too far away for its thunder to reach you.

Does the speed of sound change with altitude?

Yes. The speed of sound decreases with altitude because the air is colder and less dense. At 10,000 feet (3,000 m), the speed is about 330 m/s, which would make the 5-second rule slightly less accurate. However, for ground-level observations, the variation is small enough that the rule remains practical.

What is the safest thing to do if lightning is close?

If the delay between flash and thunder is less than 30 seconds, immediately move to a substantial building or a fully enclosed metal vehicle. Stay away from windows, doors, and electrical appliances. Avoid open fields, high ground, and isolated trees. Wait at least 30 minutes after the last thunder before leaving shelter.

Can I calculate the distance in meters?

Yes. Multiply the seconds by 343 to get the distance in meters. For example, 10 seconds × 343 m/s = 3,430 meters (3.43 km). The calculator above gives kilometers directly by dividing by 3, which is close enough for most purposes.

Related

Formula used
in t | Seconds between flash and thunder | s | 10 | 0 | 120
out miles | Distance (miles) | mi | t / 4.7 | 1
out km | Distance (kilometers) | km | t / 3 | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →