molecalculator

Moles & Molar Mass

Molar Amount Calculator: Find Moles from Mass

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

Amount of substance 0.1711 mol
Number of particles
1.030 × 1023 particles
Result, rounded to 4 decimal places
Sample mass
10 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
Amount of substance (mol), Number of particles (particles)
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.

A molar amount calculator finds the amount of substance, in moles, from a sample’s mass and molar mass. Enter mass in grams and molar mass in grams per mole; the calculator returns moles and, for context, the equivalent number of particles.

Formula

The amount of substance is the sample mass divided by its molar mass:

n = m / M

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

The particle count is N = n × NA, where N is the number of specified entities (such as molecules or formula units) and the Avogadro constant, NA = 6.02214076 × 1023 mol−1, is exact. The calculator’s particle result is a numerical count, not a mass or a concentration.

Worked Example

Using the defaults, the sample mass is 10 g and the entered molar mass is 58.44 g/mol.

  1. Amount in moles: n = m / M = 10 g / 58.44 g/mol = 0.1711 mol (rounded to four decimal places).
  2. Number of particles: N = 0.1711 mol × 6.02214076 × 1023 mol−1 ≈ 1.030 × 1023 particles.

For the particle calculation before rounding the amount, 10 / 58.44 × 6.02214076 × 1023 = 1.0301 × 1023 particles. The displayed mole result is rounded to four decimal places; the particle result is likewise displayed to four significant decimal places.

Assumptions

  • The entered mass is the mass of the substance whose amount is being calculated, rather than the mass of a mixture or container.
  • The molar mass is appropriate to the substance’s stated chemical formula and form.
  • Particle count means the entities represented by that formula: molecules for a molecular substance, or formula units for an ionic compound.
  • This is a mass-to-moles calculation; it does not assume a solution volume, temperature, pressure, reaction yield, or complete dissociation.

What a Molar Amount Means

A mole is the SI unit for amount of substance. One mole contains exactly 6.02214076 × 1023 specified entities. Because atoms and molecules are far too small to count individually in an ordinary sample, chemists use the mole to connect a measurable bulk quantity, such as mass, with a number of entities.

Moles are not the same as molarity. Amount in moles tells how much substance is present. Molarity tells how much substance is present per volume of solution, usually in mol/L. To calculate molarity, a final solution volume is also needed: c = n / V, with volume in liters. A mass-to-moles result alone cannot determine concentration.

How to Use the Calculator

  1. Enter the mass of the sample in grams. Convert other mass units first: 1 kg = 1000 g, and 1 mg = 0.001 g.
  2. Enter the substance’s molar mass in g/mol. Use the value for the exact formula and chemical form, including waters of hydration or counterions when they are part of the material.
  3. Read the amount in moles. The particle-count output multiplies that amount by Avogadro’s constant.

The default molar mass, 58.44 g/mol, is a commonly used rounded value for sodium chloride (NaCl), based on abridged standard atomic weights Na = 22.990 and Cl = 35.45 g/mol. The sample mass of 10 g is an example input, not a recommended quantity for any procedure.

For another compound, calculate molar mass by adding the atomic masses in its formula, each multiplied by the number of atoms of that element. For example, water, H2O, has a molar mass of 2 × 1.008 + 15.999 = 18.015 g/mol. Entering a better-supported molar mass improves the result; atomic weights and reported molar masses may be rounded to different precision.

Common Errors and Limits

  • Mixing units: dividing a mass in milligrams directly by a molar mass in g/mol makes the answer 1000 times too small. Convert the mass to grams first, or use a consistently converted formula.
  • Using the wrong chemical form: a hydrated salt includes water molecules in its formula and has a different molar mass from its anhydrous form. A salt’s formula-unit mass also differs from that of the corresponding neutral compound.
  • Confusing amount with concentration: moles alone do not tell how concentrated a solution is. Include the final solution volume for a molarity calculation; solvent volume is not necessarily the same as final solution volume.
  • Rounding too early: retain the molar mass at a suitable precision through the calculation, then round the result to match the precision of the measured mass and the purpose of the work.
  • Counting the wrong entity: an ionic solid is commonly described in formula units, not discrete molecules. The numerical particle count depends on what entity the formula represents.

This simple formula applies when the sample’s mass and molar mass are known. It does not account for impurities, moisture, incomplete transfer, or uncertain composition. For a mixture, an unknown substance, or a reagent with a stated purity, more information is required to determine the amount of the target component. Where bench work is implied, follow your lab method, the safety data sheet (SDS) and your supervisor.

Frequently Asked Questions

How do I calculate moles from grams?
Divide the mass in grams by the molar mass in grams per mole: n = m / M. The units cancel to give moles.

How do I find molar mass?
Add the atomic weights of all atoms in the chemical formula, counting each element according to its subscript. Use the formula for the actual chemical form, including waters of hydration where applicable.

How many particles are in one mole?
Exactly 6.02214076 × 1023 specified entities are in one mole. Depending on the substance, those entities may be atoms, molecules, ions, or formula units.

Can I calculate moles from volume alone?
Not in general. You also need information such as concentration for a solution, or pressure, temperature, and an appropriate gas model for a gas. Volume by itself does not specify an amount of substance.

Is molar amount the same as molarity?
No. Molar amount is measured in mol; molarity is amount per solution volume, usually mol/L. Calculating molarity requires both the amount and the final solution volume.

Related

Formula used
in m | Sample mass | g | 10 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
out n | Amount of substance | mol | m / mm | 4
out p | Number of particles | particles | n * 6.02214076e23 | 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 →