molecalculator

Moles & Molar Mass

Convert Molar Mass to Grams: Formula and Calculator

Calculator No. 01-4118 · Updated · Formula and assumptions shown below

Mass 2.9220 g
Mass
2,922.0 mg
= Amount of substance × Molar mass × 1000
Amount of substance
0.05 mol
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Amount of substance (mol), Molar mass (g/mol)
You get
Mass (g), Mass (mg)
Rounding
4 dp · 1 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Convert a substance’s molar mass to grams by multiplying its molar mass by the number of moles. Enter the amount in moles and the molar mass in grams per mole to calculate the sample’s mass in grams. You need both values, and they must refer to the same substance.

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 confirm the result: mol × g/mol = g. The calculator’s second output converts the same mass to milligrams using 1 g = 1,000 mg. Molar mass is a property of the specified substance or formula; it is not the mass of a particular sample until you multiply by the number of moles.

Worked Example

Using the calculator 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: 22.990 + 35.45 = 58.440 g/mol.

  1. Write the relationship: m = n × M.
  2. Substitute the values with their units: m = 0.05 mol × 58.44 g/mol.
  3. Multiply: m = 2.922 g.
  4. Convert to milligrams if useful: 2.922 g × 1,000 mg/g = 2,922 mg.

The calculator displays 2.922 g and 2922.0 mg. The milligram output uses one decimal place, so it is the same mass at a different scale, not an additional significant-figure claim.

Assumptions

  • The amount in moles and molar mass describe the same substance and chemical formula.
  • The molar mass is entered in g/mol, not kg/mol or another unit.
  • The formula gives the mass of the stated amount of pure substance. It does not account for impurities, moisture, mixtures, or material lost during handling.

What You’ll Need

  • The amount of substance, in moles. If you have a different quantity, convert it to moles first.
  • The substance’s molar mass, in g/mol. Use a reliable reference value or calculate it from the chemical formula and appropriate atomic weights.
  • A calculator, or the calculator above. For a physical measurement, use a balance suitable for the mass and the accuracy required by your work.

For a compound, find the molar mass by adding the atomic masses for every atom in its formula. Apply each subscript: for example, a formula containing two of an element contributes twice that element’s atomic weight. If the material’s form matters, check whether the formula includes waters of hydration, counterions, or a particular salt form. Those change the molar mass.

Step-by-Step

  1. Identify the substance. Confirm its chemical formula and, where relevant, the form you mean. A compound’s anhydrous form and hydrate do not have the same molar mass.
  2. Find the amount in moles. Use the value given by your problem or calculation. If the amount is given in millimoles, divide by 1,000 to get moles; for example, 25 mmol = 0.025 mol. If given in micromoles, divide by 1,000,000.
  3. Find or calculate the molar mass. Use a value in g/mol for the exact formula. For a compound, add the atomic weights of all atoms, counting each element according to its subscript. Keep extra digits during the calculation and round the final result to a sensible precision.
  4. Check the units before multiplying. The amount should be in mol and the molar mass in g/mol. Convert a molar mass supplied in kg/mol to g/mol by multiplying it by 1,000, or convert the amount to match another consistent unit system.
  5. Multiply moles by molar mass. Apply m = n × M. For example, if a sample contains 0.20 mol of a substance with a molar mass of 30.0 g/mol, its mass is 0.20 × 30.0 = 6.0 g.
  6. Round and report the answer with units. Keep enough digits for the precision of your inputs and state the unit, such as 6.0 g. Do not report a bare number: 6.0 g and 6.0 mg differ by a factor of 1,000.
  7. Use the result appropriately. The calculation gives the theoretical mass corresponding to the entered amount. If you are weighing material, follow the applicable lab method and account for purity and measurement uncertainty.

Common Mistakes

  • Dividing instead of multiplying. To convert moles to grams, multiply by g/mol. Division by molar mass is used in the reverse conversion, from grams to moles.
  • Mixing up molar mass and sample mass. Molar mass is measured in g/mol; sample mass is measured in g. A molar mass alone does not tell you how many grams are in a sample without its amount in moles.
  • Entering millimoles as moles. A value in mmol must be divided by 1,000 before using this formula. Treating 5 mmol as 5 mol makes the answer 1,000 times too large.
  • Using an incorrect formula or substance form. A missing subscript, counterion, or water molecule can change the molar mass. Check the exact formula rather than relying on a similar compound’s value.
  • Rounding too early. Carry unrounded or extra-digit values through the multiplication, then round the final mass to reflect the precision of the inputs.
  • Leaving off units. Always record g, mg, or another mass unit clearly, and check conversions before weighing or comparing values.

Tips

  • Write the units into the calculation: mol × g/mol = g. Unit cancellation is a quick way to catch an incorrect setup.
  • Keep a consistent unit convention. The calculator accepts moles and g/mol; convert other units before entering them.
  • For a formula-based molar mass, show the atom count and atomic weight used for each element. This makes transcription errors easier to find.
  • Estimate the result before calculating. For example, 0.1 mol of a substance near 50 g/mol should have a mass near 5 g, not hundreds of grams.
  • Distinguish a calculated mass from a measured mass. A balance reading can differ because of purity, moisture, transfer loss, or measurement limits.

Troubleshooting

The answer seems 1,000 times too large or small: check whether the amount was in mmol or µmol rather than mol, or whether the molar mass was entered in kg/mol instead of g/mol. Convert the inputs before multiplying.

The result has the wrong unit: verify that the molar mass is in g/mol and the amount is in mol. If you need milligrams, multiply the result in grams by 1,000; if you need kilograms, divide grams by 1,000.

Your result disagrees with a reference: compare the complete chemical formula, including subscripts, waters of hydration, and counterions. Also check whether the reference uses a different atomic-weight precision or a different chemical form.

You do not know the number of moles: this conversion cannot determine grams from molar mass alone. Find the amount in moles from the information in your problem or from a separate, appropriate calculation before using m = n × M.

Your measured mass does not match the calculated value: the calculation assumes the stated amount and molar mass. Check the balance units and zero, sample purity, moisture, and any material lost during transfer. For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.

Frequently Asked Questions

What is the formula for converting molar mass to grams?
Multiply the amount in moles by the molar mass in grams per mole: m (g) = n (mol) × M (g/mol).

Can I convert molar mass to grams if I only know the molar mass?
No. You also need the amount of substance in moles. The same molar mass can correspond to many sample masses, depending on the number of moles.

How do I convert millimoles to grams?
First divide millimoles by 1,000 to obtain moles. Then multiply by molar mass in g/mol. For example, convert 25 mmol to 0.025 mol before multiplying.

How do I get molar mass from a chemical formula?
Add the atomic weights for each atom in the formula, multiplying each element’s atomic weight by its subscript. The resulting unit is g/mol.

Is molar mass the same as molecular mass?
They describe related quantities but use different units: molecular mass is commonly expressed in atomic mass units per molecule, while molar mass is expressed in g/mol for a mole of the substance.

How many significant figures should I use?
Keep extra digits during intermediate steps, then round the final result to match the least precise input and the purpose of the calculation. Include the unit with the rounded value.

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 mg | Mass | mg | n * mm * 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

The whole Moles & Molar Mass section →