Compression, at its simplest, is the act of pressing, squeezing, or encoding something into a smaller space than it originally occupied. That single idea shows up in remarkably different forms depending on the field: a structural engineer worries about loads that crush steel columns, a software developer shrinks a video file to fit on a phone, a doctor wraps a patient’s leg to push blood back toward the heart, and a geologist traces the forces that built the Himalayas. The word always points back to the same root concept of reduction, but the mechanisms, purposes, and consequences differ enough that understanding compression in one field tells you surprisingly little about compression in another.
Mechanical Compression in Materials and Structures
In mechanics and materials science, compression refers to a force that pushes the particles of a material closer together, shortening or deforming the object along the direction of the applied load. It is the opposite of tension, which pulls material apart. A concrete pillar holding up a bridge deck is under compression; the steel cable suspending the same deck is under tension. Almost every structure you encounter relies on some elements being compressed while others are stretched.
Not all materials handle compression the same way. Concrete and stone are famously strong in compression but weak in tension, which is why ancient Roman arches worked so well: their curved shape converts loads into compressive forces that stone handles comfortably. Steel, by contrast, performs well under both compression and tension, which is why modern buildings use steel-reinforced concrete, combining each material’s strengths. Brittle materials like ceramics or certain rocks behave very differently under tension than under compression: they can absorb substantial squeezing forces before cracking, but a relatively modest pulling force can fracture them. Damage models for these materials have to account separately for how the material degrades under tensile stress versus compressive stress, because the failure pathways are fundamentally different.1Engineering Fracture Mechanics. Damage model for brittle elastic solids with unequal tensile and compressive strengths
Gas Compression and Its Role in Energy
When you compress a gas, you force its molecules into a tighter volume, which raises both its pressure and its temperature. This is the principle behind everything from bicycle pumps to jet engines. In an industrial gas compressor, air or another gas is squeezed to a fraction of its original volume so it can be stored, transported, or used to drive turbines. The efficiency of that process depends on how much energy is lost as heat along the way.
In an ideal world, compressing a gas would follow neat mathematical curves where the only variables are temperature and pressure. Real gases, however, deviate from ideal behavior. The specific heat ratio and heat capacity of a gas change depending on both temperature and pressure, and these shifts alter how much the temperature rises during compression and how efficiently a turbine cycle operates.2Journal of Physics: Conference Series. Analytical calculation of adiabatic processes in real gases Engineers compensate by adding intercooling stages between compression steps, pulling heat out of the gas between each squeeze. A comparison of compressor designs found that a three-stage centrifugal compressor with intercooling and aftercooling used about 209 kJ per kilogram of air, while a hydraulic air compressor, which cools the gas continuously by mixing it with falling water, brought that figure down to about 165 kJ per kilogram, achieving a higher polytropic efficiency of roughly 76%.3Energies. On the Determination of Efficiency of a Gas Compressor
Gas compression also has a lesser-known medical footnote. During the Industrial Revolution, workers building bridge foundations and tunnels labored inside pressurized chambers called caissons, where compressed air kept water from flooding the workspace. When those workers returned to normal atmospheric pressure too quickly, dissolved gases in their blood formed bubbles, causing intense joint pain, paralysis, and sometimes death. Nineteenth-century physicians eventually identified the cause and developed decompression protocols, giving the condition its lasting name: caisson disease, now commonly called decompression sickness or “the bends.”4PubMed Central. Discovery of caisson disease: a dive into the history of decompression sickness
Data Compression and How Files Get Smaller
In computing, compression means encoding information using fewer bits than the original representation. When you zip a folder or stream a video, algorithms are working behind the scenes to shrink the data. The two broad families are lossless compression, where the original data can be perfectly reconstructed, and lossy compression, where some information is permanently discarded to achieve much smaller file sizes.
Lossless methods work by finding and eliminating redundancy. The Lempel-Ziv-Welch (LZW) algorithm, for instance, builds a dictionary of recurring patterns in the data as it reads through a file, replacing repeated sequences with shorter codes. LZW and its relatives are widely used in communication and storage systems.5IET Circuits, Devices & Systems. Efficient VLSI architecture for the parallel dictionary LZW data compression algorithm Because nothing is thrown away, the decompressed output is bit-for-bit identical to the input. This is essential for things like text documents and software, where even a single flipped bit could corrupt the result.
Lossy compression is the workhorse of images, video, and audio. The JPEG format, for example, divides an image into small blocks, transforms each block into a frequency representation, and then quantizes those values, essentially rounding them aggressively. Higher compression ratios mean coarser rounding, which means more information is lost permanently. The visible consequences are blocking artifacts (visible seams at the borders between blocks) and ringing or blurring where fine detail has been stripped away.6Neurocomputing. Reduction of JPEG compression artifacts based on DCT coefficients prediction If you have ever saved a photo at “low quality” and noticed blocky smearing around sharp edges, you have seen quantization artifacts firsthand.
Modern lossy compression research has moved beyond simply minimizing measurable distortion. Traditional approaches aim to keep the mathematical difference between the original and compressed image as low as possible at a given file size. But researchers have shown that low distortion and high perceptual quality are not the same thing, and optimizing one often comes at the expense of the other. Restricting the output to look perceptually realistic generally pushes the distortion numbers higher, meaning you need either a larger file or more visible mathematical error to get an image that actually looks good to a human viewer.7Proceedings of the 36th International Conference on Machine Learning. Rethinking Lossy Compression: The Rate-Distortion-Perception Tradeoff Meanwhile, the growing use of compressed images in automated classification tasks has pushed another dimension into the optimization problem: making sure compressed images remain accurate enough for machine-learning systems to correctly identify what is in them, not just for humans to view pleasantly.8Digital Signal Processing. A Rate-Distortion-Classification approach for lossy image compression
Dynamic Range Compression in Audio
Audio compression can refer to making audio files smaller (the data-compression sense), but it also refers to something entirely different: reducing the gap between the loudest and quietest sounds in a recording or live signal. This type, called dynamic range compression, is everywhere in music production, broadcasting, and hearing-aid technology. A compressor monitors the incoming signal level and automatically turns down sounds that exceed a set threshold, making loud passages quieter relative to soft ones. The result is a more uniform volume that sits comfortably in a narrower loudness window.
In digital hearing aids, dynamic range compression is critical because the listener’s usable hearing range is narrower than normal. The goal is to map the full range of environmental sounds into the smaller window the person can perceive. Approaches range from simple broadband compression, which treats the entire signal as one unit, to multi-channel filter banks that split the sound into frequency bands and compress each one independently, allowing more aggressive treatment of frequency ranges where the hearing loss is worst.9PubMed Central. Principles of digital dynamic-range compression More advanced designs use frequency-warped analysis that spaces the processing bands to match how the human auditory system actually perceives pitch, rather than spacing them evenly by frequency.
In music and broadcasting, dynamic range compression is responsible for the so-called “loudness wars,” where producers compressed recordings so aggressively that nearly every moment sat at maximum volume. The tracks sound punchy on a car radio but fatiguing on good headphones, because the natural dynamics of the performance have been flattened out. Streaming platforms have partially reversed this trend by normalizing playback loudness, which removes the competitive advantage of squashing everything to the ceiling.
Compression in Medicine
Medicine uses the word “compression” in several distinct ways, each involving physical pressure applied to the body but for very different purposes.
Compression Stockings and Venous Blood Flow
Graduated compression stockings squeeze the leg, typically with the highest pressure at the ankle tapering off toward the knee or thigh. The goal is to push blood upward through the veins, counteracting the tendency for blood to pool in the lower legs during long periods of sitting or standing. In studies of prone subjects simulating flight conditions, a compression stocking roughly doubled the wall shear stress (a measure of how vigorously blood moves past the vessel lining) in the great saphenous vein, and in the deeper peroneal and posterior tibial veins the increase was far more dramatic, on the order of five to six times the baseline level.10PubMed. Effects of elastic compression stockings on wall shear stress in deep and superficial veins of the calf The stockings also eliminated periods where flow dropped to near zero during normal breathing cycles, which matters because stagnant blood is a risk factor for clot formation.
The pressure level matters. Stockings come in graduated classes from light to strong. Research measuring blood velocity in the popliteal vein behind the knee found that even light-pressure stockings increased peak velocity by about 10%, while moderate-pressure stockings pushed that closer to 30%.11PubMed. Effects of graduated compression stockings with different pressure profiles on lower-limb venous structures and haemodynamics Interestingly, the strongest stockings did not produce the highest velocity boost; moderate pressure appeared to be the sweet spot, likely because excessive external pressure starts to impede arterial inflow.
Chest Compressions in CPR
Cardiopulmonary resuscitation relies on rhythmic chest compressions to force blood through the body when the heart has stopped. For decades, researchers debated whether the blood moves because the heart itself is being physically squeezed between the sternum and the spine (the “cardiac pump” theory) or because the entire chest cavity is being pressurized, forcing blood out of the thorax the way squeezing a closed balloon pushes air out through the nozzle (the “thoracic pump” theory). Echocardiographic studies during actual CPR found that the heart’s valves opened and closed in sync with compressions, and the ventricles shrank during each push, consistent with direct cardiac compression.12PubMed. Physiology of blood flow during cardiopulmonary resuscitation. A transesophageal echocardiographic study
The answer probably depends on the patient’s body. In younger people or those with a narrow front-to-back chest dimension, direct cardiac compression likely predominates. In older adults or those with a larger chest diameter, the thoracic pump mechanism plays a bigger role.13PubMed Central. The mechanism of blood flow during chest compressions for cardiac arrest is probably influenced by the patient’s chest configuration For the person performing CPR, the practical technique is the same either way: push hard and fast on the center of the chest. But understanding the mechanics helps researchers design better mechanical CPR devices that can adapt to different body types.
Nerve Compression
When a nerve gets compressed by surrounding tissue, the result is pain, tingling, numbness, or weakness in the area the nerve serves. The most common example is carpal tunnel syndrome, where the median nerve is squeezed as it passes through a narrow bony channel in the wrist. Early symptoms typically include burning or tingling in the palm and fingers, and as the condition progresses, grip strength drops and hand movement becomes limited.14PubMed Central. Carpal Tunnel Syndrome: Pathophysiology and Comprehensive Guidelines for Clinical Evaluation and Treatment Similar compression syndromes occur at other anatomical bottlenecks: the ulnar nerve at the elbow (cubital tunnel syndrome), the sciatic nerve in the lower back (sciatica), and spinal nerve roots compressed by herniated discs. In each case, the core problem is the same: too much pressure on a nerve that has too little room.
Geological Compression and Mountain Building
On the largest terrestrial scale, compression is one of the fundamental forces shaping the Earth’s surface. When tectonic plates collide, the crust between them is squeezed, buckled, and stacked into fold-and-thrust belts, the geological structures underlying most major mountain ranges. The mechanics have been compared to a bulldozer pushing a wedge of soil: the material at the front deforms internally until it reaches a critical shape, after which it slides forward as a stable wedge, growing by incorporating new material at the toe.15Journal of Geophysical Research: Solid Earth. Mechanics of fold‐and‐thrust belts and accretionary wedges
The Himalayas are a textbook case. The collision of the Indian and Eurasian plates produced intense north-south compression that has been ongoing for tens of millions of years. Studies of rock deformation in the western Arunachal Himalayan front document distinct phases of brittle deformation: an older extensional phase visible in normal faults and vertical joint sets, followed by compressional phases linked to the Himalayan collision that produced inclined joint sets and thrust faults.16Geological Journal. Brittle tectonics in the western Arunachal Himalayan frontal fold belt, northeast India The switch from extension to compression is literally written into the rock: older layers record stretching, younger layers record squeezing.
Compression need not come from plate collisions alone. In some offshore settings, fold-and-thrust belts form under the combined influence of gravity-driven sliding of thick sediment piles and tectonic pushing from a subduction zone, with the two stress sources working together or interfering with each other depending on geometry.17Tectonophysics. Deepwater fold-thrust belt contraction driven by mixed deformation components Sedimentary compression also operates on a quieter scale: as layers of sediment accumulate in a basin, the weight of overlying material gradually compresses the lower layers, squeezing out water and converting loose sand and mud into solid rock over millions of years.18Journal of Structural Geology. Sequential restoration of Paradox Basin salt anticlines
Compression at Extreme Scales
At the planetary scale, compression reaches pressures far beyond anything found at Earth’s surface. Understanding the behavior of iron under extreme compression is essential for modeling what happens inside Earth’s core, where pressures exceed 300 gigapascals, millions of times atmospheric pressure. Laboratory experiments using shock and ramp compression techniques have driven iron samples to pressure and temperature conditions close to those at the boundary between Earth’s liquid outer core and solid inner core, reaching pressures between 275 and 400 gigapascals along elevated-temperature paths.19Journal of Geophysical Research: Solid Earth. Equation of State Measurements on Iron Near the Melting Curve at Planetary Core Conditions by Shock and Ramp Compressions These experiments help pin down the density and temperature profile of the core, which in turn constrains models of how Earth generates its magnetic field.
At the opposite end of the size spectrum, individual cells in your body respond to compression in biologically meaningful ways. Chondrocytes, the cells embedded in cartilage, change their behavior when the surrounding tissue is compressed, as happens in joints during walking or running. When cartilage is squeezed, the cells and their internal structures deform: some organelles shrink due to water being pushed out by osmotic pressure, while others change shape as the cell’s internal scaffolding transmits mechanical forces inward. These deformations appear to influence how the cell builds and maintains the cartilage matrix around it, linking physical compression directly to the biochemical machinery of tissue repair.20PubMed. Chondrocyte mechanotransduction: effects of compression on deformation of intracellular organelles and relevance to cellular biosynthesis The emerging field of cell mechanotransduction studies how compression and other physical forces translate into chemical signals that change gene expression, growth, and healing, a domain where physics and biology become inseparable.

