Add up all the individual atomic weights for each and every atom in a molecule, and guess what? That's the molecular weight!