A molar-to-grams calculator converts an amount of substance in moles into its mass in grams. Enter the number of moles and the substance’s molar mass in grams per mole to get the mass; the result depends on using the correct molar mass for the compound.
Formula
Mass in grams equals amount of substance in moles multiplied by molar mass in grams per mole:
m = n × M
- m is mass, in grams (g).
- n is amount of substance, in moles (mol).
- M is molar mass, in grams per mole (g/mol).
The units cancel as expected: mol × g/mol = g. The additional output converts moles to millimoles, using 1 mol = 1,000 mmol; it is a helpful unit conversion, not a different mass calculation. The input limits allow zero or positive quantities and do not impose an upper limit.
Worked Example
For the calculator’s defaults, the amount is 0.05 mol and the molar mass is 58.44 g/mol. This molar mass is a conventional value for sodium chloride, NaCl, calculated from the abridged standard atomic weights Na = 22.990 and Cl = 35.45:
M(NaCl) = 22.990 + 35.45 = 58.44 g/mol
Multiply the amount by the molar mass:
m = 0.05 mol × 58.44 g/mol = 2.922 g
Thus the calculator returns 2.922 g. Its second result is:
0.05 mol × 1,000 mmol/mol = 50.00 mmol
Assumptions
- The entered amount and molar mass refer to the same chemical substance and specified chemical form.
- The molar mass is in g/mol, and the amount is in mol. The calculator performs no hidden unit conversion.
- The calculator treats the entered molar mass as the value to use; it does not identify a substance, account for purity, or infer a hydrate or salt form.
How to Use a Moles-to-Grams Calculator
- Enter the amount of substance in moles. If your quantity is in millimoles, divide it by 1,000 first; for example, 25 mmol = 0.025 mol.
- Enter the substance’s molar mass in g/mol. Use the value for the exact formula and form of the material, including any water of crystallization shown in its formula.
- Read the mass in grams. Keep enough significant figures for the precision of your measurements and the molar mass.
If you know the amount in a different unit, convert it before multiplying. For micromoles, 1 µmol = 0.000001 mol. If you start with a particle count, first convert particles to moles by dividing by Avogadro’s constant, 6.02214076 × 1023 particles/mol, then use the mass formula.
Finding the Correct Molar Mass
Molar mass is the mass of one mole of a substance. For a molecular or ionic formula, calculate it by adding the atomic masses of all atoms in that formula. Multiply each element’s atomic weight by its subscript, then sum the contributions. For glucose, C6H12O6, using C = 12.011, H = 1.008, and O = 15.999:
M = (6 × 12.011) + (12 × 1.008) + (6 × 15.999) = 180.156 g/mol
For routine calculations, this is commonly reported as about 180.16 g/mol. Use a reliable chemical reference or the formula and atomic weights supplied for your course or lab when greater precision matters. A chemical name alone may not be enough to select a value: the anhydrous compound, a hydrate, and different salt forms can have different molar masses.
When the Conversion Is Useful—and Its Limits
The conversion is useful whenever a known amount in moles must be expressed as a mass, such as checking a stoichiometry calculation or translating a stated quantity into grams for study or lab planning. It does not calculate how much material is needed for a target solution concentration unless you also know the desired concentration and final solution volume. For example, molarity is moles per litre of final solution; calculating grams for a target molarity requires multiplying the target molarity by final volume in litres and then by molar mass.
The equation assumes the amount in moles is already known. It does not determine moles from a measured volume of liquid, because that conversion requires additional information such as density, concentration, or a substance-specific relationship. Nor does the result correct for impurities, moisture, or measurement error. If a material’s purity is relevant, use an appropriate purity-corrected calculation based on trustworthy data rather than treating the unadjusted mass as pure substance.
Common Errors and Useful Checks
- Reversing the operation: To find grams, multiply mol by g/mol. To convert grams to moles, divide grams by g/mol.
- Mixing units: A value in mg/mol is not numerically interchangeable with g/mol. Convert units explicitly; 1 g = 1,000 mg.
- Using the wrong formula form: A hydrate includes water molecules in its formula and therefore has a larger molar mass than the anhydrous compound. Check subscripts and parentheses.
- Rounding too early: Keep extra digits during intermediate calculations and round the final mass to a precision justified by the input data.
- Confusing moles with molarity: Moles measure amount; molarity measures amount per litre. A volume is not needed for this basic mass conversion.
A quick dimensional check can catch many mistakes: if multiplying your chosen values does not leave grams, at least one unit or conversion factor is missing. For lab work, follow your lab method, the safety data sheet (SDS), and your supervisor.
Frequently Asked Questions
How do I convert moles to grams?
Multiply the amount in moles by the substance’s molar mass in g/mol: grams = moles × g/mol.
How many grams are in one mole?
It depends on the substance. One mole of sodium chloride is about 58.44 g, while one mole of glucose is about 180.16 g.
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, grams = mmol × g/mol ÷ 1,000.
Can I calculate grams from molarity alone?
No. You also need the final solution volume. For a solution, moles = molarity × volume in litres; multiply those moles by molar mass to get grams.
Why does my answer differ from another calculator?
Check the formula, hydrate or salt form, molar-mass value, units, and rounding. Different forms of a substance can have different molar masses, and rounding conventions can cause small differences.
Related
Formula used
in n | Amount of substance | mol | 0.05 | 0 in mm | Molar mass | g/mol | 58.44 | 0 out m | Mass | g | n * mm | 4 out mmol | 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
- Calculator in Hindi: Meaning, Usage and Examples0.2000 mol/L
- Volume Strength Formula in Terms of Molarity11.20 volumes
- H2O2 Volume Strength to Molarity Calculator0.893 mol/L
- Volume Strength to Molarity: Formula and Calculator0.0409 mol/L
- Molar Volume: Definition, Formula, and Calculator22.414 L/mol
- Molar Volume of a Gas Calculator and Formula22.4140 L/mol