To calculate the mass of a pure substance, you can look up the atomic mass of the element(s) on the periodic table, multiply the mass by 1 g/mol, and then add them up if it's a compound.