In Wolfram|Alpha if I write:

density water at 500°C and 100 atm

instantly I read:

30.92 kg/m^3 (kilograms per cubic meter)

and the same is true for many other pairs of values.

Is there any way to do the same in offline Mathematica?

I would love to know the formulation to which it refers, I have been looking in Google for a day and reading papers but so far I have not found any article that has such high values!


  • 1
    $\begingroup$ I thought only gas density depends on temp. and pressure, but water is not a gas? But you can ask in the Physics form. if you are using Mathematic offline, then Mathematica can't call Wolfram Alpha. need to have internet access. $\endgroup$
    – Nasser
    Aug 23, 2021 at 13:58
  • 1
    $\begingroup$ researchgate.net/publication/… ... and when can do all this for water, you will be able to get the answer offline. More info: jstage.jst.go.jp/article/jccjie/4/0/4_2017-0042/_html/-char/en cc: @Nasser $\endgroup$
    – Syed
    Aug 24, 2021 at 19:25

1 Answer 1


Using Free-form input (i.e. Ctrl + =) of your query returns:

ThermodynamicData["Water", "Density", {"Temperature" -> 
   Quantity[500, "DegreesCelsius"], 
  "Pressure" -> Quantity[100, "Atmospheres"]}]

Some digging around for the source for ThermodynamicData yields: https://reference.wolfram.com/language/note/ThermodynamicDataSourceInformation.html, so I would start by looking at the NIST Reference Fluid Thermodynamic and Transport Properties Database (REFPROP).

  • 1
    $\begingroup$ This does not work when one is "offline" which is what OP said they wanted. This makes a call to Wolfram server. It is basically like calling Wolfram alpha from inside Mathematica as alternative method to obtain the answer. $\endgroup$
    – Nasser
    Aug 23, 2021 at 14:41
  • $\begingroup$ Yes, of-course. Was trying to give the OP a reference in answer to their question: I would love to know the formulation to which it refers $\endgroup$ Aug 23, 2021 at 14:49
  • $\begingroup$ I see. I thought this was the answer to Is there any way to do the same in offline Mathematica?. no problem. $\endgroup$
    – Nasser
    Aug 23, 2021 at 14:52
  • $\begingroup$ I have not tested this and have no proof that the following is entirely correct, but I think all the Data-functions work like this: when first called, they download the dataset that is needed. After that (even in the next mathematica session) the downloaded data is used locally so the ThermodynamicData function will work locally. It still will try to connect to WRI servers to look for updates, but if that doesn't work it will use the downloaded dataset. Maybe that is good enough for your definition of "local"? $\endgroup$ Aug 25, 2021 at 9:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.