Percent Composition Calculator
Percent composition gives the mass percentage of each element in a compound. For glucose, C₆H₁₂O₆ (180.156 g/mol), carbon is 40.00%, hydrogen 6.71% and oxygen 53.28%, so a 100 g sample contains 40.00 g of carbon, 6.71 g of hydrogen and 53.28 g of oxygen.
Last updated · By S. Dilshan · Runs in your browser, nothing is uploaded
Advanced options
Step-by-Step Solution
What Is Percent Composition?
Percent composition (also called mass percent composition) tells you what fraction of a compound’s mass comes from each of its elements. It is a fingerprint of a compound: water is always 11.19% hydrogen and 88.81% oxygen by mass, no matter where it came from or how it was made. This constancy is the law of definite proportions.
Chemists use percent composition in two directions. Starting from a formula, you can calculate the percentages. Starting from measured percentages (for example from an experiment), you can work back to the empirical formula, the simplest whole-number ratio of atoms in the compound.
Percent Composition of Common Compounds
| Compound | Formula | Composition by mass |
|---|---|---|
| Water | H₂O | H 11.19%, O 88.81% |
| Table salt | NaCl | Na 39.34%, Cl 60.66% |
| Glucose | C₆H₁₂O₆ | C 40.00%, H 6.71%, O 53.28% |
| Rust (iron(III) oxide) | Fe₂O₃ | Fe 69.94%, O 30.06% |
| Carbon dioxide | CO₂ | C 27.29%, O 72.71% |
Percent Composition Formula
- The numerator is the total mass contributed by that element in one mole of the compound.
- The denominator is the compound’s molar mass, found with the molar mass calculator.
- All the percentages add up to 100%.
- To turn percentages into a formula, divide each by its atomic mass to get moles, then divide by the smallest to get the simplest ratio.
How Is It Calculated? Worked Examples
Glucose, C₆H₁₂O₆ (180.156 g/mol)
- Carbon: 6 × 12.011 = 72.066, so 72.066 ÷ 180.156 × 100 = 40.00%.
- Hydrogen: 12 × 1.008 = 12.096, giving 6.71%.
- Oxygen: 6 × 15.999 = 95.994, giving 53.28%.
- The three percentages add up to 100%.
- In a 100 g sample: 40.00 g C, 6.71 g H and 53.28 g O.
Water
H₂O has a molar mass of 18.015, of which hydrogen supplies 2.016 and oxygen 15.999: 11.19% H and 88.81% O. A 250 g sample of water contains 27.98 g of hydrogen.
Iron in Rust
Fe₂O₃: iron is 2 × 55.845 = 111.69 of 159.687, or 69.94%. A tonne of pure iron(III) oxide ore therefore contains about 699 kg of iron.
From Percentages to an Empirical Formula
A compound contains 40.0% C, 6.7% H and 53.3% O. In 100 g that is 3.33 mol C, 6.65 mol H and 3.33 mol O. Dividing by 3.33 gives the ratio C : H : O = 1 : 2 : 1, so the empirical formula is CH₂O. Glucose’s true formula, C₆H₁₂O₆, is six times that.
Fertilisers and Hydrates
Ammonium nitrate, NH₄NO₃ (80.043 g/mol), contains two nitrogen atoms, 28.014 g, so it is 35.0% nitrogen. Urea, CO(NH₂)₂ (60.056 g/mol), is 46.6% nitrogen, which is why it is the most concentrated common nitrogen fertiliser. For a hydrate, CuSO₄·5H₂O is 90.075 ÷ 249.68 = 36.1% water by mass, which is the amount driven off when the blue crystals are heated and turn white.
How to Use This Percent Composition Calculator
- Type the chemical formula, for example
C6H12O6orFe2O3. - Enter a sample mass in grams if you want the mass of each element.
- Read the percentage of each element, its mass in the sample and the molar mass.
Where Percent Composition Is Used
- Analytical chemistry: identifying unknown compounds from elemental analysis.
- Mining and metallurgy: the metal content of ores.
- Agriculture: nitrogen, phosphorus and potassium content of fertilisers.
- Food and nutrition: composition of molecules such as sugars.
- Education: the law of definite proportions and empirical formulas.
How Much Carbon Dioxide Does Carbon Make?
Carbon makes up 27.29% of carbon dioxide by mass. So burning 1 kg of carbon produces 1 ÷ 0.2729 ≈ 3.66 kg of CO₂, because each 12.011 g of carbon combines with 31.998 g of oxygen. The same calculation underlies carbon footprint estimates for fuels.
What Are the Most Common Mistakes With the Percent Composition Calculator?
- Forgetting to multiply by the number of atoms. Hydrogen in water counts twice.
- Using the wrong molar mass. The total must include every atom.
- Percentages that do not sum to 100%. Check your arithmetic.
- Confusing mass percent and atom percent. They differ because atoms have different masses.
- Assuming percent composition gives the molecular formula. It gives only the empirical formula.
- Rounding too early. Keep extra digits in intermediate steps.
Checking Your Answer
Two quick checks catch most slips. First, the percentages must add up to 100% (40.00 + 6.71 + 53.28 = 99.99, with rounding). Second, the element with the heaviest atoms usually has the biggest share: in water, oxygen is only one atom but outweighs the two hydrogen atoms by a factor of eight, so it makes up almost 89% of the mass.
Where Can You Verify These Formulas?
The definitions and formulas on this page follow standard references. Check them against these sources:
Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.
Frequently Asked Questions
What is percent composition?
The percentage of a compound’s mass that comes from each element.
How do I calculate percent composition?
For each element, divide the total mass it contributes in one mole of the compound by the compound’s molar mass and multiply by 100.
What is the percent composition of water?
About 11.19% hydrogen and 88.81% oxygen by mass.
How do I find an empirical formula from percentages?
Assume 100 g, convert each element’s mass to moles, and divide by the smallest number of moles to get the simplest ratio.
Is percent composition the same for any sample of a compound?
Yes. It is fixed for a pure compound, according to the law of definite proportions.
Why do the percentages add to 100%?
Because every gram of the compound comes from one of its elements.