Skip to content

Molar Mass Calculator

Type a formula for its molar mass, with each element’s share of the mass.

Type any chemical formula to get its molar mass on the CIAAW standard atomic weights, with each element’s share of the mass and of the atoms, and the sum worked out.

Read as C8H10N4O2

Try

ExampleMolar mass of C₈H₁₀N₄O₂

194.194g/mol

Carbon is 49.48% of the mass. One mole, 6.022 × 10²³ formula units, weighs 194.194 g.

Type your own formula to weigh it.

Share of the mass
Share of the atoms
  • C49.48% of mass, 33.3% of atoms
  • H5.19% of mass, 41.7% of atoms
  • N28.85% of mass, 16.7% of atoms
  • O16.48% of mass, 8.3% of atoms
Atoms per formula
24
Mass of one molecule
3.225 × 10⁻²² g
Rounded to 2 decimals
194.19 g/mol
How this works: 3 sources,

How this works

Method

Molar mass is the sum of each element’s standard atomic weight (CIAAW 2024, conventional values for interval elements) times its number of atoms, in exact fractions. Moles are grams ÷ molar mass; particles are moles × 6.022 140 76 × 10²³. Empirical formulas divide each element’s moles by the smallest, then multiply by the first whole number up to 10 that brings every ratio within 0.1 of a whole number. Yields balance the equation and take the smallest moles ÷ coefficient. Answers round to the significant figures you type, never fewer than three.

How it’s tested

16 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.

Privacy

On your device. Nothing you enter or open leaves this browser. About privacy labels

Changes

  • First published: molar mass with each element’s share of the mass and atoms, grams to moles and back, percent composition, empirical formula, limiting reagent, theoretical and percent yield.

Every change on What’s new

How we make toolsReport a mistake

Key facts

  • One mole is exactly 6.022 140 76 × 10²³ particles, the Avogadro constant fixed by the 2019 SI redefinition.
  • Molar mass in grams per mole equals the relative formula mass: water is 18.015 g/mol because H2O weighs 18.015 times one-twelfth of a carbon-12 atom.
  • CIAAW revised the standard atomic weights of gadolinium, lutetium and zirconium in 2024, the most recent changes to the table.

CIAAW, Standard Atomic Weights 2024; BIPM, The International System of Units (SI), 9th edition

All 7 mole calculators

Mass and moles · Composition and formulas · Reactions and yield

Common questions

How is molar mass calculated?

Multiply each element’s standard atomic weight by the number of its atoms in the formula and add the results. Water, H2O, is 2 × 1.008 + 15.999 = 18.015 g/mol. The calculator does the same for any formula, brackets and hydrates included, and shows each element’s part.

Which atomic weights does it use?

The standard atomic weights of the IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW), in the 2024 table: the Atomic Weights 2021 report with the 2024 revisions for gadolinium, lutetium and zirconium. For the 14 elements whose atomic weight varies in nature, such as hydrogen, carbon and chlorine, it uses CIAAW’s conventional value (1.008, 12.011, 35.45).

Why does my textbook give a slightly different number?

Older books used older atomic weights or rounded them (carbon as 12.01, chlorine as 35.5). The differences are usually in the second decimal place. Use whatever values your course gives you for marked work; the table under the answer shows the weight used for every element.

Is molar mass the same as molecular weight?

They are the same number with different units. Molar mass is grams per mole (g/mol); molecular weight (relative molecular mass) has no unit, and one molecule’s mass in daltons (u) is the same number again. Water is 18.015 g/mol, Mr 18.015, 18.015 u.