To calculate how many gallons your pool is, multiply the length, width and average depth of your pool by 7.5.
For example, an 18x36 swimming pool with an average depth of 5 feet yields 24,300 gallons.