Percent Composition Calculator

Calculate the mass percent of each element in a chemical compound

% = (mass of element / molar mass) × 100

Calculate the mass percent composition of elements in a chemical compound.

Common Compounds:

Enter formula using element symbols and numbers (e.g., H2O, CO2, NaCl)

Understanding Percent Composition

Percent composition tells you the percentage by mass of each element in a compound. It's calculated by dividing the total mass of each element by the molar mass of the compound.

  • Step 1: Find molar mass of compound (sum of all atomic masses)
  • Step 2: Calculate mass contribution of each element
  • Step 3: Divide element mass by total molar mass, multiply by 100
  • Check: All percentages should add up to 100%

Applications: Percent composition is used in empirical formula determination, stoichiometry calculations, and analyzing the purity of compounds.

Quick Tips

  • Percentages must add up to 100%
  • Use accurate atomic masses for precision
  • Check your chemical formula is correct
  • Useful for determining empirical formulas

What is Percent Composition?

Percent composition (also called mass percent or percentage composition) tells you the percentage by mass of each element in a chemical compound. It answers the question: "What fraction of the compound's mass comes from each element?"

This fundamental concept in chemistry is essential for:

  • Determining empirical and molecular formulas from experimental data
  • Analyzing the purity of chemical samples
  • Performing stoichiometric calculations
  • Understanding nutrient content in food and fertilizers
  • Quality control in pharmaceutical and industrial chemistry
  • Environmental analysis and pollution monitoring

Key Concept:

The percent composition of an element in a compound is the mass of that element divided by the total mass of the compound, multiplied by 100%. The sum of all percentages must equal 100%.

The Formula

% composition = (mass of element / molar mass of compound) × 100%

Or more specifically:

% X = [(n × atomic mass of X) / molar mass of compound] × 100%

where n = number of atoms of element X in the formula

Step-by-Step Procedure:

  1. Write the chemical formula: Identify all elements and their subscripts
  2. Find atomic masses: Look up the atomic mass of each element from the periodic table
  3. Calculate molar mass: Sum the masses of all atoms in the formula
    • For each element: multiply atomic mass by the number of atoms
    • Add all contributions together
  4. Calculate element mass contribution: For each element, multiply its atomic mass by how many times it appears
  5. Compute percentage: Divide element mass by molar mass, multiply by 100%
  6. Verify: Check that all percentages sum to 100% (within rounding error)

Worked Example: Water (H₂O)

Step 1: Identify the formula

H₂O

Contains: 2 hydrogen atoms, 1 oxygen atom

Step 2: Get atomic masses

  • Hydrogen (H): 1.008 amu
  • Oxygen (O): 16.00 amu

Step 3: Calculate molar mass

Mass of H: 2 × 1.008 = 2.016 g/mol

Mass of O: 1 × 16.00 = 16.00 g/mol

Total molar mass = 2.016 + 16.00 = 18.016 g/mol

Step 4: Calculate percentages

Hydrogen:

% H = (2.016 / 18.016) × 100% = 11.19%

Oxygen:

% O = (16.00 / 18.016) × 100% = 88.81%

Step 5: Verify

11.19% + 88.81% = 100.00% ✓

Result:

Water is 11.19% hydrogen and 88.81% oxygen by mass. This means that in any sample of pure water, about 11% of the mass comes from hydrogen and 89% from oxygen.

Complex Example: Glucose (C₆H₁₂O₆)

Given Information

  • Formula: C₆H₁₂O₆
  • Contains: 6 carbon, 12 hydrogen, 6 oxygen atoms
  • Atomic masses: C = 12.01 amu, H = 1.008 amu, O = 16.00 amu

Calculate Molar Mass

Carbon: 6 × 12.01 = 72.06 g/mol

Hydrogen: 12 × 1.008 = 12.096 g/mol

Oxygen: 6 × 16.00 = 96.00 g/mol

Total = 72.06 + 12.096 + 96.00 = 180.156 g/mol

Calculate Percent Composition

% C = (72.06 / 180.156) × 100% = 40.00%

% H = (12.096 / 180.156) × 100% = 6.71%

% O = (96.00 / 180.156) × 100% = 53.29%

Check: 40.00 + 6.71 + 53.29 = 100.00% ✓

Interpretation:

Glucose is 40% carbon, 6.71% hydrogen, and 53.29% oxygen by mass. This tells us that more than half of glucose's mass comes from oxygen atoms, despite having equal numbers of carbon and oxygen atoms (both 6). This is because oxygen atoms are heavier than carbon atoms.

Real-World Applications

1. Empirical Formula Determination

Given experimental mass percentages from combustion analysis or other techniques, chemists can work backwards to determine the empirical formula of an unknown compound. This is crucial in identifying new compounds and verifying synthesis products.

2. Fertilizer Analysis

Fertilizer labels show N-P-K ratios (nitrogen-phosphorus-potassium). Percent composition calculations help convert between elemental percentages and compound percentages. For example, calculating the actual nitrogen content in ammonium nitrate (NH₄NO₃) which is 35% nitrogen by mass.

3. Pharmaceutical Quality Control

Drug manufacturers use percent composition to verify the purity of pharmaceutical compounds. Deviations from expected values can indicate contamination or improper synthesis. For instance, aspirin (C₉H₈O₄) should be 60.00% carbon, 4.48% hydrogen, and 35.52% oxygen.

4. Nutritional Analysis

Food scientists calculate the elemental composition of nutrients. For example, determining iron content in iron supplements: FeSO₄ (ferrous sulfate) is 36.76% iron by mass, while Fe₂O₃ (ferric oxide) is 69.94% iron, making it a more concentrated iron source.

5. Environmental Monitoring

Environmental chemists use percent composition to track pollutants. For example, measuring sulfur content in sulfur dioxide (SO₂): 50.05% sulfur. This helps calculate total sulfur emissions from industrial sources and assess environmental impact.

6. Ore Analysis

Mining engineers calculate metal content in ores. For example, hematite (Fe₂O₃) contains 69.94% iron, while magnetite (Fe₃O₄) contains 72.36% iron. This helps determine which ore is more economically valuable to extract and process.

Problem-Solving Strategy

Forward Direction: Formula → Percent Composition

  1. Write the chemical formula and count atoms of each element
  2. Look up atomic masses from the periodic table
  3. Calculate molar mass: Σ(atoms × atomic mass)
  4. For each element: % = (element mass / molar mass) × 100%
  5. Verify: sum of all percentages = 100%

Reverse Direction: Percent Composition → Empirical Formula

  1. Assume 100 g sample (makes percentages = masses in grams)
  2. Convert mass of each element to moles (mass / atomic mass)
  3. Divide all mole values by the smallest number of moles
  4. If needed, multiply by small integer to get whole number ratios
  5. Write empirical formula using whole number subscripts

Tips for Success

  • Always use accurate atomic masses (at least 2 decimal places)
  • Keep extra significant figures during calculations, round only at the end
  • Double-check that percentages sum to 100% (±0.5% acceptable for rounding)
  • For polyatomic ions in parentheses: multiply subscript outside by atoms inside
  • Use dimensional analysis to track units throughout calculations

Common Mistakes to Avoid

❌ Forgetting to Multiply by Subscripts

In H₂SO₄, the hydrogen mass is 2 × 1.008 = 2.016 g/mol, NOT just 1.008 g/mol.

Correct approach: Always multiply atomic mass by the number of atoms.

❌ Ignoring Parentheses

In Ca(OH)₂, there are 2 oxygen atoms and 2 hydrogen atoms (not 1 of each).

Correct approach: Multiply everything inside parentheses by the outside subscript.

❌ Rounding Too Early

Rounding intermediate values can cause your final percentages to not sum to 100%.

Correct approach: Keep at least 4-5 significant figures until the final answer.

❌ Using Incorrect Atomic Masses

Confusing atomic number with atomic mass (e.g., using 6 instead of 12.01 for carbon).

Correct approach: Always use atomic mass (decimal number) from periodic table.

❌ Forgetting to Multiply by 100

Calculating 0.40 instead of 40% (missing the × 100 step).

Correct approach: Always convert decimal to percentage by multiplying by 100.

Quick Reference Guide

Basic Formula

% element = (mass of element / molar mass) × 100%

where mass of element = n × atomic mass
and n = number of atoms

Example Compounds

H₂O: 11.19% H, 88.81% O

CO₂: 27.29% C, 72.71% O

NaCl: 39.34% Na, 60.66% Cl

H₂SO₄: 2.06% H, 32.69% S, 65.25% O

Verification Check

Sum of all percentages must equal:

100%

(within ±0.5% for rounding errors)

Common Units

Atomic mass: amu or g/mol

Molar mass: g/mol

Percent: % (dimensionless)

Note: amu and g/mol are numerically equal

Practice Problems

Problem 1: Ammonia (NH₃)

Calculate the percent composition of ammonia.

Show Solution

Molar mass = (1×14.01) + (3×1.008) = 17.034 g/mol

% N = (14.01 / 17.034) × 100% = 82.24%

% H = (3.024 / 17.034) × 100% = 17.76%

Check: 82.24 + 17.76 = 100.00% ✓

Problem 2: Calcium Carbonate (CaCO₃)

Find the mass percent of each element in limestone (calcium carbonate).

Show Solution

Molar mass = (1×40.08) + (1×12.01) + (3×16.00) = 100.09 g/mol

% Ca = (40.08 / 100.09) × 100% = 40.04%

% C = (12.01 / 100.09) × 100% = 12.00%

% O = (48.00 / 100.09) × 100% = 47.96%

Check: 40.04 + 12.00 + 47.96 = 100.00% ✓

Problem 3: Reverse Problem

A compound contains 40.00% C, 6.71% H, and 53.29% O by mass. What is the empirical formula?

Show Solution

Assume 100 g sample:

Moles C = 40.00 g / 12.01 g/mol = 3.331 mol

Moles H = 6.71 g / 1.008 g/mol = 6.657 mol

Moles O = 53.29 g / 16.00 g/mol = 3.331 mol

Divide by smallest (3.331):

C: 3.331/3.331 = 1, H: 6.657/3.331 = 2, O: 3.331/3.331 = 1

Empirical formula: CH₂O (formaldehyde family)