Percent Composition Calculator

Work out the percent by mass of each element in a chemical formula, along with the molar mass. Bracketed groups such as Ca(OH)2 are supported for common elements.

1 Fill in the box

2 Your answer

Your answer shows here as you type.

How to use the Percent Composition Calculator

  1. Type a chemical formula, such as H2O or CO2.
  2. Use capital letters for element symbols and numbers for atom counts.
  3. Use brackets for groups, such as Ca(OH)2.
  4. Read the percent by mass of each element and the molar mass of the compound.

Frequently asked questions

How do you calculate percent composition?

Find the molar mass of the compound. For each element, multiply its atomic mass by the number of atoms, divide by the molar mass, and multiply by 100.

What is the percent composition of water?

Water (H2O) is about 11.19 percent hydrogen and 88.81 percent oxygen by mass, using atomic masses of 1.008 for H and 15.999 for O.

Why do the percentages add up to 100?

Each percentage is one element's share of the total molar mass, so the shares cover the whole compound. Small differences of 0.01 can come from rounding.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.