# Stoichiometry calculator > How much product will your reaction make? Enter a chemical equation and the reactants you have: get the limiting reagent, the leftovers and the theoretical and percent yield. Balance an equation, find the limiting reagent from the grams or moles you have, and get each product's theoretical yield, the leftovers and the percent yield. - Page: https://how.box/stoichiometry/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/stoichiometry/?e={e}&k={k}&f={f}&u={u}&a1={a1}&a2={a2}&a3={a3}&a4={a4}&p={p}&y={y} - `e` (text): The chemical equation, balanced or not. Example: `N2 + H2 -> NH3`. - `k` (all or one): all (default): every reactant given; one: only reactant f. Example: `all`. - `f` (1, 2, 3 or 4): With k=one: which reactant is given, 1 to 4. Example: `1`. - `u` (g or mol): g (default) or mol, for every amount. Example: `g`. - `a1` (number 0 to 1e9): Amount of the first reactant, in u. Example: `28`. - `a2` (number 0 to 1e9): Amount of the second reactant, in u. Example: `10`. - `a3` (number 0 to 1e9): Amount of the third reactant, in u. Example: `5`. - `a4` (number 0 to 1e9): Amount of the fourth reactant, in u. Example: `5`. - `p` (1, 2, 3, 4, 5, 6, 7, 8, 9 or 10): The product the yield is for, 1 to 10. Example: `1`. - `y` (number 0 to 1e9): Actual yield of the product, in u. Example: `25`. Example answer: https://how.box/stoichiometry/?e=N2+%2B+H2+-%3E+NH3&k=all&f=1&u=g&a1=28&a2=10&a3=5&a4=5&p=1&y=25 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `stoichiometry_calculate`: Reaction stoichiometry: balances the equation, then from the amounts of up to four reactants finds the limiting reagent (smallest moles ÷ coefficient), the extent of reaction, what is used and left of each reactant and the theoretical yield of every product; with actual_yield also the percent yield. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"stoichiometry_calculate","arguments":{"equation":"N2 + H2 -> NH3","known":"all","from":"1","unit":"g","amount_1":28,"amount_2":10,"amount_3":5,"amount_4":5,"product":"1","actual_yield":25}}}` - GET: https://how.box/mcp/run/stoichiometry_calculate?equation=N2+%2B+H2+-%3E+NH3&known=all&from=1&unit=g&amount_1=28&amount_2=10&amount_3=5&amount_4=5&product=1&actual_yield=25 ## How it works A balanced equation is a recipe: N₂ + 3 H₂ → 2 NH₃ means one mole of nitrogen takes three moles of hydrogen and gives two moles of ammonia. The reaction stops when one reactant is used up, the limiting reagent; the rest are left over, and the amount of product that can form is the theoretical yield. Turn each reactant into moles, n = m ÷ M (mass over molar mass), and divide by its coefficient ν: ξ = n ÷ ν is how many times that reactant alone could run the equation. The smallest ξ wins. With 28 g of N₂ (0.9995 mol, ξ = 0.9995) and 10 g of H₂ (4.960 mol, ξ = 1.653), nitrogen is limiting; 2 × 0.9995 = 1.999 mol of NH₃ forms, 34.04 g, and 3.95 g of hydrogen is left. Percent yield = actual ÷ theoretical × 100, so 25 g of ammonia is 73.4 %. The method follows OpenStax Chemistry 2e, sections 4.3 and 4.4. Real reactions fall short of the theoretical yield: some reactions stop at an equilibrium, side reactions take material, and product is lost while it is collected. The calculation assumes pure reactants and a reaction that goes to completion. ## FAQ **Does the reactant with the smallest mass always run out first?** No. Different substances have different molar masses and are used in different mole ratios. A larger mass can still be the limiting reactant. **Can the percent yield be over 100 %?** Not for a pure, dry product. A result over 100 % usually means the product still holds water or solvent, or is contaminated. **What if I only know one reactant?** Choose One reactant and enter its amount. The others are taken to be in excess, and every other amount follows from it. **Do I need to balance the equation first?** No. It is balanced with the smallest whole-number coefficients before the amounts are worked out. **Should I enter the mass of a solution or just the dissolved reactant?** Enter the amount of the reacting substance itself. For a solution, first use its concentration and volume to find the solute’s moles or mass. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)