molecalculator

Moles & Molar Mass

Molar Conversion Calculator: Mass to Moles and Particles

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

Amount of substance 1.0000 mol
Number of particles
6.022 × 1023 particles
Result, rounded to 4 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 (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 conversion calculator converts a substance’s mass into moles and, when useful, estimates the number of particles using its molar mass. Enter the mass in grams and molar mass in grams per mole; the calculator returns moles and particle count.

Formula

The mass-to-moles formula is n = m / M. Here, n is amount of substance in moles (mol), m is sample mass in grams (g), and M is molar mass in grams per mole (g/mol). The units cancel as g ÷ (g/mol) = mol.

To estimate the number of specified entities, use N = n × NA, where N is a count of entities and the Avogadro constant, NA, is exactly 6.02214076 × 1023 mol−1. The entity must be clear: it could be atoms, molecules, formula units, or another defined collection. The calculator’s particle output is a count, not a mass or a concentration.

Worked Example

Using the defaults, the sample mass is 18.015 g and its molar mass is 18.015 g/mol. The first output is therefore:

n = 18.015 g ÷ 18.015 g/mol = 1.0000 mol

For the particle count:

N = 1.0000 mol × 6.02214076 × 1023 mol−1 = 6.022 × 1023 particles

The molar mass used for this default example, 18.015 g/mol, is the conventional value for water calculated from the abridged standard atomic weights H = 1.008 and O = 15.999: 2 × 1.008 + 15.999 = 18.015 g/mol. The displayed calculator rounds the outputs to four decimal places; the particle count is shown here to four significant figures.

Assumptions

  • The entered mass is the mass of the substance of interest, not the total mass of a mixture or solution.
  • The entered molar mass matches the chemical formula and the form of the substance being counted.
  • The particle output treats the selected entity as the entity represented by one mole—for example, molecules for a molecular substance or formula units for an ionic compound.
  • The calculation does not account for purity, water of crystallization, mixtures, incomplete recovery, or measurement uncertainty.

When to Use a Molar Conversion

A mole is a counting unit used to connect a measurable mass with a number of chemical entities. Since individual atoms and molecules are far too small to weigh one by one, chemists use molar mass to convert between the laboratory-scale mass and the amount of substance.

Mass-to-mole conversion is useful when a reaction equation specifies quantities in moles, when comparing samples of different compounds, or when calculating the number of molecules represented by a sample. The reverse conversion is equally direct: m = n × M. If a task gives a target amount in moles and asks for the required mass, multiply rather than divide.

For example, suppose a calculation calls for 0.250 mol of a compound whose molar mass is 58.44 g/mol. The corresponding mass is 0.250 mol × 58.44 g/mol = 14.61 g. This is a mathematical conversion, not a complete preparation method: a solution’s final volume, purity, and laboratory instructions may also matter.

How to Choose the Molar Mass

Molar mass is the mass of one mole of a specified chemical entity. For a molecular formula, calculate it by adding each element’s atomic weight multiplied by the number of those atoms. For example, carbon dioxide, CO2, has a molar mass of 12.011 + 2 × 15.999 = 44.009 g/mol using the stated abridged standard atomic weights.

  • Check the complete formula, including subscripts and parentheses. A hydrate such as a compound followed by “·5H2O” includes five water molecules in its formula mass.
  • For ionic solids, use the formula-unit molar mass. An ionic crystal does not consist of discrete molecules in the same sense as a molecular substance.
  • Use a molar mass appropriate to the material’s stated chemical form. A salt, free acid, hydrate, or isotopically enriched compound can have a different value.
  • Do not confuse molar mass (g/mol) with molecular mass or relative molecular mass, which are commonly expressed as dimensionless quantities.

Atomic weights in standard tables may be reported with uncertainty or as intervals for elements whose natural isotopic composition varies. A calculator using a conventional abridged value gives a useful calculation, but it cannot resolve composition-specific variation unless that information is supplied.

Common Errors and Limits

The most frequent error is reversing the relationship: divide mass by molar mass to find moles, but multiply moles by molar mass to find mass. A second common error is mixing units. If mass is entered in milligrams, convert it to grams first (1,000 mg = 1 g); if mass is in kilograms, multiply by 1,000 to obtain grams. The calculator’s mass input is in grams.

Rounding can also matter. Keep several significant figures in intermediate steps and round the final result to match the precision justified by the measured mass and molar mass. A result with many calculator digits does not mean the original measurement was equally precise.

The particle count is often extremely large, so scientific notation is more readable than writing every digit. It is an idealized count derived from the entered values. It does not establish that a real sample is pure or that every entity is separately measurable.

For a solution, molarity is moles per litre of final solution, not per litre of solvent. Converting mass to moles alone does not calculate concentration; you also need the final solution volume, with millilitres converted to litres by dividing by 1,000. Likewise, reaction calculations may require a balanced chemical equation and stoichiometric ratios after the moles are found. Follow your lab method, the safety data sheet (SDS), and your supervisor.

Frequently Asked Questions

How do I convert grams to moles?
Divide the mass in grams by the substance’s molar mass in grams per mole: moles = grams ÷ (g/mol). Confirm that both values refer to the same chemical form.

How do I convert moles to grams?
Multiply the amount in moles by molar mass in grams per mole: grams = moles × (g/mol).

How do I find the number of molecules from moles?
Multiply moles by 6.02214076 × 1023 molecules per mole. This applies when the substance is molecular and “molecule” is the entity being counted. For an ionic solid, count formula units instead.

Is molar mass the same as molecular weight?
They are closely related but not identical as quantities. Molar mass has units, usually g/mol; molecular weight (relative molecular mass) is a ratio and has no units. In everyday lab calculations their numerical values are often similar when molar mass is expressed in g/mol.

Can I use this calculator for a solution?
Yes, to convert the mass of a known solute into moles. To calculate solution molarity, you also need the final solution volume in litres and use concentration = moles ÷ final volume. A mass-to-moles result alone is not a concentration.

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 | 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 →