e.g. In a compound such as water, the ratio of the mass of hydrogen to the mass of oxygen is always 1:8, whatever the source of water. Thus, if 9 g of water is decomposed, 1 g of hydrogen and 8 g of oxygen are always obtained. Similarly in ammonia, nitrogen and hydrogen are always present in the ratio 14:3 by mass, whatever the method or the source from which it is obtained.
This led to the law of constant proportions which is also known as the law of definite proportions. This law was stated by Proust as “In a chemical substance the elements are always present in definite proportions by mass”. So we can say that in a pure chemical compound, elements are always present in a definite proportion by mass.
Regards