Mathematically, such a pool is usually a wedge-cuboid, see there for the formulas for calculation. Depth refers back to the degree of the water or even the depth from the pool, dependant upon what you need to compute. The Pool Drinking water Calculator is actually a useful on the internet https://www.mister-pool.de/schwimmbecken/