Molar Ratio Calculator

Molar Ratio Calculator

Leading AI Skill PRO

Enter Calculation

Results

Molar Ratio (A : B)
0.9992 : 1
moles of A per mole of B
Moles of A 0.9992 mol
Moles of B 1 mol

Formula

Ratio=nAnB=Mass A (g)Molar Mass A (g/mol)Mass B (g)Molar Mass B (g/mol)\text{Ratio} = \frac{n_A}{n_B} = \frac{\dfrac{\text{Mass A (g)}}{\text{Molar Mass A (g/mol)}}}{\dfrac{\text{Mass B (g)}}{\text{Molar Mass B (g/mol)}}}
Usage stats

Advertisement

Report an error on this page

What Is a Molar Ratio?

A molar ratio expresses the relative number of moles of two substances. It is a cornerstone of stoichiometry, letting chemists relate the quantities of reactants and products in a balanced chemical equation. This calculator converts the masses of two substances into moles and then divides them to give the molar ratio of A to B.

Two groups of particles labeled A and B showing a 2 to 3 molar ratio
A molar ratio compares the number of moles (particles) of two substances.

How to Use the Calculator

Enter the mass (in grams) and molar mass (in grams per mole) of substance A, then do the same for substance B. The tool computes the moles of each substance and reports the molar ratio expressed as "A : 1". You can find molar masses by summing the atomic masses of each element in the compound's formula.

The Formula Explained

First, moles are found with \(n = m / M\), where m is mass and M is molar mass. The molar ratio is then \(\text{ratio} = n_A / n_B\). Because dividing mass by molar mass cancels grams, the result is a pure unitless ratio that tells you how many moles of A correspond to one mole of B.

$$\text{Molar Ratio} = \dfrac{n_A}{n_B} = \dfrac{m_A / M_A}{m_B / M_B}$$

Advertisement
Flowchart converting mass and molar mass to moles then to a ratio
Each mass is divided by its molar mass to get moles, then the moles are compared.

Worked Example

Suppose you have 18 g of water (M = 18.015 g/mol) and 32 g of oxygen (M = 32 g/mol). Moles of water = \(18 / 18.015 \approx 0.99917\) mol. Moles of oxygen = \(32 / 32 = 1\) mol. The molar ratio is \(0.99917 / 1 \approx 0.9992\), meaning there are about 0.999 moles of water per mole of oxygen.

Common Molar Masses of Frequently Used Substances

Molar mass (M) is the mass of one mole of a substance, in grams per mole (g/mol). The values below are rounded to the precision typically used in teaching labs, based on standard IUPAC atomic masses. Use them as the Molar Mass A and Molar Mass B inputs.

Substance Formula Molar mass (g/mol)
Water H2O 18.015
Oxygen gas O2 31.998
Hydrogen gas H2 2.016
Nitrogen gas N2 28.014
Carbon dioxide CO2 44.009
Sodium chloride NaCl 58.44
Methane CH4 16.043
Ammonia NH3 17.031
Hydrogen chloride HCl 36.46
Sulfuric acid H2SO4 98.079
Sodium hydroxide NaOH 39.997
Glucose C6H12O6 180.156
Calcium carbonate CaCO3 100.087

Small differences in the last digit between textbooks are normal because of different rounding of atomic masses.

Advertisement

Step-by-Step: Calculating a Molar Ratio by Hand

  1. Find the molar masses. Add the atomic masses of every atom in the formula (from the periodic table). For example, H2O = 2(1.008) + 15.999 = 18.015 g/mol.
  2. Convert each mass to moles with \(n = \frac{m}{M}\), where m is mass in grams and M is molar mass in g/mol.
  3. Divide by the smaller mole value to normalize, so the smaller substance becomes 1. Equivalently, compute \(\frac{n_A}{n_B}\) directly.
  4. Multiply to reach whole numbers if needed. A ratio of 1.5 is multiplied by 2 to give 3:2; 1.33 is multiplied by 3 to give 4:3; 1.25 is multiplied by 4 to give 5:4.

Example (empirical formula of an iron oxide): a sample contains 5.585 g Fe (M = 55.845 g/mol) and 2.400 g O (M = 15.999 g/mol).

$$n_{\text{Fe}} = \frac{5.585}{55.845} = 0.1000\ \text{mol},\qquad n_{\text{O}} = \frac{2.400}{15.999} = 0.1500\ \text{mol}$$

Dividing by the smaller value (0.1000) gives Fe : O = 1 : 1.5. Multiplying by 2 gives 2 : 3, so the formula is Fe2O3.

Rounding and significant-figure tips:

  • Keep extra digits in intermediate steps and round only the final answer.
  • Report the ratio with as many significant figures as your least precise measurement (usually the mass).
  • Ratios within about 0.05 of a simple fraction (such as 1.98 ≈ 2, or 1.52 ≈ 1.5) are usually rounded to it; values like 1.2 or 1.7 suggest a larger multiplier or a measurement error rather than rounding.
  • Use the same unit for both masses (grams) and make sure the molar mass matches the exact species (for example O2 = 31.998, not O = 15.999).

FAQ

Can I use moles directly? Yes — set each molar mass to 1 and enter your mole counts as the masses; the ratio will then equal moles A divided by moles B.

What if the ratio is less than 1? That simply means there are fewer moles of A than of B. A ratio of 0.5 means one mole of A for every two moles of B.

Does this account for a balanced equation? No. It gives the actual sample ratio. Compare it to the stoichiometric coefficients to identify limiting reagents.

Last updated:

Most popular in Chemistry

View all Chemistry calculators