How to Calculate Empirical Formula from Percent Composition
In this article
To calculate an empirical formula from percent composition, convert each percentage to grams (assume a 100 g sample), divide each mass by the element's molar mass to get moles, then divide every mole value by the smallest one to get the simplest whole-number ratio. If the ratios come out as fractions like 1.5 or 2.33, multiply all of them by a small integer (2, 3, etc.) to clear the fraction. That whole-number ratio is the empirical formula. This guide walks through the exact arithmetic, the rounding rules, and the traps that cause wrong answers.
What You'll Need
- The percent composition by mass of each element in the compound (they should sum to 100%; if not, one is missing or there is a typo).
- A periodic table with molar masses to at least two decimal places.
- A calculator and something to write on.
- Optional: the compound's molar mass if you also need the molecular formula (the empirical formula is the first step).
Step-by-Step
- Check that the percentages add to 100. Add them up. If they total 99.5 or 100.2, that is normal rounding and fine. If they total 85, you are missing an element (often oxygen) or one value is wrong. Do not proceed until the sum is essentially 100.
- Assume a 100 g sample and turn each percent into grams. This is the key trick: percent means "per 100," so 40.0% carbon becomes 40.0 g carbon, 6.7% hydrogen becomes 6.7 g hydrogen, and 53.3% oxygen becomes 53.3 g oxygen. The numbers are identical; only the unit changes.
- Convert grams to moles for each element. Divide each mass by that element's molar mass from the periodic table. Use at least two decimal places (C = 12.01, H = 1.008, O = 16.00, N = 14.01, Na = 22.99, Cl = 35.45, S = 32.06). For the example: 40.0 ÷ 12.01 = 3.33 mol C; 6.7 ÷ 1.008 = 6.65 mol H; 53.3 ÷ 16.00 = 3.33 mol O. Keep two or three decimal places at this stage; do not round to whole numbers yet.
- Divide every mole value by the smallest mole value. This normalizes the ratio so the smallest element becomes 1. In the example the smallest is 3.33: C = 3.33 ÷ 3.33 = 1.00; H = 6.65 ÷ 3.33 = 2.00; O = 3.33 ÷ 3.33 = 1.00.
- Round to whole numbers only if the result is very close. Values within about 0.05 of a whole number can be rounded (1.02 becomes 1, 2.98 becomes 3). If you get 1.5, 2.33, 1.25 or 1.67, do not round — go to the next step.
- Clear fractions by multiplying all ratios by a small integer. Use the denominator of the fraction: 1.5 = 3/2, so multiply everything by 2; 2.33 ≈ 7/3, multiply by 3; 1.25 = 5/4, multiply by 4; 1.67 ≈ 5/3, multiply by 3. Apply the same multiplier to every element, then round to whole numbers.
- Write the empirical formula with those whole numbers as subscripts. From the example, C:H:O = 1:2:1, so the empirical formula is CH₂O. Order the elements in a conventional way (metals first, then nonmetals, often C then H then the rest) and omit the subscript 1.
- Sanity-check by reversing the calculation. Compute the percent composition of your formula and compare it to the original numbers. For CH₂O: molar mass = 12.01 + 2(1.008) + 16.00 = 30.03 g/mol; C = 12.01/30.03 = 40.0%, H = 2.016/30.03 = 6.7%, O = 16.00/30.03 = 53.3%. A match confirms the answer.
Common Mistakes
- Rounding moles too early. Rounding 3.33 to 3 before dividing throws off the ratio; keep decimals until after the division step.
- Forgetting to divide by the smallest value. The raw mole numbers (3.33, 6.65, 3.33) are not the formula; they must be normalized.
- Rounding a fraction like 1.5 to 2. That changes the compound. Multiply by 2 instead to get 3.
- Assuming percentages are by mass when they are by volume or mole. This method works only for mass percent. If the problem gives mole percent, skip the gram-to-mole conversion and use the percentages directly as mole ratios.
- Using the wrong molar mass (for example, diatomic gases like O₂ or H₂ instead of the element). Use the atomic mass of the element, not the molecule.
- Dropping an element that is "balance." If percentages do not sum to 100, the missing mass is usually oxygen; add it before converting.
- Confusing empirical and molecular formulas. The empirical formula is the simplest ratio; the molecular formula is a whole-number multiple of it and requires the compound's molar mass.
Tips
- Work in a table with columns for element, percent, mass (g), molar mass, moles, and ratio. It keeps the arithmetic organized and makes errors obvious.
- Carry at least three significant figures through the mole step; final subscripts are whole numbers, so precision matters more in the middle than at the end.
- Recognize common fractions: 0.5 = 1/2, 0.33 = 1/3, 0.67 = 2/3, 0.25 = 1/4, 0.75 = 3/4, 0.2 = 1/5. Multiply by the denominator.
- If two ratios are close to whole numbers and one is not, recheck the odd one — it is usually a molar mass or arithmetic slip.
- For hydrates, the water percentage is treated as its own "element" using the molar mass of H₂O (18.02 g/mol), and the water appears after a dot in the formula.
Troubleshooting
- Ratios are not close to any whole number or simple fraction. Recheck each molar mass and each division. A single transposed digit is the usual cause. If the numbers are still messy, the original percentages may be experimental and slightly off; use the closest simple ratio and note the uncertainty.
- One ratio is 1.00 and another is 1.98. That is fine — 1.98 rounds to 2. If it were 1.85, you would multiply by 2 to get 3.7, which still is not whole; that signals an arithmetic error rather than a rounding issue.
- Percentages sum to more than 100. One value is wrong or duplicated. Re-add and check the source data.
- You get a formula that seems impossible (e.g., C₁.₅H₃). You stopped before clearing the fraction. Multiply by 2 to get C₃H₆.
- The empirical formula matches but the molecular formula is requested. Divide the given molar mass by the empirical formula mass; the result is the multiplier. For CH₂O (30.03 g/mol) with a molar mass of 60.06, the multiplier is 2, so the molecular formula is C₂H₄O₂.
Frequently Asked Questions
Can I use this method if the percentages are given as decimals?
Yes. A composition of 0.40, 0.067 and 0.533 is the same as 40%, 6.7% and 53.3%. Multiply by 100 first or treat the decimals as grams in a 1 g sample; the ratio is unchanged.
What if the problem gives masses instead of percentages?
Skip the percent-to-gram step and go straight to dividing each mass by its molar mass. The rest of the procedure is identical.
How do I know when to multiply by 2, 3 or 4?
Look at the fractional part. If it is about 0.5, multiply by 2; about 0.33 or 0.67, multiply by 3; about 0.25 or 0.75, multiply by 4; about 0.2, 0.4, 0.6 or 0.8, multiply by 5. Choose the smallest multiplier that makes every ratio a whole number.
Why is the empirical formula not always the actual formula?
The empirical formula shows only the simplest ratio. Many compounds share the same ratio — CH₂O is the empirical formula for formaldehyde (CH₂O), acetic acid (C₂H₄O₂) and glucose (C₆H₁₂O₆). The molar mass distinguishes them.
Does the order of elements in the formula matter?
For correctness, no — CH₂O and OH₂C represent the same ratio. By convention, metals come first, then carbon, hydrogen, and the remaining elements in alphabetical order, which is why CH₂O is preferred.
What if the percentages include a hydrate's water?
Treat water as a unit with molar mass 18.02 g/mol, calculate its mole ratio like any other component, and write it after a dot, for example CuSO₄·5H₂O. The dot separates the salt from the water of crystallization.