Quantitative chemical analysis