From grams of reactant to grams of product

A balanced equation links moles of one substance to moles of another, but the lab works in grams. Converting between them takes three steps: grams to moles, moles of reactant to moles of product by the coefficient ratio, and moles of product back to grams. This page runs all three in one calculation. You enter the reactant mass and molar mass, the two coefficients and the product molar mass, and it returns the theoretical mass of product. The answer is the ceiling for a synthesis, and it is the number against which an isolated mass is compared when you calculate percent yield. It also lets you decide how much starting material to weigh out, by running the calculation backward from the mass of product you want.

Reactant mass to product mass through coefficients

The calculation is product mass = reactant mass / reactant molar mass × product coefficient / reactant coefficient × product molar mass. The default entry uses 20 g of a reactant with molar mass 10 g/mol and coefficient 2, and a product with molar mass 30 g/mol and coefficient 1. The reactant amount is 20 / 10 = 2 mol. The coefficient ratio is 1 / 2, so 1 mol of product forms, and 1 mol × 30 g/mol = 30 g. The defaults use round numbers to show the steps. Replace them with the actual molar masses of the compounds in your reaction. The reactant coefficient of 2 in the defaults means two moles of reactant are consumed for each mole of product, so the product mass is only half of what the reactant moles alone would suggest.

Aspirin from salicylic acid

In the synthesis of aspirin, salicylic acid reacts with acetic anhydride in a one-to-one ratio with the product. Salicylic acid has a molar mass of about 138.12 g/mol and aspirin about 180.16 g/mol. For 2.00 g of salicylic acid, with both coefficients set to 1, the page returns 2.00 / 138.12 × 180.16, about 2.609 g. The acetic anhydride is added in excess, so salicylic acid is the limiting reactant, which is the assumption the page requires. In practice the excess reagent is chosen to push the reaction toward completion and to make the cheaper material take the leftover role. A teaching-lab write-up would then compare an isolated mass with 2.609 g to get the percent yield.

Water from hydrogen

For 2 H2 + O2 → 2 H2O, start from 4.00 g of hydrogen gas, molar mass about 2.016 g/mol, and assume oxygen is in excess. The reactant coefficient is 2 and the product coefficient is 2, so the ratio is 1. The moles of hydrogen are 4.00 / 2.016, about 1.984 mol. The same number of moles of water forms, and with a molar mass of about 18.015 g/mol the theoretical mass is about 35.74 g. The product is much heavier than the hydrogen because the oxygen that combines with it adds mass. Reversing the question shows the same relation: to make 36 g of water, you need about 4 g of hydrogen and 32 g of oxygen. Mass is conserved overall, so the extra mass comes from the oxygen.

Decomposition of calcium carbonate

Heating calcium carbonate produces calcium oxide and carbon dioxide in a one-to-one-to-one ratio. With 50.0 g of calcium carbonate at about 100.09 g/mol, and carbon dioxide at about 44.01 g/mol as the product of interest, the theoretical mass of carbon dioxide is 50.0 / 100.09 × 44.01, about 21.99 g. The remaining solid, calcium oxide, accounts for the rest of the mass, about 28.01 g. A quick check is that the two product masses add up to the 50.0 g of reactant, within rounding. That check works for any single-reactant decomposition and catches arithmetic slips. It does not work when a gas escapes from the apparatus, since the gas mass then leaves the flask even though it is a product.

Choosing the limiting reactant

The page assumes the reactant you enter is limiting. If you pick a reactant that is actually in excess, the answer will be too high. When a reaction uses two or more starting materials in known amounts, find the limiting one first. Convert each reactant to moles, divide by its coefficient, and take the smallest result. The limiting reagent calculator on this site does that comparison. Then enter the mass and molar mass of that limiting reactant here. If a reagent is described as being in excess, it is usually safe to treat the other one as limiting. Be careful with a reaction run in solution, where a reagent called excess may only be present in slight excess and the margin matters.

Molar masses and coefficients

The molar mass must match the formula as written in the equation. For a diatomic gas, such as H2, O2 or N2, use the mass of the molecule, not of the atom. For hydrates, include the water. Use at least four significant figures for the atomic masses, and use the same atomic mass table throughout. The coefficients come from a balanced equation and only their ratio matters. A reaction written as 2 A → 4 B and one written as A → 2 B give the same answer. An unbalanced equation gives a ratio that is wrong, and the page cannot detect that. As a check, count each element on both sides before you read off the coefficients.

Purity and what a real run produces

Theoretical yield assumes a pure reactant that converts completely. If the starting solid is 95 percent pure, use 95 percent of the weighed mass as the reactant mass. Real reactions lose material to side reactions, incomplete conversion and handling, and isolated products often hold residual solvent. The ratio of the isolated mass to the theoretical mass is the percent yield. It is therefore normal for it to be below 100 percent. The theoretical value is not a prediction of what a particular flask will give. It is the limit that the stoichiometry sets.

Assumptions behind a theoretical yield

The page assumes the entered reactant is limiting, the balanced equation is correct and conversion is complete. It checks none of this. It also does not account for purity, equilibrium, side reactions or the physical state of the product. The method follows the reaction-stoichiometry section of OpenStax Chemistry 2e. Whether a reaction is safe to run at a given scale is a separate question, and the calculator performs no hazard assessment.