I would like to perform the following calculation in Node-RED:
A value should be calculated from two input values (e.g. temperature and relative humidity) using a formula. The result of the formula should then be displayed in the dashboard as a numerical value in a simple field.
Simple calculations can be done in almost any node using jsonata. More complex may be better suited for the function node. Here is an example for air VPD
You would then send that value to a sensor node, which will create an entity in HA you can then display on a dash. You will need the nodered companion app in hacs for this.
If this is for vpd it maybe easier/more straight forward just creating this sensor in HA.