A thermal flow meter is a device that measures the flow rate of gases or liquids by detecting the heat transfer from a heated sensor to the flowing medium. The principle is based on the fact that the rate of heat loss is proportional to the mass flow rate of the fluid.