The mass flow and chemical kinetic equations for a gaseous chemiluminescence (CL) analyzer are formulated and solved. The resultant equation can be used to predict the absolute response of the analyzer as a function of the sample flow rate, the sample gas pressure, the chamber pressure, the chamber volume, the mass flow rate and mole fraction of the reagent gas, and the rate constants of the relevant chemical processes. Thus, the equation allows optimization of these parameters. It is shown that for varying sample pressure the analyzer can be used to measure either concentration or mole fraction and that interfering reactions can sometimes be discriminated against by chamber pressure variation. The equations apply equally well to a flowing-liquid-phase CL analyzer, if the chemical mechanism considered is appropriate.