Molar Ratio Calculator
What is the molar ratio between two substances in your reaction?
Enter the amounts of two substances — as moles or grams — and the calculator returns the molar ratio between them. Use this to check stoichiometry, determine limiting reagents, or scale reactions up or down.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Imagine you are assembling bicycles. Each bike needs 1 frame and 2 wheels. If you have 10 frames and 18 wheels, you can only build 9 bikes — the wheels run out first. The molar ratio works exactly the same way: it tells you how many units of one substance are available for each unit of another, and whether that matches what the reaction actually demands.
In chemistry, every balanced equation is a recipe with fixed proportions. The coefficients — the numbers in front of each formula — define those proportions in moles. A molar ratio of 2:1 for hydrogen to oxygen in water formation means two moles of hydrogen atoms bond with one mole of oxygen molecules, every time, without exception. No matter how large or small the batch, the ratio holds.
This calculator converts any input — whether entered as moles directly or as grams with a known molar mass — into a common mole-based ratio. It then optionally compares that ratio against the theoretical stoichiometric coefficients to tell you which reactant is in short supply. That single comparison is the foundation of yield prediction, cost optimisation, and reaction safety in every discipline from pharmaceuticals to environmental engineering.
When To Use This
Right tool, right situation
Use this calculator when you have measured or planned amounts of two substances and need to confirm they match the reaction stoichiometry, or when you want to know which one will run out first. It is appropriate for any two-substance comparison in a single reaction step — checking whether reagents are in proportion before a synthesis, scaling a reaction from a small trial to a larger batch, or verifying that a neutralisation reaction has sufficient base to absorb all the acid.
This tool is also useful for quality control checks in manufacturing contexts, where weighed batches must stay within a defined molar ratio tolerance to ensure consistent product quality.
It is not the right tool when you are working with more than two substances simultaneously, or when you need to track mass balance across multiple sequential reaction steps. In those cases, a full stoichiometry table that accounts for all species — including products and intermediates — is needed. Similarly, if your substance is not pure, the mole quantity will be off unless you correct for purity first. The calculator assumes 100% purity.
Common Mistakes
Why results sometimes look wrong
The most common mistake is skipping the molar mass conversion when working from grams. A student who enters 32 g of both methane (molar mass 16 g/mol) and oxygen (molar mass 32 g/mol) and assumes a 1:1 molar ratio is wrong — the actual molar ratio is 2:1 because methane has half the molar mass. Always convert grams to moles before comparing.
A second frequent error is confusing the molar ratio with the stoichiometric ratio from the balanced equation. The molar ratio describes what you have in the flask. The stoichiometric ratio describes what the reaction needs. These numbers are only equal when reactants are mixed in perfect proportion. Comparing them is how you find excess and limiting reagents — not by looking at them individually.
A subtler mistake is using an unbalanced equation to extract coefficients. If your equation is not balanced, the coefficients are wrong, and the limiting reagent calculation will point to the wrong substance. Before entering coefficients, verify atom counts on both sides of the equation. This tool cannot detect an unbalanced equation — that check is on you.
The Math
Worked examples and deeper derivation
The core calculation is division: molar ratio = molesA / molesB. When inputs are in grams, the tool first converts using moles = mass (g) / molar mass (g/mol), then takes the ratio of the two mole values.
To express the ratio as whole numbers, the tool multiplies both values by a scale factor and finds the greatest common divisor (GCD). For example, 0.5 mol and 0.25 mol become 2:1 after multiplying by 4 and dividing by the GCD of 2. When the simplified numbers exceed 20, the tool falls back to a decimal ratio against 1, which is easier to read for non-integer cases.
Limiting reagent identification adds one step: divide each mole quantity by its stoichiometric coefficient. The result is the number of reaction equivalents each substance can support. The smaller number points to the limiting reagent — the one that will be consumed first and stop the reaction.
Expert Unlock
The thing most explanations skip
This calculator assumes ideal stoichiometry — that every molecule reacts exactly as the balanced equation predicts. In real reactions, side products, incomplete conversion, and phase effects mean the apparent molar ratio at the end of a reaction differs from the theoretical input ratio. For reactions with equilibrium constants far from unity, or where one reactant is volatile and partially lost, the limiting reagent prediction can be wrong even with correct input values. Always treat this as the theoretical baseline, not the observed yield.
What does your molar ratio actually tell you about the reaction?
Need something this doesn't cover?
Suggest a tool — we'll build it →