Compressor Basics

How an Air Compressor Works: Parts and Principles Explained

See how an air compressor draws in air, compresses it, cools it and stores it in a tank, plus the main parts, how pump types differ and where each part fits.

On this page
  1. The basic idea: less space, more pressure
  2. How an air compressor works, step by step
  3. Main parts of an air compressor
  4. Schematic: how the parts connect
  5. Common pump types
  6. How the pressure switch controls the motor
  7. Why the basics matter when you buy, run, and maintain
  8. Safety basics
  9. Common questions

An air compressor pulls in ambient air, squeezes it into a smaller space, and stores it in a tank until a tool or hose needs it. The principle is simple, but several parts have to work together for it to happen steadily and safely. This guide follows the air through the machine, names the main parts, and shows how the common pump types differ. Each part has a deeper article in this section, linked where it comes up.

The basic idea: less space, more pressure

Air is mostly nitrogen (about 78%) and oxygen (about 21%), with small amounts of argon, other gases, and water vapor. A compressor doesn’t change that mix. It reduces the volume the same air occupies. Forcing the same amount of air into a smaller space raises its pressure. At a steady temperature, pressure and volume move in opposite directions, a relationship described by Boyle’s law.

Pressure is what you feel at the tool, measured in pounds per square inch (psi). Airflow is measured separately, in cubic feet per minute (CFM). The two are easy to mix up, and what CFM and PSI mean explains the difference.

How an air compressor works, step by step

  1. Intake. The pump draws in room air through an intake filter that traps dust and debris. A clogged filter reduces how much air the pump can take in.
  2. Compression. The pump’s piston, screw, or diaphragm traps air in a chamber and shrinks that space. Pressure rises, and so does temperature. That heat is the reason compressors need cooling, and why overheating is a common fault.
  3. Cooling. Fins, a fan, an oil system, or an intercooler removes heat from the compressed air. As the air cools, water vapor in it condenses into liquid, which collects in the tank.
  4. Check valve. A one-way valve stops stored air from flowing back toward the pump when the pump stops. Check valves covers what they do and how they fail.
  5. Storage. Air flows into the tank, also called the receiver. The tank holds a reserve, so the motor doesn’t have to run every time a tool draws air, and it smooths out pressure swings. Air receiver tanks covers how tanks are built and what limits them.
  6. Control and delivery. The pressure switch starts and stops the motor. A regulator sets the working pressure that reaches your tool.

Main parts of an air compressor

  • Motor or engine. Most home and workshop units use an electric motor. Portable and outdoor units are often gas-powered.
  • Drive. A belt or a direct connection links the motor to the pump. Belt drives are often cheaper to build, while direct drives are more compact.
  • Pump. The compression mechanism: a piston, rotary screw, or diaphragm. The types are covered below.
  • Intake filter. Cleans the air before it is compressed.
  • Cooling fins or intercooler. Removes heat generated during compression.
  • Check valve. Keeps stored air from flowing back to the pump.
  • Tank (receiver). Stores compressed air until it is used.
  • Pressure switch. Starts and stops the motor at set pressures.
  • Unloader valve. On many piston compressors, releases pressure from the pump when the motor stops, so the motor can restart without fighting a load. Loading and unloading explains how this works.
  • Pressure gauges. One shows tank pressure, and another shows the regulated outlet pressure.
  • Regulator. Sets the pressure delivered to the tool.
  • Safety relief valve. Opens if tank pressure rises above a safe limit. It is a backup, not a way to set working pressure.
  • Drain valve. Sits at the bottom of the tank and is used to remove condensed water.

Schematic: how the parts connect

The diagram below shows the airflow from left to right in plain text. Your model may differ in layout, but the order is common across most designs.

Room air
   |
Intake filter
   |
Pump  <--  driven by motor or engine (belt or direct)
   |
Cooler (fins or intercooler)
   |
Check valve
   |
Tank  ---  pressure gauge, safety relief valve,
   |       pressure switch (controls the motor), drain valve at base
   |
Regulator  ---  outlet pressure gauge
   |
Hose
   |
Air tool

The pressure switch watches the tank and tells the motor when to run. The drain valve sits at the lowest point of the tank, which is where water collects.

Common pump types

Piston (reciprocating). A piston moves up and down inside a cylinder, driven by a crankshaft. On the down stroke, air flows in past an intake valve. On the up stroke, the air is compressed and pushed through a discharge valve into the tank. Piston compressors are among the most common types for home and small-shop use. Some are oil-lubricated and some are oil-free. Two-stage models compress the air twice, first in a larger cylinder and then in a smaller one. Two-stage air compressors explains that design.

Rotary screw. Two interlocking helical rotors turn inside a housing. Air is trapped between them and pushed along the rotors while the space shrinks, so pressure builds. Rotary screw units supply a steady flow and are common in industrial settings, where they often run for long periods. Because of that, their duty cycle rating matters. Duty cycle explained covers what the percentage means.

Diaphragm. A flexible diaphragm moves back and forth to draw in and push out air. These units are usually small, oil-free, and suited to light work such as airbrushing or small inflation jobs.

Dynamic (centrifugal). A high-speed impeller accelerates the air, and a diffuser turns that speed into pressure. These machines are built for very high airflow, usually in large industrial plants rather than workshops.

Oil-free and oil-lubricated designs appear within several of these types. Oil-free vs oil-lubricated compressors compares them, including the upkeep each one needs.

How the pressure switch controls the motor

The pressure switch watches tank pressure. When pressure falls to the cut-in setting, the switch starts the motor. When pressure reaches the cut-out setting, the switch stops it. The gap between those two points keeps the motor from switching on and off constantly. Cut-in and cut-out pressure explains how these settings work together.

Settings vary by model. Check the data plate or the owner’s manual for your unit’s values rather than relying on a general figure.

Why the basics matter when you buy, run, and maintain

  • Choosing. Pump type, motor power, and tank size together determine how much air you get and how long it lasts. Match the CFM your tool needs at the PSI it requires, rather than picking the largest number on the box.
  • Running. A compressor that runs too long without a rest will heat up. Compare the duty cycle rating with how you plan to use the unit.
  • Upkeep. Drain the tank regularly to remove water, keep the intake filter clean, and follow the manual for oil checks on oil-lubricated pumps.
  • Moving it. Some compressors are designed to be transported on their side, and others are not. Check the manual before moving a unit that is not on wheels. Laying a stand-up compressor down for transport covers the questions to ask.
  • A new unit. Some manuals describe a break-in period for new compressors. How to break in an air compressor explains what to look for.

Safety basics

Compressed air can cause serious injury. Don’t point an air hose at people or at yourself. Relieve pressure from a line before disconnecting it. Don’t remove, block, or tamper with the safety relief valve, and don’t weld or modify a tank. OSHA guidance on compressed air covers the workplace rules that apply to compressed air use.

Common questions

What is the function of an air compressor? It stores energy as pressurized air so that it can run pneumatic tools, inflate tires, and supply air to many industrial processes. The tank lets one motor serve several tools without a separate motor on each.

Where does an air compressor draw air from? From the room around it, through the intake. Dust, humidity, and temperature in that room affect the air the compressor takes in, and the amount of water that ends up in the tank.

Keep exploring

Guides from other topics

All topics →