Two aquariums with the same gallon capacity can offer very different living space. A long, wide tank generally gives more horizontal swimming room, more bottom area and more surface area for gas exchange than a tall narrow tank. This can be especially important for active schooling fish, Corydoras and other bottom dwellers, territorial species and fish with large adult body dimensions.
Gallons are useful for water volume and stability, but they do not describe shape. A tall tank can hold a lot of water while offering less usable territory to fish that spend most of their lives moving horizontally.

Active swimmers need length
Danios, many barbs, rainbowfish and other active species benefit from long uninterrupted swimming runs. Extra height does little to replace that distance.
Bottom fish need floor area
Corydoras, loaches and many catfish use the substrate and lower structure. A broad base can be more valuable to them than extra water above.
Territorial fish need separation
A wide footprint allows hardscape and plants to create distinct territories and sight breaks. Narrow tanks can force fish into constant contact.
Surface area also matters
The RSPCA notes that the water surface is where gas exchange occurs, so wider tanks can also provide an oxygenation advantage compared with very tall narrow tanks.
Related aquarium tools and guides
Frequently asked questions
Is a 20 long better than a 20 high?
For many active and bottom-dwelling species, the long tank offers more useful horizontal and floor space.
Does a tall tank count as extra swimming room?
Only for species that genuinely use vertical space; most common freshwater fish still rely heavily on horizontal movement.
Should I ignore gallons completely?
No. Volume matters for stability and waste dilution, but footprint adds information that volume alone misses.
Sources and further reading
This guide separates general aquarium arithmetic from fish-welfare decisions. For species-specific limits, always check the needs of the fish you intend to keep.