A four stage compressor compresses air in four stages to efficiently increase the pressure from atmospheric to 7 barg. It comprises four compressor elements, four motors, and pistons arranged in series with the outlet of one stage connecting to the inlet of the next. Compressing air in multiple stages with cooling between allows reaching the final pressure more efficiently than a single stage compressor.