The Pressure with Uniform Density equation calculates the pressure at a point in the liquid given the starting and final position along with the initial pressure.
Reference
Young, Hugh and Freeman, Roger. University Physics With Modern Physics. Addison-Wesley, 2008. 12th Edition, (ISBN-13: 978-0321500625 ISBN-10: 0321500628 ) Pg 460, eq 14.5
This equation, Pressure with Uniform Density (with y2 and y1), references 1 page