In metric units this is pretty easy: 10m of water height ≅ 1bar.
As for pressure loss, there are various calculators online. (one example
The fun part will be getting pipes that can handle 40bar with plenty of reserve if you are not extremely careful with changes in water flow.
Also, I'd rather not have one burst in the same room as me.