How many fish in a 40 gallon tank?
A 40-gallon breeder (151 L) has a big footprint — ideal for angelfish, rainbowfish, or multiple groups.
The 40 breeder is a favourite for its wide, shallow shape: lots of floor space and swimming room. It comfortably holds larger or more numerous fish, including angelfish kept with appropriately-sized tankmates.
Your tank
no size setPick a common size, or enter your own dimensions.
Add fish & invertebrates
Search 126 freshwater species by name or group.
Verdict
Stocking ideas for a 40-gallon tank
Each idea below is scored by the same engine as the planner — tap one to load it.
Angelfish done right
✓ Good starter plan2× Freshwater Angelfish, 6× Boesemani Rainbowfish, 6× Bronze Corydoras
Pair angelfish with dither fish too big to be eaten, plus a bottom crew.
Load this build in the planner ↑Rainbow shoal
✓ Good starter plan6× Boesemani Rainbowfish, 6× Neon Dwarf Rainbowfish
Active, colourful rainbows that show best in a longer tank with open swimming room.
Load this build in the planner ↑Good to know
What is the maximum number of fish for a 40-gallon tank?
There is no single number — it depends on the adult size, waste output, and social needs of the species. A handful of small nano fish can suit a tiny tank while a few large fish can overload a big one. The planner above estimates a stocking level for your exact list rather than guessing from gallons alone.
Can I use the "one inch of fish per gallon" rule?
It is a rough starting point at best and breaks down quickly: a 3-inch goldfish produces far more waste than three 1-inch tetras, and the rule ignores schooling needs, aggression, and adult size. TankStocking weights bio-load by body size and waste class and applies hard welfare checks instead.
Should I add all the fish at once?
No. Cycle the tank first, then add fish in small batches over several weeks so the biological filter can keep up. A fully-stocked plan is the destination, not the starting point.
Stocking levels are planning estimates, not guarantees — individual fish, filtration, planting, and maintenance all matter. Cycle the tank before adding livestock and verify your own water. How TankStocking works →