Calculate molar mass by adding the atomic masses of every atom in a chemical formula. Enter an element’s symbol and its atom count to get the compound’s molar mass in grams per mole (g/mol); this is useful for converting between a sample’s mass and its amount in moles.
Formula
For a compound, add the contributions from every element: M = Σ(nᵢ × Aᵢ). Here, M is the molar mass in g/mol, nᵢ is the number of atoms of element i in one formula unit or molecule, and Aᵢ is that element’s standard atomic weight in g/mol. The calculator block handles one element’s contribution at a time; calculate each contribution and add them to obtain the compound total.
For example, use the calculator with carbon’s atom count and atomic mass, then repeat for every other element in the formula. The expression is n × A. The calculator’s first output is the contribution for the entered element, rather than the total for a multi-element compound.
Worked Example
With the calculator’s default inputs, the element is carbon: n = 1 atom and A = 12.011 g/mol. Substitute them into the expression:
Contribution = n × A = 1 × 12.011 = 12.011 g/mol.
This is carbon’s contribution to a formula containing one carbon atom. For carbon dioxide, CO₂, carbon contributes 1 × 12.011 = 12.011 g/mol, and oxygen contributes 2 × 15.999 = 31.998 g/mol. Add the contributions: 12.011 + 31.998 = 44.009 g/mol. Atomic weights here use IUPAC abridged standard atomic weights.
Assumptions
- The formula represents a defined molecule or ionic formula unit, and atom counts come from its subscripts and grouping.
- Atomic weights are standard reference values; naturally occurring isotopic composition can cause small variations.
- The calculation gives molar mass, not the mass of a particular sample. Sample mass must be measured separately.
What You’ll Need
- The complete, correctly written chemical formula, including parentheses and any hydrate dot.
- A periodic table or reliable atomic-weight reference using consistent units, normally g/mol.
- A calculator or paper for multiplying and adding contributions.
Step-by-Step
- Write the formula exactly. Identify every element symbol and its subscript. A capital letter starts an element symbol; a lowercase letter can be part of that same symbol. For instance, Co is cobalt, whereas CO means carbon and oxygen.
- Expand groups in parentheses. Multiply each subscript inside a group by the subscript outside it. In Ca(OH)₂, the group count of 2 means 2 oxygen atoms and 2 hydrogen atoms, in addition to 1 calcium atom.
- Handle hydrates and repeated groups. In a hydrate such as CuSO₄·5H₂O, count the atoms in the salt and in all five water molecules. The dot means the water units are included in the formula; it is not a multiplication sign for the whole salt.
- Look up each element’s atomic weight. Record the value in g/mol. Use one consistent table and its stated precision. Common abridged values include H 1.008, C 12.011, N 14.007, O 15.999, Na 22.990, Cl 35.45, and S 32.06.
- Multiply each atomic weight by its atom count. For an element with subscript 3, calculate 3 × its atomic weight. A missing subscript means there is one atom. In the calculator, enter that count as n and the atomic weight as a; the output is the element’s contribution in g/mol.
- Add every contribution. The sum is the formula’s molar mass. For water, H₂O: hydrogen contributes 2 × 1.008 = 2.016 g/mol; oxygen contributes 1 × 15.999 = 15.999 g/mol. The total is 18.015 g/mol.
- Keep useful precision, then round. Avoid rounding each multiplication too early. Add the values at their available precision, then report a sensible number of decimal places for the purpose of the calculation.
- Use the result with the right units. To find moles from a sample’s mass, divide mass in grams by molar mass in g/mol. To find mass, multiply moles by molar mass. Check that the units cancel as expected.
Common Mistakes
- Ignoring a subscript: O₂ contains two oxygen atoms, not one. A missing subscript means one atom.
- Misreading element symbols: CO and Co describe different compositions. Check capitalization before counting.
- Not distributing a group subscript: In Al₂(SO₄)₃, multiply the S and O counts inside the parentheses by 3; the formula contains 2 Al, 3 S, and 12 O atoms.
- Using the wrong hydrate count: Count every atom in each water molecule after the dot, and multiply by the hydrate number.
- Confusing molar mass with molecular mass: Molar mass is expressed in g/mol. The mass of one molecule is a different quantity and is extremely small.
- Mixing units or reference values: Atomic weights should be entered in g/mol. Do not add values expressed in unrelated units or combine inconsistent rounded tables without a reason.
Tips
- Make a small table with columns for element, atom count, atomic weight, and contribution. This makes mistakes easier to spot.
- Check that the total atom count matches the formula after expanding parentheses and hydrate groups.
- For ionic compounds, calculate the formula-unit molar mass the same way; a compound does not need to exist as a single molecule for this arithmetic to work.
- Use the molar mass of the actual chemical form. A salt, hydrate, or isotopically labeled compound can have a different value from the unmodified compound.
- For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.
Troubleshooting
Your total seems too high or low: Recheck subscripts, parentheses, and hydrate dots, then verify each atomic weight. A missing group multiplier often causes a large discrepancy.
The formula includes brackets or nested groups: Work from the innermost group outward, multiplying each count by every applicable outside subscript before summing.
You are unsure whether a value is an atomic weight or molar mass: Atomic weights belong to individual elements; the compound’s molar mass is the sum of all element contributions. Both are commonly tabulated in g/mol for these calculations.
Your result differs slightly from another reference: Tables can use different rounding or isotope conventions. Compare the atomic-weight values and reporting precision before treating a small difference as an error.
The chemical formula is ambiguous: Confirm whether it represents an anhydrous compound, hydrate, salt, or a particular isotope form. The calculation cannot determine which form is intended.
Frequently Asked Questions
What is molar mass?
Molar mass is the mass of one mole of a substance, usually reported in g/mol. It lets you convert between mass and amount in moles.
How do I calculate molar mass from a formula?
Count each element’s atoms, multiply each count by its atomic weight, and add all the contributions.
What if an element has no subscript?
Count it as one atom. For example, NaCl contains one sodium atom and one chlorine atom per formula unit.
Do parentheses change molar mass?
They group atoms. Multiply every atom count inside the parentheses by the subscript outside them before calculating contributions.
Should I round the answer?
Keep extra digits while calculating, then round to a precision appropriate for your inputs and purpose. Do not round intermediate values prematurely.
Is molar mass the same as molecular weight?
They are often used informally for the same numerical value, but molar mass has units of g/mol. Relative molecular mass is a ratio and has no units.
Related
Formula used
in n | Number of atoms | - | 1 | 1 in a | Atomic mass | g/mol | 12.011 | 0 out mm | Molar mass contribution | g/mol | n * a | 3
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