molecalculator

Moles & Molar Mass

Moles: Calculate the Quantity from Mass or Particles

Calculator No. 01-6792 · Updated · Formula and assumptions shown below

Quantity of moles 1.0000 mol
Number of particles
6.022 × 1023 particles
Result, rounded to a whole number
Sample mass
18.015 g
Set in the form below
Molar mass
18.015 g/mol
Set in the form below
You enter
Sample mass (g), Molar mass (g/mol), Number of particles (particles), Given quantity
You get
Quantity of moles (mol), Number of particles (particles)
Rounding
4 dp · 0 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This calculator finds the amount of substance, in moles, from a sample’s mass and molar mass, or from a known number of particles. Enter the measurements that match your information; the result is the quantity of moles, with an optional particle-count conversion.

Formula

Choose the formula that matches the quantity you know:

  • From mass: n = m / M, where n is amount in moles (mol), m is sample mass (g), and M is molar mass (g/mol).
  • From particles: n = N / NA, where N is the number of specified particles and NA = 6.02214076 × 1023 mol−1 is the exact Avogadro constant.

The calculator’s first result uses your selected method. In its combined expression, method 1 selects mass divided by molar mass; method 2 selects particle count divided by Avogadro’s constant. The second result converts the calculated moles back to particles. For particle counts, specify what you are counting: atoms, molecules, ions, or another defined entity.

Worked Example

The defaults select mass in grams. They represent 18.015 g of water, using a molar mass of 18.015 g/mol.

  1. Apply n = m / M.
  2. Substitute the defaults: n = 18.015 g / 18.015 g/mol = 1.0000 mol.
  3. Convert this amount to particles: N = n × NA = 1.0000 mol × 6.02214076 × 1023 mol−1 = 6.022 × 1023 particles, to the displayed precision.

The calculator displays 1.0000 mol and 602214076000000000000000 particles. The latter is the same count shown in scientific notation above.

Assumptions

  • Mass and molar mass refer to the same pure substance, and the entered molar mass is appropriate for its specified chemical formula.
  • The particle-count method treats the entered count as a count of discrete entities of one defined type.
  • Avogadro’s constant is exact; the precision of the final answer is limited by the measurements and molar mass you provide.

What You’ll Need

  • For the mass method: sample mass in grams and the substance’s molar mass in grams per mole.
  • For the particle method: a count of the entities and a clear definition of what each entity is.
  • A calculator or this page’s calculator, plus a periodic table or reliable reference if you need to determine molar mass.

Step-by-Step

  1. Identify what is known. Use the mass method when you have a measured mass and know the substance’s formula. Use the particle method when the number of atoms, molecules, ions, or other entities is already given. Select the matching option in the calculator.
  2. For mass, find the correct molar mass. Add the atomic masses for every atom in one formula unit or molecule. Include subscripts and parentheses as written. For water, H2O, the calculation is 2 × 1.008 + 15.999 = 18.015 g/mol. Use a molar mass consistent with the sample’s chemical form; hydrates, salts, and isotopic compositions may differ.
  3. Enter the mass in grams. Convert other mass units before entering them: 1 kg = 1000 g and 1 mg = 0.001 g. Do not enter a volume or a concentration in the mass field. If your measurement is a solution volume, you need additional information such as concentration or density to determine the amount of solute.
  4. Enter molar mass in g/mol. Check that it belongs to the substance whose mass you entered. Divide mass by molar mass. The units reduce as g ÷ (g/mol) = mol, leaving an amount of substance rather than a mass.
  5. For particle counts, enter the number of entities. Keep the entity definition consistent. A count of molecules gives moles of molecules; a count of atoms gives moles of atoms. If converting from formula units to ions, account for how many ions each formula unit contains rather than silently changing what is counted.
  6. Read and assess the result. The first output is the quantity of moles. The second is the equivalent number of particles. Check that the magnitude makes sense: one mole contains about 6.022 × 1023 entities. Report no more significant figures than your input measurements justify.

Common Mistakes

  • Using the wrong molar mass: A formula, hydrate, salt form, or isotopic composition can change the value. Recheck the complete chemical formula and count every atom.
  • Mixing units: A mass in milligrams divided directly by a molar mass in g/mol gives a result 1000 times too small. Convert mass to grams first, or convert both quantities consistently.
  • Reversing the formula: For mass, moles equal mass divided by molar mass, not molar mass divided by mass. Dimensional analysis should leave mol.
  • Confusing particles with moles: A count such as 1.0 × 1023 is not 1.0 mol. Divide the count by Avogadro’s constant.
  • Rounding too early: Keep the full molar-mass calculation and calculator value until the final result. Extra decimal places do not make an imprecise measurement more accurate.

Tips

  • Write the formula with units before using numbers. The units reveal many conversion and division errors.
  • For a compound, calculate molar mass from the full formula, including parentheses, coefficients within the formula, and waters of hydration where applicable.
  • Use scientific notation for very large particle counts; it is easier to read and compare.
  • When comparing samples, keep the entity type and units consistent. Moles of atoms and moles of molecules are different quantities.
  • In bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.

Troubleshooting

The result seems 1000 times too large or small: Check whether the mass was entered in g rather than mg or kg. Convert it explicitly before calculating.

The result is unexpectedly tiny: Confirm that the molar mass is in g/mol, not kg/mol, and that you selected the correct method. A particle count smaller than Avogadro’s constant should give less than one mole.

You do not know the molar mass: Determine the substance’s formula first, then sum the atomic masses from a periodic table. If the exact chemical form is uncertain, the mole result cannot be reliable until that is resolved.

You have a volume instead of a mass: Volume alone does not determine moles. For a solution, use its concentration and volume; for a pure liquid or gas, additional substance-specific information and appropriate conditions may be needed.

Your answer has too many digits: Round only after calculation, using the least precise relevant measurement to decide how many significant figures to report.

Frequently Asked Questions

What is a mole?
A mole is the SI unit for amount of substance. One mole contains exactly 6.02214076 × 1023 specified entities.

How do I find moles from grams?
Divide the sample’s mass in grams by its molar mass in grams per mole: n = m / M.

How do I find moles from molecules?
Divide the number of molecules by 6.02214076 × 1023 molecules per mole.

Can I calculate moles from volume alone?
No. You also need information such as solution concentration, gas conditions, or a liquid’s density and molar mass, depending on the sample.

Can the number of moles be less than one?
Yes. A sample can contain any fractional amount of a mole; for example, 0.25 mol is one quarter of a mole.

Why does my answer differ from another calculator?
Check units, the chemical form and molar-mass convention, particle definition, and rounding. Small differences often result from different atomic weights or displayed precision.

Related

Formula used
in m | Sample mass | g | 18.015 | 0
in mm | Molar mass | g/mol | 18.015 | 0.001
in n | Number of particles | particles | 6.02214076e23 | 0
sel method | Given quantity | Mass in grams=1, Number of particles=2
out mol | Quantity of moles | mol | (m / mm) * (method - 1) + (n / 6.02214076e23) * (2 - method) | 4
out particles | Number of particles | particles | mol * 6.02214076e23 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →