If the substance is a liquid or solid, no equivalent exist to some perfect gas equation, so you need experimental values of the volume compressibility or its reciprocal, the bulk modulus K (in GPa usually), or at least the sound velocity. Beware it varies with the pressure: 50bar, 350bar, 1500bar...
For a gas, under some conditions you can assimilate it to a perfect gas and then general equations exist; if not, you must choose one model and have the parameters of said gas for this model.