To find the amount of a substance in moles from its mass, use n = m ÷ M: divide the sample’s mass by its molar mass. Enter mass in grams and molar mass in grams per mole in the calculator below to get moles; it also converts the result to millimoles.
Formula
The formula for finding moles from mass is:
n = m / M
- n is the amount of substance, in moles (mol).
- m is the mass of the sample, in grams (g).
- M is the substance’s molar mass, in grams per mole (g/mol).
The units explain why the division works: g ÷ (g/mol) = mol. The calculator’s second result uses 1 mol = 1000 mmol. Its first result is rounded to four decimal places, so very small amounts may display as 0.0000 mol even when the unrounded amount is nonzero; check the millimole result or increase calculation precision if needed.
Worked Example
Using the calculator’s default values, find the amount in a 10 g sample with a molar mass of 58.44 g/mol:
- Write the formula: n = m / M.
- Substitute the values: n = 10 g / (58.44 g/mol).
- Calculate: n = 0.1711157… mol, which rounds to 0.1711 mol.
- Convert to millimoles: 0.1711157… mol × 1000 mmol/mol = 171.1157… mmol, which rounds to 171.12 mmol.
The molar mass default, 58.44 g/mol, is a conventional value for sodium chloride calculated from the abridged standard atomic weights Na = 22.990 and Cl = 35.45 g/mol. The displayed result uses the provided default rather than recalculating the compound’s formula.
Assumptions
- The entered mass is the mass of the substance being counted, not the total mass of a mixture, container, or solvent.
- The molar mass is appropriate for the substance’s stated chemical formula and form.
- The sample’s composition is known. Impurities or water in a sample can make its effective amount differ from the amount calculated from its total mass.
- This is a study and lab-planning calculation, not a procedure. For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.
What a Mole Measures
A mole is the SI unit for amount of substance. One mole contains exactly 6.02214076 × 1023 specified entities. Depending on what is being counted, those entities can be atoms, molecules, ions, or other stated particles. The number is called the Avogadro constant when expressed per mole.
Moles are useful because chemical equations describe ratios of particles, while laboratory balances measure mass. Converting mass to moles connects these two scales. For example, an equation’s coefficients can specify that two moles of one reactant correspond to one mole of another; masses alone do not show that particle ratio unless they are first converted using molar masses.
“Amount” here does not mean volume or concentration. Moles count entities through a defined unit. A solution’s concentration tells you how much substance is present per volume, while the number of moles tells you the total amount in the sample.
Choosing the Right Mole Formula
Mass divided by molar mass is the standard route when you know a sample’s mass. Other measurements call for different relationships; do not apply n = m/M unless you have both a suitable mass and molar mass.
- From particles: n = N / NA, where N is the number of specified entities and NA = 6.02214076 × 1023 entities/mol.
- From solution concentration: n = cV, where c is molar concentration in mol/L and V is solution volume in L. Convert millilitres to litres by dividing by 1000.
- From an ideal gas: n = PV/(RT), with pressure, volume, and absolute temperature in consistent units with the selected gas constant. This relationship assumes ideal-gas behavior.
These are not interchangeable without the required information. A volume by itself does not give moles unless you also know a relevant concentration, density and composition, or gas conditions.
Common Mistakes and Limits
- Mixing units: If the sample mass is in milligrams, convert it to grams before using a molar mass in g/mol: 1000 mg = 1 g. Alternatively, use a molar mass in matching units, such as mg/mol.
- Using the wrong molar mass: Calculate molar mass from the correct chemical formula, including subscripts. For a compound, add the atomic masses of all atoms represented in its formula.
- Confusing molar mass and molecular mass: Molar mass has units of g/mol. Relative molecular mass is a ratio and has no units, even though their numerical values are often similar.
- Rounding too early: Keep extra digits during intermediate calculations and round the final answer to a precision justified by the measurements.
- Assuming a pure sample: The calculator treats all entered mass as the named substance. If a sample’s purity or composition is known, account for it separately; otherwise, a mass-based result may overstate the amount of the target substance.
The calculation itself does not identify a substance, determine its purity, or show whether a reaction will proceed. It only converts a supplied mass and molar mass into an amount. A precise-looking answer cannot compensate for uncertain measurements or an unsuitable molar mass.
Frequently Asked Questions
What is the formula for moles?
For an amount calculated from mass, use n = m/M: divide mass by molar mass. Other information, such as particle count or solution concentration, uses a different formula.
How do I calculate moles from grams?
Divide the mass in grams by the molar mass in g/mol. For example, 10 g divided by 58.44 g/mol is about 0.1711 mol.
How do I find molar mass?
Add the atomic masses of every atom in the substance’s chemical formula, accounting for subscripts. The result is typically expressed in g/mol.
How many particles are in one mole?
One mole contains exactly 6.02214076 × 1023 specified entities, such as atoms or molecules.
Can I calculate moles from millilitres?
Not from volume alone. For a solution, you also need its concentration and use n = cV with volume in litres. For a gas, pressure, temperature, and a gas-law model may be needed.
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 nm | Amount of substance | mmol | n * 1000 | 2
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
- Air Density and Altitude: What Changes as You Climb1.225 kg/m^3
- Air Pressure and Density: How They Are Related
- Density vs Pressure: What Each Measures and Why1.000 kg/m^3
- DMF Density vs Pressure Calculator949.15 kg/m3
- Density vs Pressure Graph: How to Read the Relationship1,000.046 kg/m^3
- Air Pressure vs. Air Density: What’s the Difference?