The molar mass formula is M = Σ(n × A): multiply each element’s atomic mass by the number of its atoms in the chemical formula, then add the results. Enter a compound’s formula as its molar mass in grams per mole (g/mol); this calculator returns the sum using the atomic weights shown in the example.
Formula
M = Σ(ni × Ai). Here, M is molar mass in g/mol; ni is the number of atoms of element i in one formula unit (a pure count); and Ai is that element’s relative atomic mass, numerically expressed in g/mol for this calculation. The sigma symbol means to add the contribution from every element in the compound.
This page’s calculator accepts the finished molar mass as an input and displays it. To calculate that input from a chemical formula, identify each element and its atom count, look up its standard atomic weight, multiply, and sum. The calculator does not parse a typed chemical formula or look up atomic weights automatically.
Worked Example
For the calculator’s default input, M = 58.44 g/mol. This is a conventional rounded molar mass for sodium chloride, NaCl, using abridged standard atomic weights:
- Na: 1 atom × 22.990 g/mol = 22.990 g/mol
- Cl: 1 atom × 35.45 g/mol = 35.45 g/mol
- Total: 22.990 + 35.45 = 58.440 g/mol
Rounded to the calculator’s displayed precision of zero decimal places, the result is 58 g/mol. The input itself is 58.44 g/mol; the displayed whole-number result is rounded, not a different underlying mass.
Assumptions
- The input is already a molar mass in g/mol, not a sample mass or a molecular formula.
- Atomic weights are conventional abridged standard values; isotope composition and the chosen rounding can change the last digits.
- The sodium chloride example is an anhydrous formula unit. Hydrates and other compounds require all atoms shown in their full formulas.
How to Calculate Molar Mass From a Formula
- Write the complete chemical formula, including parentheses, subscripts, and any waters of crystallization.
- Count atoms of each element. A subscript applies to the symbol just before it; a subscript outside parentheses multiplies every atom inside.
- Multiply each count by the element’s atomic weight in g/mol.
- Add all contributions, retaining extra digits during the calculation, then round the final value appropriately.
For water, H2O, the calculation is 2 × 1.008 + 1 × 15.999 = 18.015 g/mol. The subscript 2 applies only to hydrogen. For calcium hydroxide, Ca(OH)2, there is one Ca, two O, and two H: 1 × 40.078 + 2 × 15.999 + 2 × 1.008 = 74.092 g/mol. Parentheses are essential: the 2 multiplies both O and H.
What Molar Mass Means
Molar mass is the mass of one mole of a substance. A mole contains exactly 6.02214076 × 1023 specified entities, such as molecules, atoms, or formula units. Molar mass connects particle-scale chemical formulas to measurable mass: for a pure substance, the amount in moles is n = m/M, where m is mass in grams and M is molar mass in g/mol.
For example, 18.015 g of water corresponds to about one mole of water molecules. This does not mean one molecule weighs 18.015 grams; that value describes a mole-sized collection. In introductory chemistry, “molecular mass” is often reported in atomic mass units per molecule, while “molar mass” is reported in g/mol. Their numerical values are usually similar, but the quantities and units are different.
Details That Change the Result
Use the chemical form that matches the substance you mean. A hydrate includes its waters in the formula: CuSO4·5H2O has five additional water molecules per formula unit. Likewise, an ion’s formula identifies its composition, but electrons have a small mass; ordinary classroom molar-mass calculations generally use the atomic-weight sum and ignore electron-mass corrections.
Some elements have naturally occurring isotopes, so their standard atomic weights reflect isotope abundances and may be reported as intervals or conventional values. A sample enriched in a particular isotope can have a different molar mass from a naturally abundant sample. For precise work, use isotope-specific masses and the sample’s known composition rather than an ordinary periodic-table value.
- Parentheses: multiply every atom inside by the outside subscript.
- Coefficients: a coefficient in a reaction equation counts whole molecules or formula units; it does not alter the molar mass of one unit.
- Units: do not add atomic weights expressed in incompatible units without conversion.
- Rounding: carry several digits through the sum and round once at the end, consistent with the precision needed.
Using Molar Mass in Further Calculations
Once molar mass is known, convert a measured sample mass to amount with n = m/M. Rearranging gives m = nM when the amount in moles is known. These relationships are widely used in stoichiometry, solution concentration, and reaction-yield calculations. Check that mass is in grams if the molar mass is in g/mol; if using kilograms, convert consistently.
Molar mass alone does not tell you how much of a substance is present, its concentration, or how a reaction proceeds. Those calculations also require relevant quantities such as sample mass, solution volume, or a balanced chemical equation. The value may also be unsuitable as a precise experimental value if the sample is impure, hydrated differently than assumed, or isotopically unusual.
Frequently Asked Questions
What is the formula for molar mass?
Multiply each element’s atomic weight by its number of atoms in the formula, then add: M = Σ(ni × Ai). Report the result in g/mol.
How do I calculate molar mass from a chemical formula?
Count each element’s atoms, including multipliers from parentheses and hydrate notation. Multiply each count by the element’s atomic weight and sum the contributions.
What is the molar mass of water?
For H2O, use 2 × 1.008 for hydrogen and 15.999 for oxygen. The total is 18.015 g/mol with these abridged atomic weights.
Does a coefficient change molar mass?
No. A coefficient states how many molecules or formula units participate in a reaction. It changes the total amount represented, not the molar mass of each unit.
Are molar mass and molecular mass the same?
No. Molecular mass is the mass of one molecule, commonly expressed in atomic mass units; molar mass is the mass of one mole, commonly expressed in g/mol. Their numerical values are often similar.
Related
Formula used
in mm | Molar mass | g/mol | 58.44 | 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 of a Gas Calculator and Formula22.4140 L/mol
- Molar Volume: Definition, Formula, and Calculator22.414 L/mol