molecalculator

Moles & Molar Mass

Moles Calculator: Convert Mass to Amount of Substance

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

Amount of substance 1.0000 mol
Number of particles
6.022 × 1023 entities
Result, rounded to 3 decimal places
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)
You get
Amount of substance (mol), Number of particles (entities)
Rounding
4 dp · 3 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 mole is the SI unit for amount of substance: it counts a specified number of elementary entities, such as atoms, molecules, or ions. This calculator converts a sample’s mass and molar mass into moles; enter those two values to get the amount of substance and the corresponding particle count.

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 follows from Avogadro’s constant: N = n × NA, where N is the number of specified entities and NA = 6.02214076 × 1023 mol−1 exactly. “Entities” must mean the same kind of thing throughout: for water, they are molecules; for sodium chloride formula units, they are formula units; for an elemental sample, they may be atoms.

Worked Example

For the calculator’s default values, the sample mass is 18.015 g and the molar mass is 18.015 g/mol.

  1. Calculate amount: n = m / M = 18.015 g / (18.015 g/mol) = 1.0000 mol.
  2. Calculate the number of entities: N = n × NA = 1.0000 mol × 6.02214076 × 1023 mol−1 = 6.022 × 1023 entities.

The first result is 1.0000 mol. The particle count is an estimate of the number represented by the amount, not a practical count of individually observed particles.

Assumptions

  • The sample mass and molar mass use compatible units; this calculator takes grams and grams per mole.
  • The sample’s composition is represented by one appropriate molar mass. Mixtures may require separate calculations for each component.
  • The particle-count output uses the entity defined by the formula or substance being counted.

What a Mole Measures

The mole measures amount of substance, not mass, volume, or concentration. It is a counting unit, like a dozen, but its count is extraordinarily large: one mole contains exactly 6.02214076 × 1023 specified entities. The entities can be atoms, molecules, ions, electrons, or other specified particles.

The SI definition fixes the numerical value of Avogadro’s constant. The mole is defined by the number of entities, rather than by the mass of a particular element. This matters because different atoms and molecules have different masses: a mole of carbon atoms and a mole of water molecules contain the same number of entities but have different masses.

Amount of substance is written in moles, with symbol mol. Small amounts are often expressed with prefixes: one millimole (mmol) is 0.001 mol, and one micromole (µmol) is 0.000001 mol. A prefix changes the scale, not the underlying kind of quantity.

How Mass Connects to Moles

Molar mass tells you the mass of one mole of a substance. Its units are commonly g/mol. For a pure substance, divide its mass by its molar mass to find the amount. For example, if a substance has a molar mass of 58.44 g/mol, then 5.844 g corresponds to 0.1000 mol: 5.844 g ÷ 58.44 g/mol = 0.1000 mol.

Molar mass is calculated from a chemical formula and the relative atomic masses of its constituent elements. For water, H2O, using H = 1.008 and O = 15.999 gives approximately 2(1.008) + 15.999 = 18.015 g/mol. These standard atomic weights are generally suitable for ordinary chemistry calculations; actual isotopic composition can affect the precise mass of a particular sample.

  • For an element, use the molar mass of its atoms, unless the substance is a molecule such as O2.
  • For a molecular compound, use the molar mass of the molecules described by its formula.
  • For an ionic compound, calculations commonly count formula units, not separate intact molecules.

Using the Result in Chemistry

Moles make it possible to compare substances by particle count even when their particles have different masses. Chemical equations use mole ratios from their balanced coefficients. For example, the equation 2H2 + O2 → 2H2O indicates that two moles of hydrogen molecules react with one mole of oxygen molecules to form two moles of water molecules, assuming the reaction proceeds as written.

Once an amount in moles is known, it can be used in other calculations. For a solution, molar concentration is amount divided by final solution volume in litres: c = n / V, with c in mol/L. For a gas, an equation of state may relate moles to pressure, volume, and temperature. Those calculations need additional information and assumptions; the mass-to-moles conversion alone does not determine a solution’s concentration or a gas’s volume.

Common Unit and Counting Mistakes

  • Confusing moles with molarity: moles measure amount, while molarity measures amount per volume. A 1 mol sample is not necessarily a 1 mol/L solution.
  • Using the wrong molar mass: check the formula, subscripts, and whether the material is an element, molecule, hydrate, or salt. A different chemical form can have a different molar mass.
  • Mixing mass units: this calculator expects grams. Convert milligrams to grams by dividing by 1,000, or kilograms to grams by multiplying by 1,000.
  • Counting the wrong entity: one mole of O2 contains one mole of oxygen molecules but two moles of oxygen atoms. State what is being counted.
  • Rounding too early: retain useful digits through intermediate calculations, then round the final answer to match the precision of the measured mass and molar mass.

The calculated amount is only as reliable as the input data. A balance reading has measurement uncertainty, and a sample that is impure, wet, or compositionally variable may not have the assumed molar mass. The calculator does not identify a substance or correct for impurities.

Frequently Asked Questions

Is a mole a unit of mass?
No. A mole is a unit of amount of substance—a count of specified entities. The mass of one mole depends on the substance and is given by its molar mass.

How many particles are in one mole?
Exactly 6.02214076 × 1023 specified entities. The entities might be atoms, molecules, ions, or another clearly defined particle type.

How do I convert grams to moles?
Divide the mass in grams by the substance’s molar mass in grams per mole: n = m/M. Confirm that the molar mass matches the correct chemical formula.

Is one mole always the same mass?
No. One mole always contains the same number of specified entities, but its mass varies. One mole of water has a mass near 18.015 g, while one mole of carbon atoms has a mass near 12.011 g.

What is the difference between mol and mol/L?
Mol is an amount of substance. Mol/L, also written M, is molar concentration: the amount of substance divided by the final solution volume in litres.

Related

Formula used
in m | Sample mass | g | 18.015 | 0
in mm | Molar mass | g/mol | 18.015 | 0.001
out n | Amount of substance | mol | m / mm | 4
out p | Number of particles | entities | n * 6.02214076e23 | 3

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 →