The molecular weight of a compound is the sum of the atomic weights of the atoms in the molecules that form these compounds. Example: The molecular weight of the sugar molecule found in cane sugar is the sum of the atomic weights of the 12 carbon atoms, 22 hydrogen atoms, and 11 oxygen atoms in a C12H22O11 molecule.