An airflow sensor based on the measurement of pressure was proposed. This technique employed the one-dimensional flow equations in finite differential forms. The equations were applied to a cell located at the inlet of a circular pipe. The pressure was atmospheric at the pipe inlet and the pressure at the cell boundary Δx apart from the pipe inlet was measured. The velocity was therefore calculated instantaneously by the flow equations from the measured pressure. This technique has the following features: non-intrusiveness, automatic reverse flow detection, independence of initial conditions and minimum pressure loss. The technique also can be extended to a compressible flow.