Chemical analysis aimed at determining the proportions of the substances present in a sample of a material.