A balanced chemical equation is a recipe, and the molar ratio is the list of proportions in that recipe.
Enter the moles of each substance, in mol. The calculator simplifies the pair to the smallest whole-number ratio, the same way a balanced equation writes its coefficients. The ratio is a mole ratio, not a mass ratio: 2 mol of hydrogen and 1 mol of oxygen are in the ratio 2:1 even though their masses are very different.
Please check the inputs: the moles of A and the moles of B must both be numbers greater than zero.
| Case | Moles of A (mol) | Moles of B (mol) | Simplified Ratio | Decimal (A / B) | B per Mole of A |
|---|
Eight worked mole ratios. The highlighted row matches your inputs: 2.0 mol of A and 3.0 mol of B, a ratio of 2:3.
Founder & CEO, Techraxy
Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
A balanced chemical equation is a recipe, and the molar ratio is the list of proportions in that recipe. In 2 H2 + O2 -> 2 H2O, two moles of hydrogen react with one mole of oxygen, so the molar ratio of H2 to O2 is 2:1. This free molar ratio calculator takes any two mole amounts and simplifies them to that same smallest whole-number form. Enter 2.0 mol of A and 3.0 mol of B and the answer is 2:3, which is 0.667 as a decimal, and each mole of A needs 1.500 mol of B. Enter 0.5 mol against 1.5 mol and the answer is 1:3, because the decimals scale to 5 and 15 first, and dividing both by their greatest common divisor of 5 leaves 1 and 3.
The calculator takes two inputs: the moles of substance A and the moles of substance B, both in mol. It returns the simplified mole ratio, the ratio as a decimal, the moles of B per mole of A, and the moles of A per mole of B. The diagram shows two beakers whose liquid levels and molecule counts follow the two amounts, with the simplified ratio labelled.
A molar ratio calculator is a tool that simplifies the ratio of two mole amounts to the smallest whole numbers, the same form the coefficients of a balanced equation take. A molar ratio, also called a mole ratio, is the ratio of the moles of one substance to the moles of another substance in a balanced chemical equation, and the coefficients in front of the formulas give it directly. In N2 + 3 H2 -> 2 NH3 the ratio of N2 to H2 is 1:3, the ratio of H2 to NH3 is 3:2, and the ratio of N2 to NH3 is 1:2, all read straight off the coefficients.
The ratio is a conversion factor, and it is the central tool of stoichiometry. If a reaction needs 1 mol of N2 for every 3 mol of H2, then 2 mol of N2 needs 6 mol of H2, and 0.5 mol of N2 needs 1.5 mol of H2, and the same ratio converts moles of a reactant into moles of a product. The Mole Calculator converts a mass in grams into moles, which is the step that comes before the ratio is applied, because the ratio only works on moles, never on grams directly.
The ratio counts moles, never grams. The coefficients of a balanced equation are amounts in moles, so a 2:1 mole ratio is not a 2:1 mass ratio unless the two molar masses happen to be equal. Two moles of hydrogen weigh 4 g and one mole of oxygen weighs 32 g, so the 2:1 mole ratio of H2 to O2 in water formation is a 1:8 mass ratio, and confusing the two is the most common stoichiometry mistake there is.
Enter the moles of substance A and the moles of substance B, both in mol. The calculator updates as soon as you change either input, and the Calculate button runs it again at any time. At the defaults the amounts are 2.0 mol of A and 3.0 mol of B, giving the ratio 2:3.
Read the results in order. The headline number is the simplified mole ratio, written A:B. Then come the ratio as a decimal, which is A divided by B, the moles of B per mole of A, which is B divided by A, and the moles of A per mole of B. The highlight sentence repeats the answer in plain words, with the inputs it used, so you can check that nothing was mistyped.
The diagram shows two beakers, one for A and one for B. Each beaker fills in proportion to its moles against the larger amount, so the fuller beaker reaches the top of the glass and the other scales down, and the molecule dots inside each liquid number 2 plus 8 times the same fraction, so a larger amount shows more molecules as well as a higher level. Changing either amount moves a liquid level and changes a dot count; changing both by the same factor leaves the ratio alone but fills both beakers to the top.
The Compare Ratios tab puts eight worked mole ratios side by side, with the two amounts, the simplified ratio, the decimal, and the moles of B per mole of A. The row matching your inputs is highlighted. The decimals are the part that needs care: 0.5 mol against 1.5 mol is 1:3, not 1:2, because the scaling step comes before the dividing step.
The formula is a two-step simplification. First, scale any decimals to whole numbers: multiply both amounts by 10, 100, 1000 and so on, up to six decimal places, until both are whole. Then divide both whole numbers by their greatest common divisor. The ratio as a decimal is A divided by B, the moles of B per mole of A are B divided by A, and the moles of A per mole of B are A divided by B.
Written out for the defaults, 2.0 mol of A and 3.0 mol of B: both are already whole numbers, so no scaling is needed, and their greatest common divisor is 1, so the ratio stays 2:3. The decimal is 2 divided by 3, which is 0.667. The moles of B per mole of A are 3 divided by 2, which is 1.500, and the moles of A per mole of B are 2 divided by 3, which is 0.667.
Written out for a decimal pair, 0.5 mol of A and 1.5 mol of B: multiplying both by 10 gives 5 and 15, and their greatest common divisor is 5, so dividing both by 5 gives 1:3. The decimal is 0.5 divided by 1.5, which is 0.333, and the moles of B per mole of A are 1.5 divided by 0.5, which is 3.000.
The ratio only means something for a balanced equation, so balance the equation before reading any ratio off it. The Chemical Equation Balancer balances an equation for you, and the coefficients it returns are the molar ratios between every pair of substances in the reaction.
Take 1.5 mol of A and 2.5 mol of B. First, scale the decimals to whole numbers: multiplying both by 10 gives 15 and 25. Their greatest common divisor is 5, so dividing both by 5 gives 3:5. The decimal is 1.5 divided by 2.5, which is 0.600. The moles of B per mole of A are 2.5 divided by 1.5, which is 1.667, and the moles of A per mole of B are 1.5 divided by 2.5, which is 0.600.
A second check uses the water formation ratio. Take 2 mol of H2 and 1 mol of O2. Both are already whole numbers, and their greatest common divisor is 1, so the ratio is 2:1, matching the coefficients of 2 H2 + O2 -> 2 H2O. The decimal is 2 divided by 1, which is 2.000, and each mole of H2 needs 0.500 mol of O2, which is the same as saying each mole of O2 needs 2 mol of H2.
A third check uses the ammonia ratio. Take 1 mol of N2 and 3 mol of H2. Their greatest common divisor is 1, so the ratio is 1:3, matching N2 + 3 H2 -> 2 NH3. The decimal is 1 divided by 3, which is 0.333, and each mole of N2 needs 3.000 mol of H2.
The first benefit is reading the recipe off the equation without arithmetic slips. The coefficients of a balanced equation are the molar ratios, but a pair of measured amounts such as 0.5 mol and 1.5 mol does not look like 1:3 until it is scaled and divided, and doing that by hand invites exactly the factor-of-two or factor-of-ten slip that ruins a stoichiometry problem. The calculator keeps the scaling step visible in the formula it reports, and the compare table shows 1:3, 1:4, 2:1 and 3:5 side by side, so the habit of simplifying before converting is built into the tool rather than left to memory.
The second benefit is keeping moles and grams apart. The calculator takes moles only, and it says so in the input labels and in the tip underneath the results, so there is no place to enter a mass and get a ratio that silently means something else. A student who has only ever worked with grams can see from the diagram that two beakers with the same number of molecules can hold very different masses, because the molecules themselves weigh different amounts.
The third benefit is the ratio as a conversion factor, ready to use. The moles of B per mole of A is the number that multiplies a known amount of A to give the matching amount of B, and the calculator prints it to three decimal places next to the simplified ratio, so the next step of the stoichiometry problem starts from a number that is already worked out. That is the step the balanced equation is for, and it is the step most often skipped when the ratio is left as a pair of coefficients.
The fourth benefit is catching an unbalanced equation before it is used. A ratio read off an unbalanced equation is wrong by whatever the imbalance is, and the calculator cannot check that, so the article and the formula section both say to balance first, with a link to the balancer. That check costs nothing and saves the whole calculation that follows it.
Read the coefficients in front of the two formulas you care about and write them as a ratio. In 2 H2 + O2 -> 2 H2O the ratio of H2 to O2 is 2:1, the ratio of O2 to H2O is 1:2, and the ratio of H2 to H2O is 2:2, which simplifies to 1:1. If a formula has no coefficient written, its coefficient is 1. Balance the equation first: you cannot read a molar ratio from an unbalanced equation.
Scale both amounts to whole numbers first, then divide by their greatest common divisor. For 0.5 mol and 1.5 mol, multiplying both by 10 gives 5 and 15, and their greatest common divisor is 5, so dividing both by 5 gives 1:3. Skipping the scaling step and dividing 0.5 by 1.5 directly gives the decimal 0.333, which is correct as a decimal but is not the simplified whole-number ratio the coefficients of an equation use.
A molar ratio compares amounts in moles, and a mass ratio compares masses in grams, and the two are equal only when the molar masses are equal. In water formation the molar ratio of H2 to O2 is 2:1, but 2 mol of hydrogen weighs 4 g and 1 mol of oxygen weighs 32 g, so the mass ratio is 1:8. Coefficients are amounts in moles, so they give molar ratios, never mass ratios, and converting between the two needs the molar masses.
It is the ratio used as a conversion factor: multiply a known amount of A by it to get the matching amount of B. If the simplified ratio is 2:3, then each mole of A needs 1.500 mol of B, so 4 mol of A needs 6 mol of B, and 0.5 mol of A needs 0.75 mol of B. It is the same number as the decimal form of the ratio the other way round: the moles of B per mole of A are B divided by A, while the decimal A divided by B is the moles of A per mole of B.
Because the calculator rounds decimals to six places before scaling, so 0.333333 mol against 1 mol scales to 333333 and 1000000, whose greatest common divisor is 1, giving the ratio 333333:1000000. That is the honest answer for the rounded input, but it is not a useful ratio: a repeating decimal usually means the true amount is a fraction such as one third, so enter 1 and 3 as the amounts, or enter the fraction in whole numbers, and the ratio simplifies to 1:3.
Wikipedia — Stoichiometry, with the mole ratio defined as the ratio between the amounts in moles of any two compounds in a chemical reaction, determined from the coefficients of the balanced equation.
Albert.io — How to Find Molar Ratio, with the molar ratio as the ratio of moles of one substance to moles of another in a balanced equation, and the three steps of balancing, reading the coefficients, and using the ratio as a conversion factor.
Chem Academy — Stoichiometry: The Chemical Recipe, with the mole ratio as the stoichiometric factor from the balanced-equation coefficients, and amounts that react standing in the same ratio.
Varsity Tutors — Stoichiometry, with the mole ratio as the conversion factor derived from the coefficients of a balanced equation, and the rule to always start from moles.
This calculator simplifies two mole amounts to the smallest whole-number ratio, with the ratio as a decimal and the moles of each substance per mole of the other, and it is for study, homework and general reference only. The ratio is a mole ratio, not a mass ratio, and it only means something for a balanced equation: the coefficients of an unbalanced equation give a wrong ratio, so balance the equation first. Decimals are scaled to whole numbers up to six decimal places, and a repeating decimal rounded to six places can give a very large simplified ratio, which is the honest answer for the rounded input rather than a useful one. Do not use a result from this calculator to prepare a reaction mixture for real laboratory work without checking the balanced equation and the procedure it specifies.
Last updated: 2 December 2026
ADVERTISEMENT
ADVERTISEMENT