Convert an amount of substance, n, in moles to the corresponding mass in grams using the substance’s molar mass. Enter the amount in moles and the molar mass in g/mol; the calculator returns mass in grams and milligrams.
Formula
Mass equals amount of substance multiplied by molar mass:
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 mol × g/mol = g. To express the result in milligrams, multiply the mass in grams by 1,000 mg/g. The calculator’s first result is the mass in grams, rounded to four decimal places; the second is the same mass in milligrams, rounded to one decimal place. The molar mass is a value you supply for the particular chemical formula, not a universal constant.
Worked Example
With the calculator’s defaults, the amount is 0.05 mol and the molar mass is 58.44 g/mol.
- Use the mass formula: m = n × M.
- Substitute the values: m = 0.05 mol × 58.44 g/mol = 2.922 g.
- Convert to milligrams: 2.922 g × 1,000 mg/g = 2,922 mg.
The results are 2.9220 g and 2922.0 mg, matching the calculator’s displayed precision. The default molar mass, 58.44 g/mol, is a rounded value commonly used for sodium chloride (NaCl), based on the abridged standard atomic weights Na = 22.990 and Cl = 35.45 g/mol.
Assumptions
- The input amount is in moles and is not negative.
- The molar mass is positive, expressed in g/mol, and matches the substance’s chemical formula and form.
- The calculation reports the mass corresponding to the entered amount; it does not account for purity, moisture, reaction yield, or losses during handling.
What You’ll Need
- The amount of substance, n, in moles. If your amount is in millimoles, divide it by 1,000 to convert to moles.
- The chemical formula or a reliable molar-mass value for the exact substance, in g/mol. For a compound, include the number of each atom shown by its formula.
- A calculator, or the calculator above. For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.
Step-by-Step
- Identify what “n” means. In chemistry, lowercase n often denotes amount of substance, measured in moles. Check the problem’s definitions: in another context, n may mean something else. This method applies when n is in mol.
- Write down the amount in moles. If the value is given in millimoles (mmol), divide by 1,000: for example, 25 mmol = 0.025 mol. If it is in micromoles (µmol), divide by 1,000,000. Convert before multiplying.
- Find the molar mass for the substance. For an element, use its atomic molar mass. For a compound, add the atomic masses of all atoms in its formula, each multiplied by its subscript. For example, H2O contains two H atoms and one O atom, so its approximate molar mass is 2(1.008) + 15.999 = 18.015 g/mol. Use a value appropriate to the specified chemical form if the problem distinguishes forms, salts, hydrates, or isotopes.
- Make the units consistent. This calculator expects n in mol and molar mass in g/mol. Do not enter a molar mass in kg/mol or an amount in mmol without converting it. If necessary, convert kg/mol to g/mol by multiplying by 1,000.
- Multiply amount by molar mass. Calculate m = n × M. The product is the mass in grams. For instance, 0.025 mol of a substance with a molar mass of 40.00 g/mol corresponds to 1.000 g.
- Choose useful precision and units. Keep extra digits during the calculation, then round the final value to match the precision of the inputs or the requirements of the exercise. To convert grams to milligrams, multiply by 1,000; to convert grams to kilograms, divide by 1,000.
- Check whether the result describes a theoretical amount or a weighed sample. The formula gives the mass of pure substance corresponding to the stated number of moles. If a sample is impure or a reaction does not proceed completely, the actual material needed or recovered may differ.
Common Mistakes
- Using the wrong direction. To get mass from moles, multiply by molar mass. Dividing mass by molar mass is the reverse calculation and gives moles.
- Mixing units. Multiplying mmol directly by g/mol makes the numerical result 1,000 times too large if treated as mol. Convert mmol to mol first.
- Using the wrong molar mass. A similar compound, a different hydrate, or a salt rather than the free compound can have a different formula and molar mass. Confirm the exact identity and formula.
- Miscounting subscripts and parentheses. A subscript applies to the atom or group immediately before it; a parenthesis subscript multiplies every atom inside the group. Count each element before summing atomic masses.
- Rounding too early. Keep sufficient digits in the molar mass and intermediate result. Round at the end, and do not report more precision than the starting data supports.
- Confusing mass with volume. The answer is a mass, not a liquid volume. Converting mass to volume requires a suitable density and conditions; this formula alone does not provide one.
Tips
- Write the units beside every number. Seeing mol × g/mol cancel to g is a quick way to catch a unit error.
- Estimate the scale before calculating: one mole has a mass numerically equal to the molar mass in grams, so 0.1 mol should give one-tenth that number of grams.
- For a molecular formula, calculate molar mass by summing each element’s atomic mass multiplied by its count. Use standard atomic weights suitable for ordinary materials unless the task specifies isotopic composition.
- If the input is a concentration and a volume rather than moles, first determine moles using the applicable concentration relationship. Do not treat a volume alone as an amount of substance.
- Keep the unrounded result in your notes if it will be used in a later calculation; round only the value you report.
Troubleshooting
The result seems 1,000 times too large or too small: check whether the amount was entered as mol, mmol, or µmol. Convert to mol before using this calculator. Also confirm whether you intended grams, milligrams, or kilograms.
The calculator rejects an entry: both inputs must be nonnegative, and molar mass must be greater than zero. Check for a minus sign, a misplaced decimal point, or an attempt to enter units as part of the number. Select the correct units separately by converting the value first.
The answer differs from a textbook: compare the molar mass used, the number of significant figures, and the exact chemical form. Small differences often come from atomic-weight rounding; large differences usually indicate a formula or unit mismatch.
The result does not match a balance reading: this equation calculates an ideal pure-substance mass from moles. Check sample purity, water content, weighing units, and whether the stated moles refer to the full sample or only its active component. Do not use this calculation to infer purity without additional information.
Frequently Asked Questions
What does n mean in this calculation?
It means amount of substance, measured in moles. Confirm the notation in your question or lab instructions because symbols can vary by subject.
What is the formula for converting moles to mass?
Multiply the amount in moles by molar mass in g/mol: m = n × M. The result is in grams.
How do I convert millimoles to mass?
First divide the millimole value by 1,000 to get moles. Then multiply by the compound’s molar mass in g/mol.
Can I use this to convert grams to moles?
Yes, rearrange the formula: n = m / M. Divide mass in grams by molar mass in g/mol to get moles.
Why do I need the chemical formula?
The formula tells you which atoms, and how many of each, are present. Those counts determine the molar mass needed to turn moles into mass.
Does the answer account for purity?
No. It gives the mass of pure substance equivalent to the entered amount. Adjusting for purity requires a known purity value and a separate calculation.
Related
Formula used
in n | Amount of substance | mol | 0.05 | 0 in mm | Molar mass | g/mol | 58.44 | 0.001 out m | Mass | g | n * mm | 4 out mg | Mass | mg | m * 1000 | 1
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