How to Calculate Distance to Lightning: Flash-to-Bang Formula and Safety Guide

Weather Phenomena

How to Calculate Distance to Lightning: Flash-to-Bang Formula and Safety Guide

Published: November 2, 2026
Updated: November 2, 2026

Knowing how to calculate distance to lightning takes nothing more than a stopwatch and a simple formula. You count the seconds between the flash and the thunder, then multiply by the speed of sound. The result tells you roughly how far away the strike was and whether the storm is moving toward you.

This method is known as flash-to-bang. It works because light reaches your eyes almost instantly, while sound travels far more slowly. The gap between the two is a direct measure of distance. Below you will find the formula, a manual step-by-step method, worked examples, a reference table and the mistakes that most often skew the result.

What is the flash-to-bang method and why does it work?

Lightning heats the air around it to a temperature several times hotter than the surface of the sun. The air expands explosively and creates a shock wave, which you hear as thunder. The flash and the thunder happen at the same moment, but they reach you at very different speeds.

  • Light travels at about 299,792 km/s. Over a few kilometers, it arrives in microseconds, so it is treated as instantaneous.
  • Sound travels at about 343 m/s in air at 20 °C, roughly 1 km every 2.9 seconds.

Because light arrives first, every second of delay equals about 343 meters of distance. That is the entire principle behind a lightning distance calculator, whether it is a phone app, a quick mental rule or the tools you can find on Calculatorr.

Lightning distance formula: how to calculate it step by step

The base formula is the one used for any distance at constant speed:

Distance = Speed of sound × Time delay

The speed of sound changes slightly with air temperature. A practical approximation is:

v (m/s) = 331.3 + 0.606 × T, where T is the air temperature in °C.

Combining both, the distance in kilometers and miles is:

  • Distance (km) = v × t ÷ 1000
  • Distance (miles) = v × t ÷ 1609.34

Here t is the number of seconds between the flash and the first sound of thunder.

Step 1: Spot the flash and start counting

Start timing the moment you see the lightning. Use a stopwatch if you have one. If not, count aloud in a steady rhythm: one-one-thousand, two-one-thousand, and so on.

Step 2: Stop at the first sound of thunder

Stop the count when you hear the first rumble or crack, not the end of it. The first sound comes from the closest part of the lightning channel, which is the distance you want to know.

Step 3: Estimate the speed of sound

If you know the air temperature, use the formula above. If you do not, use 343 m/s as a standard value. The error from skipping this step is usually under 3 percent, which is irrelevant for safety decisions.

Step 4: Multiply and convert

Multiply the speed of sound by the seconds counted. The result is in meters. Divide by 1000 for kilometers or by 1609.34 for miles.

Worked examples with real numbers

Example 1: standard conditions

You see a flash and count 12 seconds before the thunder. The air temperature is 20 °C.

  • v = 331.3 + 0.606 × 20 = 343.4 m/s
  • Distance = 343.4 × 12 = 4,120.8 m
  • That equals 4.12 km, or about 2.56 miles.

Example 2: a hot afternoon

At 30 °C you count 10 seconds.

  • v = 331.3 + 0.606 × 30 = 349.5 m/s (rounded)
  • Distance = 349.5 × 10 = 3,495 m
  • That is 3.49 km, or about 2.17 miles.

Example 3: a cold evening

At 0 °C you count 10 seconds.

  • v = 331.3 m/s
  • Distance = 331.3 × 10 = 3,313 m
  • That is 3.31 km, or about 2.06 miles.

The same 10-second delay gives 3.31 km on a freezing night and 3.49 km on a hot day. The difference is about 5 percent, so temperature matters little in practice.

Lightning distance chart: seconds to kilometers and miles

This table uses 343.4 m/s, the speed of sound at 20 °C. Keep it handy to read distances without any math.

Seconds between flash and thunderDistance in kmDistance in miles
51.721.07
103.432.13
155.153.20
206.874.27
3010.306.40
4515.459.60

Why Choose Calculatorr.com?

We're dedicated to providing the most accurate, easy-to-use calculators for all your needs.

100% Free

All of our calculators are completely free to use, no hidden fees or subscriptions.

Private & Secure

Your data never leaves your browser. We don't store any of your calculations.

Mobile Friendly

Use our calculators on any device - desktop, tablet, or smartphone.