To find the capacity in gallons we firs need to find the volume.
The volume is given by:

Plugging the values given we have:

Now that we know that we need to convert it, to do this we multiply by the factor given:

Therefore the capacity of the tank is 8976 gal