is this even close?
A=pi(D)to second power x H
divide that by 231?
i think this is it!
im looking in my fluid power book
so you have lets say a 15" diameter tank and its 20" high
so
A=pi (15) to the second power X 20=14,137.16694 / 231= 61.19985689 GALLONS rounded to 61 gallons