Lightning Distance Calculator
Free online Lightning Distance Calculator that runs directly in your browser.
-
1Enter data
Enter content, paste text or load a file from disk. -
2Click the button
The tool will immediately process your data in the browser. -
3Get the result
Copy the finished text or save the file to your device.
return "Result ready in 0.1s";
}
Storm Calculator
Precise lightning distance analysis
Waiting for data
Enter the time between flash and thunder to get an accurate safety report.
Rate this tool:
Related tools
Other tools you may find usefulLightning Distance Calculator – Convert Flash Time to Distance
This simple but accurate tool allows you to calculatedistance from the lightning strikebased on the time elapsed between the flash and the sound of thunder. The user selects the operating mode (mode): from time to distance (dt2d) or from distance to time (d2dt). The calculator takes into accountair temperature, because the speed of sound depends on it according to the equationc(T) = 331.3 + 0.606·T.
Calculator input
- Calculation mode (mode): dt2d – from time to distance, d2dt – from distance to time.
- Air temperature T[°C] – used to determine the speed of sound.
- Times Δt[s] – list of intervals between lightning and thunder.
- Distance D[m, km, mi] – used in reverse mode (d2dt).
After entering the data, the calculator automatically recalculates the results, generating minimum, maximum, average and median values for many measurements.
Formulas and physics of the phenomenon
1. Speed of sound in air
c(T) = 331.3 + 0.606·T
whereTis the air temperature in °C. Sound travels faster in warmer air - at 0°C it is approximately 331 m/s, and at 20°C it is 343 m/s.
2. Distance from the lightning bolt
D = c(T) · Δt
Distance in meters. The result is converted to kilometers and miles.
3. Time to thunder (reverse mode)
Δt = D / c(T)
Used when you want to know how many seconds after the flash you will hear the sound at a given distance.
Units and conversions
| Unit | Designation | Description |
|---|---|---|
| meter | m | SI base unit |
| kilometer | km | 1 km = 1000 m |
| mile | mi | 1 mi = 1609.34 m |
| second | s | time between flash and sound |
Examples
Example 1 - classic calculation
- T = 20°C
- Δt = 3.0 s
c(20) = 331.3 + 0.606·20 = 343.4 m/s D = 343.4 × 3 = 1030 m ≈ 1.03 km. Thunder after 3 seconds means a lightning strike at a distance of about 1 km.
Example 2 - reverse mode
- Mode = d2dt
- D = 2 km
- T = 25°C
c(25) = 346.45 m/s Δt = 2000 / 346.45 = 5.77 s. You will hear the thunder less than 6 seconds after the flash.
Measurement Averages and Statistics
The calculator allows you to enter multiple Δt times in sections of thetimeslist. For each, the distance is calculated and then the following values are generated:
- min_m / max_m– the smallest and largest distance,
- avg_m, avg_km, avg_mi– average distance,
- med_m– median of the results.
Application and meaning
- Risk assessment during a storm - the shorter the time Δt, the closer the lightning is.
- Educational demonstrations – a simple example of the speed of sound phenomenon.
- Calibration of storm sensors.
- Safely determine the minimum viewing distance.