1. A method to determine the organic acid content of petroleum streams comprising: (a) irradiating a sample of said petroleum stream with IR radiation; (b) determining the absorption spectrum; and (c) correlating said absorption spectrum with the organic acid content of said petroleum stream using linear multivariant regression analysis.