You need the fish tank dimensions to calculate the volume of an aquarium. For a rectangular or square shaped fish tank, you multiply the length x width x height. The end result will give you a cubic number, which could be converted to gallons for easier comprehension.