Mass percent and percent composition describe how much of a substance’s total mass comes from a particular component. In chemistry, these terms are especially useful for determining what fraction of a compound’s mass is contributed by each element. To calculate the mass percent of an element, divide the mass of that element in the compound by the compound’s total mass and multiply by 100.
The same principle applies whether a compound contains two elements or several. Once you know its chemical formula and the atomic masses of its constituent elements, you can calculate the percentage by mass of each element without physically separating the compound.
What mass percent and percent composition mean
Mass percent is the percentage of a sample’s total mass that is attributable to a particular substance or component. When the components are the elements in a chemical compound, the calculation is commonly called percent composition by mass.
For example, water has the chemical formula H₂O. Each water molecule contains two hydrogen atoms and one oxygen atom. However, the mass contributed by oxygen is much greater than the combined mass contributed by the two hydrogen atoms because an oxygen atom is substantially heavier than a hydrogen atom.
This distinction illustrates an important principle: the number of atoms of an element does not directly determine its percentage by mass. Both the number of atoms and their individual atomic masses matter.
Mass percent can describe the composition of mixtures as well as compounds. For a mixture, it may represent the mass of one ingredient relative to the total mass of the mixture. For a pure compound, percent composition typically refers to the relative masses of its constituent elements.
The formula for mass percent
The general formula for mass percent is:
Mass percent = (Mass of component ÷ Total mass of sample) × 100%
When calculating the percent composition of an element in a compound, the formula becomes:
Percent composition of an element = (Total mass of that element in the compound ÷ Molar mass of the compound) × 100%
The numerator represents the combined mass of all atoms of the element in one mole of the compound. The denominator represents the mass of one mole of the entire compound.
A mole is a standard chemistry unit representing approximately 6.022 × 10²³ specified particles, such as atoms or molecules. Molar mass is the mass of one mole of a substance, usually expressed in grams per mole (g/mol).
The units cancel in the division, leaving a dimensionless ratio. Multiplying that ratio by 100 expresses the result as a percentage.
For instance, if an element contributes 20 grams to a compound sample with a total mass of 100 grams, its mass percent is:
(20 g ÷ 100 g) × 100% = 20%
The same calculation works on a molecular or molar scale. Using the molar mass of a compound makes it possible to calculate its elemental composition directly from its chemical formula.
How to calculate percent composition from a chemical formula
The most reliable way to calculate percent composition is to work systematically from the chemical formula to the compound’s molar mass, then determine each element’s share of that mass.
Step 1: Identify the elements and their subscripts.
Read the chemical formula and identify every element present. The subscript after an element symbol indicates how many atoms of that element occur in one molecule or formula unit. If no subscript appears, the number of atoms is one.
For example, carbon dioxide has the formula CO₂. It contains one carbon atom and two oxygen atoms per molecule.
Step 2: Find the atomic mass of each element.
Use the atomic masses from the periodic table. For many introductory chemistry calculations, carbon has an atomic mass of approximately 12.01, and oxygen has an atomic mass of approximately 16.00.
These values are expressed in atomic mass units when referring to individual atoms. Numerically, the same values serve as molar masses in grams per mole.
Step 3: Calculate each element’s total contribution.
Multiply the atomic mass of each element by its subscript in the chemical formula.
For carbon dioxide:
Carbon: 1 × 12.01 = 12.01 g/mol
Oxygen: 2 × 16.00 = 32.00 g/mol
These results represent the mass contributions of each element in one mole of carbon dioxide.
Step 4: Calculate the molar mass of the compound.
Add the contributions from all elements.
12.01 + 32.00 = 44.01 g/mol
The molar mass of carbon dioxide is therefore approximately 44.01 g/mol.
Step 5: Calculate the percentage of each element.
Divide each element’s mass contribution by the compound’s molar mass and multiply by 100%.
Carbon:
(12.01 ÷ 44.01) × 100% ≈ 27.29%
Oxygen:
(32.00 ÷ 44.01) × 100% ≈ 72.71%
Carbon dioxide is approximately 27.29% carbon and 72.71% oxygen by mass.
Step 6: Check the results.
Add the percentages for all elements in the formula. For a compound containing only the elements accounted for in the calculation, their percentages should total approximately 100%.
In this example, 27.29% + 72.71% = 100.00%. Small discrepancies can occur when rounded atomic masses or intermediate results are used.
Worked example: Calculating the percent composition of water
Water provides a straightforward example because its chemical formula, H₂O, contains only two elements.
The formula indicates that each water molecule contains two hydrogen atoms and one oxygen atom. Using approximate atomic masses of 1.008 for hydrogen and 16.00 for oxygen, calculate the molar mass as follows:
Hydrogen: 2 × 1.008 = 2.016 g/mol
Oxygen: 1 × 16.00 = 16.00 g/mol
Total molar mass: 2.016 + 16.00 = 18.016 g/mol
Next, calculate the mass percentage of hydrogen:
(2.016 ÷ 18.016) × 100% ≈ 11.19%
Then calculate the mass percentage of oxygen:
(16.00 ÷ 18.016) × 100% ≈ 88.81%
Water is therefore approximately 11.19% hydrogen and 88.81% oxygen by mass.
The result may seem surprising because hydrogen has two atoms in each water molecule, while oxygen has only one. Oxygen nevertheless accounts for nearly 89% of the mass because each oxygen atom is much heavier than a hydrogen atom.
This example shows why percent composition must be calculated using atomic masses rather than simply counting atoms.
How subscripts affect mass percent
Subscripts play a central role in determining elemental composition. Changing a subscript changes the relative numbers of atoms in the formula and can therefore change the percentage by mass of each element.
Consider carbon monoxide, CO, and carbon dioxide, CO₂. Both compounds contain carbon and oxygen, but they have different proportions of those elements.
For carbon monoxide, the approximate molar mass is:
12.01 + 16.00 = 28.01 g/mol
The carbon percentage is:
(12.01 ÷ 28.01) × 100% ≈ 42.88%
The oxygen percentage is:
(16.00 ÷ 28.01) × 100% ≈ 57.12%
For carbon dioxide, the corresponding percentages are approximately 27.29% carbon and 72.71% oxygen.
Adding another oxygen atom to the formula increases the total oxygen contribution relative to carbon. As a result, the carbon percentage decreases and the oxygen percentage increases.
Coefficients in a chemical equation must be distinguished from subscripts in a chemical formula. For example, the coefficient in 2H₂O means two water molecules, not a different compound. Multiplying the quantity of a pure compound does not change its percent composition. Two molecules of water have the same elemental mass proportions as one molecule of water.
How to calculate mass percent from laboratory measurements
Not every mass percent problem begins with a chemical formula. Sometimes the masses of the components and the total sample are provided directly, as in laboratory measurements or mixture calculations.
Suppose a sample of a solution contains 15 grams of dissolved salt and has a total mass of 120 grams. The mass percent of salt is:
(15 g ÷ 120 g) × 100% = 12.5%
The solution is 12.5% salt by mass.
The denominator must be the mass of the entire solution, not just the mass of the water. If the salt and water are the only components, the water has a mass of 105 grams. Its mass percentage is:
(105 g ÷ 120 g) × 100% = 87.5%
The two percentages total 100%.
This distinction matters because mass percent differs from other ways of expressing concentration. A solution labeled 12.5% salt by mass contains 12.5 grams of salt per 100 grams of solution. It does not necessarily contain 12.5 grams of salt per 100 milliliters of solution. Converting between mass and volume requires additional information, such as density.
How to use percent composition to determine an empirical formula
Percent composition can also help determine the simplest whole-number ratio of atoms in an unknown compound. This process is used to find the empirical formula, which represents the smallest whole-number ratio of the elements present.
Suppose a compound is found to contain 40.0% carbon, 6.7% hydrogen, and 53.3% oxygen by mass. If the sample mass is not specified, assume a 100-gram sample. The percentages then correspond to approximately 40.0 grams of carbon, 6.7 grams of hydrogen, and 53.3 grams of oxygen.
Convert each mass to moles by dividing by the corresponding atomic mass.
Carbon: 40.0 g ÷ 12.01 g/mol ≈ 3.33 mol
Hydrogen: 6.7 g ÷ 1.008 g/mol ≈ 6.65 mol
Oxygen: 53.3 g ÷ 16.00 g/mol ≈ 3.33 mol
Next, divide each mole quantity by the smallest value, approximately 3.33.
Carbon: 3.33 ÷ 3.33 ≈ 1
Hydrogen: 6.65 ÷ 3.33 ≈ 2
Oxygen: 3.33 ÷ 3.33 ≈ 1
The resulting ratio is approximately 1:2:1, giving the empirical formula CH₂O.
The key is to convert percentages into masses, masses into moles, and mole quantities into the simplest whole-number ratio. If the ratios are close to fractions such as 1.5 or 1.33 rather than whole numbers, multiply all ratios by an appropriate integer to obtain a whole-number relationship.
An empirical formula does not necessarily reveal the actual number of atoms in a molecule. For example, a molecular formula can be a whole-number multiple of its empirical formula. Determining the molecular formula requires the compound’s molar mass in addition to its empirical formula.
Common mistakes when calculating percent composition
Several errors can lead to incorrect results, even when the basic formula is understood.
One common mistake is forgetting to multiply an element’s atomic mass by its subscript. In H₂O, hydrogen contributes the mass of two atoms, not one. In Al₂(SO₄)₃, the parentheses and outside subscript mean the formula contains two aluminum atoms, three sulfur atoms, and twelve oxygen atoms.
Another mistake is dividing by an element’s mass contribution instead of the total molar mass of the compound. Every elemental percentage must use the same denominator: the compound’s complete molar mass.
Rounding too early can also introduce avoidable errors. Keep several digits during intermediate calculations, then round the final percentages to a suitable number of decimal places. The precision of the atomic masses and measurements should guide the final rounding.
It is also important to use the correct chemical formula. Different compounds can contain the same elements in different proportions, producing different percent compositions. A calculation based on an incorrect formula can be mathematically consistent but chemically wrong.
Finally, do not confuse mass percent with atomic percent. Mass percent describes each element’s share of the total mass, whereas atomic percent describes its share of the total number of atoms. Because elements have different atomic masses, these percentages are generally not the same.
Why mass percent and percent composition matter
Percent composition provides a quantitative description of a compound’s elemental makeup. Chemists use it to check chemical formulas, analyze substances, identify unknown materials, and compare compounds containing the same elements.
In laboratory chemistry, measured composition can be compared with a theoretical value calculated from a chemical formula. Agreement supports the proposed composition, while a difference may indicate measurement error, impurities, incomplete reactions, or an incorrect formula. The discrepancy alone does not establish which explanation is responsible; further evidence may be needed.
The same principle is useful in practical applications. Manufacturers may specify the mass percentage of an ingredient in a material, and chemists may use composition calculations to determine how much of a reactant is present in a sample. In environmental and materials analysis, knowing the mass fractions of elements can help characterize substances and assess their suitability for particular uses.
The central idea remains simple: mass percent is the mass of a component divided by the total mass, multiplied by 100%. For a compound, its chemical formula and the periodic table provide the information needed to calculate each element’s contribution. By counting atoms correctly, calculating the total molar mass, and applying the same ratio to every element, you can determine percent composition accurately and use it to understand a compound’s chemical makeup.
