a method for calibrating an output signal of a mass airflow sensor in operative communication with an induction system of an internal combustion engine is provided . the method comprises the steps of determining an engine speed value , determining a maximum maf output signal value at the engine speed value , detecting a mean maf output signal value at the engine speed value , and correlating the maf output signal with an airflow rate value as a function of the maf output signal value , mean maf output signal value and engine speed . the present invention is particularly suited to improving the maf sensor output of internal combustion piston engines having pulsating airflow including gaseous - fueled engines .