Molar Ratio Calculator
How it Works
01Pick Mode
Ratio only · ratio + moles · ratio + moles + mass
02Set Counts
How many reactants and products in your equation
03Enter Coefficients
Coefficient of each species (and moles / molar mass)
04Get Stoichiometry
Simplified ratio, derived moles, and mass per species
What is a Molar Ratio Calculator?
A molar ratio is the relative number of moles of any two substances in a balanced chemical equation — the bridge that lets a chemist convert "I have X moles of A" into "therefore I'll get Y moles of B" without redoing stoichiometry from scratch every time. Our Molar Ratio Calculator handles the full workflow: enter the coefficients of every reactant and product, optionally add the moles of one species, and (if you also need grams) the molar masses — and the tool returns the simplified ratio, derived moles for every species, and the corresponding masses with a Conservation-of-Mass check.
It runs in three modes: (1) Ratio — coefficients only, returns the simplest whole-number ratio (divides everything by the GCD); (2) Ratio + moles — given the moles of any species, derives moles of every other species via moles_A / moles_B = coef_A / coef_B; if multiple reactants are supplied, the smallest moles/coef is the limiting reactant and reaction extent is set by it; (3) Ratio + moles + mass — adds mass = moles × molar mass for every species and verifies that total reactant mass equals total product mass.
💡 Limiting reactant detection
In moles or mass mode, if you supply moles for more than one reactant, the calculator picks the one with the lowest moles ÷ coefficient as the limiting reactant. All product amounts are computed at that reaction extent — exactly how a lab chemist or process engineer would size a real batch reaction.
Designed for general-chemistry students learning stoichiometry, AP/IB chemistry students working through limiting-reagent problems, undergraduate organic and inorganic chemistry students computing reagent equivalents, and process chemists scaling reactions from milligrams to kilograms.
How to Use the Molar Ratio Calculator?
The math behind molar ratios
Take all coefficients in the balanced equation, compute their GCD, and divide. Ratio = coef ÷ GCD(all coefs). For 2 H₂ + O₂ → 2 H₂O the GCD is 1, so the ratio is 2:1:2. For 4 Fe + 3 O₂ → 2 Fe₂O₃ the GCD is 1, so 4:3:2. For 4 NH₃ + 5 O₂ → 4 NO + 6 H₂O it's 4:5:4:6.
For any pair of species in the same balanced equation: moles_A / moles_B = coef_A / coef_B. So if 0.50 mol H₂ react with O₂ in 2 H₂ + O₂ → 2 H₂O: moles O₂ = 0.50 × (1 / 2) = 0.25; moles H₂O = 0.50 × (2 / 2) = 0.50.
When multiple reactants are supplied: extent ξ = min(moles_i / coef_i) across reactants. Whichever reactant produces the smallest ξ is the limiting reactant; every other species' moles are computed at that ξ. The reactant with the smallest moles/coef "runs out first" and caps the reaction.
mass_i = moles_i × M_i, where M_i is the molar mass in g/mol. Conservation of mass: Σ mass_reactants = Σ mass_products to within rounding (typically < 0.1%). Mass mismatches usually indicate a wrong coefficient or molar mass — the calculator flags this automatically.
Worked example: combustion of methane
Balanced equation: CH₄ + 2 O₂ → CO₂ + 2 H₂O. Suppose you burn 1.5 mol of CH₄ with 4 mol of O₂ available. Mode 3 (mass) — molar masses: CH₄ = 16.04, O₂ = 32.00, CO₂ = 44.01, H₂O = 18.02 g/mol.
| Species | Coef. | Moles in | moles ÷ coef | Derived moles | Mass (g) |
|---|---|---|---|---|---|
| CH₄ (limiting) | 1 | 1.50 | 1.50 ← | 1.50 | 24.06 |
| O₂ | 2 | 4.00 | 2.00 | 3.00 | 96.00 |
| CO₂ | 1 | — | — | 1.50 | 66.02 |
| H₂O | 2 | — | — | 3.00 | 54.05 |
CH₄ has the lowest moles/coef (1.50 vs 2.00), so it's the limiting reactant; reaction extent ξ = 1.50. Total reactant mass = 24.06 + 96.00 = 120.06 g. Total product mass = 66.02 + 54.05 = 120.07 g. ✓ Conservation of mass holds (rounding off by 0.01 g).
Who Should Use the Molar Ratio Calculator?
Technical reference & key formulas
Stoichiometric ratio: ν_i / ν_j = n_i / n_j, where ν is the stoichiometric coefficient and n is moles. Holds for any pair of species (reactant or product) in a balanced equation.
Extent of reaction (ξ): ξ = (n_i - n_i⁰) / ν_i. For limiting-reactant problems with all reactants starting at known initial moles, ξ_max = min(n_i⁰ / ν_i) across reactants. The product moles formed = ν_product × ξ_max.
Conservation of mass: Σ_reactants ν_i × M_i = Σ_products ν_j × M_j. Use this as a sanity check on your balanced equation; mismatches > 0.1% generally indicate a coefficient error or an unbalanced equation.
Molar mass (M): Sum of atomic weights times subscripts in the molecular formula. For H₂O: 2(1.008) + 15.999 = 18.015 g/mol. Use IUPAC 2021 atomic weights for highest precision.
Mass-mass relationship: mass_B = mass_A × (M_B / M_A) × (ν_B / ν_A) — the most general single-step formula for "how many grams of B come from N grams of A?" without explicitly computing moles.
Wrap-up: molar ratio is the universal stoichiometry tool
Stoichiometry doesn't have to be tedious. Once you have a balanced equation, the molar ratio between any two species is fixed — and from any one known amount, you can derive every other amount. This calculator implements that workflow cleanly across three levels: pure ratio, ratio + moles, and ratio + moles + mass. Limiting-reactant detection and Conservation-of-Mass verification are baked in so you catch data-entry errors immediately.
For related chemistry tools, try our Molar Mass Calculator, Molecular Weight Calculator, and Dilution Calculator. Browse the full Chemistry Calculators Collection.
Frequently Asked Questions
What is a molar ratio?
The molar ratio between any two species in a balanced equation equals the ratio of their coefficients. For 2 H₂ + O₂ → 2 H₂O, the H₂:O₂ ratio is 2:1 — meaning every 1 mol of O₂ reacts with exactly 2 mol of H₂.
How do I find the simplest molar ratio?
Take all coefficients and divide by their greatest common divisor (GCD). For 4 Fe + 3 O₂ → 2 Fe₂O₃, GCD(4,3,2) = 1, so the ratio stays 4:3:2. For 4 H₂ + 2 O₂ → 4 H₂O the GCD is 2, so the ratio simplifies to 2:1:2 — which corresponds to the actually-balanced equation 2 H₂ + O₂ → 2 H₂O.
What is a limiting reactant?
The reactant that runs out first and caps how far the reaction can proceed. When you supply moles of multiple reactants, divide each by its coefficient — the species with the smallest moles ÷ coef is the limiting reactant. The calculator detects this automatically and flags it in the results.
How do I convert moles to grams?
Multiply moles by molar mass: mass (g) = moles × M (g/mol). For example, 0.50 mol of H₂O × 18.02 g/mol = 9.01 g. The mass mode of this calculator does this for every species in the equation.
Why does conservation of mass matter?
Total mass of reactants must equal total mass of products in any balanced chemical reaction (Law of Conservation of Mass, Lavoisier 1789). If the calculator reports a mismatch, double-check your coefficients (the equation might not actually be balanced) or your molar masses (typo in one element).
Can I use it for fractional or decimal coefficients?
Yes — the calculator accepts any positive value. Some textbook conventions use ½ O₂ for combustion (e.g., ½ O₂ → O), and the calculator handles that without forcing whole-number coefficients. The simplification step still divides by the GCD when all values are integers.
Does this work for reverse stoichiometry (product → reactant)?
Yes. If you only fill in product moles, the calculator uses the first product as the anchor and works backwards to compute reactant amounts. This is useful for problems like 'how many grams of methane do I need to make 100 g of CO₂?'
Why does the calculator say 'incomplete' even when I've entered values?
Make sure you've entered a positive coefficient for every reactant AND product. In moles/mass mode, you also need at least one species' moles. In mass mode, every species needs a molar mass. Missing-field errors list exactly what's needed.
Disclaimer
Stoichiometry assumes 100% reaction extent (no kinetic limits, no equilibrium). Real reactions have percent yields below 100%; for actual yield, multiply theoretical mass by the percent-yield factor. Conservation of mass holds exactly only in non-nuclear chemistry; mass-energy equivalence applies in radioactive decay and fusion/fission.