where n is the number density, and T is the absolute temperature, provided it is measured in energetic units (i.e. in joules) through multiplication with the Boltzmann constant. Since the mass density is proportional to the number density through the average molecular mass m of the material: