The mole ratio at the core

A balanced chemical equation is a recipe in moles. The coefficient in front of each species tells you how many moles of it take part relative to the others. This page applies that ratio. You enter the amount of the reactant you have in moles, the coefficient of that reactant, and the coefficient of the product you want. It multiplies the reactant amount by the product coefficient over the reactant coefficient. The defaults are 2 mol of reactant, a reactant coefficient of 2 and a product coefficient of 3, so the product amount is 2 times 3 divided by 2, or 3 mol. Stoichiometry is a core skill in general chemistry, and almost every quantitative problem reduces to this conversion plus a step before it and a step after it.

Reading coefficients from an equation

Coefficients come from a balanced equation. For the synthesis of ammonia, N2 plus 3 H2 gives 2 NH3. The coefficients are 1, 3 and 2. They compare moles, not grams. Three moles of hydrogen react with one mole of nitrogen to form two moles of ammonia. If you start with 6 mol of hydrogen, enter 6 as the reactant amount, 3 as the reactant coefficient and 2 as the product coefficient. The page returns 6 times 2 divided by 3, which is 4 mol of ammonia. Coefficients of 1 are written as blank in equations, but you must enter 1 in the field. Any fractional coefficient is acceptable if it comes from a correctly balanced form, although most textbook problems use whole numbers.

A combustion example

Burning methane follows CH4 plus 2 O2 gives CO2 plus 2 H2O. Suppose 5 mol of methane burns completely. For carbon dioxide, the reactant coefficient is 1 and the product coefficient is 1, so 5 mol of CO2 forms. For water, the product coefficient is 2, so enter 5, 1 and 2, and the page returns 10 mol of water. Take a larger fuel such as butane, where 2 C4H10 plus 13 O2 gives 8 CO2 plus 10 H2O. If 3 mol of butane burns, the carbon dioxide amount is 3 times 8 divided by 2, which is 12 mol. These values are theoretical amounts that assume a clean, complete combustion. They are chemistry exercises, not combustion design numbers, and the page does not evaluate reaction hazards.

From grams to moles and back

The calculator works in moles, so mass problems need a step on each side. First convert the mass of the reactant to moles by dividing by its molar mass in g/mol. Then apply the mole ratio on this page. Finally, convert the product moles to grams by multiplying by the molar mass of the product. For the ammonia example, 4 mol of NH3 times a molar mass of about 17.03 g/mol gives roughly 68.1 g. Molar masses come from the periodic table, summing the atomic weights of each atom in the formula. Many stoichiometry mistakes are really mistakes in these side steps: using the molar mass of the wrong species, forgetting a subscript, or mixing mass in kilograms with a molar mass in grams per mole.

Limiting reagent

The page converts from one reactant, and it assumes that reactant controls the amount of product. In real problems two or more reactants are supplied, and the one that runs out first, the limiting reagent, sets the maximum product. To find it, run the calculation once for each reactant, producing the same product, and take the smaller answer. Take N2 plus 3 H2 to 2 NH3 with 1.5 mol of nitrogen and 3 mol of hydrogen. From nitrogen, 1.5 times 2 over 1 gives 3 mol of ammonia. From hydrogen, 3 times 2 over 3 gives 2 mol. Hydrogen limits, so the theoretical yield is 2 mol. Run the page twice for this and compare. The other reactant is in excess, and the excess left over equals the starting amount minus what was consumed.

Theoretical yield versus actual yield

The page result is a theoretical yield, which assumes complete conversion of the reactant and no losses. Real reactions often fall short. Side reactions, incomplete reactions, equilibrium limits and product lost in handling reduce the amount you collect. Percent yield compares the two: actual yield divided by theoretical yield, multiplied by 100. If this page reports 3 mol and the lab collects 2.4 mol, the percent yield is 80 percent. The assumptions say that complete conversion is assumed, which matches the textbook definition of theoretical yield. Use the page to establish the ceiling for a reaction, and compare your measured result against it to see how efficient the procedure was.

Gas volumes and other quantities

For gases, coefficients also compare volumes when the gases are at the same temperature and pressure, following Avogadro's law. One mole of an ideal gas occupies about 22.414 liters at 0 degrees Celsius and 1 atm, and about 24.79 liters at 25 degrees Celsius and 1 bar. So 4 mol of ammonia at the first set of conditions would occupy roughly 89.7 liters. The calculator does not convert to volume, since it does not know the conditions, but it gives the mole figure you need for the next step with the ideal gas law. For solutions, molarity times volume in liters gives moles, which you can feed into the page, and the product moles can be turned back into a concentration if the final volume is known.

Coefficients must come from a balanced equation

This calculator does not balance equations and does not identify chemicals. If the equation is unbalanced, the ratio of any two coefficients is meaningless. A quick balance test is to count atoms of each element on both sides. For 2 H2 plus O2 giving 2 H2O, there are four hydrogen atoms and two oxygen atoms on each side. If you enter coefficients from an unbalanced version, such as H2 plus O2 giving H2O, the page will compute a ratio of 1 to 1, and the result will be wrong by a factor of 2 for water relative to oxygen. Positive numbers are required, because a zero or negative coefficient is chemically meaningless here. Use a textbook or a verified source for the balanced equation, then enter the coefficients exactly as written.

Common errors and sanity checks

A few checks catch most mistakes. First, make sure the reactant and product coefficients are swapped correctly: the product coefficient goes on top. Second, if the coefficients are equal, the product moles should equal the reactant moles, so a different answer signals a typo. Third, scale checks help: doubling the starting moles must double the product, and a ratio above 1 means more moles of product than reactant. Fourth, write units next to each number so that moles cancel properly. As a quick drill, enter 0.75 mol of reactant with coefficients 3 and 2, and you should get 0.5 mol. Finally, remember that moles of product do not need to be less than moles of reactant, because the equation conserves atoms and mass, not the count of molecules.

Scope and use

The tool is an educational scalar model for one mole-ratio conversion. It does not balance equations, name or look up compounds, handle several steps in a pathway, consider equilibrium, kinetics or purity, or assess whether a reaction is safe. Reactions can release heat, gases or hazardous products, and decisions about running them belong with qualified chemists, safety data sheets and the rules of your lab. Treat it as a check on a mole ratio you have already worked out, because the page accepts any positive coefficients, balanced or not, and returns a number either way.

Worked example with a limiting oxygen supply

Consider hydrogen burning in oxygen, 2 H2 plus O2 giving 2 H2O. If you start with 3 mol of oxygen and plenty of hydrogen, the theoretical water amount is 3 times 2 divided by 1, which is 6 mol. With the page, enter 3 for the reactant amount, 1 for the reactant coefficient and 2 for the product coefficient. Multiplying 6 mol by the molar mass of water, about 18.015 g/mol, gives roughly 108 g. If instead you only had 1 mol of hydrogen, the same equation would give 1 times 2 divided by 2, or 1 mol of water, and the oxygen needed would be half a mole. The example shows how a single equation yields different answers depending on which species is the starting point, and why you must pick the coefficient of the species you actually measured.

Fractional coefficients and scaling an equation

Some textbooks write a balanced equation with a fractional coefficient to keep a single mole of one species, such as H2 plus one half O2 giving H2O. The mole ratios are the same as in the doubled form, so the page gives identical answers for either form. Using 4 mol of hydrogen, the product from the whole-number form with coefficients 2 and 2 is 4 times 2 divided by 2, equal to 4 mol. From the fractional form with coefficients 1 and 1, it is 4 times 1 divided by 1, also 4 mol. Oxygen consumed is 4 times 0.5 divided by 1, which is 2 mol, matching 4 times 1 divided by 2. Because only the ratio matters, you can multiply every coefficient in an equation by any positive number and obtain the same result, which is a handy way to check your arithmetic.

Using the page in a multi-step synthesis

Real syntheses often have several steps, and the theoretical yield of one step becomes the starting amount for the next. Say step one converts 2 mol of A into B with a ratio of 1 to 2, giving 4 mol of B. Step two converts B into C with a ratio of 3 to 2. Enter 4 mol with coefficients 3 and 2 and the page returns 2.66667 mol of C. The overall yield from A is then 2.66667 divided by 2, about 1.33 mol of C per mol of A, which matches multiplying the two ratios, 2 times 2/3. If each step has a measured percent yield, multiply the theoretical amount by that fraction before passing it on. Keeping the chain in a table with moles at each step makes errors easy to spot.