The formula for finding the volume of a rectangular pool with one depth (no shallow or deep end) is L × W × D × 7.5 = V (in gallons). For example, if your swimming pool is 32 feet long, 16 feet wide, and 4 feet deep: 32 × 16 × 4 × 7.5 = 15,360 gallons.