Empirical Formula
calculator.
Turn percent composition or element masses into the simplest whole-number formula.
| # | Element | Amount |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
- Empirical formula mass
- 30.026 g/mol
- Ratios multiplied by
- 1
- Elements
- 3
The ratios sit within 0.0011 of whole numbers, and the formula's mass percents are within 0.011 points of yours.
How close each ratio lands
Each bar is a measured ratio after scaling, and the tick is the whole number in the formula. C 1 to 1, H 1.999 to 2, O 1 to 1.
From moles to subscripts
| Element | Amount (mol) | Ratio | Fraction | Subscript |
|---|---|---|---|---|
| CAmount (mol) 3.3303 | 3.3303 | 1 | 1 | 1 |
| HAmount (mol) 6.6567 | 6.6567 | 1.999 | 2 | 2 |
| OAmount (mol) 3.3315 | 3.3315 | 1 | 1 | 1 |
Working
- 1Assume 100 g, so percent = grams, then divide by atomic weightC:40 g12.011 g/mol= 3.3303 molH:6.71 g1.008 g/mol= 6.6567 molO:53.3 g15.999 g/mol= 3.3315 mol
- 2Divide each by the smallestC:3.33033.3303= 1H:6.65673.3303= 1.999O:3.33153.3303= 1
- 3These round to whole numbersC: 1, so 1H: 1.999, so 2O: 1, so 1
- 4Check: the mass percents of CH₂O against yoursC: 40.00% in the formula, 40.00% enteredH: 6.71% in the formula, 6.71% enteredO: 53.28% in the formula, 53.29% entered
From combustion data
Burned a compound of C, H and maybe O? Enter the masses in one unit. Carbon comes from the CO₂, hydrogen from the water, and oxygen from what is left of the sample.
How it's worked out
An empirical formula gives the smallest whole-number ratio of atoms in a compound. Lab analysis reports mass, so the job is to turn masses into moles and then into that ratio. OpenStax lays out the same four steps used here.
- Treat percents as grams. Assume a 100 g sample, so 40.0% carbon becomes 40.0 g. The sample size cancels out, so any mass would give the same ratio.
- Divide each mass by its atomic weight. This gives moles, using the IUPAC standard atomic weights.
- Divide every mole amount by the smallest one. The smallest becomes 1 and the rest become ratios.
- Clear any fractions. If a ratio sits near 1.5, 1.33 or 1.25, multiply all of them by 2, 3 or 4 so every one is whole.
The tool tries multipliers from 1 to 8 and takes the first that brings every ratio within 0.12 of a whole number. It then reports how close each one came, and works out the mass percents of the formula it found so you can compare them with your data.
Molecular formula. If you know the molar mass, divide it by the empirical formula mass. The result, , is how many empirical units are in one molecule, and every subscript is multiplied by it.
Combustion data. Burning a compound of carbon, hydrogen and oxygen turns its carbon into CO₂ and its hydrogen into water. Carbon is 27.29% of the mass of CO₂, and hydrogen is 11.19% of the mass of water. Oxygen is what remains of the sample, found by difference.
Worked examples
Sam finds the formula of vitamin C
Sam's sample is 40.92% carbon, 4.58% hydrogen and 54.50% oxygen. In 100 g that is 3.407 mol C, 4.544 mol H, 3.406 mol O. Dividing by the smallest gives 1 : 1.33 : 1.
Hydrogen at 1.33 is one and a third, which is the fraction below. Multiplying all three by 3 gives C₃H₄O₃, with a formula mass of 88.062 g/mol.
The molar mass, 176.12 g/mol, is 2 times that, so and the molecule is C₆H₈O₆. Every ratio landed within 0.0015 of a whole number.
Ana checks a sample of red iron oxide
Ana's analysis gives 69.94% iron and 30.06% oxygen. The mole ratio is 1 to 1.5. Rounding 1.5 down to 1 would give FeO, a different compound. Doubling both gives Fe₂O₃, which is iron(III) oxide.
Leo works back from a combustion run
Leo burns 0.255 g of a liquid made of C, H and O, and collects 0.561 g of CO₂ and 0.306 g of water. That holds 0.1531 g of carbon and 0.03424 g of hydrogen. The other 0.06765 g of the sample is oxygen.
Those masses give the ratio 3.01 : 8.03 : 1, so the formula is C₃H₈O. Its mass percents are within 0.094 points of Leo's, and the formula fits isopropyl alcohol.
Reading your result
A small miss is normal. Measured percents carry error, so a ratio of 3.01 still means 3. A miss of 0.1 or more on one element, with no multiplier that clears it, points to a data problem, such as a missing element.
The fraction tells you the multiplier. A ratio ending near .5 needs 2, near .33 or .67 needs 3, near .25 or .75 needs 4, and near .2, .4, .6 or .8 needs 5. The table shows each ratio as a stacked fraction so you can see which one forced the step.
Many compounds share a formula. Glucose gives CH₂O with , and formaldehyde and acetic acid reduce to the same ratio. The OpenStax nicotine example, 74.02% C, 8.710% H and 17.27% N, gives C₅H₇N, and its molar mass of 162.23 g/mol gives C₁₀H₁₄N₂. Only a molar mass or a structure tells such compounds apart.
Formula order. A formula with carbon is written in Hill order: carbon, then hydrogen, then the rest by symbol. Others keep the order you typed, so NaCl stays NaCl.
Common mistakes
- Rounding 1.5 or 1.33 to the nearest whole number. That gives the wrong compound. Multiply every ratio by the same number instead.
- Leaving out oxygen. Many reports list only C, H and N, and oxygen is the rest. If your percents add to well under 100, enter the gap as oxygen when the compound contains it.
- Rounding too early. Keep at least four figures in the moles and ratios. In the combustion example, cutting 0.01275 mol of carbon to 0.01 turns a ratio of 3 into 2.37.
- Using the molecular formula for n. Divide the molar mass by the empirical formula mass, not by the mass of one atom or of the molecule.