A flowmeter suitable for replacement of differential pressure flowmeters comprising: a primary flow sensor, sensor electronics for proving a measurement signal; a signal processing unit for determining the flow, which can be set to produce a signal proportional to the flowrate or the square of the flowrate; and an output signal generator for generating an output signal proportional to the signal of the signal processing unit.