Home › Calculators › Lightning Distance Calculator

Lightning Distance Calculator

Count the gap between the flash and the thunder to find out how far away lightning struck. Tap once when you see lightning and again when you hear thunder, or type the seconds; the calculator adjusts the speed of sound for air temperature and tracks whether the storm is coming closer.

Last updated:

0.0 s

Tap when you see lightning, tap again when you hear the thunder. Keyboard: Space or Enter.

Lightning distance – Time a strike or enter seconds below

Strike log

Time two or more strikes to see whether the storm is coming closer.

Advertisement
Advertisement

How to use the Lightning Distance Calculator

  1. Tap Start (or press Space) the moment you see the lightning flash.
  2. Tap Stop as soon as you hear the thunder. The distance appears immediately.
  3. Set the air temperature for a slightly more accurate speed of sound.
  4. Repeat for each strike. The log shows whether the storm is approaching and how fast.
  5. Follow the safety banner: if the flash-to-bang is 30 seconds or less, get indoors now.

The flash-to-bang formula

Lightning heats the air to around 30,000 °C in a fraction of a second, and the expanding air creates thunder. The flash reaches you at the speed of light, effectively instantly, while the thunder travels at the speed of sound. So:

  • Distance = seconds × speed of sound
  • Speed of sound (dry air): c = 331.3 × √(1 + T / 273.15) m/s, where T is the air temperature in °C. At 20 °C (68 °F) that is about 343 m/s or 1,125 ft/s.
  • Rules of thumb: about 5 seconds per mile (4.7 s at 20 °C) and about 3 seconds per kilometer (2.9 s).

Example: you count 12 seconds at 25 °C. The speed of sound is 331.3 × √(1 + 25/273.15) ≈ 346 m/s, so the strike was 12 × 346 ≈ 4,150 m, or about 2.6 miles away. That is inside the 30-second danger zone, so it is time to go indoors.

Flash-to-bang reference table (at 68 °F / 20 °C)

SecondsMilesKilometersWhat to do
30.61.0Very close: get indoors immediately
51.11.7Very close: get indoors immediately
102.13.4Dangerous: seek shelter now
153.25.1Dangerous: seek shelter now
204.36.9Dangerous: seek shelter now
306.410.330-30 rule limit: be indoors
408.513.7Still within striking range
4710.016.1About the limit at which thunder is usually heard

Lightning safety tips

  • When thunder roars, go indoors. A fully enclosed building with wiring and plumbing, or a hard-topped vehicle, is the only safe place.
  • Not safe: open fields, hilltops, beaches, water, isolated trees, picnic shelters, tents, golf carts and open vehicles.
  • Indoors, stay off corded phones, avoid showers and baths, and keep away from windows and doors during the storm.
  • Wait 30 minutes after the last thunder before going back outside; the trailing edge of a storm can still produce strikes.
  • If someone is struck, call emergency services right away. People struck by lightning carry no electrical charge and can be helped immediately; CPR can save lives.

Frequently asked questions

How do you calculate how far away lightning is?

Light arrives almost instantly, while sound travels about 343 meters per second (1,125 feet per second) at 20 °C. Multiply the seconds between flash and thunder by the speed of sound. A quick rule: divide the seconds by 5 for miles or by 3 for kilometers.

Does temperature change the result?

Yes, slightly. The speed of sound in air is about 331 m/s at 0 °C and rises roughly 0.6 m/s per degree Celsius, so on a hot day thunder arrives a little sooner. The calculator uses c = 331.3 × √(1 + T/273.15) m/s for dry air.

What is the 30-30 rule?

If the time between the flash and the thunder is 30 seconds or less (about 6 miles or 10 km), the storm is close enough to be dangerous and you should get indoors. Then wait at least 30 minutes after the last thunder before going back outside.

How far away can lightning strike?

Lightning can strike 10 miles (16 km) or more from the storm that produced it, sometimes out of a clear sky. That is why weather services say: when thunder roars, go indoors. If you can hear thunder at all, you are within striking distance.

How far away can you hear thunder?

Usually up to about 10 miles (16 km), sometimes a little farther in quiet conditions. Beyond that, the sound is absorbed or bent upward by the atmosphere, so you may see distant lightning without hearing any thunder.

Is it safe to stay in a car during a thunderstorm?

A hard-topped metal car or truck is a reasonable shelter because the metal body carries the current around you, not because of the rubber tires. Close the windows and avoid touching metal parts. Convertibles, motorcycles and open vehicles do not protect you.

How accurate is the flash-to-bang method?

Your reaction time is usually the biggest error: a quarter of a second is about 85 meters (280 feet). Long lightning channels also make thunder rumble from several distances at once, so time to the first sound of thunder for the nearest point of the strike.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Speed of Sound CalculatorSpeed of sound from air temperature or medium, and distance from an echo or thunder delay.Heat Index CalculatorFeels-like temperature from heat and humidity (NWS Rothfusz formula) with heat danger level.Wind Chill CalculatorFeels-like temperature from air temp and wind (°C/°F, km/h/mph) with frostbite risk time.Aurora ForecastLive Kp index, 3-day NOAA forecast and the chance of seeing the northern lights from your location.Speed Distance Time CalculatorSolve for speed, distance or travel time and get your arrival time.Half Life CalculatorSolve radioactive decay for amount left, half-life, time or initial amount, with a curve.Kinetic Energy CalculatorSolve KE = ½mv² and PE = mgh for energy, mass, speed or height, with unit conversions.Projectile Motion CalculatorRange, max height, flight time and impact speed of a projectile, with an animated trajectory.Free Fall CalculatorFall time and impact velocity from a height, or height from time or speed, with a chart and table.Meeting Cost CalculatorWork out what a meeting really costs from attendees and salaries, with a live cost ticker.Velocity CalculatorSolve v = d/t and a = Δv/t for any variable, plus a SUVAT solver for any three kinematics values.Torque CalculatorSolve τ = r·F·sin θ for torque, force, lever arm or angle, and convert torque to power at any rpm.Wavelength Frequency CalculatorConvert frequency to wavelength and back for light, radio or sound, with photon energy and band.Acceleration CalculatorAcceleration from velocity change and time, distance and time, or force and mass.Force CalculatorSolve F = ma for force, mass or acceleration, plus weight on every planet.Density CalculatorSolve density, mass or volume with unit conversion and a table of common material densities.Momentum CalculatorCalculate momentum (p = mv), mass, velocity, impulse and momentum change with unit conversion.Potential Energy CalculatorGravitational PE = mgh and spring PE = ½kx²: solve for energy, mass, height, k or stretch.Power CalculatorCalculate power from work and time, force and velocity, or volts and amps, in W, kW and hp.PPI CalculatorPixel density (PPI), dot pitch and retina viewing distance from resolution and screen size.Download Time CalculatorHow long a file takes to download at your internet speed, or the speed you need.Pressure CalculatorSolve P = F/A for pressure, force or area in Pa, kPa, bar, psi and atm.Work CalculatorSolve W = F·d·cos θ for work, force, distance or angle in J, kWh and ft-lb.Hooke's Law CalculatorSolve F = kx for spring force, spring constant or extension, plus stored spring energy.Centripetal Force CalculatorCentripetal force and acceleration from mass, radius and speed or RPM: F = mv²/r.Gravitational Force CalculatorNewton's law of gravitation F = Gm₁m₂/r² for any two masses, with planet presets.Doppler Effect CalculatorObserved frequency from source and observer speeds, or source speed from a pitch shift.Specific Heat CalculatorSolve Q = mcΔT for heat energy, mass, specific heat or temperature change, with materials.Decibel CalculatorAdd dB levels, convert power or voltage ratios to dB, and find sound level at a distance.Bernoulli Equation CalculatorSolve Bernoulli's equation for pressure, velocity or height, with pipe continuity and flow.Buoyancy CalculatorBuoyant force from fluid density, volume and gravity, with a float or sink check.Escape Velocity CalculatorEscape and orbital velocity for any planet, moon or custom mass and radius.Friction Force CalculatorStatic and kinetic friction from material presets, normal force or mass and incline angle.Inclined Plane CalculatorForces, acceleration and push force for a mass on a slope with friction.Light Travel Time CalculatorHow long light or radio takes to reach the Moon, Sun, Mars, Voyager 1 or any distance.E=mc2 CalculatorConvert mass to energy and back with E=mc², in joules, kWh, eV and tons of TNT.Orbital Period CalculatorOrbital period from central mass and semi-major axis with Kepler's third law and presets.Pendulum Period CalculatorPendulum period and frequency from length and gravity, or length from period.G-Force CalculatorCalculate g-force from turn speed and radius, a speed change over time, or any acceleration.Heat Transfer CalculatorConduction heat flow in W and BTU/h through one or more layers, with R-value and U-value.Helium Balloon Lift CalculatorHow much a helium balloon lifts in grams and how many balloons you need for a payload.Hydrostatic Pressure CalculatorGauge and absolute pressure at any depth in water, seawater, oil or a custom fluid.Impact Force CalculatorAverage impact force and g-force from mass, drop height or speed, and stopping distance/time.Impulse CalculatorFind impulse from force × time or momentum change, or solve for average force or time.Inverse Square Law CalculatorFind light, sound or radiation intensity at a new distance, or the distance for a target.Lever CalculatorEffort force, load or arm length for class 1, 2 and 3 levers, with mechanical advantage.Magnetic Declination CalculatorFind magnetic declination, inclination and field strength for any place and date (WMM2025).Map Radius ToolDraw circles of any radius around points on a map, with multiple rings and a share link.MTBF CalculatorMTBF, failure rate, availability and mission reliability from operating hours and failures.Pipe Pressure Drop CalculatorDarcy-Weisbach pressure drop and head loss with Reynolds number and Colebrook friction factor.Refrigerant PT ChartPressure-temperature chart for R-410A, R-32, R-454B, R-22, R-134a, R-404A and more.Reynolds Number CalculatorReynolds number and laminar, transitional or turbulent regime for pipes, ducts, plates and spheres.RMS Voltage CalculatorConvert peak, peak-to-peak, RMS and average voltage for sine, square and triangle waves.Spring Rate CalculatorCompression spring rate from wire size, coil diameter, coils and material, plus solid height.Standard Atmosphere (ISA) CalculatorISA 1976 temperature, pressure, density, speed of sound and viscosity at any altitude to 86 km.Steam Table CalculatorSaturated and superheated steam properties: enthalpy, entropy, volume and quality (IAPWS-IF97).Superheat and Subcooling CalculatorFind superheat, subcooling and target values from gauge pressures and line temperatures.Thermal Expansion CalculatorLinear, area or volume expansion from size, temperature change and material coefficient.Top of Descent CalculatorWhen to start descending: distance and time to top of descent, required fpm, 3-degree rule.True Airspeed CalculatorTrue airspeed, Mach number and density altitude from IAS/CAS, pressure altitude and OAT.Valve Cv CalculatorSize a valve: required Cv or Kv for liquid, gas or steam, or flow and pressure drop from Cv.Water Heating Time CalculatorHow long to heat water: time, energy and cost from volume, temperatures and heater power.Wave Speed CalculatorSolve v = f × λ, find wave speed from distance and time, or from string tension and density.Photon Energy CalculatorPhoton energy in eV and joules from wavelength or frequency, with momentum and color.Snell's Law CalculatorRefraction angle, critical angle and total internal reflection from n₁, n₂ and the angle.Speeds and Feeds CalculatorSpindle RPM and feed rate (mm/min, in/min) from tool size, flutes, surface speed and chip load.Terminal Velocity CalculatorTerminal velocity and time to 95% from mass, drag coefficient, area and air density.Thin Lens Equation CalculatorSolve 1/f = 1/do + 1/di for any value, with magnification, image type and a ray diagram.
See all 88 Physics Calculators →