It would be misleading to talk about molecular mass of a salt because salts (ionic compounds) are not molecules. The concept of “formula mass” is a formalism that recognizes that salts are not molecules. The formula mass is calculated from the simplest formula of an ionic compound just like the molar mass is calculated from the molecular formula of a covalent compound: by adding up the atomic masses of all the atoms in the formula.