A molar mass conversion calculator converts a sample’s mass to moles, or moles to mass, using the substance’s molar mass. Enter the known amount and molar mass in g/mol to get the corresponding quantity; this page calculates both directions and also reports the number of particles when the amount is in moles.
Formula
Molar mass, usually written M, is mass per amount of substance. The fundamental relationship is n = m / M, and rearranging it gives m = n × M. Here, m is sample mass in grams (g), M is molar mass in grams per mole (g/mol), and n is amount of substance in moles (mol). The calculator’s particle conversion uses N = n × NA, where N is a count of specified entities and the exact Avogadro constant is NA = 6.02214076 × 1023 mol−1.
Use the first output, “Moles from mass,” when you know a weighed mass. Use “Mass from moles” when the amount in moles is known. The calculator shows both conversions independently from the inputs; it does not infer one input from another. Enter the mass in grams and molar mass in g/mol, and enter amount in mol. Convert other units before using the result: for example, 250 mg is 0.250 g, and 2 mmol is 0.002 mol.
Worked Example
The default inputs are a sample mass of 58.44 g, a molar mass of 58.44 g/mol, and an amount of 1 mol. These values are illustrative; they are not a recommendation to prepare or handle any substance.
- Moles from mass: n = m / M = 58.44 g / (58.44 g/mol) = 1.0000 mol.
- Mass from moles: m = n × M = 1 mol × 58.44 g/mol = 58.44 g.
- Particles from the entered amount: N = n × NA = 1 mol × 6.02214076 × 1023 mol−1 = 6.022 × 1023 particles (rounded to the displayed whole-particle precision).
The particle result is a count of the entities represented by the molar amount. For a molecular compound, that normally means molecules; for an ionic compound, a stated amount is conventionally counted as formula units. The appropriate entity depends on how the substance is defined.
Assumptions
- The sample is treated as pure, and the entered molar mass applies to its stated chemical formula and form.
- The mass and molar mass use grams and grams per mole, respectively; the amount uses moles.
- The particle calculation assumes the entered amount refers to a defined kind of entity and uses the exact Avogadro constant.
- No correction is made for impurities, moisture, isotopic composition beyond the selected atomic weights, or measurement uncertainty.
What Molar Mass Means
Molar mass is the mass of one mole of a substance. A mole is a fixed number of specified entities, just as a dozen is a fixed number, but the mole represents 6.02214076 × 1023 entities. Molar mass connects the microscopic scale of atoms and molecules to a mass that can be measured in a laboratory.
For a pure molecular substance, calculate its molar mass by adding the atomic masses in its chemical formula. Using standard abridged atomic weights, water (H2O) has a molar mass of approximately 2(1.008) + 15.999 = 18.015 g/mol. Sodium chloride (NaCl) is approximately 22.990 + 35.45 = 58.44 g/mol. These are example calculation conventions, not proof that a real sample has that purity or exact composition.
Be precise about what the formula represents. Ionic solids are described with formula units rather than separate molecules, and hydrates include water in the formula and therefore have a different molar mass from the anhydrous compound. For a substance with variable isotopic composition or a polymer with a distribution of chain lengths, a single molar mass may be an average or an approximation.
When to Use Each Conversion
- Mass to moles: Divide the measured mass by molar mass. This is useful for stoichiometric calculations, where reaction coefficients relate amounts in moles.
- Moles to mass: Multiply amount by molar mass. This gives a theoretical mass corresponding to a stated amount, not a guarantee that a sample can be weighed or recovered exactly.
- Moles to entities: Multiply by Avogadro’s constant. This is a mathematical count, not a direct way to count individual atoms or molecules in an ordinary sample.
For solution calculations, molar mass conversion alone does not give concentration. Molarity also requires the final solution volume in liters: concentration is amount in moles divided by final volume in liters. Do not substitute the volume of solvent added if the required quantity is the final volume of the solution.
Choosing and Checking Molar Mass
Find the molar mass from the correct chemical formula, including subscripts, parentheses, counterions, and waters of hydration. Add each element’s atomic weight multiplied by its count in the formula. Use consistent precision: extra calculator digits do not make a measured mass or an uncertain reagent more accurate.
Check the label or reference for the exact chemical form when relevant. For example, an anhydrous salt and its hydrate have different formula masses. If a reagent is not pure, a mass-to-moles calculation using the pure-compound molar mass overstates the amount of that compound unless purity is accounted for separately. This calculator does not include a purity correction.
- Confirm the formula and whether the material is an anhydrous form, hydrate, salt, or mixture.
- Keep units aligned: grams divided by g/mol yields mol; milligrams need conversion to grams first.
- Retain sensible significant figures based on the input measurements and the purpose of the calculation.
Common Errors and Limits
A frequent mistake is multiplying mass by molar mass when converting mass to moles. The units reveal the error: g ÷ (g/mol) = mol, while mol × (g/mol) = g. Another common error is entering a molar mass in kg/mol while labeling it g/mol; the numerical value differs by a factor of 1,000.
Rounding the molar mass too early can affect later stoichiometric results, especially when several calculation steps follow. Keep suitable digits in intermediate work and round the reported answer to match the least precise relevant measurement. Molar mass conversion also cannot account for reaction yield, incomplete reaction, dissolved impurities, or material lost during handling.
The particle output may be enormous, so it is best read in scientific notation. Also distinguish atoms from molecules and formula units: one mole of water corresponds to one mole of water molecules, but each molecule contains three moles of atoms per mole of water. The output counts only the entity implied by the amount entered.
Frequently Asked Questions
How do I convert grams to moles?
Divide the mass in grams by the substance’s molar mass in g/mol. For example, 10.0 g of a substance with molar mass 50.0 g/mol corresponds to 10.0 ÷ 50.0 = 0.200 mol.
How do I convert moles to grams?
Multiply the amount in moles by molar mass in g/mol. An amount of 0.25 mol at 40.0 g/mol has a mass of 0.25 × 40.0 = 10 g.
How do I find molar mass from a chemical formula?
Multiply each element’s atomic weight by its number of atoms in the formula, then add the contributions. Remember to distribute subscripts outside parentheses and include waters of hydration where the formula specifies them.
Is molar mass the same as molecular weight?
They are closely related but not identical in how they are expressed. Molecular weight is a relative, dimensionless quantity; molar mass is mass per mole and is commonly reported in g/mol. Their numerical values are often similar when compared in the usual units.
Why does my calculated amount differ from a label or experiment?
Check the formula, hydrate or salt form, units, purity, and rounding. A label may describe a different chemical form, while experimental results can also reflect measurement uncertainty or material that is not pure.
For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.
Related
Formula used
in m | Sample mass | g | 58.44 | 0 in mm | Molar mass | g/mol | 58.44 | 0 in n | Amount of substance | mol | 1 | 0 out ncalc | Moles from mass | mol | m / mm | 4 out mcalc | Mass from moles | g | n * mm | 4 out particles | Particles from moles | particles | n * 6.02214076e23 | 0
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