The capacity of a circular tank may be determined by multiplying the diameter in inches by itself and by .7854 and by the length (or depth) in inches, which gives the capacity of the tank in inches, and then dividing by 231, the number of cubic inches in a United States gallon.