How to Select an Air Compressor for a CNC Machine
This guide is for engineers and shop owners sizing a new air compressor for CNC machine use, or fixing one that keeps dropping pressure. You will learn how to read a machine's real air demand, match pressure and flow, and pick air treatment that keeps valves and spindles alive.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Key takeaways
What actually consumes air on a CNC machine
Every CNC machine has a different air appetite, and the nameplate rarely tells you the whole story. Air drives tool changers, drawbar clamping, pallet changers, pneumatic vises, and spindle air purge. Some machines also use air for chip clearing and door actuation. If you run a lathe with a bar feeder, add that cylinder too.
The mistake we see most often is sizing on average flow. Air demand is spiky. A tool change can pull 4–8 CFM for a few seconds, then drop to near zero. If the air compressor for CNC machine duty cannot recover between events, inlet pressure sags and the control alarms out mid-cut.
Write down every air consumer on the machine, read the CFM from the manual, then add them. If the manual gives only a pressure and a port size, call the builder. Guessing here costs more than a phone call.
- 1Tool changerShort, high-flow bursts. Often the largest single consumer.
- 2Drawbar / chuck clampHolds pressure during the cut, so it counts as continuous flow.
- 3Air purge at the spindleLow flow but always on. Easy to forget when adding up.
Match CFM and PSI to the machine's real numbers
CFM is the volume of air the compressor delivers at a stated pressure. PSI is the force behind it. The two are linked: a compressor rated at 5 CFM at 90 PSI will deliver less volume if you ask for 125 PSI. Always compare CFM ratings at the pressure you actually need.
Take the total demand you calculated, then add 30% headroom for leaks, filter pressure drop, and future tooling. A shop with 12 CFM of demand should aim for 16 CFM at the working pressure. That headroom also lets the compressor rest instead of running flat out.
Most CNC machines want 90–125 PSI at the inlet. Do not size the compressor to hit 125 PSI at the tank and assume the machine sees it. Dryers, filters, and long pipe runs eat 10–20 PSI. Measure pressure at the machine inlet, not at the tank gauge.
- 1Compare at working pressureCFM at 90 PSI is not the same as CFM at 125 PSI.
- 2Add 30% headroomCovers leaks, filter drop, and future add-ons.
- 3Measure at the inletTank pressure tells you nothing about what the valve sees.
Duty cycle and compressor type for CNC work
Duty cycle is the percentage of time a compressor can run without overheating. A reciprocating unit rated at 50% duty can run 5 minutes out of every 10. Run it harder and the pump cooks. Rotary screw compressors are built for 100% duty and hold up in a shop that runs two or three shifts.
For one or two CNC machines with light air use, a well-sized piston compressor can work. For a cell of machines, a bar feeder, or any process that runs air continuously, a rotary screw is the safer call. It costs more up front and less in downtime.
Check the ambient temperature where the compressor sits. A unit rated at 100% duty in a 25 °C room may derate at 40 °C. If the compressor room runs hot, either ventilate it or size up. Heat is the quiet killer of air compressors.
- 1PistonCheap, noisy, 50–75% duty. Fine for light, intermittent use.
- 2Rotary screw100% duty, quieter, higher cost. Better for production cells.
- 3VaneSteady flow, sensitive to dirty air. Less common in job shops.
Air treatment: dryers, filters, and oil removal
Compressed air leaves the compressor hot and wet. As it cools in the line, water condenses. That water reaches solenoid valves, air cylinders, and spindle seals. It causes sticking, rust, and inconsistent clamping force. On high-speed machining, it also shows up as finish defects.
A refrigerated dryer brings the dew point down to about 3 °C and removes most water for general shop air. A desiccant dryer goes lower, to –40 °C or below, and is the right choice for critical processes or cold climates. Follow the dryer with a coalescing filter to catch oil aerosol, then a particulate filter before the machine.
Oil-free compressors remove oil at the source and suit medical, food, and some electronics work. Oil-flooded screw compressors are fine for most metal cutting, provided the filtration is right. Do not skip the filter because the compressor is oil-free. Pipe scale and debris still travel.
- 1Refrigerated dryer3 °C dew point. Standard choice for general CNC shops.
- 2Desiccant dryer–40 °C dew point. For critical or cold-environment work.
- 3Coalescing filterRemoves oil aerosol. Place after the dryer.
- 4Particulate filterLast line of defense before the machine inlet.
Step by step: size the compressor for your machine
- 1List every air consumerRead the machine manual and note CFM and PSI for the tool changer, drawbar, vise, purge, and any bar feeder. Write them in a table.
- 2Total the CFM at working pressureAdd the consumers that can run at the same time. Add 30% headroom. That number is your target CFM.
- 3Confirm the pressure windowMost CNC machines run at 90–125 PSI. Check the manual. If the range is narrow, say 100–110 PSI, size the compressor to hold the low end.
- 4Pick the compressor typePiston for light, intermittent use. Rotary screw for production cells or 100% duty. Match the type to the shift pattern.
- 5Size the receiver tankA larger tank buffers peak demand and lets the compressor rest. A rule of thumb is 1 gallon of tank per CFM, plus extra for spiky loads.
- 6Choose the dryer and filtersRefrigerated dryer for general work, desiccant for critical work. Coalescing filter after the dryer, particulate filter before the machine.
- 7Plan the pipingUse a loop main and drop legs with drip traps. Size pipe for low pressure drop. Avoid long runs of undersized hose.
- 8Verify at the machine inletAfter install, measure pressure at the machine with a gauge while the tool changer cycles. If it drops below the machine's minimum, add storage or size up.
Compressor type vs. CNC shop profile
Match the compressor type to how your shop actually runs.
| Shop profile | Best fit | Why | Watch out for |
|---|---|---|---|
| 1–2 machines, light air use | Piston, 50–75% duty | Low cost, simple maintenance | Overheating on long shifts |
| Production cell, 3+ machines | Rotary screw, 100% duty | Holds pressure, quieter, long life | Higher up-front cost |
| High-speed machining | Screw + refrigerated dryer | Steady flow, dry air | Filter pressure drop |
| Medical or food parts | Oil-free screw + desiccant | No oil carryover, very dry air | Higher running cost |
| Cold climate shop | Desiccant dryer | Dew point below –40 °C | Purge air loss |
| Bar feeder or pallet changer | Screw + larger receiver | Buffers peak demand | Undersized piping |
The short version
Total the CFM at working pressure, add 30% headroom, pick a compressor that can run the duty cycle, and dry the air before it reaches the valve. Do that and the machine stops alarming out mid-cut.
Frequently asked questions
How much CFM does a CNC machine need?
It depends on the machine and its options. A small mill with a tool changer may need 4–8 CFM at 90 PSI. A lathe with a bar feeder can pull 10–15 CFM or more. Always read the manual and add 30% headroom.
Can I use a piston compressor for a CNC machine?
Yes, if the duty cycle and air quality match the job. Piston compressors work for light, intermittent use. For production cells or continuous air demand, a rotary screw is the better choice because it handles 100% duty without overheating.
Why does my CNC machine lose pressure during a tool change?
Tool changes pull a short burst of high flow. If the compressor or receiver tank is too small, pressure sags. Adding storage capacity or upsizing the compressor usually fixes it. Check for leaks and clogged filters first.
Do I need a dryer for my CNC shop air?
Yes, in almost every case. Compressed air leaves the compressor hot and wet, and water in the line damages valves, cylinders, and spindle seals. A refrigerated dryer covers most shops. Use a desiccant dryer for critical or cold-environment work.
What pressure should a CNC machine run at?
Most CNC machines run at 90–125 PSI at the inlet. Some are narrower. Measure at the machine inlet, not the tank, because dryers, filters, and piping drop pressure. Size the compressor to hold the low end of the machine's range.
How do I know if my compressor is too small?
Common signs include pressure dropping during tool changes, the compressor running without stopping, and the machine alarming out mid-cycle. A gauge at the machine inlet during a tool change will show the drop. If it falls below the machine minimum, size up or add storage.
Need machined parts that hold tolerance?
Send us your drawings and we will quote within 12 hours, with a free DFM analysis.
12-hour quote100% inspection±0.005 mm tolerance