molecalculator

Moles & Molar Mass

Moles Formula: Calculate Amount from Mass or Particles

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

Amount of substance 1.0000 mol
Number of particles
6.022 × 1023 particles
Result, rounded to a whole number
Mass of substance
18.015 g
Set in the form below
Molar mass
18.015 g/mol
Set in the form below
You enter
Mass of substance (g), Molar mass (g/mol), Number of particles (particles), Calculation method
You get
Amount of substance (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 works out the amount of a substance in moles from its mass and molar mass, or from a particle count using Avogadro’s constant. Enter the values for one method; the result is the amount in mol, with a particle-count conversion shown as a useful check.

Formula

The mole, symbol mol, is the SI unit for amount of substance. The formula depends on which information is known. From mass, divide the sample’s mass by its molar mass:

n = m / M

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

From a count of specified particles, divide by Avogadro’s constant:

n = N / NA

  • N is the number of specified entities, such as atoms, molecules, ions, or formula units.
  • NA is Avogadro’s constant, exactly 6.02214076 × 1023 mol−1.

The selector determines which equation supplies the headline result. The unused input does not contribute. The particle output is calculated as N = n × NA. A mole is a fixed amount of entities: one mole contains exactly 6.02214076 × 1023 specified entities. The entities must be identified; one mole of water molecules is not the same collection as one mole of hydrogen atoms.

Worked Example

This example uses the calculator’s default values and selects “From mass.” The sample is water, H2O, whose molar mass from the stated abridged atomic weights is 2(1.008) + 15.999 = 18.015 g/mol. The mass is 18.015 g.

  1. Use n = m / M.
  2. Substitute the values: n = 18.015 g / 18.015 g/mol.
  3. Cancel grams and evaluate: n = 1 mol, or 1.0000 mol to four decimal places.
  4. Convert to entities: N = 1 mol × 6.02214076 × 1023 mol−1 = 6.022 × 1023 particles.

The headline answer is 1.0000 mol; the particle output is 6.022 × 1023 particles. In this example, “particles” means water molecules. For ionic compounds, describe the counted entities as formula units unless the calculation specifically concerns ions in solution.

Assumptions

  • The mass and molar mass refer to the same pure chemical substance, and the mass is in grams.
  • The entered molar mass is appropriate for the compound’s stated formula and composition; the calculator does not infer a formula or correct for impurities or water content.
  • In particle mode, the input is a count of the chosen entities, not a mass or a concentration.
  • The particle conversion uses the exact SI value of Avogadro’s constant.

When to Use Each Moles Formula

Use n = m / M when a sample’s mass and chemical identity are known. This is common in stoichiometry, analytical chemistry, and solution calculations: once the amount is known, it can be combined with a balanced reaction or a volume measurement. The equation itself does not determine how much reacts; stoichiometric coefficients from a balanced equation are needed for that.

Use n = N / NA when the number of entities is given or calculated. For example, a count of 1.204428152 × 1024 molecules corresponds to 2 mol because dividing by 6.02214076 × 1023 molecules/mol gives 2 mol. In most laboratory work, individual molecules are not counted directly; the relation explains what the mole means and supports calculations involving atoms and particles.

A different familiar relation applies when concentration and solution volume are known: n = cV, where c is amount concentration in mol/L and V is volume in L. It is not the calculator’s selected method, but it is often the next step in solution work. Convert millilitres to litres by dividing by 1000 before multiplying. For instance, 250 mL is 0.250 L; using 250 as if it were litres gives an answer 1000 times too large.

How to Choose and Enter Molar Mass

Molar mass is the mass of one mole of the specified substance. For a molecular formula, add the atomic masses of all atoms in one formula unit, including subscripts. Using the abridged standard atomic weights H = 1.008 and O = 15.999, water has M = 2(1.008) + 15.999 = 18.015 g/mol. For carbon dioxide, C = 12.011 and O = 15.999 give M = 12.011 + 2(15.999) = 44.009 g/mol.

  • Check subscripts and parentheses in the chemical formula; for example, Ca(OH)2 contains two oxygen atoms and two hydrogen atoms.
  • Use a molar mass in g/mol when entering mass in g. If mass is in mg, convert to grams by dividing by 1000.
  • For a hydrate or a substance with variable composition, use the complete formula and relevant composition. A pure-compound molar mass may not represent a mixture.
  • Do not round each atomic contribution too aggressively. Carry sufficient digits through the calculation and round the final result to match the measurement precision.

Atomic weights can vary slightly with isotopic composition, and published tables may use different precision. For ordinary classroom calculations, standard abridged values are generally suitable; precise work should follow the specified reference or measurement convention.

Common Mistakes and Limits

The most common error is mixing units. Dividing grams by kilograms per mole, or using milligrams as grams, produces a result with the wrong scale. Another error is entering molecular mass as though it were already a sample mass: the formula requires both the measured mass and the molar mass, with units that cancel to mol.

A mole is not a mass, a volume, or a concentration. One mole of different substances has different masses because their molar masses differ. Nor does one mole always occupy the same volume: gas volume depends on conditions, while liquid and solid volumes depend on density and composition. Gas-law calculations require specified pressure and temperature; solution calculations require an appropriate volume and concentration.

The simple mass relation assumes the entered mass is attributable to the substance whose molar mass is used. If a sample is impure, wet, or a mixture, the formula alone cannot establish the amount of the target chemical. Likewise, a formula-unit calculation does not automatically account for dissociation, reaction yield, or chemical equilibrium. Those require additional information and a suitable model. For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.

Frequently Asked Questions

What is the formula for moles from mass?
Divide the sample mass by its molar mass: n = m / M. For grams and g/mol, the answer is in mol.

How do you calculate moles from particles?
Divide the number of specified entities by 6.02214076 × 1023 entities per mole: n = N / NA.

How do I find moles from molarity and volume?
Use n = cV, with concentration in mol/L and volume in L. Convert mL to L by dividing by 1000.

What does one mole mean?
One mole is the amount of substance containing exactly 6.02214076 × 1023 specified entities, such as molecules, atoms, or formula units.

Why do different substances have different masses per mole?
Their particles contain different atoms and numbers of atoms, so their molar masses differ. A mole fixes the number of entities, not their total mass.

Related

Formula used
in m | Mass of substance | g | 18.015 | 0
in mm | Molar mass | g/mol | 18.015 | 0
in n | Number of particles | particles | 6.02214076e23 | 0
sel method | Calculation method | From mass=1, From particles=2
out mol | Amount of substance | 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 →