Molar Ratio Calculator - Stoichiometric Mole Ratios

Use this molar ratio calculator to find how the moles of two substances relate through a balanced equation. Enter the coefficients and known moles to get equivalent amounts.

Updated: July 8, 2026 • Free Tool

Molar Ratio Calculator

Whole-number coefficient of the first substance in the balanced equation.

Whole-number coefficient of the second substance in the balanced equation.

Amount of the first substance you already know, in moles.

Results

Molar ratio (mol B / mol A)
0
Moles of substance B 0mol
Reciprocal ratio (mol A / mol B) 0

What a Molar Ratio Is

The molar ratio calculator finds the stoichiometric relationship between two substances in a balanced chemical equation and converts a known amount in moles of one into the equivalent moles of the other. Reactions happen at the particle level, so the numbers that matter are mole counts, not gram masses.

  • Predicting reactant needs: Figure out how many moles of one reactant are required for a known amount of another.
  • Finding product amounts: Convert known moles of a reactant into the moles of product a balanced equation predicts.
  • Checking a balanced equation: Read the coefficient ratio directly to confirm the proportion of two substances.
  • Lab-scale conversions: Scale a recipe from textbook moles to the actual moles you will dispense.

Every balanced equation carries a set of whole-number coefficients, and those coefficients are already mole counts. The molar ratio is just one coefficient compared to another, so it tells you how the substances scale together as the reaction proceeds.

This molar ratio calculator takes two coefficients and a known amount in moles, then reports the molar ratio in both directions plus the converted moles. It is the step between a written equation and any real measurement you make in the lab.

Because moles describe particle counts rather than mass, the ratio stays the same no matter how much material you actually have. Doubling every coefficient in the equation does not change the ratio, since both numbers are doubled.

A molar ratio is the bridge between a balanced equation and the amounts you actually measure, so review a stoichiometry reaction calculator to see how the full reaction math fits together.

How the Stoichiometric Ratio Is Determined

The calculator reads the two coefficients you enter, divides them to form the ratio, and multiplies your known moles by that ratio. No instrument readings or assumptions are needed; the math follows only from the balanced equation.

moles of B = (coeffB / coeffA) x moles of A
  • coeffA: Coefficient of substance A in the balanced equation (a whole number).
  • coeffB: Coefficient of substance B in the balanced equation (a whole number).
  • molesA: Known amount of substance A, expressed in moles.

The ratio coeffB divided by coeffA gives moles of B per mole of A. The reciprocal, coeffA divided by coeffB, gives moles of A per mole of B, which is handy when the known substance is the one you are converting from.

This molar ratio calculator keeps the full-precision ratio internally and only rounds for display, so the converted moles stay accurate even when the ratio is a long decimal such as 2/3.

If you instead know the moles of substance B and want substance A, use the reciprocal. The two directions are the same proportion viewed from either side of the equation, so you never need to re-balance anything.

Example 1: hydrogen and oxygen

2 H2 + O2 -> 2 H2O. coeffA (H2) = 2, coeffB (O2) = 1, molesA = 4 mol H2.

ratio = 1 / 2 = 0.5 mol O2 per mol H2. molesB = 4 x 0.5 = 2 mol O2.

2 mol O2 are needed for 4 mol H2.

The 1:2 coefficient ratio means half as many moles of oxygen as hydrogen take part.

Example 2: ammonia synthesis

N2 + 3 H2 -> 2 NH3. coeffA (H2) = 3, coeffB (NH3) = 2, molesA = 6 mol H2.

ratio = 2 / 3 = 0.6667 mol NH3 per mol H2. molesB = 6 x 0.6667 = 4 mol NH3.

6 mol H2 produce 4 mol NH3.

Each 3 moles of hydrogen yield 2 moles of ammonia, matching the coefficients.

According to IUPAC Gold Book, the mole is the SI unit for amount of substance and is defined as containing exactly 6.02214076 x 10^23 specified elementary entities.

You usually start from a mass in grams, so use a grams to moles calculator to convert your known sample into the moles this ratio needs.

Key Concepts Explained

A few ideas explain why the molar ratio behaves the way it does and where it can be applied.

Balanced equation

A balanced equation has equal atom counts on both sides, which is what makes the coefficients valid mole proportions.

Stoichiometric coefficient

The number in front of a formula is the relative number of moles of that substance that react or form.

Mole

The mole is the SI unit for amount of substance; one mole contains a fixed number of elementary entities, which lets chemists count particles by weighing.

Equivalence point

The molar ratio tells you the exact proportion at which two substances are completely consumed together, with none left over.

Because both numerator and denominator are mole counts, the ratio itself is dimensionless: a pure proportion, not a value with units.

When the ratio is not a whole number, keep the decimal. Rounding the ratio before multiplying reintroduces error, so let the molar ratio calculator carry the full value through.

These ideas connect directly to mole fraction and empirical formula work, where the same counting of particles appears in a different form. The ratio is the simplest case: two substances, one proportion.

If your mixture problem is about relative composition rather than a reaction, a mole fraction calculator expresses the same mole-counting idea as a fraction of the whole.

How to Use This Calculator

Follow these steps to convert between the moles of two substances in any balanced equation.

  1. 1 Write the balanced equation: Make sure the equation is balanced so the coefficients reflect true mole proportions.
  2. 2 Enter coefficient A: Type the whole-number coefficient of the substance you know the moles of.
  3. 3 Enter coefficient B: Type the coefficient of the substance you want to find.
  4. 4 Enter moles of A: Enter the known amount in moles of substance A.
  5. 5 Read the results: Note the molar ratio, the reciprocal ratio, and the equivalent moles of B.

For the combustion of methane, CH4 + 2 O2 -> CO2 + 2 H2O, if you have 3 mol of O2 and want moles of H2O, set coeffA = 2 (O2), coeffB = 2 (H2O), and molesA = 3. The ratio is 1, so you get 3 mol of H2O. This molar ratio calculator turns those three entries into the converted amount without you rewriting the equation.

Once you know the moles of your product, carry them into a theoretical yield calculator to predict the maximum mass you can form.

Benefits of Using This Calculator

Using the calculator removes the most common sources of error in stoichiometry setup.

  • Avoids ratio inversion: It shows both the ratio and its reciprocal, so you always know which direction you are converting.
  • Keeps precision: The full-precision ratio is used before rounding, preventing accumulated error on repeating decimals.
  • Speeds setup: You skip rewriting the equation math by hand and go straight from coefficients to converted moles.
  • Clarifies scaling: The output makes it obvious how the two substances scale together for any amount you choose.
  • Supports teaching: Seeing both directions reinforces why coefficients are mole proportions, not mass proportions.

For students, the visible reciprocal catches the classic mistake of flipping the ratio. For lab work, the precision protects multi-step calculations from drift.

A molar ratio calculator also makes the scaling explicit: change one coefficient or one known amount and every downstream number updates, so a what-if takes seconds instead of a fresh page of algebra.

Because the inputs are just three numbers, you can re-run a scenario quickly when you change a coefficient or amount, which is useful when you are comparing several possible equations.

Mole ratios are also how you reduce experimental composition data to the simplest whole-number formula, which an empirical formula calculator can finish for you.

Factors That Affect Your Results

The calculator is exact for the equation you enter, but a few conditions change what the ratio means in practice.

Balance of the equation

An unbalanced equation gives wrong coefficients and therefore a wrong ratio; always balance first.

Mass versus moles

The ratio compares moles, so a mass in grams must be converted to moles before you apply it.

Reaction completeness

Real reactions may not go to completion, so actual moles can fall below the stoichiometric prediction.

  • The calculator assumes the equation is balanced and the reaction follows that stoichiometry exactly.
  • It does not account for side reactions, incomplete conversion, or excess reagents; those affect the real amount, not the ideal ratio.

Side reactions consume reactants by other paths, so the true product moles can be lower than the ideal moles the ratio predicts.

Treat the output as the theoretical relationship from the equation; compare it to measured results to judge how completely the reaction ran.

When a coefficient changes, the molar ratio calculator updates both directions at once, so re-check the reciprocal if you switch which substance you are solving for.

According to OpenStax Chemistry 2e, the stoichiometric mole ratio between two substances is taken directly from their coefficients in a balanced chemical equation.

According to National Institute of Standards and Technology (NIST), atomic weights published on the periodic table are required to convert between mass and moles before applying a molar ratio.

Because the mass side of the ratio depends on molar mass, a percent composition calculator helps you check what fraction of a compound each element contributes.

Molar Ratio Calculator
Molar Ratio Calculator

Frequently Asked Questions

Q: What is a molar ratio in chemistry?

A: A molar ratio is the ratio of the amounts, in moles, of two substances as written in a balanced chemical equation. It comes straight from the coefficients: for aA + bB, the molar ratio of B to A is b:a, meaning b moles of B react with or form for every a moles of A.

Q: How do you find the molar ratio from a balanced equation?

A: Balance the equation first, then read the coefficient in front of each substance. The molar ratio between two substances is simply their coefficients written in the order you need. For 2 H2 + O2 -> 2 H2O, the ratio of O2 to H2 is 1:2, or 0.5 moles of O2 per mole of H2.

Q: How do you use a molar ratio to convert moles of one substance to another?

A: Multiply the moles you know by the coefficient ratio of the target substance over the known substance. If you have 4 mol of H2 and the ratio of O2 to H2 is 1:2, the moles of O2 are 4 x (1 / 2) = 2 mol. The calculator does this multiplication for you.

Q: Can the molar ratio be less than 1?

A: Yes. The molar ratio is just a fraction of two coefficients, so it can be less than 1, equal to 1, or greater than 1. A ratio of 0.5 (1:2) means you need half a mole of one substance for every mole of the other, while a ratio of 2 (2:1) means you need twice as much.

Q: Why are the coefficients used as the molar ratio?

A: A balanced equation conserves atoms, and the coefficients tell you how many moles of each substance participate in the reaction. Because moles count particles, the coefficients give the exact particle-to-particle proportion, which is why they serve directly as the molar ratio.

Q: How is a molar ratio different from a mass ratio?

A: A molar ratio compares mole counts and depends only on the coefficients. A mass ratio also depends on each substance's molar mass, so equal molar amounts usually have different masses. To compare masses you must first convert moles to grams, which is why a grams-to-moles step often precedes a molar ratio calculation.