The molecular mass of a substance (less accurately called molecular weight and abbreviated as MW) is the mass of one molecule of that substance, relative to the molecular mass unit u (equal to 1/12 the mass of one atom of carbon-12). Thus it is a dimensionless number.
The molecular mass can be calculated as the sum of the atomic masses of all the atoms of any one molecule.
The molar mass of a substance is numerically equal to the molecular mass, but expressed in mass units per mole (e.g. grams per mole)
Molecular mass or molar mass are used in stoichiometry calculations.
Strictly speaking, the molecular mass is not precisely equal to the sum of the atomic masses, but slightly lower. This is because of the energy released upon the formation of chemical bonds, which is equivalent to "lost" mass according to special relativity. This difference is negligible however.