What Is a Compression Wave? Definition & Examples

A compression wave is a wave where particles in a medium are pushed together and pulled apart in the same direction the wave travels. Sound is the most familiar example: when a speaker vibrates, it shoves air molecules forward into a tight cluster, creating a high-pressure zone that ripples outward through the air. Every sound you hear, every earthquake’s first rumble, and every medical ultrasound image relies on this same basic mechanism.

How a Compression Wave Moves

In a compression wave, particle motion runs parallel to the wave’s direction of travel. Picture a long spring (a Slinky works perfectly). If you push one end forward, a pulse of tightly bunched coils travels down the spring’s length. The coils themselves don’t travel far; they jostle back and forth in place while the energy passes through them. This is fundamentally different from a wave on a rope, where particles move up and down while the wave moves sideways. Because particles move along the same axis as the wave, compression waves are also called longitudinal waves.

The physical process works through a chain reaction. When an object vibrates in a fluid or solid, it pushes neighboring particles together. Those compressed particles exert a restoring force, like a tiny spring pushing back, which shoves the disturbance forward into the next layer of particles. The material’s own elasticity and inertia keep this cycle going, carrying energy outward from the source without any material actually traveling with it.

Compressions and Rarefactions

Every compression wave consists of two alternating zones. Compressions are regions where particles are squeezed together, creating higher-than-normal pressure and density. Rarefactions are the opposite: regions where particles are spread apart, producing lower pressure and density. These two zones repeat in a regular pattern as the wave moves through the medium.

If you placed a pressure detector in the path of a sound wave, it would register a high-pressure spike as each compression arrived, followed by a dip in pressure as the rarefaction passed. This repeating cycle of high and low pressure is why sound is often called a pressure wave. The distance from one compression to the next (or one rarefaction to the next) is the wavelength, and the number of compressions passing a point each second is the frequency.

Sound: The Everyday Compression Wave

Sound is the compression wave most people encounter constantly. A vibrating object, whether it’s a guitar string, a vocal cord, or a loudspeaker cone, periodically compresses and rarefies the air around it. Those pressure disturbances propagate outward, and when they reach your eardrum, the alternating pushes and pulls make the eardrum vibrate at the same frequency, which your brain interprets as sound.

The speed of a compression wave depends on how stiff and how dense the medium is. Stiffer materials transmit waves faster because particles spring back more forcefully; denser materials slow waves down because heavier particles resist being moved. In air at 20°C, sound travels at about 343 meters per second (roughly 767 mph). In fresh water at the same temperature, it jumps to around 1,480 m/s. In steel, longitudinal compression waves reach approximately 5,790 to 5,960 m/s, more than 17 times faster than in air. This is why you can hear a train coming by pressing your ear to the rail long before the sound reaches you through the air.

Compression Waves Inside the Earth

During an earthquake, the first waves to arrive at a seismograph are P-waves (primary waves), which are compression waves traveling through rock. In a P-wave, rock particles are alternately squeezed together and pulled apart along the direction the wave is moving, exactly like sound moving through air, just through a much stiffer medium.

P-waves have a unique property that makes them essential to geologists: they can travel through solids, liquids, and gases. This means they pass straight through Earth’s liquid outer core, while the other main seismic wave type (S-waves, which move particles side to side) cannot. By studying where P-waves arrive and where they don’t, scientists mapped out Earth’s internal structure, identifying the liquid outer core and solid inner core decades before any direct observation was possible.

Shock Waves: Compression at Extreme Speed

A shock wave is what happens when compression waves are pushed past their normal limits. When an object moves through a medium faster than the speed of sound in that medium, the compression wave fronts it generates can’t outrun the source. They pile on top of one another, and through constructive interference, all those individual crests merge into a single, intense compression front. The sonic boom you hear when a jet breaks the sound barrier is this merged wave front reaching your ears.

Shock waves travel at supersonic speeds and cause an extremely rapid spike in pressure, density, and temperature in whatever medium they pass through. They form whenever energy is suddenly released in a confined space, whether from a supersonic aircraft, an explosion, or a lightning strike (thunder is the shock wave created by the rapid heating and expansion of air along the lightning channel). The pressure jump across a shock front is far sharper and more violent than in an ordinary sound wave, which is why shock waves can shatter windows and damage structures.

Medical and Industrial Uses

Compression waves are the foundation of ultrasound imaging. A handheld probe sends high-frequency compression waves, typically between 2 and 40 megahertz, into the body. These frequencies are far above the range of human hearing (which tops out around 20,000 hertz), but the physics is identical to audible sound. The waves travel through tissue, and whenever they hit a boundary between materials of different density, such as the border between fluid and organ tissue, part of the wave bounces back. The probe detects those echoes and uses their timing and intensity to build a real-time image.

Higher frequencies produce sharper images but don’t penetrate as deeply, so imaging a fetus uses lower frequencies than imaging a tendon close to the skin’s surface. Because compression waves are mechanical vibrations rather than radiation, ultrasound carries none of the risks associated with X-rays, which is why it’s the default imaging method during pregnancy.

Outside medicine, compression waves are used in sonar to map ocean floors and detect submarines, in non-destructive testing to find cracks inside metal components, and in industrial cleaning, where ultrasonic compression waves agitate a liquid bath to shake contaminants off surfaces at a microscopic level.

Compression Waves vs. Transverse Waves

  • Particle motion: In a compression wave, particles oscillate parallel to the wave’s travel direction. In a transverse wave, particles oscillate perpendicular to it.
  • Medium requirements: Compression waves travel through solids, liquids, and gases. Transverse waves generally require a solid, because liquids and gases don’t resist sideways shearing forces well enough to sustain them. (An exception: light is a transverse wave that needs no medium at all.)
  • Visible examples: Compression waves are harder to see because the motion is along the wave’s path. Transverse waves are easier to visualize: think of ripples on a pond’s surface or a wave traveling down a shaken rope.

This distinction matters in practice. The fact that compression waves can pass through liquids while transverse waves cannot is exactly why seismic P-waves penetrate Earth’s liquid outer core and S-waves do not. It’s also why ultrasound works so well for imaging soft tissue and fluid-filled organs: the compression wave passes through easily, while a transverse wave would be absorbed almost immediately.