The invention relates to a device for the measurement of the mass flow of a foamingliquid, in particular, of milk during the milking process, comprising a housingwith an inlet and an outlet, and a measuring device for determining the mass flow.The housing is structured such that a mixing of the foamed component with the liquidcomponent of the fluid may be achieved. The inlet thus leads essentially tangentiallyinto the interior of the housing.