The present disclosure relates to a device for the measurement and analysis of the multiple breath washout process, where an ultrasound, flow and molar mass sensor determines the instantaneous flow and the instantaneous molar mass of the gas inspired and expired by the patient in the main flow.