Calculating moles in chemistry means converting a measured quantity—most often mass, particle count, or solution concentration—into the amount of substance in moles. This calculator finds moles from a sample’s mass and molar mass: enter both in grams and grams per mole to get the amount in mol.
Formula
The mass-based mole formula is n = m / M. Here, n is the amount of substance in moles (mol), m is the sample mass in grams (g), and M is the molar mass in grams per mole (g/mol). Dividing grams by grams per mole leaves moles.
For the optional particle estimate, N = n × NA, where N is the number of entities (atoms, molecules, ions, or specified formula units) and the exact Avogadro constant is NA = 6.02214076 × 1023 mol−1. The particle type depends on the substance and on what the question asks you to count.
Worked Example
Using the calculator’s default values, a 10 g sample has a molar mass of 58.44 g/mol:
- Write the mass-based formula: n = m / M.
- Substitute the values: n = 10 g / 58.44 g/mol = 0.1711157 mol.
- Rounded to the calculator’s four decimal places, the amount is 0.1711 mol.
- For the particle estimate, N = 0.1711157 mol × 6.02214076 × 1023 mol−1 ≈ 1.0304 × 1023 particles.
The molar mass default, 58.44 g/mol, is a conventional value for sodium chloride, NaCl, using abridged standard atomic weights: Na = 22.990 and Cl = 35.45, so 22.990 + 35.45 = 58.440 g/mol. The calculator accepts other molar masses; use the correct formula and atomic-weight convention for your substance.
Assumptions
- The entered mass is the mass of the substance whose molar mass you enter, not the mass of a mixture or container.
- The entered molar mass applies to the stated chemical formula and is expressed in g/mol.
- The particle output treats the entities as countable units; it does not assume that a compound dissociates or reacts in any particular way.
- Values are rounded for display. Uncertainty in weighing, purity, composition, and molar mass is not included.
What a Mole Measures
A mole is the SI unit for amount of substance. One mole contains exactly 6.02214076 × 1023 specified entities. Those entities can be atoms, molecules, ions, electrons, or formula units; “one mole” by itself does not identify which kind is meant. For example, one mole of water molecules contains one mole of H2O molecules, while each molecule has two hydrogen atoms and one oxygen atom.
The mole connects the microscopic scale of particles with quantities that can be measured in a laboratory. Since individual atoms and molecules are far too small to count directly in ordinary samples, chemists commonly measure a mass and use molar mass to calculate the corresponding amount. Molar mass is the mass of one mole of a specified substance.
Choosing the Right Mole Calculation
Mass is common, but chemistry questions provide different starting information. Match the given quantity to the appropriate relationship:
- Mass and molar mass: n = m / M. Use consistent units, such as grams and g/mol.
- Number of entities: n = N / NA. Divide the particle count by 6.02214076 × 1023 entities per mole.
- Solution concentration and volume: n = cV, where concentration c is in mol/L and volume V is in liters. Convert milliliters to liters by dividing by 1000.
- Gas data: for an ideal gas, n = PV/(RT), with pressure, volume, temperature, and gas constant expressed in compatible units. Temperature must be in kelvins.
Do not use a mass formula when the question gives only solution volume: volume alone does not reveal how much solute is present. You also need a concentration, density and composition information, or another suitable relationship. For reaction questions, first calculate the moles of each relevant substance, then use the balanced equation’s coefficients to relate their amounts.
Using Moles in Stoichiometry
A balanced chemical equation gives mole ratios, not direct mass ratios. For example, the equation 2H2 + O2 → 2H2O says that two moles of hydrogen react with one mole of oxygen to form two moles of water, assuming the reaction proceeds as written. Coefficients provide the conversion factors between substances.
A typical stoichiometry problem follows this pattern:
- Convert the supplied mass, solution data, or particle count to moles.
- Use the balanced equation to convert from the known substance’s moles to the requested substance’s moles.
- If needed, convert the result to mass, particles, or concentration using the appropriate relationship.
When more than one reactant quantity is provided, compare the available mole amounts with the equation’s ratio. The reactant that runs out first is the limiting reactant; it determines the maximum theoretical amount of product. A mole calculator can handle the conversions, but identifying that reactant requires comparing the balanced stoichiometric amounts.
Common Errors and Limits
- Using the wrong molar mass: A formula change, hydrate, isotope composition, or salt form can change the value. Calculate molar mass from the substance’s actual formula.
- Mixing units: Grams divided by g/mol gives moles. Milligrams need conversion to grams, and volume-based concentration calculations require liters when concentration is in mol/L.
- Confusing amount and concentration: Moles describe an amount; molarity describes amount per solution volume. The same number of moles can have different molarities at different final volumes.
- Rounding too early: Keep extra digits during intermediate steps and round the reported result to match the precision of the measurements and the question.
- Counting the wrong entities: A mole of an ionic compound is usually described in formula units, not as intact molecules. State what is being counted.
The mass formula is direct, but it cannot correct for impurities or an incorrectly identified sample. If a weighed material is not pure, the mass of the desired substance is less than the total sample mass; a purity fraction or composition measurement is needed. Likewise, a calculator’s displayed precision does not make the underlying measurements more precise. For bench work, 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 substance’s molar mass in g/mol: n = m/M. The result is in moles.
How many particles are in one mole?
Exactly 6.02214076 × 1023 specified entities are in one mole. The entities might be atoms, molecules, ions, or formula units.
How do I find molar mass?
Add the atomic masses in the chemical formula, multiplying each element’s atomic mass by its subscript. For NaCl, 22.990 + 35.45 = 58.440 g/mol.
Can I calculate moles from milliliters?
Not from volume alone. If you know solution molarity, convert the volume to liters and use n = cV. If you have a gas, use an appropriate gas relationship and the required conditions.
Is a mole the same as a molecule?
No. A mole is an amount containing a very large, fixed number of entities. A molecule is one possible type of entity being counted.
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 | 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
- Molecules to Grams Calculator: Convert with Molar Mass18.0150 g
- How Many Protons Are in Potassium (K)?19 protons
- Moles of Electrons: Formula and Calculator
- Molecules to Liters Calculator: Convert Using Molarity0.1000 L
- How to Calculate mL to Moles: Formula and Calculator0.1250 mol
- Free Energy Change Calculation: ΔG Formula and Example-24.907 kJ/mol