If you wanted a tank to hold precisely 1.5 gallons and be a perfect cube, the edge of each square in your assembly needs to be precisely 6.27006882 inches. However, that will hold exactly 1.5 gallons of water. you want room to add rock/heaters/fish and not want your water to be all the way up to...