The law of definite proportions states that a chemical compound always contains the same elements in the same ratio by mass, no matter how or where it was made. A sample of pure water from a glacier, a laboratory, or a volcano will always be 11.1% hydrogen and 88.9% oxygen by weight. This principle is one of the foundational ideas in chemistry, and understanding it helps explain why chemical formulas work the way they do.
The Law in Plain Terms
Every pure chemical compound has a fixed recipe. If you break down table salt (sodium chloride), you’ll always find sodium and chlorine in a 1:1 ratio of atoms, which translates to a consistent mass ratio because each element has a fixed atomic weight. If you break down water, you’ll always get two parts hydrogen to one part oxygen by atom count, or about 11.1% hydrogen and 88.9% oxygen by mass. It doesn’t matter whether you collected that water from a rain barrel or synthesized it in a lab.
This is different from a mixture like saltwater, where you can dissolve a little salt or a lot. In a mixture, the proportions are variable. In a compound, they’re locked in.
How Joseph Proust Discovered It
The French chemist Joseph Proust first published this law in 1794, in a paper on iron oxides. Proust was known for his exceptional analytical skills (Antoine Lavoisier once personally recommended him for a chemistry professorship at Spain’s Royal Artillery School in Segovia). Through careful experiments on inorganic compounds, mostly sulfates, sulfides, and metallic oxides, Proust demonstrated that a given compound always had the same composition regardless of its origin.
His most famous demonstration involved copper carbonate. He showed that natural copper carbonate mined from the earth contained the exact same ratio of copper, carbon, and oxygen as copper carbonate synthesized in a laboratory. This was a striking result at the time because many chemists believed that composition could vary continuously.
One of Proust’s most prominent opponents was Claude-Louis Berthollet, another French chemist who argued for “indefinite proportions,” proposing that compounds could exist across a range of compositions. The debate between Proust and Berthollet lasted years, and Proust’s position ultimately won out as the dominant framework for understanding chemical combination.
Why Atoms Explain Fixed Ratios
Proust established the law through experiments, but he couldn’t fully explain why it worked. That explanation came from John Dalton’s atomic theory in the early 1800s. Dalton proposed that matter is made of indivisible atoms, and that atoms of different elements combine in simple whole-number ratios to form compounds. If water is always one oxygen atom bonded to two hydrogen atoms, then its mass ratio is always determined by the relative weights of those atoms. You can’t bond one and a half oxygen atoms to two hydrogens, so the proportions are fixed by the nature of atoms themselves.
Dalton’s contemporaries quickly recognized that atomic theory provided a clean explanation for why Proust’s law held true. It also led Dalton to attempt calculating relative atomic weights. He assumed water contained one hydrogen atom and one oxygen atom (he was wrong about the formula, but right about the approach) and concluded that oxygen weighed about 5.6 times as much as hydrogen. Later corrections to the formula gave the more accurate ratio we use today.
How to Calculate Mass Percentages
The law of definite proportions is the reason you can calculate the percent composition of any compound from its chemical formula. The process is straightforward: divide the mass contributed by each element by the total mass of the compound, then multiply by 100.
For water, one molecule contains two hydrogen atoms (total mass: about 2 atomic mass units) and one oxygen atom (about 16 atomic mass units), giving a total molecular mass of 18. Hydrogen’s mass percent is (2 ÷ 18) × 100 = 11.11%. Oxygen’s mass percent is (16 ÷ 18) × 100 = 88.89%. Those two percentages add up to 100%, and they hold for any sample of pure water, whether it weighs a gram or a ton.
This calculation works for any compound. If you know the formula and the atomic masses, you can predict the exact composition. And if you measure the composition of an unknown compound in a lab, you can work backward to figure out its formula. Both directions rely on the law holding true.
When the Law Doesn’t Apply
The law of definite proportions works extremely well for most compounds, but there are exceptions. Some solid materials, particularly certain metal alloys and metal oxides, can exist across a range of compositions without changing their basic crystal structure. These are called non-stoichiometric compounds, or historically, “berthollides” (named after Berthollet, who turned out to be partially right after all). Compounds that strictly follow the law were correspondingly called “daltonides.”
A nickel-aluminum alloy, for example, can shift from its ideal 50-50 composition to something like 55% nickel and 45% aluminum. What happens at the atomic level is that some atoms sit in positions meant for the other type, or certain atomic sites simply remain empty. The crystal structure stays intact, but the ratio drifts. When this phenomenon was first recognized, it actually caused some chemists to doubt whether atoms existed at all, since they assumed atoms would enforce strict ratios in every case.
These exceptions are most common in solid-state materials and high-temperature chemistry. For the vast majority of compounds you encounter in everyday life or introductory chemistry, the law of definite proportions holds reliably. Water is always water. Table salt is always table salt. Carbon dioxide is always 27.3% carbon and 72.7% oxygen. The fixed-ratio rule remains one of the most dependable principles in all of chemistry.

