molecalculator

Reactions & Stoichiometry

Empirical Formula Equation: Calculate the Simplest Ratio

Calculator No. 05-0272 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The empirical formula equation converts each element’s amount in a compound into the smallest whole-number ratio of its atoms. Enter the mass or percentage of each element to find that ratio and the resulting empirical formula; the formula does not necessarily show the molecule’s actual number of atoms.

Formula

For each element, calculate its amount in moles, then divide by the smallest mole amount:

mole ratio of element X = (mass of X ÷ atomic molar mass of X) ÷ smallest calculated mole amount

  • mass of X is the element’s mass in grams (g), or a proportional mass based on its percentage.
  • atomic molar mass of X is its atomic weight in grams per mole (g/mol).
  • The smallest calculated mole amount is the lowest of the element amounts, in moles (mol).

The calculator’s inputs are carbon, hydrogen and oxygen masses. It uses C = 12.011, H = 1.008 and O = 15.999 g/mol, respectively. Its three outputs are each element’s mole amount divided by the smallest of those amounts. The outputs are dimensionless ratios in chemical terms, although the calculator labels the numbers mol for its output format. To write a formula, interpret the ratios as subscripts and reduce them to the smallest whole numbers.

Worked Example

For the default masses—12.011 g carbon, 2.016 g hydrogen and 15.999 g oxygen—first convert each mass to moles:

  • Carbon: 12.011 g ÷ 12.011 g/mol = 1.0000 mol
  • Hydrogen: 2.016 g ÷ 1.008 g/mol = 2.0000 mol
  • Oxygen: 15.999 g ÷ 15.999 g/mol = 1.0000 mol

The smallest amount is 1.0000 mol. Dividing each amount by it gives C = 1, H = 2, O = 1. The empirical formula is therefore CH2O. The ratio outputs are 1.0000, 2.0000 and 1.0000.

Assumptions

  • Input values are masses of the elements in one sample or proportional masses representing the compound’s composition.
  • The calculation uses the stated abridged standard atomic weights and assumes the composition data are accurate.
  • This three-input calculator applies only to compounds represented using carbon, hydrogen and oxygen. For a different set of elements, use the same method with the appropriate atomic weights.

How the Empirical Formula Equation Works

An empirical formula states the simplest whole-number ratio of atoms, not the compound’s molecular size. For example, glucose has molecular formula C6H12O6, but its empirical formula is CH2O because all three subscripts can be divided by 6. A molecular formula is an integer multiple of the empirical formula.

The calculation works because atomic masses let you compare unlike elements on an atom-count basis. A gram of hydrogen contains many more atoms than a gram of oxygen because hydrogen atoms have much less mass. Converting each element’s mass to moles corrects for that difference: one mole of an element corresponds to the same number of atoms, regardless of the element.

If the information is given as percentages, the arithmetic can use a convenient 100 g sample. For instance, 40.0% carbon corresponds to 40.0 g carbon in a hypothetical 100 g sample. The percentages need not represent a physically collected 100 g sample; the assumed sample simply turns percentages into proportional masses. If only the proportions matter, any common mass scale gives the same ratio.

Steps for Finding an Empirical Formula

  1. List every element and its measured mass or percentage. Do not omit an element that is part of the compound.
  2. Convert percentages to masses using a 100 g assumed sample, or use the supplied masses directly.
  3. Divide each element’s mass by its atomic molar mass to find moles.
  4. Divide every mole amount by the smallest amount. Keep several digits during this step.
  5. Convert the resulting ratios to the smallest whole-number subscripts. Multiply all ratios by the same integer if needed.
  6. Check that the final subscripts preserve the calculated ratio and that the elements are written with conventional symbols.

Ratios that are already close to whole numbers can generally be rounded. For example, 1.00:2.01:1.00 is consistent with 1:2:1 when the experimental precision supports that interpretation. Rounding should reflect the uncertainty of the original measurements, not merely make the numbers look tidy.

Fractional Ratios and Common Errors

Sometimes the mole ratios are not close to integers. A ratio such as 1:1.5:1 can be multiplied throughout by 2 to give 2:3:2. A ratio near 1:1.33:1 may suggest multiplying by 3, producing approximately 3:4:3. Common useful fractions include 0.5, 0.33, 0.25 and 0.2, which can be cleared by multiplying all ratios by 2, 3, 4 or 5, respectively.

Do not round each mole amount to a whole number before dividing by the smallest. That can distort the ratio, especially when values are close. Also check that every mass uses the same unit; mixing grams and milligrams changes the calculated proportion. Atomic molar masses must be in g/mol when masses are in grams.

Ratios far from simple fractions may indicate measurement error, an incorrect assumption about which elements are present, a sample that is not pure, or a compound whose composition does not match the data. Empirical formula work is only as reliable as the composition measurements. The calculator also cannot decide whether a value such as 1.49 should be treated as 1.5: that decision depends on measurement precision and chemical context.

Empirical Formula Versus Molecular Formula

The empirical formula gives the simplest ratio; the molecular formula gives the actual atom count in a molecule. Finding the latter requires additional information, usually the compound’s molar mass. Divide the molecular molar mass by the empirical-formula molar mass to obtain the multiplier, which should be a positive whole number within experimental uncertainty. Multiply every empirical subscript by that number.

For example, CH2O has an empirical-formula molar mass of about 30.026 g/mol. If an independently measured molecular molar mass is about 180.16 g/mol, the ratio is about 6, so the molecular formula is C6H12O6. Empirical composition alone cannot distinguish these formulas; the extra molar-mass information is essential.

Frequently Asked Questions

What is the equation for an empirical formula?
Divide each element’s mass by its atomic molar mass to get moles, then divide every mole amount by the smallest one. Convert the resulting ratios to the smallest whole numbers.

How do you find an empirical formula from percentages?
Assume a 100 g sample so each percentage becomes the same number of grams. Convert those masses to moles, divide by the smallest mole value, and simplify the ratios to whole numbers.

Can empirical formula subscripts be fractions?
The final empirical formula uses whole-number subscripts. Intermediate ratios can be fractional; multiply every ratio by a common integer to remove the fraction while preserving the proportions.

Is an empirical formula the same as a molecular formula?
No. The empirical formula is the simplest atom ratio, while the molecular formula gives the actual numbers of atoms in a molecule. A molecular formula is a whole-number multiple of its empirical formula.

What if my mole ratio is not close to a simple fraction?
Keep extra digits and consider measurement uncertainty before rounding. If the ratios remain inconsistent with simple whole-number proportions, verify the measurements, units and assumed elements rather than forcing a formula.

Related

Formula used
in c | Carbon mass | g | 12.011 | 0
in h | Hydrogen mass | g | 2.016 | 0
in o | Oxygen mass | g | 15.999 | 0
out c1 | Carbon mole ratio | mol | c / 12.011 / min(c / 12.011, h / 1.008, o / 15.999) | 4
out h1 | Hydrogen mole ratio | mol | h / 1.008 / min(c / 12.011, h / 1.008, o / 15.999) | 4
out o1 | Oxygen mole ratio | mol | o / 15.999 / min(c / 12.011, h / 1.008, o / 15.999) | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Reactions & Stoichiometry section →