To convert moles to grams, multiply the amount in moles by the substance’s molar mass in grams per mole: grams = moles × molar mass. Enter moles and molar mass in the calculator below to get the corresponding mass in grams.
Formula
Mass in grams = amount in moles × molar mass in grams per mole, or m = n × M. Here, m is mass in grams (g), n is amount in moles (mol), and M is molar mass (g/mol). The units cancel as follows: mol × g/mol = g.
Molar mass is the mass of one mole of a substance. The calculator takes it as an input because it depends on the compound. For sodium chloride, NaCl, an approximate molar mass calculated from abridged standard atomic weights is 22.990 g/mol for sodium plus 35.45 g/mol for chlorine, or 58.44 g/mol after rounding. The result is therefore only as accurate as the molar mass and mole amount you enter.
Worked Example
Using the calculator’s defaults, convert 2 mol of NaCl with a molar mass of 58.44 g/mol:
- Write the relationship: mass = amount × molar mass.
- Substitute the inputs: mass = 2 mol × 58.44 g/mol.
- Cancel mol and calculate: mass = 116.88 g.
- To three decimal places, the result is 116.880 g.
This is the mass corresponding to 2 mol of NaCl, not a measurement of solution volume. It does not say how much water or other solvent to use.
Assumptions
- The entered mole amount and molar mass refer to the same chemical substance and formula.
- The supplied molar mass is expressed in g/mol and is appropriate for the substance’s stated chemical form.
- The calculation converts amount of substance to mass; it does not account for purity, hydration, solvent, or reaction yield unless those are handled separately.
How the Conversion Works
A mole is a unit for amount of substance. One mole contains exactly 6.02214076 × 1023 specified entities, such as atoms, molecules, or formula units. The entities depend on how the substance is described: for an ionic compound such as NaCl, the representative entities are formula units; for a molecular compound such as water, they are molecules.
Molar mass connects that particle-counting scale to a laboratory mass. If one mole of a compound has a mass of 58.44 g, then two moles have twice that mass. For a fractional amount, the same multiplication applies: 0.25 mol of NaCl × 58.44 g/mol = 14.61 g. The method works for elements, molecules, ionic compounds, and other substances as long as the amount and molar mass refer to the same entity and formula.
To find the molar mass from a chemical formula, add the atomic masses for every atom in one formula unit or molecule. For example, water, H2O, has a molar mass of about 2 × 1.008 + 15.999 = 18.015 g/mol. Its mass for 0.50 mol is about 0.50 × 18.015 = 9.0075 g. Subscripts matter: they tell you how many of each atom to include.
When to Use It and How to Choose Molar Mass
Use this conversion when a calculation gives an amount in moles but a balance or recipe for a laboratory calculation requires mass. It is also useful in stoichiometry, where a balanced chemical equation relates moles of reactants and products, and the final amount must be expressed as grams.
- Use the exact formula and chemical form. Anhydrous material and a hydrate have different molar masses. For example, a formula containing waters of crystallization must include those water molecules.
- Use consistent units. If molar mass is in g/mol and amount is in mol, the answer is in grams. If your amount is in millimoles, convert it to moles by dividing by 1,000, or use a consistent millimole-based calculation.
- Keep useful precision. Carry extra digits during intermediate steps and round the final result to reflect the precision of the inputs and the purpose of the calculation.
- Account for purity separately. The formula gives the mass of the stated substance. A sample that is not pure contains less of that substance than its total weighed mass; the required correction depends on the known purity.
For a compound with a named ionic formula, use the formula unit as the entity represented by the mole. Do not multiply by Avogadro’s constant again when using the moles-to-grams equation: molar mass already expresses the mass per mole. Avogadro’s constant is useful when converting between moles and a number of entities, not as an extra factor in this mass conversion.
Common Mistakes and Limits
The most common error is reversing the operation. Moles to grams requires multiplication by molar mass. To convert grams to moles, divide the mass by molar mass. A quick unit check catches many mistakes: multiplying mol by g/mol leaves g, while dividing mol by g/mol does not produce the desired mass unit.
Another frequent problem is using the wrong molar mass. Check subscripts, parentheses, ionic charge where relevant, and whether the formula includes waters of hydration. A solution’s concentration is not itself the molar mass: molarity is moles per litre, while molar mass is grams per mole. If you know a solution volume and concentration, first calculate moles from concentration × volume in litres, then multiply by molar mass to find the solute mass.
This simple equation does not determine how much material is recovered in a real process, whether a sample is pure, or how much of a reactant is consumed. Those questions require additional information such as reaction stoichiometry, yield, or composition. When bench work is implied, follow your lab method, the safety data sheet (SDS), and your supervisor.
Frequently Asked Questions
What is the formula for converting moles to grams?
Multiply moles by molar mass: grams = moles × grams per mole. Make sure the molar mass and amount refer to the same substance.
How many grams are in one mole?
It depends on the substance. One mole of water has a mass of about 18.015 g, while one mole of NaCl has a mass of about 58.44 g.
How do I find molar mass from a chemical formula?
Multiply each element’s atomic mass by its subscript, then add the contributions. Use the full formula, including parentheses and waters of hydration where present.
How do I convert millimoles to grams?
Convert millimoles to moles by dividing by 1,000, then multiply by molar mass in g/mol. Equivalently, multiply millimoles by molar mass and divide by 1,000 to get grams.
Does this formula give the mass of a solution?
No. It gives the mass of the substance represented by the mole amount. To calculate a solution’s total mass, you need additional information, such as its volume and density.
Related
Formula used
in n | Amount | mol | 2 | 0 in mm | Molar mass | g/mol | 58.44 | 0.001 out g | Mass | g | n * mm | 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
- 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?