Empirical Formula Explained: How to Find It Step by Step
By ToolNimba Editorial Team June 20, 2026 8 min read
Quick answer
An empirical formula is the simplest whole-number ratio of atoms in a compound. To find it, convert each element's mass percent to moles, then divide every mole value by the smallest one. The resulting ratio gives the subscripts. For example, a compound that is 40 percent carbon, 6.7 percent hydrogen, and 53.3 percent oxygen works out to CH2O.
Chemistry is full of formulas like H2O, CO2, and C6H12O6, but where do those subscripts come from? The empirical formula is the starting point. It captures the ratio of atoms in a compound using the smallest whole numbers possible. Once you can find an empirical formula from experimental data, you have unlocked one of the core skills of stoichiometry, and you are well on your way to identifying unknown substances in the lab.
What is an empirical formula?
An empirical formula is the simplest whole-number ratio of atoms of each element in a compound. The word empirical means based on observation or experiment, which is fitting because this formula is usually worked out from measured data such as mass percent composition. It does not necessarily tell you how many atoms are in one actual molecule. It only tells you the proportion in which the elements combine.
Take glucose, whose molecular formula is C6H12O6. Divide every subscript by 6 and you get CH2O, the empirical formula. That ratio of one carbon to two hydrogen to one oxygen is the simplest way to express the composition. Several different compounds, including formaldehyde and acetic acid, can share the empirical formula CH2O even though their full molecules are quite different.
Empirical formula vs molecular formula
People often confuse these two, so it helps to see them side by side. The molecular formula is always a whole-number multiple of the empirical formula. Sometimes that multiple is 1, which means the two formulas are identical, as with water (H2O) or carbon dioxide (CO2).
Empirical formula compared with molecular formula for common compounds
| Compound | Empirical formula | Molecular formula | Multiplier |
|---|---|---|---|
| Water | H2O | H2O | 1 |
| Carbon dioxide | CO2 | CO2 | 1 |
| Glucose | CH2O | C6H12O6 | 6 |
| Benzene | CH | C6H6 | 6 |
| Hydrogen peroxide | HO | H2O2 | 2 |
| Acetic acid | CH2O | C2H4O2 | 2 |
The key takeaway is that the empirical formula gives the ratio, while the molecular formula gives the actual count of atoms in one molecule. To get from one to the other you need extra information, namely the molar mass of the compound. If this kind of ratio reasoning interests you, the same skill of comparing values shows up in our guide on how to calculate percentage.
How to find an empirical formula step by step
Most empirical formula problems start with the mass percent of each element. The strategy is simple to remember: percent to mass, mass to moles, then divide by the smallest. Here is the full method.
- Assume you have exactly 100 grams of the compound. This turns every mass percent directly into grams, so 40 percent carbon becomes 40 grams of carbon.
- Convert the grams of each element to moles by dividing by that element's atomic mass (from the periodic table).
- Find the smallest of the mole values you just calculated.
- Divide every mole value by that smallest number. This sets the smallest element to 1 and scales the rest relative to it.
- If the results are all close to whole numbers, round them. Those whole numbers are your subscripts.
- If a result lands near a clean fraction such as 1.5 or 1.33, multiply every value by a small integer (2 or 3) to clear the fraction into whole numbers.
A fully worked example
Suppose a compound is found to be 40.0 percent carbon, 6.7 percent hydrogen, and 53.3 percent oxygen by mass. Let us find its empirical formula.
- Assume 100 grams: that gives 40.0 g carbon, 6.7 g hydrogen, and 53.3 g oxygen.
- Carbon moles: 40.0 divided by 12.01 equals about 3.33 mol.
- Hydrogen moles: 6.7 divided by 1.008 equals about 6.65 mol.
- Oxygen moles: 53.3 divided by 16.00 equals about 3.33 mol.
- Smallest value is 3.33. Divide each by 3.33: carbon equals 1, hydrogen equals 2, oxygen equals 1.
- The ratio is 1 to 2 to 1, so the empirical formula is CH2O.
Notice that hydrogen came out to 6.65 divided by 3.33, which is very close to 2, so we rounded confidently. This same compound could be glucose, formaldehyde, or several others, because the empirical formula alone cannot distinguish them.
Going from empirical to molecular formula
When you also know the molar mass of the compound, you can find the molecular formula in two short steps. First, calculate the mass of one empirical formula unit. For CH2O that is about 12.01 plus 2.016 plus 16.00, which equals roughly 30.03 grams per mole.
- Divide the actual molar mass by the empirical formula mass to get a whole number, call it n.
- Multiply every subscript in the empirical formula by n to get the molecular formula.
- Example: if the molar mass is about 180 grams per mole, then 180 divided by 30 equals 6, so the molecule is C6H12O6, glucose.
This is the same proportional thinking used across science. If you enjoy these formula breakdowns, you may also like our explainers on percent yield and percent error, both of which lean on careful unit tracking. You can also double-check any ratio work quickly with a percentage calculator.
Empirical formulas from combustion analysis
Mass percent does not appear out of thin air. One of the most common ways chemists measure it is combustion analysis. A sample of an unknown compound containing carbon and hydrogen is burned completely in oxygen. All of the carbon is captured as carbon dioxide and all of the hydrogen is captured as water, and both products are weighed.
From the mass of carbon dioxide you back-calculate the grams of carbon, and from the mass of water you back-calculate the grams of hydrogen. If the original sample weighed more than the carbon and hydrogen combined, the leftover mass is usually oxygen, which is found by difference rather than measured directly. Once you have grams of each element, you are right back to the standard recipe: convert to moles and divide by the smallest. This is why the method in this guide is so widely applicable. It is the final step of almost every real composition experiment.
Atomic masses you will use most often when finding empirical formulas
| Element | Symbol | Atomic mass (g/mol) |
|---|---|---|
| Hydrogen | H | 1.008 |
| Carbon | C | 12.01 |
| Nitrogen | N | 14.01 |
| Oxygen | O | 16.00 |
| Sodium | Na | 22.99 |
| Chlorine | Cl | 35.45 |
Keep these atomic masses handy and you can work through most introductory problems without reaching for a periodic table every time. Always divide grams by the atomic mass in grams per mole, never by the atomic number, which is a different quantity entirely.
Turning decimals into whole numbers
The step that trips up most students is the very last one: what to do when dividing by the smallest mole value does not give clean whole numbers. The rule is that small repeating decimals correspond to simple fractions, and each fraction has a known multiplier that clears it. Round only when a value is within about 0.1 of a whole number. If it is not, find the fraction it is hiding and multiply every subscript by the same factor so the ratio stays intact.
What to multiply by when an empirical formula ratio is not a whole number
| Decimal you see | Hidden fraction | Multiply all values by | Example result |
|---|---|---|---|
| 0.5 | 1/2 | 2 | 2.5 becomes 5 |
| 0.33 or 0.67 | 1/3 or 2/3 | 3 | 1.33 becomes 4 |
| 0.25 or 0.75 | 1/4 or 3/4 | 4 | 1.25 becomes 5 |
| 0.2, 0.4, 0.6, 0.8 | fifths | 5 | 1.4 becomes 7 |
| 0.166 or 0.833 | 1/6 or 5/6 | 6 | 1.166 becomes 7 |
Notice that you always multiply every subscript, not just the awkward one. Scaling the whole ratio by the same integer keeps the proportion identical while pushing each number to a whole value. If you would like to confirm a tricky division on the fly, our percentage calculator handles the arithmetic so you can focus on the chemistry.
Empirical formula of a hydrate
A hydrate is an ionic compound that traps a fixed number of water molecules in its crystal structure, written with a dot such as CuSO4 and 5H2O. Finding the empirical formula of a hydrate is one of the most common laboratory versions of this calculation, because you can drive off the water by heating and weigh the difference directly. The goal is to find the whole-number ratio of water molecules to formula units of the dry salt.
Suppose 2.50 grams of a copper sulfate hydrate is heated to constant mass and leaves 1.60 grams of dry CuSO4. Here is how to find the number of waters of crystallization.
- Find the mass of water lost: 2.50 grams minus 1.60 grams equals 0.90 grams of water.
- Convert the dry salt to moles: 1.60 grams divided by 159.6 grams per mole equals about 0.0100 mol CuSO4.
- Convert the water to moles: 0.90 grams divided by 18.02 grams per mole equals about 0.0500 mol H2O.
- Divide both by the smaller value, 0.0100: the salt is 1 and the water is 5.
- The ratio of salt to water is 1 to 5, so the formula is CuSO4 and 5H2O, the well-known blue vitriol.
The logic is identical to a mass-percent problem. You convert measured masses to moles and divide by the smallest, the only twist being that one of your units is a whole water molecule rather than a single element. Careful weighing matters here, which is the same attention to measured quantities that drives our guide on percent error.
Common mistakes to avoid
- Dividing by atomic number instead of atomic mass. Always use the atomic mass in grams per mole, not the element's position number, when converting grams to moles.
- Rounding too early. Carry a few decimal places through the calculation. Rounding 3.33 to 3 before dividing throws the whole ratio off.
- Forcing whole numbers incorrectly. A value of 1.5 is not 2. Multiply everything by 2 instead. A value of 1.33 means multiply by 3.
- Forgetting an element. If the percentages do not add up to 100, the missing amount is usually oxygen. Subtract the others from 100 to find it.
- Confusing the two formulas. The empirical formula is the simplest ratio. You need the molar mass to scale up to the molecular formula.
Good to know
Empirical formulas matter beyond textbook problems. They are how chemists characterize newly synthesized substances, how ionic compounds like NaCl are written (ionic formulas are always empirical), and how combustion analysis data gets turned into a usable formula. Whenever you measure what something is made of rather than count individual molecules, the empirical formula is the natural way to report the result.
Frequently asked questions
What is an empirical formula in simple terms?
It is the simplest whole-number ratio of atoms in a compound. Rather than counting every atom in a molecule, it shows the proportion in which the elements combine. For example, glucose has the empirical formula CH2O, meaning one carbon to two hydrogen to one oxygen.
How do you find an empirical formula from mass percent?
Assume 100 grams so each percent becomes grams. Convert each element's grams to moles by dividing by its atomic mass. Then divide every mole value by the smallest one. The resulting whole numbers are the subscripts in the empirical formula.
What is the difference between empirical and molecular formula?
The empirical formula gives the simplest atom ratio, while the molecular formula gives the actual number of atoms in one molecule. The molecular formula is always a whole-number multiple of the empirical formula. For glucose the empirical formula is CH2O and the molecular formula is C6H12O6.
Why do you divide by the smallest number of moles?
Dividing every mole value by the smallest one sets that element to 1 and expresses all the others relative to it. This produces the simplest possible ratio, which is exactly what an empirical formula represents. If results are not whole numbers, multiply through by a small integer.
Can two compounds have the same empirical formula?
Yes. Formaldehyde, acetic acid, and glucose all share the empirical formula CH2O even though their molecules differ greatly. The empirical formula only shows the ratio of atoms, so you need the molar mass to distinguish the actual molecular formulas.
Is the empirical formula always the same as the molecular formula?
Not always. They match only when the molecular formula is already in its simplest ratio, as with water (H2O) or carbon dioxide (CO2). For compounds like benzene, the empirical formula CH differs from the molecular formula C6H6 by a multiplier of 6.
What do you do if the mole ratio is not a whole number?
Multiply every value by a small integer that clears the fraction. A decimal near 0.5 means multiply by 2, near 0.33 or 0.67 means multiply by 3, and near 0.25 or 0.75 means multiply by 4. Always scale every subscript by the same factor so the ratio stays correct, then round.
How do you find the empirical formula of a hydrate?
Heat the hydrate to constant mass to drive off the water, then weigh both the water lost and the dry salt. Convert each mass to moles and divide by the smaller value. The result is the whole-number ratio of water molecules to salt, such as the 5 in CuSO4 and 5H2O.
Can you find an empirical formula from masses instead of percentages?
Yes. If you already know the grams of each element, skip the 100 gram assumption and convert those masses straight to moles by dividing by each atomic mass. Then divide every mole value by the smallest, exactly as you would with percentages. The method is identical from that point on.