Use this calculator to convert an amount in moles into its mass in grams, using the substance’s molar mass. Enter the amount and molar mass to get grams, plus the corresponding grams-per-mole ratio. This is useful for checking chemistry problems and planning non-hazardous lab calculations.
Formula
The conversion is mass in grams = amount in moles × molar mass in grams per mole. In symbols, m = n × M, where m is mass (g), n is amount (mol), and M is molar mass (g/mol). The ratio of grams to moles is m ÷ n = M; its unit is g/mol. The calculator’s first result is the mass in grams. Its second result shows the grams-per-mole ratio implied by that mass and amount.
The molar mass is the mass of one mole of a substance. For a compound, calculate it by adding the standard atomic weights of all atoms in its formula, including subscripts. For example, water, H2O, has a molar mass of approximately 2(1.008) + 15.999 = 18.015 g/mol. The example below uses 58.44 g/mol as the entered molar mass for sodium chloride, a value rounded to two decimal places.
Worked Example
Using the calculator defaults, convert 0.05 mol of a substance with a molar mass of 58.44 g/mol:
- Write the formula: m = n × M.
- Substitute the values with units: m = 0.05 mol × 58.44 g/mol.
- Cancel mol: m = 2.922 g, which displays as 2.9220 g at four decimal places.
- Check the ratio: m ÷ n = 2.922 g ÷ 0.05 mol = 58.44 g/mol.
The result means that this amount has a mass of 2.9220 g. The ratio remains 58.4400 g/mol; it is the molar mass used in the calculation, not a new property created by the sample size.
Assumptions
- The input molar mass is appropriate for the substance and its specified chemical form.
- The amount and molar mass refer to the same substance and formula unit.
- The result is a mathematical conversion. It does not account for impurities, water content, or measurement uncertainty in a real sample.
What You’ll Need
- The amount of substance in moles. If the problem gives another unit, convert it to moles first.
- The substance’s chemical formula or a reliable molar mass in g/mol. For a mixture without a defined composition, one molar mass may not apply.
- A calculator, or the calculator fields above. If working at a bench, follow your lab method, the safety data sheet (SDS) and your supervisor.
Step-by-Step
- Identify what you have and what you need. This method finds mass in grams from moles and molar mass. If you are instead given grams and need moles, rearrange the equation to n = m ÷ M.
- Confirm the amount is in moles. Convert millimoles to moles by dividing by 1,000; for example, 25 mmol = 0.025 mol. Do not enter a number in millimoles as though it were already moles.
- Find the correct molar mass. Use a value for the exact formula and chemical form. If calculating it from a formula, multiply each element’s atomic weight by its subscript and add the results. Parentheses and hydrates require counting every atom, including waters of crystallization.
- Check the units. The amount should be mol and the molar mass should be g/mol. Their product is grams because mol × g/mol simplifies to g. Convert a molar mass expressed in kg/mol to g/mol by multiplying by 1,000.
- Enter both values. Put the amount in moles in the first field and molar mass in g/mol in the second. Check decimal points and ensure neither value was copied with a unit conversion still needed.
- Calculate the mass. Multiply moles by grams per mole. For a hand calculation, keep extra digits during multiplication and round the final answer only after considering the precision of the inputs.
- Read the ratio as a check. Divide the calculated grams by the entered moles. The result should match the molar mass, apart from display rounding. If it does not, check the arithmetic and units.
- Report the result appropriately. Include the unit g and suitable significant figures. A calculator may show several decimal places, but those digits do not imply the input measurements were that precise.
Common Mistakes
- Using the wrong direction: multiplying moles by molar mass gives grams; dividing grams by molar mass gives moles.
- Mixing up molar mass and sample mass: molar mass is in g/mol, while the mass of a particular sample is in g.
- Forgetting a formula subscript: in H2O, count two hydrogen atoms, not one. A missed subscript changes the molar mass and every converted mass.
- Ignoring chemical form: an anhydrous compound and its hydrate have different molar masses. Salts may also have different formula units depending on their form.
- Mixing units: using mmol as mol makes the answer 1,000 times too large; using kg/mol as g/mol makes it 1,000 times too small.
- Rounding too early: retain guard digits in intermediate steps. Round only the final reported value to a precision justified by the inputs.
Tips
- Write units beside every number before multiplying. Unit cancellation is a quick way to spot a reversed or mismatched formula.
- For formula-based molar mass, show the atom-count calculation. It makes errors in parentheses, subscripts, and hydrates easier to find.
- Use the same molar-mass convention as the problem or reference. Atomic weights are often reported with limited precision, so small differences in the last digits are normal.
- Keep “grams per mole” distinct from a grams-to-moles ratio for a specific sample. For a pure substance, the mass divided by amount gives its molar mass; for a mixture, that ratio may not represent a single compound’s molar mass.
Troubleshooting
The answer is 1,000 times off: check whether the amount was in mmol or the molar mass in kg/mol, then convert to mol and g/mol. The ratio output differs from the molar mass: verify that the entered moles are greater than zero, repeat the division, and allow for rounding in the displayed mass. The answer seems chemically unreasonable: verify the formula, ionic or hydrate form, atom counts, and decimal placement. You only know the sample mass: use moles = grams ÷ molar mass instead. If the material’s composition or purity is unknown, the result is only as reliable as the molar mass and amount you can establish.
Frequently Asked Questions
What is the formula for converting moles to grams?
Multiply the amount in moles by the molar mass in g/mol: g = mol × g/mol.
How do I find the grams-to-moles ratio?
Divide the sample’s mass in grams by its amount in moles. For a pure substance, that gives its molar mass in g/mol.
How do I find molar mass from a chemical formula?
Multiply each element’s atomic weight by the number of those atoms in the formula, then add the contributions. Include atoms inside parentheses and any waters in a hydrate.
Can I convert millimoles directly to grams?
Yes, but convert millimoles to moles first: divide by 1,000, then multiply by g/mol. Alternatively, divide the mmol value by 1,000 in the calculation.
Why does my answer differ slightly from another calculator?
Different sources may round atomic weights or molar mass differently. Check the chemical form, units, and rounding before treating a small last-digit difference as an error.
How many significant figures should I report?
Use the precision justified by the given values and the rules for your assignment or lab method. Do not report extra meaningful precision just because the calculator displays it.
Related
Formula used
in n | Amount of substance | mol | 0.05 | 0 in mm | Molar mass | g/mol | 58.44 | 0.001 out g | Mass | g | n * mm | 4 out ratio | Grams per mole ratio | g/mol | g / n | 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
- Pressure Density Depth Formula for Fluids98,066 Pa
- Pressure Density Temperature Equation Calculator100,961.74 Pa
- Pressure Density Cup: What It Measures and How It Works1.0000 g/mL
- Pressure, Density, and Temperature: How They Relate101,307 Pa
- Pressure-Based vs Density-Based Solvers in CFD
- Fluent Pressure-Based or Density-Based Solver?