A method and device is provided for a quick, accurate and on-line determination of heats of combustion of gaseous hydrocarbons. First, the amount of oxygen in the carrier air stream is sensed by an oxygen sensing system. Second, three individual volumetric flow rates of oxygen, carrier stream air, and hydrocrabon test gas are introduced into a burner. The hydrocarbon test gas is fed into the burner at a volumetric flow rate, n, measured by a flowmeter. Third, the amount of oxygen in the resulting combustion products is sensed by an oxygen sensing system. Fourth, the volumetric flow rate of oxygen is adjusted until the amount of oxygen in the combustion product equals the amount of oxygen previously sensed in the carrier air stream. This equalizing volumetric flow rate is m and is measured by a flowmeter. The heat of combustion of the hydrocrabon test gas is then determined from the ratio m/n