Stoichiometry Calculator
See how the reactants you have constrain an entered reaction, or work backward from a product target. Inspect atom and charge balance, compare theoretical amounts with actual yield, and export the same quantities shown in the diagrams and ledger.
Understand the reaction. Plan the amounts.
Balance the equation, identify the limiting reactant, and connect product yield to an inspectable material balance.
Maximum ideal extent 1 mol of reaction. Limiting reactants: r2.
The reaction and its ratio
Balancing checks atoms and charge. It does not predict products, conditions, equilibrium or whether the reaction will occur.
A unique positive ratio was found for the supplied species. Select a species to connect its formula, chart and exact explanation.
The unique strictly positive ratio was reduced to primitive integers.
Extent is measured in moles of the normalized reaction shown here.
Atom and charge balance alone do not establish that this reaction occurs.
Edit reaction and coefficients
Use an arrow (→ or ->) and + between species. Any leading coefficient selects supplied mode; omitted coefficients then mean 1. Use Fe^2+ for charge and CuSO4·5H2O for a hydrate. Applying a new equation clears all quantity drafts.
reactant · stable ID r1
Formula changes clear this species' quantities and any measurements that refer to it. Unrelated species keep their drafts.
Keep at least one reactant and one product. Identical species on both sides must be removed explicitly; this planner does not cancel spectators silently.
Check the atom and charge balance
| Conserved quantity | Reactants | Products | Difference | Check |
|---|---|---|---|---|
| H | 6 | 6 | 0 | Balanced |
| N | 2 | 2 | 0 | Balanced |
| Electric charge | 0 | 0 | 0 | Balanced |
Theoretical product from your inventory
NH3
2 mol
Nominal mass: 34.062 g, using the listed atomic weights.
- Maximum ideal extent
- 1 mol of reaction
- Limiting reactants
- H2
- Every exact limiting tie is retained.
Displayed quantities are rounded for reading; exact arithmetic is available in the ledgers. Theoretical formation and isolated recovery are different quantities.
Available reactants
Enter a finite quantity for every reactant. Products start at zero. A blank is not an unlimited excess.
Each input method keeps its own draft. Changing method restores those values; it does not convert the quantity. Unit changes within a method preserve it.
In mol. A blank is not zero or an unlimited supply.
Compare an actual yield
An observation is compared with theoretical product formation. It never changes the ideal consumed or remaining quantities.
Turning this option off retains its draft.
0–100% of the maximum inventory extent or planned target extent. This is an ideal progress scenario, not elapsed time or isolated recovery.
Use the text field for fractional percentages. Correct an invalid value there to re-enable the slider.
See what the amounts allow
Compare reactant capacity, then inspect one species through the ideal reaction. These diagrams show amounts and extent, not time or reaction feasibility.
Available moles divided by the species coefficient. The smallest capacity limits the ideal extent; * marks every exact tie. Bars share a scale from 0 to 2 mol.
Dashed line: limiting capacity. Outlined circles: zero.
Horizontal axis: 0–100% of the reference extent. Vertical axis: moles, from 0 to 3. The vertical scale is shared across species, so changing selection keeps the comparison meaningful.
Dashed blue curve: reactant remaining. Dotted amber line: inspected extent.
H2
At 1 mol of reaction extent: 0 mol remain.
Nominal mass: 0 g.
Inspect the exact quantities
Formula composition and nominal molar mass · H2
H2
Charge: 0. No phase label entered.
Nominal molar mass: 2.016 g/mol
CIAAW abridged 2024 nominal atomic weights. The table retains the source uncertainties; it does not propagate them into a prediction interval. Ionic formula masses use the neutral-atom sum without an electron-mass correction.
| Element | Atoms | Nominal atomic weight | Source uncertainty | Contribution (g/mol) |
|---|---|---|---|---|
| H | 2 | 1.0080 | ± 0.0002 | 252/125 |
Complete reactant capacity ledger
| Reactant | Available (mol) | Capacity (mol of reaction) | Status |
|---|---|---|---|
| N2 | 2 | 2 | Excess available |
| H2 | 3 | 1 | Limiting |
Complete reference-extent ledger
| Species | Coefficient | Initial (mol) | Change (mol) | Final (mol) | Initial mass (g) | Mass change (g) | Final mass (g) |
|---|---|---|---|---|---|---|---|
| N2reactant · r1 | 1 | 2 | -1 | 1 | 14007/250 | -14007/500 | 14007/500 |
| H2reactant · r2 | 3 | 3 | -3 | 0 | 756/125 | -756/125 | 0 |
| NH3product · p1 | 2 | 0 | 2 | 2 | 0 | 17031/500 | 17031/500 |
Complete inspected-extent ledger
| Species | Coefficient | Initial (mol) | Change (mol) | Final (mol) | Initial mass (g) | Mass change (g) | Final mass (g) |
|---|---|---|---|---|---|---|---|
| N2reactant · r1 | 1 | 2 | -1 | 1 | 14007/250 | -14007/500 | 14007/500 |
| H2reactant · r2 | 3 | 3 | -3 | 0 | 756/125 | -756/125 | 0 |
| NH3product · p1 | 2 | 0 | 2 | 2 | 0 | 17031/500 | 17031/500 |
Nominal mass reconciliation at reference extent
Initial 62.076 g; final reactants plus products 62.076 g; exact difference 0 g.
This checks the nominal atomic-weight calculation, not measurement uncertainty or a physical process yield.
All reactants have finite entered amounts; the maximum extent assumes only the supplied reaction and complete ideal consumption of every tied limiting reactant.
Import or save the complete problem
A complete import replaces the reaction and all retained drafts atomically. Malformed records leave the current plan unchanged; valid reactions with unresolved balance or invalid planning amounts remain editable for correction.
Ten columns: record_type, id, side, formula, coefficient, kind, field, value, unit, enabled. Use the current plan as the complete template. Inactive method, target and observation drafts are required and preserved.
Save the complete reaction plan
The report includes the complete problem, balance certificate, formula data, all species, exact quantities, optional observations, every progress sample and assumptions. Chart selection does not remove rows.
Selectable report CSV
Method, assumptions and sources
Primitive coefficients set the mole ratio. Inventory capacity is available moles divided by each reactant's coefficient; the smallest capacity sets maximum ideal extent. At any inspected extent, each species changes by its signed coefficient times extent.
Target planning divides the desired isolated product by the assumed isolated-yield fraction before applying stoichiometric ratios. Actual yield compares an observation with theoretical formation and never determines reactant leftovers. All products begin at zero; unchanged spectators, reversible reactions, isotopes and electron half-reactions are outside this model.
The species, their sides and any supplied coefficient ratio are authored assumptions. Balancing does not establish chemical feasibility, equilibrium, reaction rate or operating conditions.
One reaction is modeled, with products initially absent, no competing reaction and no unentered reactant supply.
Molar masses use pinned CIAAW abridged 2024 nominal atomic weights. Exact rational results are conditional on those rounded source values; measurement uncertainty is not propagated.
Ionic formula masses use the conventional sum of neutral-atom weights without electron-mass correction. Isotope masses and electron half-reactions are unsupported.
Input methods retain separate entries. Compatible prefix changes preserve quantities; switching mass, amount or solution method restores that method’s own values.
Actual isolated yield is a separate observation and does not alter theoretical consumption or imply leftover reactants.
Read the methods in OpenStax: balancing equations, reaction stoichiometry and reaction yields. Nominal atomic weights and their qualifications come from CIAAW's abridged 2024 table.
How to use this calculator
- Enter the known reactant and product formulas, or explicitly import a reaction. Choose Balance method: automatic ratios require a unique positive solution; supplied coefficients are verified as entered. Inspect the atom and charge totals. A reaction replacement clears quantity entries deliberately, while editing one formula clears measurements referring to that species.
- Choose Planning mode: inventory calculates from available reactants; target product works backward from a selected isolated amount and Assumed isolated yield (%). Each mode retains its entries. A product target does not establish that the required feed is available or that the product will be recovered.
- Choose Input method for each required quantity and enter its amount, mass or solution concentration and volume. All reactants need explicit inventory; a blank does not mean unlimited excess. Prefix-unit changes preserve the edited field's physical quantity, while changing Input method restores that method's independent entries.
- Inspect limiting capacities, theoretical products and remaining reactants, or the target's required feed. Select a species to examine composition and formula mass. Change Ideal extent (%) to inspect an ideal progress scenario; the chart is not a time curve and small quantities remain available in the ledger.
- Optionally enable Compare actual yield for a selected product. Compare the recovered amount with the theoretical product without changing the consumption calculation. Percentages above 100% and zero-theoretical cases remain explicit instead of being silently capped or treated as zero percent.
- Use Import format and Complete problem text for a complete CSV/TSV plan. Replace only after the whole import validates. Review the quantity ledger, then request a CSV download or select the same CSV text. Correct active errors before exporting the complete result; retained inactive drafts remain part of the saved input.
The Formula
The mathematical logic powering this calculation is:
For a balanced reaction, the sum of each element's atoms and the net charge agree on both sides. Coefficients scale whole species; formula subscripts define the species and are never changed to force balance. Automatic balancing solves these integer conservation constraints exactly. It accepts a unique strictly positive ratio and reduces it to primitive whole numbers. More than one free ratio is reported as unresolved, not as proof that a positive reaction exists. Supplied positive integer coefficients are checked and gcd-normalized rather than silently replaced.
For primitive reactant coefficients aᵢ and inventory nᵢ in moles, reference extent ξ = min(nᵢ/aᵢ). Every exact tie is retained. Reactant consumption is aᵢξ, remaining inventory is nᵢ − aᵢξ and product formation is bⱼξ. Products initially have zero inventory. At ideal extent fraction f, use fξ; this is an ideal progress scenario, not elapsed time or measured conversion.
For a selected isolated product target t and assumed isolated-yield fraction y, the required theoretical amount is t/y, reference extent is t/(bⱼy) and stoichiometric feed is aᵢξ. The difference between theoretical and isolated product is not assigned to an invented waste stream or unreacted feed. The selected product's yield assumption is not automatically applied to coproduct recovery.
An actual-yield comparison is separate: percent yield = 100 × actual product / theoretical product when the theoretical amount is positive. Values above 100% are retained with a warning. At zero theoretical product the percentage is undefined, including actual zero. The comparison never changes theoretical consumption, leftovers or extent.
Amount input supports mol, mmol and µmol; mass supports kg, g, mg and µg; solution input uses mol/L, mmol/L or µmol/L with L, mL or µL, using n = concentration × volume. Changing Input method restores its separate retained entries; it does not convert mass to moles or invent a solution volume. Compatible prefix-unit switches preserve that field's quantity exactly.
Formula masses sum the pinned CIAAW Abridged Standard Atomic Weights 2024 nominal values. These masses are approximate physical quantities even though decimal arithmetic is exact. Source uncertainties are shown without automatic uncertainty propagation. Ionic masses use the conventional neutral-atom sum without electron-mass correction. A missing standard atomic weight leaves balancing and mole/molarity work available but makes that species' mass conversion unavailable.
Use 1–8 species on each side, at most 16 total species and 16 elements. Formula limits are 240 characters, 160 tokens, nesting depth 6, positive integer subscripts/group multipliers through 9999 and at most 1,000,000 expanded atoms. Use case-sensitive element symbols, () or [], hydrate middle dot ·, and caret charge such as Fe^2+; an optional phase (s), (l), (g) or (aq) follows the charge. Electrons, isotopes, variable composition, fractional subscripts and automatic redox completion are outside scope. Duplicate species and unchanged spectators must be resolved explicitly.
Material values are strict decimal/scientific text, at most 160 characters and 24 significant digits ignoring insignificant trailing zeros, with explicit exponent −100 through 100. In base units, each value is zero or at least 1e−24; amount, mass and concentration are at most 1e12 mol, g or mol/L, and volume at most 1e9 L. Derived quantities may exceed these input caps. Assumed isolated yield is greater than 0 and at most 100%; Ideal extent (%) is 0–100, both with at most 12 effective decimal places. Blanks, unsupported precision and nonfinite values are errors. Bounded exact work can return unresolved/work-limit rather than a solved result.
The complete-input CSV/TSV header is record_type,id,side,formula,coefficient,kind,field,value,unit,enabled. Include every retained input record, including inactive methods; the optional apostrophe-text-v1 encoding preserves spreadsheet-safe raw text. Invalid active quantities retain the valid reaction balance. Invalid enabled actual-yield or extent inspection retains the base plan but blocks the complete report until corrected or disabled where supported.
This is a quantitative model of supplied species, not a prediction of products, feasibility, selectivity, equilibrium, reaction rate, suitable conditions or experimental recovery. The method follows the coefficient, mole-ratio and yield distinctions in OpenStax Chemistry 2e sections 4.1, 4.3 and 4.4 and uses the named CIAAW table. It is not an experimental protocol.Worked Example
If you input:
- Import format: CSV (comma separated)
- Complete problem text: record_type,id,side,formula,coefficient,kind,field,value,unit,enabled mode,,,,,,,inventory,, balance,,,,,,,automatic,, species,r1,reactant,N2,,,,,, species,r2,reactant,H2,,,,,, species,p1,product,NH3,,,,,, inventory,r1,,,,amount,,,, inventory_value,r1,,,,,amount,2,mol, inventory_value,r1,,,,,mass,,g, inventory_value,r1,,,,,concentration,,mol/L, inventory_value,r1,,,,,volume,,L, inventory,r2,,,,amount,,,, inventory_value,r2,,,,,amount,3,mol, inventory_value,r2,,,,,mass,,g, inventory_value,r2,,,,,concentration,,mol/L, inventory_value,r2,,,,,volume,,L, target,p1,,,,amount,,,, target_value,,,,,,amount,2,mol, target_value,,,,,,mass,,g, target_yield,,,,,,,80,, actual,p1,,,,amount,,,,false actual_value,,,,,,amount,,mol, actual_value,,,,,,mass,,g, inspection,,,,,,,100,,
Result:
N2 + 3 H2 → 2 NH3. With 2 mol N2 and 3 mol H2, hydrogen limits the reference extent to 1 mol of the normalized reaction. The theoretical product is 2 mol NH3; 1 mol N2 remains and H2 remaining is zero. Using the pinned nominal weights H = 1.0080 and N = 14.007, NH3 has approximate formula mass 17.031 g/mol and the product mass is approximately 34.062 g. The retained target of 2 mol at 80% assumed isolated yield is inactive; target mode would require 2.5 mol theoretical NH3, 1.25 mol N2 and 3.75 mol H2. Actual-yield comparison is disabled.
Frequently Asked Questions
Does a balanced equation mean the reaction will happen?
No. Balance checks conservation of the elements and charge for the species you entered. It does not establish feasibility, rate, equilibrium, selectivity, completion or suitable conditions. The calculator does not predict products or automatically add missing reactants, water, hydrogen ions, hydroxide ions or electrons. A phase label is descriptive, not a phase-equilibrium calculation.
How do automatic and supplied coefficients differ?
Automatic balancing accepts a uniquely determined strictly positive coefficient ratio, then reduces it to the smallest whole numbers. If several independent ratios remain, it reports an unresolved balance without selecting an arbitrary mixture. You can supply a complete positive integer ratio, which is checked exactly and normalized by its common divisor. Leading coefficients in an imported equation select supplied mode; omitted coefficients then mean one. Formula subscripts are never changed to force a balance.
What happens when reactants tie or an inventory is zero?
Each available amount in moles is divided by its normalized coefficient. The smallest exact ratio limits the ideal extent, and all exact ties are shown. Zero is a valid inventory and can make theoretical product zero; blank is invalid and never means unlimited excess. Products start at zero. Remaining reactant is the initial amount minus its theoretical consumption, not a prediction of experimental conversion or selectivity.
What does the target's assumed isolated yield mean?
Target mode divides the desired isolated amount by the explicitly entered yield fraction to obtain the required theoretical product, then computes stoichiometric feed. For 2 mol NH3 at 80%, theoretical NH3 is 2.5 mol and the normalized reaction needs 1.25 mol N2 and 3.75 mol H2. The difference is not assigned to a waste stream or unreacted feed, and the same recovery factor is not assumed for every coproduct. A zero target is supported, but the yield fraction must be positive.
Does actual yield change the theoretical consumption or leftovers?
No. Compare actual yield is a separate observation for one product. It divides the entered recovered amount by the theoretical product where that denominator is positive. Above 100% is retained with a warning to check measurement, purity and assumptions; it is not capped. At theoretical zero the percentage is undefined, even if actual is also zero. Invalid enabled comparisons preserve a valid base plan but prevent complete export until corrected or disabled.
Are formula masses exact, and what if an atomic weight is missing?
The formula inspector uses CIAAW Abridged Standard Atomic Weights 2024 nominal values, source notes and uncertainties. Exact arithmetic on those tabulated decimals is not physical exactness or an uncertainty propagation. Conventional ionic mass uses neutral-atom sums without electron correction. If a standard weight is unavailable, formula and charge balancing and mole/molarity planning can still work; that species' mass conversion is unavailable. No isotope mass or invented value is substituted.
Which formulas, units and limits are supported?
Use up to eight reactants and eight products, with case-sensitive symbols, integer subscripts, nested parentheses/brackets, hydrate middle dot and explicit caret charge, followed optionally by a phase. Formulas have bounded length, nesting, atom count and exact arithmetic work; unsupported syntax or work limits are reported explicitly. Amount, mass and solution methods retain separate drafts. Compatible metric-prefix switches preserve quantity, while switching method restores its values rather than converting between mass and moles. Ideal extent is a scenario fraction, not time. OpenStax Chemistry 2e explains the underlying balance and yield methods; the full supported notation and numerical limits are stated above.
Similar Calculators
Serial Dilution Calculator
Plan serial dilutions by factor, target concentration or transfer volume. Keep the volume you need at every stage, inspect material balances and export the series.
Ratio Calculator
Simplify ratios, find equivalent ratios, and solve for a missing value in a proportion.
Recipe Scaling Calculator
Scale ingredient quantities from original servings to desired servings with fraction-friendly kitchen output.
