The molar ratio calculator above takes the coefficients from a balanced equation and the quantities you actually have on the bench, and does the conversion between them. It turns grams into moles, applies the stoichiometric ratio, converts back to grams, works out which reactant runs out first, and reports how much product the limiting reactant can produce.
Arb Digital builds free calculators for people who need one answer and no account. This one exists because the mole ratio is the step where most stoichiometry goes wrong. The equation is balanced, the molar masses are correct, and the answer is still out by a factor of three because the ratio was applied upside down or applied to grams instead of moles. Laying every step out makes the error visible.
What This Molar Ratio Calculator Does
Enter a coefficient, a molar mass and an available quantity for each of two species, and the tool computes the mole ratio between them, reduces it to whole numbers where it can, and reports how much of the second species is needed to consume all of the first. If you enter an available amount for both, it also identifies the limiting reactant and shows how much of the excess reactant is left over.
The optional product boxes turn the same calculation into a theoretical yield. Whichever reactant limits the reaction sets the extent, and the product coefficient and molar mass convert that extent into a mass. The bars underneath compare what you have against what each reactant needs, which is the clearest way to see the shortfall.
A boundary against the neighbouring tool: the chemical equation balancer takes an unbalanced equation and returns coefficients, and then stops. This page starts where that one finishes, using those coefficients to convert real quantities. If you already have a theoretical and an actual yield, the percent yield calculator compares them directly.
How to Use It
- Balance the equation first and read the coefficients straight off it. An unbalanced equation gives a wrong ratio and no warning.
- Enter each species' molar mass. Nitrogen gas is 28.014, hydrogen gas 2.016, ammonia 17.031. A formula unit's molar mass, not an atom's.
- Enter what you have in grams, kilograms or moles. The unit selector converts for you.
- Leave B's quantity at zero if you only want to know how much B a given amount of A needs.
- Fill in the product boxes to get the theoretical yield the limiting reactant allows.
The Formula and How It Is Calculated
The mole ratio between two species is simply the ratio of their coefficients in the balanced equation. Everything else is unit conversion around it. Moles come from mass by n = m ÷ M. The amount of B needed to react with all the A you have is nB = nA × (coefficient of B ÷ coefficient of A), and that converts back to grams by multiplying by B's molar mass.
The limiting reactant is found by dividing each reactant's available moles by its coefficient. The smallest result wins, and that value is the extent of reaction: the number of times the equation as written can proceed. Multiplying the extent by the product's coefficient gives the moles of product, and multiplying by its molar mass gives the theoretical yield.
Working the default example: N₂ + 3H₂ → 2NH₃ with 50 g of nitrogen and 12 g of hydrogen. Nitrogen gives 50 ÷ 28.014 = 1.7848 mol and hydrogen gives 12 ÷ 2.016 = 5.9524 mol. Dividing by coefficients gives 1.7848 for nitrogen and 1.9841 for hydrogen, so nitrogen limits. Consuming all the nitrogen would need 1.7848 × 3 = 5.3543 mol of hydrogen, which is 10.795 g, leaving 1.205 g of hydrogen unreacted. The extent is 1.7848, so the product is 1.7848 × 2 = 3.5696 mol of ammonia, or 60.79 g. This is the standard procedure set out in the OpenStax chapter on reaction stoichiometry on Chemistry LibreTexts.
Why Mass Cannot Tell You the Limiting Reactant
The default example makes the point sharply. There is 50 g of nitrogen and only 12 g of hydrogen, so hydrogen looks like the obvious shortage. It is not: hydrogen is in excess, and over a gram of it is left when the reaction stops. Hydrogen's molar mass is so small that 12 g is nearly six moles, while 50 g of nitrogen is under two.
The reason mass comparison fails is that a reaction counts particles, not grams. A balanced equation is a statement about how many molecules combine, and molecules of different substances have wildly different masses. Comparing masses is like deciding whether you have enough nuts for your bolts by weighing them.
The correct comparison is moles divided by coefficient, and both parts matter. Dividing by the coefficient handles the case where one reactant is consumed three times faster than the other. Skipping the division is a common half-fix that works whenever the coefficients happen to be equal and silently fails whenever they are not.
The Ratio Has a Direction and It Is Easy to Invert
Going from A to B multiplies by B's coefficient over A's. Going from B to A does the reverse. Getting this backwards produces an answer that is wrong by the square of the ratio if you compound it, and it never looks obviously wrong on the page, which is what makes it dangerous.
The reliable check is dimensional. Write the ratio as a fraction with units on both parts — 3 mol H₂ per 1 mol N₂ — and place it so that the unit you are starting from cancels. If you start with moles of nitrogen, nitrogen must be on the bottom of the fraction. When the units cancel to leave what you asked for, the ratio is the right way up.
A rough sanity check helps too. If B's coefficient is larger than A's, you need more moles of B than you have of A. In the ammonia example the coefficient of hydrogen is three times that of nitrogen, so the required hydrogen in moles should be about three times the nitrogen. If your answer says a third, you inverted it.
Coefficients Are Ratios, Not Absolute Amounts
Doubling every coefficient in a balanced equation gives an equally valid equation, and it changes nothing this calculator produces. The equation 2N₂ + 6H₂ → 4NH₃ has the same ratios as the standard form, and the same amounts of everything come out. The extent of reaction halves, but each coefficient doubles, so every product amount is identical.
That is worth knowing because textbooks disagree about which form to use, particularly for combustion equations where avoiding fractional coefficients can require doubling the whole thing. Both forms are correct, and neither changes a real quantity. What does change everything is an unbalanced equation, where the ratios themselves are wrong.
The same logic explains why the mole ratio is independent of how much you make. A ratio of 1 to 3 holds for a test tube and for an industrial reactor. That is exactly why chemists work in ratios and moles rather than in fixed quantities, and why scaling a preparation up or down is arithmetic rather than a new calculation.
Where the Theoretical Yield Meets Reality
The theoretical yield this tool reports is the absolute maximum, and real reactions rarely reach it. Three things eat into it. Some reactions are reversible and settle at an equilibrium well short of completion, which is exactly the case for ammonia synthesis and is why industrial plants recycle unreacted gas. Some produce side products that consume reactant without producing what you want. And some product is simply lost in the filtering, transferring and drying between the flask and the balance.
The gap between the two is what the OpenStax chapter on reaction yields on Chemistry LibreTexts calls percent yield. Excess reactant is a deliberate tool against the first of these. Adding more of the cheap reactant pushes a reversible reaction toward the product side, which raises the yield based on the expensive reactant even though it guarantees waste of the cheap one. The equilibrium constant calculator quantifies how far a reversible reaction gets, which is the part stoichiometry alone cannot tell you.
For gas-phase reactions there is a shortcut worth knowing. Because equal volumes of gases at the same temperature and pressure contain equal amounts, the coefficients double as volume ratios for gases. Three volumes of hydrogen react with one volume of nitrogen. The ideal gas law calculator converts those volumes into moles when conditions are not standard.
Arb Digital publishes hundreds of free calculators across chemistry, maths, finance and marketing — no sign-up, no limits. If something you need is missing, tell us and we will look at building it.
Browse All Free Tools Suggest a ToolCommon Mistakes to Avoid
- Applying the ratio to grams — coefficients relate moles, never masses. Convert to moles, apply the ratio, then convert back.
- Calling the smallest mass the limiting reactant — compare moles divided by coefficient. The lightest reactant is often the one in excess.
- Forgetting to divide by the coefficient — comparing raw moles works only when the coefficients are equal, which is a special case rather than a rule.
- Using an unbalanced equation — every number that follows is wrong, and nothing in the arithmetic will flag it.
- Treating theoretical yield as expected yield — equilibrium, side reactions and transfer losses all sit between the calculation and the balance.
Related Free Tools From Arb Digital
Get coefficients from an unbalanced equation with the chemical equation balancer, and molar masses from formulas with the molar mass calculator. Convert between mass and amount using the moles to grams calculator, compare what you made against the prediction with the percent yield calculator, and handle solution-phase reactions with the molarity calculator or the titration calculator. The full free online tools hub lists everything else.
Frequently Asked Questions
It is the ratio between the amounts of two species in a balanced chemical equation, read directly from their coefficients. In N₂ + 3H₂ → 2NH₃ the nitrogen to hydrogen molar ratio is 1 to 3, meaning one mole of nitrogen reacts with three moles of hydrogen.
Convert each reactant to moles, divide each result by its coefficient in the balanced equation, and take the smallest. That reactant runs out first and sets the maximum product. Comparing masses instead of moles gives the wrong answer most of the time.
No. Coefficients count particles, so the ratio only applies to moles. Convert grams to moles with the molar mass, apply the ratio, then convert back to grams if you need a mass.
It is the number of times the balanced equation as written can proceed with the amounts you have. It equals the limiting reactant's moles divided by its coefficient, and multiplying it by any species' coefficient gives that species' change in moles.
No. Doubled coefficients give the same ratios, so every calculated amount is identical. The extent of reaction halves, which exactly cancels the doubled coefficients.
The maximum mass of product the limiting reactant could produce if the reaction went to completion with no losses. Real yields fall short because of equilibrium, side reactions and material lost during transfer and purification.
Take the amount you started with and subtract the amount consumed, which is the extent of reaction multiplied by that reactant's coefficient. The calculator shows the leftover for whichever reactant is in excess.
This calculator is provided for education and general reference. It describes how stoichiometric conversions are computed and is not laboratory or safety guidance; follow the procedures and risk assessments issued by your own institution.