A quantity that expresses the relative amount of an element in a compound based on mass.