The volume of an object increases with increasing temperature, because of the
matter’s volumetric thermal expansion. Therefore, according to equation [1], the density
of an object depends on its temperature, with higher temperature resulting in lower
density. Exception is water in temperature range 0-4 °C, for which the density increases
with increasing temperature. The density of a gas further depends on the pressure as well.
Nevertheless, this effect is negligible in a case of liquid and/or solid matter.