You can put this solution on YOUR website! Gallons of what?
Be specific
Assuming water
Assuming 10" is height and 8" is diameter
V = pi*r^2(h)
h = 10
r = d/2 = 4
V = 16pi(10) = 160pi cubic inches = 502.654 (rounded) cubic inches
1 gallon of water = 231 cubic inches so:
502.654/231 = 2.18 gallons (rounded)