Calculatorism

Percent Composition Calculator

Enter an element's total mass within one mole of the compound and the compound molar mass; the tool instantly computes the mass percent composition (element% = element mass ÷ compound molar mass × 100%).

Input Data

Element Mass
g/mol
Compound Mass
g/mol

Results

88.8149%

At a glance:Percent composition (mass percentage, element mass %) describes 'the percentage of an element's mass in the total mass of a compound' — a direct expression of the chemical formula and the law of definite proportions. The formula is element% = (total mass of the element in one mole of compound ÷ compound molar mass) × 100%. To use it correctly you must understand two quantities: the numerator is 'the total mass of that element in one mole of compound', equal to its atomic weight times the number of that atom in the formula; the denominator is 'the compound molar mass', the sum of all atomic weights by count. Because any pure compound has a fixed formula (law of definite proportions: the mass ratio of elements is constant), percent composition is independent of sample size and is an intrinsic property of the compound. The classic example water H₂O: H atomic weight ≈ 1.008, O ≈ 16.00, molar mass M = 2×1.008 + 16.00 = 18.02 g/mol. Oxygen's total mass is 16.00, so O% = 16.00 / 18.02 × 100% ≈ 88.8%; hydrogen's total mass is 2×1.008 = 2.016, so H% = 2.016 / 18.02 × 100% ≈ 11.2%. The percentages of all elements should sum to 100% (slightly off due to rounding). Carbon dioxide CO₂ (M = 44.01): C% = 12.01/44.01 ≈ 27.3%, O% = 32.00/44.01 ≈ 72.7%. This calculator lets you enter 'element mass in the compound' and 'compound molar mass' directly to get the percentage; when computing element mass, count the atoms (e.g. if the element appears several times). Uses are broad: (1) verifying and deriving formulas — from experimentally measured element percentages you can reverse to the empirical formula: take the percentages as grams in 100 g, divide by atomic weights to get mole ratios, then reduce to the simplest integer ratio; (2) assessing active-ingredient content of fertilisers, minerals, drugs — e.g. nitrogen fertilisers are labelled with nitrogen percent (N%); (3) computing purity, converting composition content, estimating ore grade (metal percent in an ore). Notes: first, use a consistent set of atomic weights (standard periodic table). Second, if the element appears more than once in the molecule, multiply its mass by the count — the most common error source. Third, hydrates (e.g. CuSO₄·5H₂O) must include the water of crystallisation in molar mass and element masses. Fourth, the percentage is theoretically 0–100%; if the input makes the numerator exceed the denominator, the data is wrong and this calculator clamps the result to 100% with a check prompt.

Formula

Element mass %: element% = (element mass in compound ÷ compound molar mass) × 100%.

Element total mass = atomic weight × number of that atom in the formula.

Compound molar mass = sum of all atomic weights by count.

All element percentages sum to 100% (slightly off due to rounding).

$$\%\,\text{element} = \dfrac{m_{\text{element}}}{M_{\text{compound}}} \times 100\%$$

How to Use

  1. Compute the target element's total mass in one mole of compound (atomic weight × atom count) and enter it.
  2. Enter the whole compound molar mass (sum of atomic masses).
  3. The right panel instantly shows the element's mass percent composition (%).

Mass percent composition of common compounds

Mass percent composition of common compounds
CompoundMolar Mass (g/mol)ElementElement Mass (g/mol)Composition (%)
Water H₂O18.02O / H16.00 / 2.0288.8 / 11.2
Carbon dioxide CO₂44.01C / O12.01 / 32.0027.3 / 72.7
Ammonia NH₃17.03N / H14.01 / 3.0282.2 / 17.8
Glucose C₆H₁₂O₆180.16C / H / O72.06 / 12.10 / 96.0040.0 / 6.7 / 53.3
Calcium carbonate CaCO₃100.09Ca / C / O40.08 / 12.01 / 48.0040.0 / 12.0 / 48.0

Composition = element mass ÷ compound molar mass × 100%; for a given compound the elements' percentages sum to 100%.

Case Studies

Oxygen percent in water

Water H₂O molar mass M = 2×1.008 + 16.00 = 18.02 g/mol.

Oxygen total mass is 16.00, so O% = 16.00 / 18.02 × 100% ≈ 88.8%.

Hydrogen total mass is 2.016, H% ≈ 11.2%; they sum to about 100%, as mass conservation requires.

Deriving empirical formula from percent composition

A compound is measured as 40.0% C, 6.7% H, 53.3% O.

Per 100 g: C 40.0/12.01 = 3.33 mol, H 6.7/1.008 = 6.65 mol, O 53.3/16.00 = 3.33 mol.

Mole ratio ≈ 1 : 2 : 1, empirical formula CH₂O (e.g. the empirical formula of glucose C₆H₁₂O₆) — percent composition successfully derives the formula.

FAQ

How is percent composition different from concentration?

Percent composition describes the proportion of 'the compound itself' by element mass — an intrinsic property independent of sample size. Concentration (e.g. mass percent) describes the proportion of 'solute in a solution' and changes with how you prepare it. Both use percentages but mean different things.

How to compute mass when the element appears several times?

Count the atom number. In H₂O hydrogen appears twice: H total mass = 2 × 1.008 = 2.016; in CO₂ oxygen appears twice: O total mass = 2 × 16.00 = 32.00. Forgetting the atom count is the most common error.

Must the element percentages sum to exactly 100%?

In theory yes — all element masses sum to the compound molar mass, so the percentages naturally sum to 100%. In practice, due to rounding atomic weights, the total may be 99.9% or 100.1%, which is normal error.

Can percent composition derive a chemical formula?

Yes. Treat the percentages as grams in 100 g, divide by atomic weights to get moles, then reduce to the simplest integer ratio to get the empirical formula; knowing the molar mass further gives the molecular formula.

Why is the result clamped to 100%?

A single element's percentage cannot exceed 100% (its mass cannot exceed the whole compound). If you enter an element mass larger than the compound molar mass, the input is wrong; this calculator clamps the result to 100% and prompts you to check the atomic weight and atom count.

Related Tools

References

Content review: Calculatorism Science Team. Results are for reference only; please refer to the relevant authorities for the official figures.

Found a problem with the results?

If this calculator's result is wrong, or you have any question about the calculation logic, please let us know. You are viewing:Percent Composition Calculator(/chemistry/percent-composition)。