Molar Ratio Calculator

A balanced chemical equation is a recipe written in moles: the coefficients are the proportions in which substances are consumed and produced, exactly, every time. The molar ratio is the conversion factor those coefficients give you — moles of B per mole of A — and it is the hinge of every stoichiometric calculation ever set. This calculator applies it directly: enter the two coefficients from your balanced equation and the moles of the substance you know, and it returns the moles of the substance you want, with an optional molar-mass step into grams. No proportionality errors, no upside-down ratios — the mistake this page exists to retire.









The Ratio, Straight From the Equation

Balance an equation and the coefficients become exchange rates. For 2H₂ + O₂ → 2H₂O, the rates are fixed: hydrogen to oxygen 2:1, oxygen to water 1:2, hydrogen to water 1:1. The molar ratio for any pair is (coefficient of the wanted substance) ÷ (coefficient of the known substance), and the conversion is one multiplication: moles of B = moles of A × (coeff B / coeff A). Three properties make the ratio trustworthy enough to build an industry on. It is exact — it comes from counting atoms, not from measurement. It is condition-free — temperature, pressure and phase do not touch it (they enter elsewhere, through gas laws and equilibria). And it is directional — the reciprocal answers the reverse question, which is why the single most common stoichiometry error, inverting the ratio, produces answers wrong by the square of the factor and why this calculator labels its A and B fields in capital letters.

Worked Example: Burning Hydrogen, Counting Water

The defaults run the hydrogen combustion above. Known: 3 mol of O₂ (coefficient 1). Wanted: water (coefficient 2). Ratio = 2/1 = 2, so moles of water = 3 × 2 = 6 mol. With water’s molar mass 18.015 g/mol in the optional field, the mass follows: 6 × 18.015 = 108.09 g. Read the equation’s other rates for free while you are here: the same 3 mol of oxygen demands 6 mol of hydrogen (ratio 2/1 the other way) — 12.1 g of H₂ — and if only 4 mol of hydrogen were on hand, hydrogen becomes the limiting reactant: the ratio applied from hydrogen’s side caps the water at 4 mol and leaves a mole of oxygen unburned. Every limiting-reactant problem is this calculator run twice, once from each reactant, taking the smaller answer — the ratio itself never changes, only which side of it runs out first.

From Moles to the Bench: The Full Stoichiometry Chain

The molar ratio is the middle link of the three-link chain that solves nearly every quantitative reaction problem: mass of A → moles of A → (molar ratio) → moles of B → mass of B. The outer links are molar-mass divisions and multiplications (the province of the periodic table, and of this page’s optional mass field); the middle link is the equation’s own. Gas problems swap the outer links for PV = nRT conversions; solution problems swap them for molarity × volume — the Dilution Calculator and the Concentration Calculator in this hub serve those variants — but the architecture never changes, and neither does the diagnostic habit: when a stoichiometry answer smells wrong, check the middle link’s direction first, because it is the only link that can be silently upside down. Dimensional analysis — writing units into every factor and demanding they cancel to the unit you want — is the seatbelt; this page is the engine.

Yield: Where the Ratio Meets Reality

The ratio predicts the theoretical yield; laboratories collect the actual one, and the gap has names worth knowing. Side reactions divert material into products the headline equation ignores. Equilibria stop short of completion (the Haber process converts perhaps 15% of its nitrogen per pass at working conditions — industry answers with recycling, not despair). Transfers, filtrations and purifications tax every step a few percent. The quotient, actual ÷ theoretical × 100, is the percentage yield, and it is computed against this page’s output: the molar ratio’s answer is the 100% line. A yield above 100% is not a triumph but a diagnosis — the product is wet, impure, or the balance was misread — and a yield far below invites the limiting-reactant and side-reaction audit in that order. Stoichiometry is the contract; yield is the performance review.

The Ratio at Industrial Scale: Ammonia and Air

Two production-scale runs show the ratio earning its keep. Ammonia synthesis — N₂ + 3H₂ → 2NH₃ — fed with 1,000 mol of nitrogen: the ratio (2/1) promises 2,000 mol of ammonia at full conversion, and the mass field prices it at 2,000 × 17.031 = 34.06 kg, against 3,000 mol (6.05 kg) of hydrogen consumed. The plant’s actual per-pass conversion near 15% is an equilibrium fact layered on top; the ratio still dictates the recycle stream’s proportions and the purge arithmetic, because atoms are conserved through every loop of the process. Combustion air — CH₄ + 2O₂ → CO₂ + 2H₂O — prices the invisible reactant: each mole of methane (16.04 g) demands 2 mol of oxygen (64.0 g), and since air is only about 23.1% oxygen by mass, the burner must be fed roughly 276 g of air per 16 g of fuel — a stoichiometric air–fuel ratio near 17.2:1 — the number engine tuners and furnace designers live by, and a pure molar-ratio result wearing a mass conversion. Excess-air percentages in flue-gas analysis are quoted relative to this ratio: the balanced equation is the zero of that scale too.

Checking a Balance With the Ratio

The ratio also audits the equation itself, because a balanced equation must return consistent ratios from every pair of substances. Take propane’s combustion, C₃H₈ + 5O₂ → 3CO₂ + 4H₂O, and run it from 10 mol of propane: the ratios promise 50 mol of oxygen consumed, 30 mol of CO₂ and 40 mol of water produced. Now cross-check with atoms: 10 mol of propane carries 30 mol of carbon — matching the 30 mol of CO₂ exactly — and 80 mol of hydrogen atoms, matching 40 mol of water. If any pair’s ratio had disagreed with the atom inventory, the equation would stand unbalanced and every downstream number would inherit the error. This is the cheapest full check in stoichiometry: two ratios and an atom count, thirty seconds, before the calculator’s answer is allowed to mean anything. Examiners know it too, which is why balanced-equation questions so often smuggle in one substance pair whose ratio exposes an unbalanced draft instantly.

Related Tools

More from the Chemistry Calculators hub: the live Dilution Calculator for C₁V₁ = C₂V₂ work, the live Concentration Calculator for percent, ppm and molarity conversions, and the Reconstitution Calculator for preparing solutions from powder by mass.

Frequently Asked Questions

Where do I get the coefficients?

From the balanced equation — never from the formulas alone. In 2H₂ + O₂ → 2H₂O the subscripts (the 2 inside H₂O) belong to the substance’s identity; the coefficients (the 2 in front) are the recipe counts. Unbalanced equations have no molar ratios; balancing is the compulsory first step, and a ratio read from an unbalanced equation is the classic silent error.

Does the molar ratio work for masses directly?

No — ratios of coefficients are ratios of moles (particle counts). Masses must pass through moles via molar mass, which is why the mass ratio of reactants (12.1 g H₂ to 96 g O₂ in the example) looks nothing like 2:1. The calculator’s optional molar-mass field handles the exit conversion; the entrance conversion is mass of A ÷ molar mass of A.

What if my substance is a solution?

Convert concentration × volume into moles first (0.5 mol/L × 0.2 L = 0.1 mol), then use the ratio as usual. Solution stoichiometry is the same chain with a molarity link — the hub’s concentration tools do that arithmetic.

How do I find the limiting reactant with this?

Run the ratio from each reactant in turn to the same product; the reactant producing less product is limiting, and its amount sets the yield. The other reactant’s leftover is its starting moles minus what the ratio says the limiting partner consumed.

Why is my yield over 100%?

Because the isolated product contains something extra — residual solvent, unreacted starting material, a side product — or a weighing/recording error occurred. Theoretical yield from the molar ratio is a hard ceiling set by atom conservation; treat any breach as an analytical finding, not a bonus.

My equation is written C + ½O₂ → CO. Is the ratio different?

No — ratios are scale-invariant, and this is the cleanest way to feel it. Written doubled (2C + O₂ → 2CO), 4 mol of carbon make 4 mol of CO; written with the fraction, 4 mol of carbon still meet a coefficient ratio of 1:1 and make 4 mol of CO. Fractional coefficients are a per-mole bookkeeping convention in thermochemistry; the proportions — the only thing this calculator reads — are identical.

Do coefficients have to be whole numbers?

Conventionally yes — equations are scaled to the smallest whole-number coefficients (fractional coefficients like ½ O₂ appear legitimately in thermochemistry per-mole conventions). The ratio is scale-invariant: doubling every coefficient changes nothing this calculator returns, which is itself a useful check on your balancing.