Skip to content
OneKitly

How to Solve Stoichiometry Problems: Grams to Moles to Ratio to Grams

Published 5/18/2026 · 7 min read · Everyday calculators

Lena Hoffmann

Lena HoffmannScience & education writer at OneKitly

Mathematics · Physics

Checked against 2 sources

View profile
In short

Every stoichiometry problem follows one road map: grams to moles, mole ratio, moles back to grams. Balance the equation first, because its coefficients are the ratio. Divide each given mass by that substance's molar mass to get moles. If two reactants are given, divide each one's moles by its own coefficient — the smallest quotient identifies the limiting reactant, and it alone decides the outcome. Multiply that quotient by the coefficient of the substance you want, then by its molar mass. Worked example: N2 + 3 H2 gives 2 NH3, starting from 50.0 g of nitrogen and 10.0 g of hydrogen. That is 1.785 mol of N2 and 4.960 mol of H2; dividing by the coefficients gives 1.785 and 1.653, so hydrogen limits despite there being five times more nitrogen by mass. Ammonia produced is 2 × 1.653 = 3.307 mol, or 56.3 g theoretical. If the flask actually yields 45.0 g, the percent yield is 79.9 percent and 3.68 g of nitrogen is left unreacted.

Every problem in the chapter is the same four moves. The mole ratio is the hinge, and it is the step students lose — worked here end to end, limiting reactant and percent yield included.

The mole ratio is the whole method

A balanced equation counts particles, not mass. When you write N2 + 3 H2 giving 2 NH3, the 3 means three hydrogen molecules for every nitrogen molecule — it says nothing about grams, because a hydrogen molecule weighs a fourteenth of what a nitrogen molecule weighs. That is why grams cannot be compared directly and why the conversion to moles is not an optional formality: moles are the only currency in which the coefficients are meaningful.

Placing the ratio the right way up is the second half of the same step. The rule is to put the substance you want on top and the substance you have underneath, so that the unit you are leaving cancels. Going from moles of hydrogen to moles of ammonia, the factor is 2 over 3; going the other way it is 3 over 2. If your answer comes out badly wrong by a small whole-number factor, this inversion is almost always the cause.

Limiting reactant: divide by the coefficient, do not just compare moles

The worked example is built to expose the classic error. Nitrogen is present at 50.0 g against only 10.0 g of hydrogen, and it still is not the limiting reactant. In moles the gap looks even wider in hydrogen's favour: 1.785 mol of N2 against 4.960 mol of H2. Anyone who stops at that comparison concludes that nitrogen limits, and gets the wrong answer.

The fix is to compare like with like by dividing each reactant's moles by its own coefficient, which asks how many complete reaction cycles each one could sustain on its own. Nitrogen supports 1.785 cycles, hydrogen only 1.653, so hydrogen runs out first and fixes the yield at 56.3 g of ammonia. Nitrogen consumed is 1.653 mol, or 46.3 g, leaving 3.68 g sitting in the flask unreacted. That leftover is a genuine part of the answer and is often what the second half of the question asks for.

Theoretical, actual and percent yield

Theoretical yield is what the limiting reactant permits if the reaction goes to completion with nothing lost. It comes from the limiting reactant alone; the excess reagent never appears in that calculation, which is exactly why identifying the limiting one first is not a detour. Actual yield is what you weigh at the end, and percent yield is the ratio of the two multiplied by 100 — 45.0 divided by 56.3, or 79.9 percent in the example above.

A percent yield above 100 is not a violation of conservation of mass; it is a message about the sample. The usual cause is residual solvent or water in a product that was weighed before it dried fully, or an impurity carried through from the workup. Treat any figure above 100 as a signal to dry and reweigh rather than as a result to report — and note the reverse case too, since losses on filtration, transfer and recrystallisation routinely put good preparative chemistry in the 60 to 90 percent band without anything having gone wrong.

The road map applied: 50.0 g of nitrogen and 10.0 g of hydrogen in N2 + 3 H2 → 2 NH3
StageN2H2NH3
Molar mass (g/mol)28.0142.01617.031
Mass given (g)50.010.0
Moles (mass ÷ molar mass)1.7854.960
Moles ÷ own coefficient1.785 ÷ 1 = 1.7854.960 ÷ 3 = 1.653 — limiting
Mole ratio applied1.653 consumed, 3.68 g left4.960 consumed, none left2 × 1.653 = 3.307 mol = 56.3 g
Percent yield if 45.0 g is isolated45.0 ÷ 56.3 = 79.9 percent
Stoichiometry CalculatorConvert between grams, moles and liters at STP across a balanced equation using mole ratios.Try the tool

Frequently asked questions

Do I really have to balance the equation first?
Yes, without exception, because the coefficients are the ratio and there is no other source for it. An unbalanced equation still produces a number, which is what makes the omission dangerous: nothing in the arithmetic complains. Writing N2 + H2 giving NH3 and reading the ratio as one to one would put the ammonia yield out by a factor of two, and the answer would look perfectly reasonable.
What if the problem gives me litres of gas instead of grams?
Then the molar volume replaces the molar mass in the first and last steps: divide litres by 22.414 to get moles, and multiply moles by 22.414 to get litres back. Check which convention your course uses, because standard temperature and pressure has two definitions in circulation — the older 0 degrees Celsius at 1 atm gives 22.414 L/mol, while the current IUPAC standard of 0 degrees Celsius at 100 kPa gives 22.711 L/mol. The tool on this site uses 22.414. If the conditions are not standard at all, drop the shortcut and use the ideal gas law directly.
How do I know which reactant is in excess without doing the whole calculation?
You do not, and short cuts here are false economy. The one legitimate shortcut is that you only ever have to divide each reactant's moles by its coefficient — three divisions for three reactants, and the smallest wins. Everything after that concerns the limiting reactant alone, so the work you have done is not wasted: the same quotient that identified the limiter is the number you multiply by the product's coefficient in the next step.

Articles you may find interesting

All guides
ExplainerThe Ideal Gas Law Explained: PV = nRT, R in Every Unit, and Where It BreaksPV = nRT holds when the gas is dilute and far from condensing. The value of R depends entirely on the units you feed it, and the temperature is never in degrees Celsius.How-toHow to Calculate a Dilution with C1V1 = C2V2Solve for the missing term, then convert the answer into a bench instruction. The step almost everyone skips is that the solvent you add is V2 minus V1, not V2.ExplainerHow Half-Life Works: What Is Left After 1, 3 and 10 Half-LivesOne half-life leaves 50%, three leave 12.5%, ten leave less than a tenth of a percent. The formula is a single line — the part worth understanding is why the answer never reaches zero.How-toHow to Calculate pH — And When the Weak-Acid Shortcut Stops WorkingFour routes for four kinds of solution, each worked with real numbers. Including the part most pages leave out: the square-root formula for a weak acid is an approximation with a validity limit, and it fails quietly.How-toHow to Calculate Molar Mass, Including Parentheses and HydratesMultiply each atomic weight by its subscript and add. The only three places the arithmetic goes wrong are a subscript after a closing bracket, the hydrate dot, and a capital letter typed as a lowercase one.ExplainerCaffeine Half-Life: Why Your Afternoon Coffee Is Still There at MidnightCaffeine leaves by first-order kinetics, so what remains is the dose times one half to the power of elapsed time over half-life. The half-life is not a constant — it varies by multiples between people, and that is the whole story.

Related tools

Sources

Spotted a mistake in this article?

How to Solve Stoichiometry Problems: Grams to Moles to Ratio to Grams — OneKitly