To calculate the volume of a hexagonal prism you multiply 3 x apothem length x side length x height. The apothem length is the perpendicular distance from the center of the hexagon to any of its sides. Assuming you used inches, the answer will be in cubic inches, which can easily be converted to gallons by multiplying by 0.00432900433.