Lightning Distance Calculator

Calculate how far away lightning was from the seconds between a visible flash and its thunder. Use a stopwatch or enter the delay manually.

Flash. Count. Hear thunder.

Estimate the distance of a lightning flash with sound travel time.

Local calculation · No weather API

Flash-to-thunder timing

Timer ready
0.0 s

Start on a flash. Stop when you hear its thunder.

15.0 s
seconds
0 s600 s

Try an example delay

Estimated lightning distance

Approximate distance
—
Distance to the lightning flash, not a storm boundary
Kilometers
—
Miles
—

—

There is no safe outdoor thunder distance

If you hear thunder or see lightning, seek a substantial enclosed building or fully enclosed hard-topped vehicle. Stay sheltered for at least 30 minutes after the last thunder. Do not stand outdoors timing a storm.

The Lightning Science Lab

First, the flash. Then, the thunder. What's the distance?

The sky lights up. A few seconds pass. Then comes that unmistakable rumble. Ever wondered how far away that lightning actually was?

Here's the fascinating part: light travels enormously faster than sound. That tiny delay between seeing lightning and hearing thunder becomes your clue to estimating the distance.

UtilityGlen's free Lightning Distance Calculator uses the flash-to-thunder interval to estimate how far away a lightning discharge occurred, displaying results in kilometers and miles.

Built-in stopwatch km & miles Browser-based
Inside the storm Illustration
Lightning and thunder distance illustration A dark thunderstorm cloud releases lightning above a landscape. A series of wave rings represents thunder traveling across the air. FLASH → THUNDER Count the seconds
Flash
0 s
Thunder
15 s
Estimated distance
5.15 km / 3.20 miles

Educational example only. Lightning can still strike at this distance.

Before the science, one essential rule

If you can hear thunder, move to safe shelter.

Lightning-distance estimates are educational, not a guarantee of safety. Never remain outdoors to measure a thunderstorm. Use this tool from appropriate shelter.

01 / Understanding the storm

What is a Lightning Distance Calculator?

A Lightning Distance Calculator estimates the distance to a lightning discharge by measuring how many seconds pass between seeing a flash of lightning and hearing the associated thunder.

The method works because visible light travels so quickly that the delay to your eyes is negligible at normal thunderstorm distances. Sound, however, travels much more slowly through the atmosphere.

This difference allows us to approximate lightning distance using the speed of sound and the elapsed time. At around 20°C, sound travels at approximately 343 meters per second.

UtilityGlen takes care of the calculations. Enter the flash-to-thunder delay manually or use the built-in stopwatch, and the calculator immediately estimates the lightning distance in kilometers and miles.

Built for curious weather watchers

Stopwatch

Flash-to-Thunder Timer

Start timing when you see lightning, then stop when you hear the corresponding thunder. The elapsed time is used to estimate the distance automatically.

Flexible

Manual Seconds Input

Already know the time delay? Enter the number of seconds directly or use the synchronized slider. Useful for experiments and recorded observations.

2 units

Kilometers & Miles

View lightning-distance estimates in both metric and imperial units, and switch your preferred primary display between kilometers and miles.

Instant

Quick Example Presets

Explore five-, fifteen-, and thirty-second delays to understand how the elapsed time changes the estimated distance.

Practical

Copy Your Results

Copy the calculated lightning distance for educational notes, weather observations, classroom activities, or personal records.

Local

Browser-Based Calculations

The stopwatch and distance formula run locally using JavaScript. No live weather API, signup, or GPS location is necessary.

02 / How the calculator works

How to calculate lightning distance

There are two ways to use the calculator. You can time a flash-to-thunder interval from a safe indoor location, or enter a known delay manually.

01

Notice the lightning flash

From appropriate shelter, press Saw flash when you observe the lightning.

02

Listen for the thunder

Press Heard thunder when the sound associated with that flash arrives.

03

Check the calculated distance

The tool converts the elapsed seconds into approximate kilometers and miles.

04

Explore different delays

Enter a custom number of seconds, try the presets, switch distance units, or copy the result.

Safety reminder: Do not go outside to see the flash more clearly or listen for thunder. The calculator does not determine whether a storm is safe, approaching, or moving away.

03 / A race between light and sound

Why do we see lightning before hearing thunder?

Lightning and thunder happen as part of the same electrical discharge. However, the flash and the sound travel through the atmosphere at dramatically different speeds.

The 15-second storm experiment

Illustrative timeline
0 s

Lightning flash

The discharge becomes visible.

5–10 s

Waiting

The sound wave is still traveling.

15 s

Thunder heard

Sound finally reaches the observer.

15 seconds × 0.343 km/s

≈ 5.15 km
Approximately 3.20 miles

Speed of light

≈ 300 million m/s

Light travels so quickly that its travel time is effectively negligible for this approximate storm-distance calculation.

Speed of sound

≈ 343 m/s

Sound moves far more slowly, and its speed depends on atmospheric conditions, particularly temperature.

04 / The physics behind the thunder

Lightning distance formula explained

The calculation is based on one of the simplest relationships in physics: distance equals speed multiplied by time.

Basic physics equation

Distance = Speed × Time

Using an assumed sound speed of 343 meters per second

Kilometers
Distance = Seconds × 0.343

Every additional second represents approximately 343 meters, or 0.343 kilometers, of sound travel.

10 s × 0.343 = 3.43 km
Miles
Distance ≈ Seconds ÷ 5

A familiar rounded rule says thunder takes approximately five seconds to travel one mile.

15 s ÷ 5 ≈ 3 miles

Why the two formulas give slightly different answers

The five-seconds-per-mile rule is deliberately rounded for easy mental arithmetic. Multiplying by 343 m/s and converting to miles gives approximately 0.21313 miles per second, so a 15-second delay corresponds to about 3.20 miles. Both methods are estimates, and actual sound speed varies with conditions.

05 / The storm reference desk

Lightning distance chart: seconds to miles and kilometers

Use this flash-to-thunder conversion chart to compare common time delays. The estimates assume sound travels at 343 m/s.

Seconds-to-distance reference

Approximate measurements
Flash-to-thunder delays converted to kilometers and miles
Time delay Kilometers Miles
1 second0.34 km0.21 mi
3 seconds1.03 km0.64 mi
5 seconds1.72 km1.07 mi
10 seconds3.43 km2.13 mi
15 seconds5.15 km3.20 mi
20 seconds6.86 km4.26 mi
25 seconds8.58 km5.33 mi
30 seconds10.29 km6.39 mi
60 seconds20.58 km12.79 mi

All values rounded to two decimal places. A longer thunder delay does not mean that remaining outdoors is safe.

06 / Thunderstorm secrets

What actually makes thunder?

Thunder isn't the sound of clouds colliding. It's the result of lightning heating the surrounding air extremely rapidly.

The lightning channel can heat the air to tens of thousands of degrees. That sudden heating causes the air to expand explosively, creating a pressure wave. As the wave travels outward, we hear it as thunder.

1. Electrical discharge

Lightning transfers electrical energy through the atmosphere, producing an intensely hot channel.

2. Rapid air expansion

The sudden heating causes the air to expand rapidly, creating a strong pressure disturbance.

3. Traveling sound

That pressure disturbance travels through the air, eventually reaching your ears as thunder.

Did you know? Thunder can sound like a sharp crack, a deep boom, or a long rolling rumble. The sound comes from different parts of a lightning channel and changes as it travels through the atmosphere.

07 / Storm myths under the microscope

Lightning myths vs. meteorological facts

Thunderstorms are full of surprises, and some popular lightning beliefs can create a false sense of security. Here's what the science actually tells us.

Myth

“The storm is several miles away, so I'm safe.”

Lightning can strike far from the main rain area. A measured distance to one discharge cannot establish a safe boundary around a storm.

Fact

Thunder is a warning to seek shelter.

If thunder is audible, lightning may be close enough to pose a danger. An enclosed substantial building or fully enclosed hard-topped vehicle is recommended.

Myth

“If it isn't raining here, lightning can't reach me.”

Lightning can occur outside the heaviest rainfall and even in areas with clear sky overhead.

Fact

The 30-minute rule matters.

Remain in safe shelter for at least 30 minutes after the last thunder before resuming outdoor activities.

08 / Storm safety essentials

When thunder roars, go indoors.

Understanding lightning distance is interesting science. Knowing when and where to shelter is far more important.

Use substantial shelter

Seek an enclosed building with electrical wiring or plumbing, or a fully enclosed metal-topped vehicle with the windows closed.

Avoid unsafe outdoor places

Do not shelter beneath isolated trees, open pavilions, tents, or small sheds. Avoid elevated exposed areas and bodies of water.

Wait after the last thunder

Stay sheltered for at least 30 minutes after the last thunder, even when the rain has stopped or the sky looks brighter.

Remember indoor precautions

Avoid plumbing, corded electrical equipment, and contact with windows or doors during an active lightning storm.

Lightning emergency

If someone is struck by lightning, contact emergency services immediately. Lightning strike victims do not retain an electrical charge and can be touched safely. Start CPR or use an AED when indicated and when it is safe to do so.

09 / More than a storm trick

Where is a lightning distance calculator useful?

The flash-to-thunder method makes a great learning activity and provides an intuitive introduction to wave motion, sound speed, measurement uncertainty, and atmospheric science.

Physics & classroom education

Demonstrate the distance-speed-time equation, sound propagation, and the importance of consistent timing. Classroom simulations can use artificial flashes and sounds instead of real storms.

Weather observations

Explore the approximate distance of individual lightning flashes from safely collected observations. Results should not replace official lightning detection or warning systems.

Sound-speed experiments

Compare theoretical sound travel times for different distances and explore why the speed of sound depends on atmospheric conditions.

Understanding thunderstorms

Learn how lightning generates thunder, why some thunder rumbles, and why a single measured delay cannot accurately describe the full storm's position.

10 / Your thunderstorm questions answered

Lightning Distance Calculator FAQ

From the five-seconds-per-mile rule to lightning safety and thunder science, here are clear answers to the questions people ask most often.

How do I calculate the distance of lightning?
Measure the seconds between a visible lightning flash and its associated thunder. Multiply the time by 0.343 to estimate kilometers, or divide by approximately five for a quick miles estimate. Make observations only from safe shelter.
How far away is lightning after 5 seconds?
Five seconds between the flash and thunder corresponds to approximately 1.72 kilometers or 1.07 miles at a sound speed of 343 m/s. This is very close and potentially dangerous.
How far away is lightning after 10 seconds?
A 10-second delay corresponds to approximately 3.43 kilometers or 2.13 miles. The familiar five-seconds-per-mile rule rounds this to about two miles.
How far away is lightning after 15 seconds?
Fifteen seconds equals an estimated 5.15 kilometers or 3.20 miles at 343 m/s. Lightning at that distance can still pose a danger.
How far away is lightning after 30 seconds?
Thirty seconds corresponds to approximately 10.29 kilometers or 6.39 miles. Do not interpret a 30-second delay as permission to remain outside. Current lightning safety guidance recommends shelter whenever thunder is heard.
What is the five-seconds-per-mile lightning rule?
It's a quick mental estimation method: every five seconds between lightning and thunder represents roughly one mile of sound travel. It's convenient but rounded, so results differ slightly from using 343 m/s.
Why is thunder delayed after lightning?
Visible light travels much faster than sound waves. As a result, you see the flash almost immediately, while its thunder takes longer to reach you through the air.
Does air temperature change the lightning distance calculation?
Yes. Sound speed changes with air temperature and other atmospheric conditions. This calculator assumes a fixed 343 m/s, approximately the speed of sound in air at 20°C, so results should be treated as estimates rather than exact measurements.
Can this calculator tell if the storm is moving closer?
Not reliably. Different flashes may occur in different parts of the same thunderstorm. Shorter delays across multiple flashes do not necessarily prove that a storm is approaching. Radar and official lightning detection provide better storm-tracking information.
Why does thunder sometimes rumble for so long?
Lightning channels can extend over considerable distances. Sound from different portions of the channel arrives at different times, creating a rolling rumble. Atmospheric propagation and echoes can also affect how thunder sounds.
Is it safe outside if lightning is six miles away?
No. Lightning can strike miles away from the main storm. If you hear thunder, seek safe shelter immediately. A distance estimate to an individual flash is not a safe-distance guarantee.
How long should I wait after the last thunder?
Follow National Weather Service guidance and remain in appropriate shelter for at least 30 minutes after the last sound of thunder before returning outdoors.
Does the Lightning Distance Calculator work offline?
The calculation and stopwatch operate locally in JavaScript without a weather API. Once the page has loaded, these functions do not require a continuous internet connection. Fully offline page loading depends on whether the page and its external assets are cached or saved.
Discover the physics of storms

Turn a thunderclap into a science lesson.

Explore the fascinating delay between light and sound with UtilityGlen's free Lightning Distance Calculator. Measure seconds, discover approximate distances, and understand the science behind one of nature's most dramatic events—all while following proper storm safety guidance.

Try the Calculator

Scientific methodology, limitations & references

UtilityGlen estimates lightning distance by multiplying the flash-to-thunder time delay by an assumed sound speed of 343 meters per second. The approximation can be affected by air temperature, sound propagation, echoes, timing uncertainty, and the geometry of the lightning channel. Results estimate the distance associated with an observed flash and thunder, not a storm boundary or safe outdoor distance.

For official meteorological and safety guidance, visit:

Educational use only. Always follow official thunderstorm warnings and lightning safety recommendations.

UtilityGlen

Handy web tools for daily use. Everything runs right in your browser—no sign-ups, no cloud uploads, and your data stays entirely on your device.