This calculator converts a substance amount in moles to its mass in grams using its molar mass. Enter the number of moles and the molar mass in grams per mole to get the mass, with a worked example and guidance on units.
Formula
Mass in grams equals amount 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 follows: mol × g/mol = g. For the second calculator result, millimoles are moles multiplied by 1,000; 1 mol = 1,000 mmol. This calculator assumes the supplied amount and molar mass describe the same pure chemical substance. It does not determine either value from a chemical formula or correct for purity.
Worked Example
Calculate the mass of 0.05 mol of sodium chloride (NaCl), using the default molar mass, 58.44 g/mol.
- Write the relationship: m = n × M.
- Substitute the default values: m = 0.05 mol × 58.44 g/mol.
- Multiply: m = 2.922 g, which rounds to 2.92 g at the calculator’s two decimal places.
- Convert the amount to millimoles: 0.05 mol × 1,000 = 50.0 mmol.
The headline answer is the mass: 2.92 g. The millimole result is an additional expression of the amount, not a second mass.
Assumptions
- The sample is treated as pure and the entered amount is the amount of the named substance.
- The molar mass is supplied in g/mol and is appropriate for the substance’s chemical formula and form.
- This is a calculation, not a weighing instruction; measurement uncertainty and sample purity are not included.
What You’ll Need
- The amount of substance in moles. This may be given in a problem or calculated from other information, such as particle count or solution concentration.
- The substance’s molar mass in g/mol. Find it by summing the atomic masses in its formula, or use a reliable reference value for the correct chemical form.
- A calculator, or the calculator above. If you have a balance and are carrying out bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.
Step-by-Step
- Identify what the question asks for. “How many grams?” asks for mass. Check whether the given amount is in moles or another unit, such as millimoles, and whether the requested answer is for the whole sample or just one component.
- Find the amount in moles. If the problem already states an amount in mol, use it directly. If it gives millimoles, divide by 1,000 to convert to moles. For instance, 25 mmol = 25 ÷ 1,000 = 0.025 mol. Do not enter 25 as though it were 25 mol.
- Find the molar mass. For a formula, multiply each element’s atomic mass by the number of its atoms, then add the contributions. For NaCl, using Na = 22.990 and Cl = 35.45 g/mol per mole of atoms gives 22.990 + 35.45 = 58.440 g/mol. For a formula with parentheses or subscripts, apply each subscript to the correct atoms before adding. Use the molar mass for the precise form named, including any waters of hydration when present.
- Enter both values with their units. Put the amount in mol in the first field and molar mass in g/mol in the second. If your amount is in mmol or your molar mass is in kg/mol, convert first rather than mixing units.
- Multiply amount by molar mass. Use m = n × M. The mol units cancel, leaving grams. Keep extra digits during the calculation; round the final mass to a precision supported by the given data.
- Check the size and units of the result. A larger number of moles should produce a proportionally larger mass for the same substance. Confirm the answer is in g, not mol, g/mol, or mg. Convert grams to milligrams by multiplying by 1,000, or to kilograms by dividing by 1,000, if the question requests those units.
- Use the result appropriately. A calculated mass is a theoretical amount based on the inputs. If a real sample is not pure, or if a procedure specifies a measured quantity, account for that using the method required by the problem or lab protocol.
Common Mistakes
- Using the wrong operation: For moles to grams, multiply by molar mass. Dividing mass by molar mass is the conversion from grams to moles.
- Mixing up molar mass and mass: Molar mass has units g/mol; the answer has units g. A value such as 58.44 g/mol is not itself the mass of every sample.
- Forgetting a unit conversion: Convert mmol to mol before using a molar mass in g/mol. Likewise, convert a molar mass in kg/mol to g/mol by multiplying by 1,000.
- Misreading a chemical formula: Subscripts count atoms, and parentheses multiply the group inside them. A hydrate’s water molecules contribute to its molar mass if they are part of the stated compound.
- Rounding too early: Keep guard digits through the multiplication. Report a final answer that reflects the precision of the input data rather than adding unjustified decimal places.
- Assuming a sample is pure: The basic formula calculates mass of the named substance, not the total mass of an impure material. Purity requires additional information and a separate adjustment.
Tips
- Write the units beside every number before calculating. Seeing mol × g/mol makes it easier to confirm the answer should be grams.
- Estimate before multiplying. For example, 0.05 mol of a substance with a molar mass near 60 g/mol should weigh about 3 g.
- Keep at least one extra digit in the molar mass during intermediate work, then round the final value once.
- Use a consistent source and convention for atomic masses, especially when comparing answers that differ slightly due to rounding.
- Remember that the calculator’s millimole output restates the input amount; it is not needed to calculate the mass.
Troubleshooting
The answer seems 1,000 times too large or too small: Check whether the amount was entered in mmol instead of mol, or whether a mass was expected in mg instead of g. Convert units explicitly and recalculate.
The answer has units of mol or g/mol: Recheck the formula and fields. Mass is amount in mol multiplied by molar mass in g/mol; do not put grams into the amount field.
Your answer differs slightly from a textbook: Compare the atomic masses and rounding used. Also check that both calculations refer to the same chemical form, including any hydrate or ionic composition.
The result is implausible: Check decimal placement, subscripts, parentheses, and whether the input represents moles, not a particle count or concentration. If a particle count is given, it must first be converted to moles using Avogadro’s constant, 6.02214076 × 1023 particles/mol.
You have a solution volume or concentration, not moles: This calculator cannot infer moles from volume alone. For a solution with concentration in mol/L and volume in L, first calculate n = concentration × volume, then multiply that amount by molar mass.
Frequently Asked Questions
How do I calculate grams from moles?
Multiply the amount in moles by the substance’s molar mass in g/mol: m = n × M.
How do I calculate grams from millimoles?
Convert mmol to mol by dividing by 1,000, then multiply by molar mass in g/mol. Equivalently, grams = mmol × molar mass ÷ 1,000.
How do I find molar mass?
Add the atomic masses for every atom in the chemical formula, counting each according to its subscript. Include atoms in parentheses and waters of hydration when applicable.
Can I calculate grams without knowing the molar mass?
Not from moles alone. You need the substance’s identity or its molar mass, unless the problem supplies another route to determine it.
Is one mole always the same number of grams?
No. One mole contains the same number of specified entities, but its mass depends on the substance’s molar mass.
Why is my calculated mass different from what I weigh?
The result may assume a pure substance and exact inputs. Actual mass can differ due to sample purity, moisture, measurement uncertainty, or rounding.
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 | 2 out mmol | Amount in millimoles | mmol | n * 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
- Molecules to Grams Calculator: Convert with Molar Mass18.0150 g
- How Many Protons Are in Potassium (K)?19 protons
- Moles of Electrons: Formula and Calculator
- Molecules to Liters Calculator: Convert Using Molarity0.1000 L
- How to Calculate mL to Moles: Formula and Calculator0.1250 mol
- Free Energy Change Calculation: ΔG Formula and Example-24.907 kJ/mol