Skip to content

How-to guide

How to Calculate Percent Composition: Formula, Steps & Examples

Learn how to calculate Percent Composition — the formula explained step by step, with worked examples and a free calculator to check your answer.

By Vikram Iyer, M.Sc Mathematics · Updated Jun 2026 · 2 min read

Calculating your percent composition is straightforward once you know the Percent Composition formula and what each input means. This guide explains the method in plain language, walks through a manual calculation, and gives worked examples you can follow — then you can do it instantly with the Percent Composition Calculator.

What is Percent Composition?

The Percent Composition calculation tells you your percent composition from a few simple inputs. The figure you are solving for here is the percent composition, expressed in percent.

The Percent Composition formula

The core formula is:

Percent composition = Mass of element in compound ÷ Molar mass of compound × 100

Here is what each input means:

  • Mass of element in compound — a value measured in g/mol. Example: 16 g/mol.
  • Molar mass of compound — a value measured in g/mol. Example: 18 g/mol.

How to calculate it step by step

  • Write down the mass of element in compound (for example, 16 g/mol).
  • Write down the molar mass of compound (for example, 18 g/mol).
  • Apply the formula above to get your percent composition.
  • Double-check the result with the Percent Composition Calculator.

Worked examples

Example 1

Input / OutputValue
Mass of element in compound16 g/mol
Molar mass of compound18 g/mol
Percent composition88.89%

With mass of element in compound of 16 g/mol and molar mass of compound of 18 g/mol, the percent composition works out to 88.89%.

Example 2

With mass of element in compound of 32 g/mol and molar mass of compound of 18 g/mol, the percent composition works out to 177.78%.

ResultValue
Percent composition177.78%

Example 3

With mass of element in compound of 8 g/mol and molar mass of compound of 18 g/mol, the percent composition works out to 44.44%.

ResultValue
Percent composition44.44%

Tips for an accurate result

  • Keep your units consistent — mixing, say, months with years or grams with kilograms is the most common source of error.
  • Round only at the very end. Rounding inputs early can shift the final answer noticeably.
  • Re-run the numbers whenever an input changes, rather than estimating from an old result.

Prefer not to do the maths by hand? — the Percent Composition Calculator does it instantly, for free, with the formula and a worked example built in.

Continue exploring science calculators with these tools: Impulse Calculator, Elastic Potential Energy Calculator, Thermal Expansion Calculator, Buoyancy Force Calculator, RPM to Linear Speed Calculator.

Calculators in this guide

Frequently asked questions

The formula is: Percent composition = Mass of element in compound ÷ Molar mass of compound × 100. With mass of element in compound of 16 g/mol and molar mass of compound of 18 g/mol, the percent composition works out to 88.89%.

Gather each input, apply the formula step by step keeping your units consistent, and round only at the end. You can verify your answer instantly with the Percent Composition Calculator.

It uses the standard formula with exact arithmetic, so the result is correct for the inputs you enter. Bear in mind that real-world outcomes can still differ when underlying assumptions change.

The percent composition is expressed in percent. Make sure your inputs use matching units so the result is correct.

Vikram Iyer · M.Sc Mathematics

Vikram Iyer is a mathematics educator with over fifteen years of teaching experience, specialising in making quantitative concepts clear and practical for everyday use.