The relative amount of a given chemical element or chemical compound with respect to another element or compound in a given sample.