How to Calculate Empirical Formula Step by Step
By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.
Calculating empirical formula becomes manageable when you follow one sequence: convert each element to moles, divide by the smallest mole amount, and turn the resulting ratio into whole numbers. The empirical formula shows the simplest whole-number ratio of atoms in a compound.
From masses to moles to a ratio
Suppose a compound contains 12 grams of carbon and 32 grams of oxygen. First convert each mass to moles using amount in moles equals mass divided by molar mass. Carbon has a molar mass of about 12 grams per mole, so 12 grams is about 1 mole. Oxygen atoms have a molar mass of about 16 grams per mole, so 32 grams is about 2 moles.
Now compare the mole amounts. The ratio is 1 mole of carbon to 2 moles of oxygen. Because these are already simple whole numbers, the empirical formula is CO2. The small 2 belongs to oxygen because the simplest atomic ratio is one carbon atom for every two oxygen atoms.
This is the basic method for calculating empirical formula. Masses cannot be compared directly because different elements have different atomic masses. Converting to moles puts the elements on a particle-counting basis.
Percent composition uses the same method
If a question gives percentages instead of masses, imagine a 100 gram sample. A compound that is 40 percent carbon and 60 percent oxygen can be treated as 40 grams of carbon and 60 grams of oxygen. Convert each imagined mass to moles, then continue with the same ratio steps.
Using a 100 gram sample works because percentage literally means parts per hundred. You are not claiming the real sample weighs 100 grams. You are choosing a convenient amount that turns percentages into easy mass values without changing the element ratio.
When calculating empirical formula, write units on every conversion. Grams should disappear when you divide by grams per mole, leaving moles. This small habit makes it easier to notice if you have accidentally used atomic numbers, percentages, or raw masses in the final ratio.
Fix ratios that are close to simple fractions
After dividing all mole amounts by the smallest, you may get values such as 1, 1.5, and 1. A formula cannot use a 1.5 subscript, so multiply every ratio by the same small whole number. Multiplying by 2 turns the ratio into 2, 3, and 2. Values near 1.33 or 1.67 often suggest multiplying by 3, while values near 1.25 or 1.75 can suggest multiplying by 4.
Do not round too aggressively. A ratio of 1.98 is probably intended to be 2 after allowing for measurement and rounding, but 1.50 is not close enough to 1 or 2. It signals a simple fraction that needs scaling. Keep a few decimal places during the mole calculations before deciding.
One final check helps with calculating empirical formula: the subscripts should share no common factor larger than 1. If you end with C2H4, the ratio can still be simplified to CH2, so C2H4 would not be the empirical formula. A molecular formula may be a multiple of the empirical formula, but the empirical formula itself must be the simplest ratio.
The takeaway
Calculating empirical formula is a ratio problem built on moles. Convert every element to moles, divide all values by the smallest amount, adjust simple fractional ratios to whole numbers, and simplify if needed. Slow, tidy working is usually more reliable than trying to guess the subscripts from percentages or masses.