How to calculate molecular weight
Molecular weight is the weight of one molecule, worked out from its chemical formula. It tells you how heavy a single molecule is compared with other molecules, and it is the number chemists use to weigh out exact amounts for a reaction. The good news is that the calculation is simple addition: look up the weight of each atom, multiply by how many of them there are, and add the results together. The Molecular Weight Calculator does this for you, but the four steps below let you do it on paper and check the calculator’s answer.
Step 1: read the formula and count the atoms
A chemical formula is a shopping list of atoms. H₂O means two hydrogen atoms and one oxygen atom; the small number after an element tells you how many of that atom are in the molecule, and no number means one. CO₂ is one carbon and two oxygens; NaCl is one sodium and one chlorine. Capitals matter: H₂O is water, but h2o means nothing, and CO is carbon monoxide while Co is the metal cobalt. Read the formula left to right and write down each element with its count before you touch any numbers.
Step 2: look up each atomic weight
Every element has an atomic weight, the average weight of one of its atoms, listed on the periodic table. The calculator uses H 1.008, C 12.011, N 14.007, O 15.999, S 32.065, Na 22.99 and Cl 35.45, among others. These are averages, because most elements exist as a mix of slightly heavier and lighter atoms in nature, which is why the numbers are not whole. For everyday work you can round them — H 1, O 16 — but the exact table values give the exact answer, so use them when the number matters.
Step 3: multiply each weight by its count
Multiply each atomic weight by the number of atoms of that element. For water, hydrogen appears twice, so 2 × 1.008 = 2.016, and oxygen appears once, so 1 × 15.999 = 15.999. For table salt, NaCl, both counts are one, so the two weights go in unchanged: 22.99 and 35.45. This step is where most mistakes happen, usually a missed subscript — H₂O worked out as if it were HO gives 17.01 instead of 18.015, which is wrong by a full hydrogen atom.
Step 4: add everything up
Add the multiplied weights together and the total is the molecular weight, in grams per mole (g/mol). Water: 2.016 + 15.999 = 18.015 g/mol. Table salt: 22.99 + 35.45 = 58.44 g/mol. Carbon dioxide: 12.011 + 2 × 15.999 = 12.011 + 31.998 = 44.009 g/mol. That is the whole method — four steps, and the answer is a single number you can use straight away to weigh out a mole of the substance.
Worked example: sulphuric acid
Sulphuric acid, H₂SO₄, has two hydrogens, one sulphur and four oxygens. Hydrogen: 2 × 1.008 = 2.016. Sulphur: 1 × 32.065 = 32.065. Oxygen: 4 × 15.999 = 63.996. Add them: 2.016 + 32.065 + 63.996 = 98.077, which rounds to 98.08 g/mol. The calculator shows the same breakdown in a table, so you can check each line against your own working. If your answer differs, compare line by line — the mistake is almost always one element’s count or one atomic weight.
A quick sense check
Before trusting an answer, ask whether it is the right size. Water is about 18, oxygen gas about 32, table salt about 58, glucose about 180. If you get 180 for water or 18 for glucose, a subscript has gone wrong somewhere. Small differences in the second decimal place are normal — different tables round atomic weights slightly differently — but a difference of whole units means a real mistake.
Frequently asked questions
What is molecular weight?
The weight of one molecule of a substance, found by adding up the atomic weights of all its atoms. Water’s molecular weight is 18.015 g/mol.
Do I need a periodic table?
You need the atomic weight of each element in your formula. The calculator has the common ones built in, so you only need the formula itself.
What units is the answer in?
Grams per mole (g/mol). One mole of a substance weighs its molecular weight in grams, so one mole of water weighs 18.015 g.
Why does my answer differ slightly from a textbook?
Atomic weights are averages that get revised, and different tables round differently. Small differences in the second decimal are normal.
More guides on the Molecular Weight Calculator
- Molecular Weight formula explained simply
- Molecular Weight: worked example step by step
- Molecular Weight for beginners
- Common mistakes when calculating molecular weight
- Molecular Weight vs molar mass: what's the difference
- How to use a molecular weight calculator
- Molecular Weight quick reference table
- Molecular Weight in real life: everyday examples
- Molecular Weight practice questions with answers
Try the Molecular Weight Calculator — free, in your browser.