Milk meter for measuring a flow rate of a milk flow, provided with an inlet to which, in use, the milk flow is supplied, an outlet where the milk flow leaves the milk meter, in use, and a liquid flow path extending from the inlet to the outlet, wherein the milk meter is provided with a stabilization chamber which is included in the liquid flow path and a float which is in the stabilization chamber and is configured to float on milk of the milk flow that is in the stabilization chamber, wherein the milk meter is configured such that a level of milk in the stabilization chamber depends on the flow rate of the milk flow, wherein the milk meter is furthermore provided with a magnetic unit for generating a magnetic field in the stabilization chamber such that the magnetic field varies in a height direction of the stabilization chamber, and wherein in the float an electronic measuring unit is arranged for measuring the strength of the magnetic field, wherein the measured strength of the magnetic field is a measure of the height within the stabilization chamber at which the float is floating on the milk in the stabilization chamber and whereby hence the measured strength of the magnetic field is a measure of the flow rate of the milk flow.