Percent Composition Calculator
Calculate the percent composition by mass of each element in a chemical compound. Enter element symbols and atom counts to find mass percentages and molar
Percent Composition Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: % Composition = (Element Mass in Formula / Molar Mass) x 100
Worked example — H = 11.19%, O = 88.81%
Formula
% Composition = (Element Mass in Formula / Molar Mass) x 100
Percent composition expresses the mass fraction of each element in a compound as a percentage. Multiply the atomic mass of each element by its subscript count, divide by the total molar mass, and multiply by 100.
Worked Examples
Example 1: Percent Composition of Water
Problem:Calculate the percent composition of H2O.
Solution:H: 2 x 1.008 = 2.016 g/mol O: 1 x 15.999 = 15.999 g/mol Molar mass = 18.015 g/mol H: (2.016/18.015) x 100 = 11.19% O: (15.999/18.015) x 100 = 88.81%
Result:H = 11.19%, O = 88.81%
Example 2: Mass of Iron in Fe2O3 Sample
Problem:How much iron is in 500g of iron(III) oxide (Fe2O3)?
Solution:Fe: 2 x 55.845 = 111.69 g/mol O: 3 x 15.999 = 47.997 g/mol Molar mass = 159.687 g/mol Fe%: (111.69/159.687) x 100 = 69.94% Mass of Fe = 500 x 0.6994 = 349.7 g
Result:349.7 g of iron in 500 g Fe2O3
Frequently Asked Questions
What is percent composition in chemistry?
Percent composition (or mass percent) tells you the percentage by mass of each element in a chemical compound. It is calculated by dividing the total mass of each element in one mole of the compound by the molar mass, then multiplying by 100. For example, in water (H2O), hydrogen makes up 11.19% and oxygen makes up 88.81% of the total mass. Percent composition is fundamental to stoichiometry, empirical formula determination, and analytical chemistry.
How do you calculate percent composition from a chemical formula?
To calculate percent composition: (1) Find the molar mass of the entire compound by adding up the atomic masses of all atoms. (2) For each element, multiply its atomic mass by the number of atoms of that element in the formula. (3) Divide the total mass contribution of each element by the molar mass of the compound. (4) Multiply by 100 to get the percentage. For example, in CO2: molar mass = 12.011 + 2(15.999) = 44.009 g/mol. Carbon: (12.011/44.009) x 100 = 27.29%. Oxygen: (31.998/44.009) x 100 = 72.71%.
Why is percent composition useful in chemistry?
Percent composition has several practical applications. It is used to determine empirical formulas from experimental data, verify the purity of synthesized compounds, calculate the amount of a specific element in a given sample, and compare different compounds containing the same elements. In industry, it helps determine ore quality, food nutrition labeling, and pharmaceutical formulations. It is also the starting point for stoichiometric calculations in chemical reactions and is essential for quality control in manufacturing.
How do you find the mass of an element in a sample using percent composition?
Once you know the percent composition, multiply the sample mass by the decimal form of the percentage. For example, if you have 50 grams of calcium carbonate (CaCO3) and calcium is 40.04% of the compound, then mass of calcium = 50 x 0.4004 = 20.02 grams. This calculation is extremely useful in analytical chemistry, nutrition science, and materials engineering where you need to know the actual mass of a specific element within a larger sample.
How do fertilizer labels use percent composition?
The N-P-K numbers on a fertilizer bag (for example, 10-10-10) report percent composition by mass of nitrogen, available phosphate (P2O5), and potash (K2O) — a 50 lb bag of 10-10-10 fertilizer contains 5 lb of elemental nitrogen equivalent. Farmers and gardeners use these percent-composition figures directly to calculate application rates: to deliver 1 lb of actual nitrogen per 1,000 square feet using 10-10-10 fertilizer, you'd need 10 lb of product, since nitrogen is only 10% of the bag's mass.
How does percent composition help verify a synthesized compound's purity?
After synthesizing a compound, chemists submit a sample for combustion analysis, which measures the actual mass percentages of carbon, hydrogen, and other elements present. Comparing that measured percent composition against the theoretical percent composition calculated from the proposed formula confirms both the compound's identity and its purity — a mismatch of even 0.3-0.5 percentage points typically indicates residual solvent, unreacted starting material, or an incorrect structure, which is why elemental analysis reports list both calculated and found percentages side by side.
What is the difference between percent composition and the mass percent of a solution?
Percent composition is a fixed property of a pure compound, set by its formula and the atomic masses in it — water is always 11.19% hydrogen by mass. The mass percent (% w/w) of a solution is a concentration you choose, calculated as mass of solute divided by total mass of solution times 100, so a 5% w/w saline can be mixed at any strength you like. Both are mass fractions expressed as percentages, but one is dictated by stoichiometry and the other by how much you weighed out.
How do you work backwards from percent composition to an empirical formula?
Assume a 100 g sample so each percentage becomes a mass in grams, divide each mass by that element's atomic mass to get moles, then divide every mole value by the smallest one to get the simplest whole-number ratio. For a compound that is 40.0% C, 6.7% H and 53.3% O: 40.0/12.011 = 3.33 mol C, 6.7/1.008 = 6.65 mol H, 53.3/15.999 = 3.33 mol O. Dividing through by 3.33 gives 1 : 2 : 1, the empirical formula CH₂O.
Why does a hydrated salt have a different percent composition from its anhydrous form?
Waters of crystallisation are part of the formula unit, so they count toward the molar mass. Anhydrous copper(II) sulfate, CuSO₄, has a molar mass near 159.6 g/mol and is about 39.8% copper. The blue pentahydrate CuSO₄·5H₂O adds 5 × 18.02 = 90.1 g/mol, giving roughly 249.7 g/mol, which drops copper to about 25.4% and makes water about 36% of the mass. Always confirm whether a formula includes hydrate water before comparing a calculated composition to a measured one.
What is the difference between mass percent and mole percent of an element?
Mass percent weights each element by how heavy its atoms are; mole percent (atom percent) simply counts atoms. In water, hydrogen is only 11.19% by mass but two of the three atoms are hydrogen, so hydrogen is 66.7 mole percent. The gap comes from oxygen being about sixteen times heavier than hydrogen. Use mass percent for weighing, purity checks and elemental analysis; use mole percent when you care about atom ratios, gas mixtures or reaction stoichiometry.
References
Background & Theory
History
Reviewed for accuracy by Manoj Kumar, Mathematics Educator · Editorial policy
Related Calculators
🧮Empirical Formula Calculator (% Composition)
Calculate empirical formula from percent composition with inputs, formulas, and instant results.
🧮Percent Purity Calculator
Calculate percent purity with inputs, formulas, and instant results.
🧮Percent Ionic Character Calculator
Calculate percent ionic character with inputs, formulas, and instant results.
🧮Mass Percent Calculator
Calculate mass percent with inputs, formulas, and instant results.
🧮Percent Solution Calculator
Calculate percent solution with inputs, formulas, and instant results.
🧮Percent Yield Calculator
Calculate percent yield with inputs, formulas, and instant results.
🧮Percent to Molarity Calculator
Calculate percentage concentration to molarity with inputs, formulas, and instant results.
🧮Green Chemistry Atom Economy Calculator
Calculate green chemistry atom economy with inputs, formulas, and instant results.