Mole Calculator

Calculate moles, mass, or molar mass from common chemistry values.

n = m / M
g
g/mol

What This Mole Calculator Does

This calculator solves the core relationship between moles, mass, and molar mass used in stoichiometry and general chemistry. Given any two of the three values, it computes the third using the fundamental formula:

moles = mass ÷ molar mass

You can enter mass in grams and molar mass in grams per mole (g/mol). The tool returns the number of moles, or if you supply moles and one other value, it calculates the missing quantity. This eliminates manual arithmetic and reduces calculation errors during lab work, homework, or exam preparation.

How to Use the Calculator

  1. Enter two known values — for example, mass in grams and molar mass in g/mol.
  2. Leave the unknown field blank — the calculator will compute it automatically.
  3. Check the result — the output shows the calculated value with appropriate units.

If you know the moles and molar mass, leave the mass field empty. If you know the mass and moles, leave the molar mass field empty. The tool handles all three permutations.

Understanding the Formula

The mole concept is central to quantitative chemistry. One mole contains exactly 6.022 × 10²³ elementary entities (Avogadro's number). The relationship between these quantities is:

Molar mass is the mass of one mole of a substance. For elements, it equals the atomic weight from the periodic table. For compounds, it is the sum of the atomic weights of all atoms in the formula.

Practical Example

Problem: You have 36 grams of water (H₂O). How many moles is that?

Step 1: Find the molar mass of water. Hydrogen has an atomic mass of 1.008 g/mol, oxygen 16.00 g/mol. So H₂O = (2 × 1.008) + 16.00 = 18.016 g/mol.

Step 2: Enter mass = 36 g and molar mass = 18.016 g/mol into the calculator.

Result: The calculator returns approximately 2.00 moles of water.

This means 36 grams of water contains about 1.204 × 10²⁴ water molecules.

Common Mistakes to Avoid

Limitations and Precision Notes

The calculator uses standard atomic mass values and performs floating-point arithmetic. Results are rounded to a reasonable number of decimal places for practical use. For high-precision work (e.g., analytical chemistry), you should use more precise atomic masses from a current periodic table and account for isotopic variations.

The tool assumes pure substances. Mixtures, solutions with unknown concentrations, or compounds with variable stoichiometry require additional calculations beyond this simple relationship.

When You Might Use This Calculator

FAQ

What is a mole in chemistry?

A mole is a unit that measures the amount of a substance. One mole contains exactly 6.022 × 10²³ particles (atoms, molecules, ions, or electrons). It allows chemists to relate the mass of a substance to the number of particles it contains.

Can I use this calculator for gases?

Yes, as long as you know the mass and molar mass of the gas. For gases at standard temperature and pressure, you can also use the ideal gas law (PV = nRT) to find moles from volume, but this calculator handles only the mass-mole-molar mass relationship.

What if I enter all three values?

The calculator will still compute the result, but it will use only two values to determine the third. If the values are inconsistent, the output may not match your expectations. It is best to leave the unknown field blank.

How precise are the results?

Results are calculated using standard atomic masses and are typically displayed to 3–4 decimal places. For most educational and general lab purposes, this precision is sufficient. For research-grade work, use certified reference values.

What is the difference between molar mass and molecular weight?

Molecular weight is the sum of atomic masses of atoms in a molecule, expressed in atomic mass units (amu). Molar mass is the same numerical value but expressed in grams per mole (g/mol). They are numerically identical but have different units.