NIST formula for desity of water as a function of temperature (See Eq. (3)) is in this paper: NIST 1992 formula for ρ(T)