<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Skip Navigation

Percent Composition

Calculating the percentage by mass of each element in a compound.

Atoms Practice
Estimated13 minsto complete
Practice Percent Composition
This indicates how strong in your memory this concept is
Estimated13 minsto complete
Practice Now
Turn In
Percent Composition

Nutritional information labels can let you know the percent composition

Credit: CK-12 Foundation - Joy Sheng
License: CC BY-NC 3.0

Is there anything healthy in this jar?

Packaged foods that you eat typically have nutritional information provided on the label.  The label on a jar of peanut butter (shown above) reveals that one serving size is considered to be 32 g.  The label also gives the masses of various types of compounds that are present in each serving.  One serving contains 7 g of protein, 15 g of fat, and 3 g of sugar.  By calculating the fraction of protein, fat, or sugar in one serving of size of peanut butter and converting to percent values, we can determine the composition of the peanut butter on a percent by mass basis.

Percent Composition

Chemists often need to know what elements are present in a compound and in what percentage.  The percent composition is the percent by mass of each element in a compound.  It is calculated in a similar way that we just indicated for the peanut butter.

\begin{align*}\% \ \text{by mass}=\frac{\text{mass of element}}{\text{mass of compound}} \times 100 \%\end{align*}% by mass=mass of elementmass of compound×100%

Percent Composition From Mass Data

The sample problem below shows the calculation of the percent composition of a compound based on mass data.

Sample Problem One: Percent Composition from Mass

A certain newly synthesized compound is known to contain the elements zinc and oxygen.  When a 20.00 g sample of the sample is decomposed, 16.07 g of zinc remains.  Determine the percent composition of the compound.

Step 1: List the known quantities and plan the problem.


  • mass of compound = 20.00 g
  • mass of Zn = 16.07 g


  • percent Zn = ? %
  • percent O = ? %

Subtract to find the mass of oxygen in the compound.  Divide each element’s mass by the mass of the compound to find the percent by mass.

Step 2: Calculate.

\begin{align*}\text{Mass of oxygen}&=20.00 \ \text{g} - 16.07 \ \text{g}=3.93 \ \text{g O} \\ \% \ \text{Zn}&=\frac{16.07 \ \text{g Zn}}{20.00 \ \text{g}} \times 100 \%=80.35 \% \ \text{Zn} \\ \% \ \text{O}&=\frac{3.93 \ \text{g O}}{20.00 \ \text{g}} \times 100 \%=19.65 \% \ \text{O} \\\end{align*}Mass of oxygen% Zn% O=20.00 g16.07 g=3.93 g O=16.07 g Zn20.00 g×100%=80.35% Zn=3.93 g O20.00 g×100%=19.65% O

Step 3: Think about your result.

The calculations make sense because the sum of the two percentages adds up to 100%.  By mass, the compound is mostly zinc.

Percent Composition From a Chemical Formula

The percent composition of a compound can also be determined from the formula of the compound.  The subscripts in the formula are first used to calculate the mass of each element in one mole of the compound.  That is divided by the molar mass of the compound and multiplied by 100%.

\begin{align*}\% \ \text{by mass }=\frac{\text{mass of element in} \ 1 \ \text{mol}}{\text{molar mass of compound}}\times 100 \%\end{align*}% by mass =mass of element in 1 molmolar mass of compound×100%

The percent composition of a given compound is always the same as long as the compound is pure.

Sample Problem Two: Percent Composition from Chemical Formula

Dichlorineheptoxide (Cl2O7) is a highly reactive compound used in some organic synthesis reactions.  Calculate the percent composition of dichlorineheptoxide.

Step 1: List the known quantities and plan the problem.


  • mass of Cl in 1 mol Cl2O7 = 70.90 g
  • mass of O in 1 mol Cl2O7 = 112.00 g
  • molar mass of Cl2O7 = 182.90 g/mol


  • percent Cl = ? %
  • percent O = ? %

Calculate the percent by mass of each element by dividing the mass of that element in 1 mole of the compound by the molar mass of the compound and multiplying by 100%.

Step 2: Calculate.

\begin{align*}\% \ \text{Cl}&=\frac{70.90 \ \text{g Cl}}{182.90 \ \text{g}} \times 100 \%=38.76 \% \ \text{Cl} \\ \% \ \text{O}&=\frac{112.00 \ \text{g O}}{182.90 \ \text{g}} \times 100 \%=61.24 \% \ \text{O} \\\end{align*}% Cl% O=70.90 g Cl182.90 g×100%=38.76% Cl=112.00 g O182.90 g×100%=61.24% O

Step 3: Think about your result.

The percentages add up to 100%.

Percent composition can also be used to determine the mass of a certain element that is contained in any mass of a compound.  In the previous sample problem, it was found that the percent composition of dichlorineheptoxide is 38.76% Cl and 61.24% O.  Suppose that you needed to know the masses of chlorine and oxygen present in a 12.50 g sample of dichlorineheptoxide.  You can set up a conversion factor based on the percent by mass of each element.

\begin{align*}12.50 \ \text{g Cl}_2 \text{O}_7 \times \frac{38.76 \ \text{g Cl}}{100 \ \text{g Cl}_2\text{O}_7}&=4.845 \ \text{g Cl} \\ 12.50 \ \text{g Cl}_2 \text{O}_7 \times \frac{61.24 \ \text{g O}}{100 \ \text{g Cl}_2\text{O}_7}&=7.655 \ \text{g O} \\\end{align*}12.50 g Cl2O7×38.76 g Cl100 g Cl2O712.50 g Cl2O7×61.24 g O100 g Cl2O7=4.845 g Cl=7.655 g O

The sum of the two masses is 12.50 g, the mass of the sample size.

Science Friday: Stained Glass Conservation

Stained glass from the Middle Ages is often hundreds of years old. Unfortunately, many of these relics are in need of cleaning and maintenance. In this video by Science Friday, conservator Mary Higgins discusses the methods used to protect the stained glass.


  • Processes are described for calculating the percent composition of a material based on mass or on chemical composition.


  1. What is the formula for calculating percent composition?
  2. What information do you need to calculate percent composition by mass?
  3. What do subscripts in a chemical formula tell you?

Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Please to create your own Highlights / Notes
Show More

Image Attributions

  1. [1]^ Credit: CK-12 Foundation - Joy Sheng; License: CC BY-NC 3.0

Explore More

Sign in to explore more, including practice questions and solutions for Percent Composition.
Please wait...
Please wait...