Rectangular pool volume
Measure the waterline, not the outside shell. Use a measured area-weighted average depth. For a uniform linear slope, average the two end depths. Exclude separately metered spas.
Measure pool gallons when the floor slopes
Reference · Pentair · Sta-Rite engineering and design manual