What depends on the mass of the substance?