The law of constant proportions states “a pure chemical compound always consists of the same elements that are combined together in a fixed proportion by mass.”
For example, H2O obtained from any source contains hydrogen and oxygen in the ratio of 1:8 by mass.