What is the deformation formula of liquid pressure calculation formula

What is the deformation formula of liquid pressure calculation formula

Is it this or
.p=P/gh
.h=P/pg
.g=P/ph