A mol calculator in chemistry converts between an amount of substance in moles and quantities such as mass, molar mass, or number of particles. Enter the two known values below to calculate the third; the results use the standard relationship between grams, molar mass, and moles.
Formula
The amount of substance is mass divided by molar mass: n = m / M. Here, n is amount in moles (mol), m is sample mass in grams (g), and M is molar mass in grams per mole (g/mol). The unit calculation is g ÷ (g/mol) = mol.
The particle count follows N = n × NA, where N is the number of specified entities and the Avogadro constant is NA = 6.02214076 × 1023 mol−1, exactly. “Particles” may mean atoms, molecules, ions, or formula units; choose the entity that matches the chemical formula and question.
Worked Example
The defaults represent 18.0 g of water, using a molar mass of 18.015 g/mol. First calculate moles:
n = m / M = 18.0 g / 18.015 g/mol ≈ 0.99917 mol
The calculator displays the amount to four decimal places: 0.9992 mol. For a count of water molecules, multiply the unrounded amount by Avogadro’s constant:
N = n × NA = (18.0 / 18.015) × 6.02214076 × 1023 ≈ 6.0171 × 1023 molecules
Rounded to the calculator’s four decimal places, the particle result is 6.0171 × 1023 particles. The numerical count is enormous because even a small macroscopic sample contains a vast number of molecules.
Assumptions
- The mass is in grams and the molar mass is in grams per mole.
- The sample is treated as the stated pure substance; impurities or a mixture require separate composition data.
- For the particle output, the counted entity is assumed to be the one intended by the user, such as molecules for water.
- The calculation does not account for measurement uncertainty, significant figures, or chemical reactions that change which entities are present.
What a Mole Means
A mole is the SI unit for amount of substance. One mole contains exactly 6.02214076 × 1023 specified entities. This fixed number makes it possible to connect the microscopic scale of atoms and molecules with quantities that can be weighed in a laboratory.
A mole is not itself a mass. One mole of carbon atoms and one mole of water molecules contain the same number of entities, but their masses differ because the entities have different masses. The molar mass expresses that relationship: it is the mass of one mole of a specified substance.
In chemical equations, coefficients describe relative amounts in moles. For example, the balanced equation 2H2 + O2 → 2H2O states 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. The equation does not say that two grams react with one gram.
How to Find Molar Mass
For a pure compound, calculate molar mass by adding the atomic masses of every atom represented in its chemical formula. Use a consistent set of standard atomic weights; the values below are common abridged values suitable for ordinary calculations.
- Water, H2O: 2(1.008) + 15.999 = 18.015 g/mol.
- Carbon dioxide, CO2: 12.011 + 2(15.999) = 44.009 g/mol.
- Sodium chloride, NaCl: 22.990 + 35.45 = 58.44 g/mol.
Parentheses and subscripts matter. In Ca(OH)2, the subscript 2 applies to both O and H, so its molar mass is 40.078 + 2(15.999 + 1.008) = 74.092 g/mol. For an isotope-specific substance, use the relevant isotope mass rather than an average standard atomic weight. Hydrates also include the waters shown in their formula.
When to Use a Mole Calculator
This calculator is useful when a chemistry problem gives sample mass and molar mass and asks for moles, or when you want a theoretical particle count from those data. To calculate mass instead, rearrange the relationship to m = nM. To find molar mass from known mass and moles, use M = m/n, provided n is not zero.
For a solution, moles can be combined with volume to calculate molarity: c = n/V, where volume must be in liters and concentration is in mol/L. For example, a volume entered in milliliters must be divided by 1000 to convert it to liters. The calculator here does not determine a solution concentration because it has no volume input.
For reaction calculations, first balance the chemical equation, then use its coefficients as mole ratios. A mole conversion alone cannot identify the limiting reactant or account for actual reaction yield; those require additional inputs and chemical context.
Common Errors and Limits
- Mixing units: Do not divide a mass in milligrams by a molar mass in g/mol without converting milligrams to grams. For example, 250 mg = 0.250 g.
- Using the wrong molar mass: Check the complete formula, including subscripts, parentheses, waters of hydration, and whether an ionic compound is represented by formula units.
- Confusing particles: A mole of NaCl refers to formula units, not intact NaCl molecules in an aqueous solution. The intended entity must be stated.
- Rounding too early: Keep extra digits through intermediate steps and round the final result to match the precision of the measured inputs. Displayed digits do not imply the original measurement was that precise.
The equations are bookkeeping relationships, not a measurement of purity or reaction completion. A balance’s uncertainty, sample contamination, and uncertainty in the stated composition can all affect the real amount. 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. Confirm that both values refer to the same substance and compatible units.
How many particles are in one mole?
One mole contains exactly 6.02214076 × 1023 specified entities. Depending on the substance, those entities can be atoms, molecules, ions, or formula units.
Is a mole the same as a molecule?
No. A molecule is one chemical entity; a mole is an amount containing Avogadro’s exact number of specified entities.
Can I calculate moles without molar mass?
Not from mass alone. You need a molar mass or other suitable information, such as a known concentration and solution volume, to determine amount in moles.
Why is the calculated particle count not a whole number?
The calculator uses rounded input values and reports a rounded mathematical estimate. A macroscopic sample contains a whole-number count of entities, but that count is not generally known exactly from measured mass.
Related
Formula used
in m | Sample mass | g | 18.0 | 0 in mm | Molar mass | g/mol | 18.015 | 0 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
- 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