The invention relates to a spirometer for measuring pulmonary respiration of a test subject, comprising a body and a sensor unit, wherein the sensor unit can be interchanged with further sensor units. In a corresponding method, such a spirometer is operated with a sensor unit and the sensor unit is subsequently interchangeably replaced by a further sensor unit.