molecalculator

Moles & Molar Mass

Moles: Calculate the Quantity from Mass or Particles

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

Quantity of substance 0.0500 mol
Sample mass
2.922 g
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Sample mass (g), Molar mass (g/mol)
You get
Quantity of substance (mol)
Rounding
4 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 determines the amount of a substance in moles from its mass and molar mass, or from a count of particles. Enter the values that match what you know to get the quantity in mol; use the mass method for a weighed sample and the particle method when you have a particle count.

Formula

For a sample whose mass is known, divide the mass by the substance’s molar mass:

n = m / M

  • n is the amount of substance, in moles (mol).
  • m is the sample mass, in grams (g).
  • M is the molar mass, in grams per mole (g/mol).

The units cancel as g ÷ (g/mol) = mol. This calculator uses grams for mass and grams per mole for molar mass. Convert other units before entering values: for example, divide milligrams by 1,000 to get grams, or multiply kilograms by 1,000 to get grams.

If you know the number of particles instead of the mass, use n = N / NA, where N is the count of atoms, molecules, ions, or other specified entities, and the exact Avogadro constant is NA = 6.02214076 × 1023 entities/mol. The calculator above is for the mass method; calculate with the particle formula separately when that is the information available.

Worked Example

The example uses the calculator’s default inputs: a sample mass of 2.922 g and a molar mass of 58.44 g/mol.

  1. Write the formula: n = m / M.
  2. Substitute the inputs: n = 2.922 g / 58.44 g/mol.
  3. Divide and cancel grams: n = 0.050000 mol.

The calculator displays 0.0500 mol when rounded to four decimal places. The unrounded quotient is 0.050000 mol.

Assumptions

  • The sample is a single, identified substance with a known molar mass.
  • The entered mass is the mass of that substance, not the mass of a container, solvent, or mixture.
  • The calculation gives the amount of substance in the sample; it does not require a temperature or pressure assumption.

What You’ll Need

  • The measured mass of the sample, in grams, if using the calculator.
  • The correct molar mass for the substance, in g/mol. For a pure chemical compound, calculate it by adding the atomic weights of all atoms in its formula, accounting for subscripts. Use IUPAC abridged standard atomic weights; for example, H = 1.008, C = 12.011, N = 14.007, O = 15.999, Na = 22.990, and Cl = 35.45.
  • If using the particle-count method instead, a count of the specified entities and a calculator.
  • A calculator or spreadsheet for arithmetic, if needed. For any bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.

Step-by-Step

  1. Identify the substance. Check its chemical formula and whether the sample is a pure compound, an element, or a mixture. A molar mass is only useful when it matches the material being counted. For mixtures, determine the amount of each component separately if their composition is known.
  2. Choose the information you have. If you can weigh the sample, use n = m / M. If you have a known number of entities, use n = N / NA. Be precise about what counts as one entity: an atom, molecule, ion, or formula unit can give a different result.
  3. Find the molar mass. Look up a reliable value for the exact substance or calculate it from the chemical formula. For example, NaCl has one sodium atom and one chlorine atom, so its molar mass is approximately 22.990 + 35.45 = 58.44 g/mol. Preserve extra digits during the calculation and round the final result appropriately.
  4. Put mass in grams. Convert the measured value before entering it. For example, 250 mg is 0.250 g because 1,000 mg = 1 g; 0.012 kg is 12 g because 1 kg = 1,000 g. Do not enter a value in milligrams or kilograms while labelling it as grams.
  5. Enter both values. Type the sample mass in g and the molar mass in g/mol. Check that the decimal point and units are correct, then read the result in mol. The formula yields an amount, not a concentration or a mass.
  6. For a particle count, divide by Avogadro’s constant. Use n = N / (6.02214076 × 1023 entities/mol). For instance, a count of 1.204428152 × 1023 molecules corresponds to 0.200000 mol. The entities named in the count must be the same entities intended by the answer.
  7. Check the scale and report sensibly. A mole is a very large number of entities, so ordinary laboratory samples often contain small fractions of a mole. Keep enough significant figures for later calculations, and round only when reporting. Include the unit mol and state what substance or entity the amount refers to.

Common Mistakes

  • Using the wrong molar mass: A formula subscript applies to the element immediately before it; parentheses multiply every atom inside them. Check the complete formula, including waters of hydration or other explicitly included components.
  • Mixing units: Dividing a mass in milligrams directly by a molar mass in g/mol makes the answer 1,000 times too large. Convert the mass to grams first.
  • Confusing moles with molarity: Moles measure amount of substance. Molarity measures amount per volume, in mol/L, and requires a solution volume.
  • Counting the wrong entity: One mole of molecules and one mole of atoms are not interchangeable if each molecule contains multiple atoms. State whether the count refers to atoms, molecules, ions, or formula units.
  • Rounding too early: Shortening the molar mass before dividing can introduce avoidable error. Keep full available precision through intermediate steps.
  • Applying a pure-substance formula to a mixture: A mixture does not generally have one molar mass unless its composition is specified. Calculate each component’s amount from its own mass and molar mass.

Tips

  • Write units beside every number before calculating. They provide a quick check: g divided by g/mol must produce mol.
  • Use the molar mass for the correct chemical form. Hydrated compounds, salts, and isotopically enriched materials may have a different molar mass from the simplest formula or natural-abundance value.
  • For a solution prepared to a target concentration, calculate the required moles first, then use the concentration relationship n = cV with volume in litres. The volume refers to the final solution volume, not necessarily the amount of solvent added.
  • For very large particle counts, use scientific notation and keep the power of ten with the number. Do not round Avogadro’s constant unnecessarily.
  • When weighing a sample in practice, account for the balance’s readability and any required tare or blank correction; the arithmetic cannot correct a biased measurement.

Troubleshooting

The answer seems 1,000 times too high or low. Recheck whether the mass was entered in grams. Convert mg to g by dividing by 1,000 and kg to g by multiplying by 1,000.

The result is unexpectedly large or small. Verify the molar-mass units, formula, subscripts, and sample identity. A molar mass entered in kg/mol must be converted to g/mol by multiplying by 1,000.

The calculator rejects an input or gives no useful result. Enter nonnegative numbers using a decimal point, without unit text or thousands separators. Confirm that the mass and molar mass are greater than zero; a zero molar mass cannot be used as a divisor.

A measured mixture has no clear molar mass. Do not use an assumed average unless the composition is known and the calculation method supports it. Identify the components and their amounts, or obtain composition information before calculating.

The answer does not match another source. Check whether both calculations use the same chemical form, atomic-weight convention, units, and rounding. Small differences can arise from rounding; larger differences usually point to a unit or formula mismatch.

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 calculate moles from grams?
Divide the mass in grams by the substance’s molar mass in g/mol: n = m / M.

Can I find moles without knowing the mass?
Yes. If you know the number of specified entities, divide that count by Avogadro’s constant. Other measurements may also work when paired with an applicable relationship and the necessary data.

Can moles be negative?
No. An amount of substance cannot be negative. A negative result usually indicates an incorrectly entered value or a formula error.

How many significant figures should I use?
Keep extra digits during calculations, then round to a precision justified by the least precise measurement. The displayed result is rounded and may not show every available digit.

Is a mole the same as molarity?
No. A mole is an amount; molarity is concentration, measured in mol/L. To calculate molarity, you also need the final solution volume in litres.

Related

Formula used
in m | Sample mass | g | 2.922 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
out n | Quantity of substance | mol | m / mm | 4

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 →