Thunderstorm Sounds

About the sounds

How the rain, thunder and wind are built, why the storm never repeats, and how loud to play it.

How the sounds are made

Nothing here is a recording. The storm is calculated sample by sample in your browser, 44,100 or 48,000 times a second, from three parts:

  • Rain. A soft hiss of filtered noise for the sheet of rain, plus thousands of separate drops: each is a tiny burst of noise a millisecond or two long, tuned to a random pitch and placed at a random point between your speakers. A few drops also get a short rising "plink", the ring of the air bubble a drop traps when it lands in water. Heavier rain means more drops, a brighter hiss and, in a downpour, a low roar. The density drifts slowly, so the rain comes in heavier and lighter sheets.
  • Thunder. Each strike is planned at random when it happens. Close strikes start with a crackle and a sharp clap. Then comes the rumble: a dozen or more overlapping swells of deep noise, one for each stretch of the lightning channel whose sound reaches you at a different moment. The farther away the strike, the more the highs are filtered out, the slower the rumble builds and the quieter it is, because air absorbs high frequencies over distance.
  • Wind. Noise through a band-pass filter whose pitch and loudness follow slow, random gusts, separately on the left and right.

Because every drop and every strike is new, there is no loop point, no buffering and no ad break at 2 a.m. The distance readout under the thunder controls uses the real rule of thumb: sound travels about a mile every five seconds, so a strike two miles away is heard about ten seconds after its flash. The science of storm sounds has more.

The lightning screen

Lightning screen turns the page black and flashes it at the moment of each strike. The thunder follows after the flash-to-bang delay for that strike's distance: about a second for close lightning, up to ten seconds for far-off lightning (a real storm ten miles away would take nearly fifty, which is too long to tell which flash belongs to which rumble). Close strikes flash bright white with a second flicker, as real return strokes do; distant ones are a dim glow.

To stay well below the levels known to trigger photosensitive seizures, each strike is at most two quick pulses, strikes are never shown closer than 1.5 seconds apart (never more than two flashes in a second), the brightest flash is short of full white, and if your device asks for reduced motion each strike is a single slow, soft glow. It only starts when you press the button. Even so, don't use it if flashing light affects you, and don't use it for sleep.

How we check the sound

The same code that runs in your browser also renders each preset offline. Every render is checked for silence and clipping, its spectrogram is inspected (rain energy spread across 1–10 kHz, thunder rumble concentrated below 1 kHz, distant thunder lower and softer than close thunder), and a person listens to it before it ships.

The sleep timer

Pick 15 minutes to 10 hours. The storm plays at full level, then fades to silence over the last fifth of the time (at most five minutes) and stops. The fade is scheduled on the audio clock, so it still happens if the tab is in the background.

What the evidence says

Steady sound works mainly by masking: a sudden noise (a door, a car, a partner snoring) is less likely to wake you when it rises less far above the background. Rain does that well. Thunder is the opposite of steady, so for sleep keep it distant, rare and low in the mix.

Whether playing sound all night improves sleep is less clear. A 2021 systematic review in Sleep Medicine Reviews (Riedy and colleagues) rated the evidence that continuous noise improves sleep as very low quality. Treat a storm as a comfort tool: if it helps, keep using it.

Safe volume

  • Use the lowest volume that covers the sounds that bother you. For most rooms that is quieter than normal conversation.
  • Put the speaker across the room rather than next to your head, and avoid sleeping in headphones at high volume.
  • For babies, a 2014 study in Pediatrics measured 14 infant sleep machines and found all could exceed 50 dBA at 30 cm (the hospital-nursery limit) at full volume. Keep any sound source well away from the crib and turned low, and leave close thunder off.

Who makes this

Thunderstorm Sounds is a small, single-purpose site run by Inferred Sight LLC. There are no accounts and no app to install. See privacy for what the site loads.