The law of constant composition states: All samples of a given compound have the same proportions of their constituent elements.