How Many Fish in a 40 Gallon Tank?
How many fish a 40 gallon tank holds by the published inch rule, how the wide 40 Breeder shape changes it, care sheet fish groups, and the 29 gallon.
How many fish in a 40 gallon tank? By the rule Tetra’s aquarium Q&A publishes, one gallon of water per inch of mature tropical fish, a 40 gallon tank tops out at about 40 inches of adult fish. That is a ceiling for a cycled, well-filtered tank, not a goal. Aqueon’s FAQ applies the same inch to net gallons, the water left after gravel and decor, so the real allowance is lower. The tank’s shape matters too: a wide 40 Breeder holds more fish comfortably than a tall, narrow tank of similar volume, and the fish you choose matter more than the count.
This guide summarizes stocking guidance published by aquarium makers and university extension services. It does not diagnose illness or replace veterinary care. If fish breathe rapidly, gasp at the surface, or stop eating, stop adding fish and contact a licensed veterinarian who treats fish.
How Many Fish in a 40 Gallon Tank: The Inch Rule and Its Limits
Tetra and Aqueon both count adult length, not the size of the fish in the store bag.
| Source | Rule as published | 40 gallon | 29 gallon |
|---|---|---|---|
| Tetra aquarium Q&A | One gallon of water per one inch of mature tropical fish | About 40 inches of adult fish | About 29 inches |
| Tetra 29 gallon kit page | One inch of fish per gallon, with adult size, activity, schooling, waste, and temperament also considered | Same ceiling, adjusted down for those factors | Same ceiling, adjusted down for those factors |
| Aqueon FAQ | One inch of adult fish per net gallon; a fully decorated 10 gallon holds about 8 gallons of water | About 32 inches if the same share held (our arithmetic) | About 23 inches on the same basis (our arithmetic) |
| Aqueon fish compatibility article | One inch of adult size fish per net gallon; territorial fish need even more space | Fewer inches again for territorial fish | Fewer inches again for territorial fish |
| Tetra aquarium Q&A (goldfish) | Three gallons of water per one inch of goldfish | About 13 inches of goldfish (our arithmetic) | About 9 to 10 inches (our arithmetic) |
Aqueon publishes the 10 gallon example only; the 40 and 29 gallon net figures above apply that same share by our arithmetic and are not maker figures. The rule has known gaps. Aqueon’s FAQ says activity level, territoriality, available habitat, and filtration should also be taken into account, and that most fish you buy are going to grow. The Tetra 29 gallon kit page lists the questions to ask about each fish: how large it will be as an adult, whether it is active and needs more space, whether it schools in groups of five or more, whether it produces a lot of waste, and whether it is aggressive. Aqueon’s fish compatibility article adds that crowded fish become more agitated and more likely to quarrel.
40 Breeder vs Taller Tanks: Why Shape Changes the Count
The size list on Aqueon’s standard glass aquarium page includes a 40 Breeder but no 40 tall or 40 high model. Its closest tall shape on the same 36 inch length is the 38. Aqueon’s light and lid fit lists also name a 40 Long, but the pages reviewed for this guide give no dimensions for it; the 40 gallon tank dimensions guide covers the shapes and weights in detail, and tank picks are in the fish tank roundup.
| Aqueon tank | Dimensions on the product page (L x W x H) | Floor area (our arithmetic) | Shape |
|---|---|---|---|
| 40 Breeder | 36.25″ x 18.25″ x 17″ | About 662 sq in | Wide and low |
| 38 | 36.25″ x 12.625″ x 19.75″ | About 458 sq in | Narrow and taller |
| 29 | 30.25″ x 12.5″ x 18.75″ | About 378 sq in | Narrow and tall |
By our arithmetic, the 40 Breeder has about 45% more floor, and the same share more water surface, than the 38, and about 75% more than the 29. That difference matters when you plan the fish list. Aqueon’s freshwater setup article says wider aquariums provide more surface area for gas exchange and more room for active fish, give territorial fish such as cichlids more places to set up a home, and that tall, narrow aquariums hold fewer fish per gallon. Aqueon’s guide to choosing an aquarium says active fish like danios and barbs need longer tanks, territorial fish need lots of bottom space, and tall, narrow tanks can suit less active fish such as gouramis.
In practice: plan a 40 Breeder close to the inch ceiling only with a strong filter and a stocking schedule, and plan a tall tank of similar volume below it, built around slower fish.
Fish That Suit a 40 Gallon, From the Care Sheets
Aqueon’s beginner fish by tank size article groups 20 to 50 gallon tanks together and says this is where you can start to keep fish in the 3 to 4 inch range, with care not to overcrowd them because of territoriality. The table below lists what each source states; none gives a maximum count for any species. For a first tank, the starter fish guide covers hardy species to begin with.
| Fish | Tank size the source gives | Group and temperament notes | Temperature |
|---|---|---|---|
| Pearl and three spot gouramis (blue, gold, opaline) | 30 gallons or larger | Males usually kept individually; extra females can reduce male aggression | 75° to 80°F |
| Tiger, rosy, and black ruby barbs | A minimum of 30 gallons | Schools of at least 6 to 10; avoid timid or long-finned tank mates | 75° to 80°F |
| Most Corydoras | 30 gallons is best for most species | Groups of 5 or more; never add to new aquariums | 74° to 80°F |
| Swordtails and sailfin mollies | The 20 to 50 gallon range | Female swordtails can get well over 3 inches; 2 to 3 females per male | 74° to 78°F |
| Bristlenose pleco | The 20 to 50 gallon range | Stays small; the common pleco gets too large for these tanks | 74° to 80°F (most captive bred plecos) |
| Dwarf cichlids from Lake Tanganyika | Communities in 30 to 50 gallons | Territorial; do not mix with cichlids from other regions | 74° to 80°F |
| Dwarf South American cichlids (rams, Apistogramma) | 10 to 20 gallons for a mated pair; larger tanks allow larger groups | Males may quarrel over territory; need caves and cover | 78° to 84°F |
Table sources: Aqueon care guides for gouramis, barbs, Corydoras, livebearers, plecos, African Rift Lake cichlids, and dwarf South American cichlids, plus the tank size article for swordtail, sailfin molly, bristlenose, and gourami pairing notes.
Run the Inch Math Before the Second Group
Only some care sheets give adult sizes, so only some plans can be counted. Aqueon’s rasbora guide says harlequin-type rasboras typically do not get larger than 2 inches and do best in groups of 7 or more, so one group is up to 14 inches. Aqueon’s community fish article says swordtails grow to about 5 inches, so one male with three females is about 20 inches. By our arithmetic those two groups reach about 34 inches, above the roughly 32 net gallons estimated earlier and close to Tetra’s 40 inch ceiling. A 40 gallon fills faster than its label suggests. The barb, gourami, and Corydoras guides give no adult lengths, so ask your shop for the adult size of the exact fish before you count it.
Fancy Goldfish in a 40 or a 29
Aqueon’s goldfish care sheet calls for at least 10 gallons per adult fancy goldfish and at least 20 gallons per adult common goldfish, comet, or shubunkin. Read literally, a 40 gallon reaches that floor at four fancy or two common goldfish, before decor takes up water. Aqueon’s tank size article is more generous for the smaller tank: it calls a 29 gallon a good home for 3 to 4 fancy Ryukin or Oranda goldfish, while the care sheet’s figure works out to two (our arithmetic). The two Aqueon pages disagree, so start at the lower count. Tetra’s beginner guide says tropical fish and goldfish should not mix, so a goldfish tank is its own plan, kept at 68° to 74°F for fancy goldfish per Aqueon. The goldfish tank setup guide covers equipment for that plan.
How Many Fish in a 29 Gallon Tank
The same rule gives a 29 gallon tank a ceiling of about 29 inches of adult tropical fish, and about 23 net gallons if Aqueon’s decorated-tank share holds (our arithmetic). The Tetra 29 gallon kit page lists its tank at approximately 30 x 12 x 18 inches; Aqueon’s 29 is 30.25″ x 12.5″ x 18.75″. Compared with a 40 Breeder, the 29 is 6 inches shorter, 5.75 inches shallower front to back, and 1.75 inches taller.
Two care sheet limits sit right at the 29’s edge. Aqueon gives tiger, rosy, and black ruby barbs a minimum of 30 gallons, and calls 30 gallons best for most Corydoras. A 29 is a gallon short of both by label, and less once gravel goes in. Tetras, rasboras, livebearers other than swordtails and sailfin mollies, and the smaller gouramis fit a 29 without stretching a care sheet; the tank size article puts the 29 in the same 20 to 50 gallon group as the 40. Its tall, narrow shape favors slower fish, per Aqueon’s choosing guide. The 29 gallon tank dimensions guide covers weight and stands.
Fish That Need More Than a 40 Gallon
| Fish | Tank size the source gives | Source |
|---|---|---|
| Most larger rainbowfish (Melanotaeniids) | At least 50 gallons | Aqueon rainbowfish care guide |
| Angelfish | 55 gallons or larger when full grown | Aqueon angelfish care guide |
| Kissing gouramis | 55 gallons or larger when full size | Aqueon gourami care guide |
| Denisonii barbs | 55 gallons or larger when full size | Aqueon barb care guide |
| Most Rift Lake cichlids | At least 55 gallons | Aqueon Rift Lake cichlid care guide |
| Discus | 75 gallons or larger when full grown | Aqueon discus care guide |
| Common pleco | At least 75 gallons; can grow to over 12 inches | Aqueon plecostomus care guide |
| Bala, black, harlequin, and Colombian sharks | At least 100 gallons when full grown | Aqueon freshwater shark care guide |
| Tinfoil barbs | 125 gallons or larger as adults | Aqueon barb care guide |
Aqueon’s questions to ask before buying fish warns that some store fish may double, triple, or more in size. Plan for a fish that outgrows the tank before you buy it. The University of Florida IFAS Extension’s publication on responsible aquarium fish ownership says never to release aquarium fish into the wild or flush them, and to try returning or trading an animal you can no longer keep.
Stocking a 40 Gallon Tank in Rounds
- Cycle the filter first. UF/IFAS’s ammonia publication says a new biofilter requires six to eight weeks to build up enough bacteria, and Aqueon’s nitrogen cycle article gives three to eight weeks for the whole process. The guide on how to cycle a fish tank covers the steps.
- Add a few fish at a time. Aqueon’s first 60 days guide says to buy only a few fish at a time and wait at least a week between additions. Tetra’s Q&A says that after three to four weeks you can add one to two fish per week.
- Save bottom fish for later. Aqueon says Corydoras should never go into new aquariums, and its new tank tips say to wait several weeks before adding scavengers.
- Check ammonia and nitrite before each round. Use a water test kit. Tetra says elevated ammonia and nitrite should not occur in a cycled tank and, in a mature system, point to overstocking or over-feeding.
A tank stocked near the ceiling needs the equipment to match. Aqueon’s FAQ advises a filter rated one size larger than the aquarium and extra biological media in heavily populated tanks. Aqueon’s filter buying article says flow should be four to six times the tank’s volume, which is 160 to 240 gallons per hour for a 40 by our arithmetic; the filters section compares types. For tropical fish, Aqueon’s heater tips give a rule of 5 watts per gallon for tanks of 55 gallons or smaller, about 200 watts for a 40; heater options are in the heaters section. Aqueon’s FAQ calls a 10% weekly water change ideal, about 4 gallons a week here.
Who Should Look Elsewhere
- Keepers set on angelfish, discus, most Rift Lake cichlids, or larger rainbowfish. Their care sheets call for 50 to 75 gallons or more.
- Anyone planning a common pleco, a bala shark, or tinfoil barbs. Aqueon calls for at least 75, 100, and 125 gallons.
- Keepers who want several full schools plus a centerpiece fish. Two groups of medium fish already approach the inch ceiling in a 40.
- Saltwater keepers. This guide covers freshwater only; none of the sources here gives saltwater counts for a 40.
- Anyone with sick fish. Stocking changes do not treat illness. Aqueon’s 60 day guide lists rapid breathing, gasping at the surface, clamped fins, white spots, and scratching against objects as signs to watch. Contact a licensed veterinarian who treats fish rather than adding treatments on a guess.
For the next sizes up and down, the 30 gallon stocking guide and the 55 gallon stocking guide apply the same rule.
Frequently Asked Questions
How many neon tetras can go in a 40 gallon tank?
None of the sources here gives a maximum. Tetra’s tropical fish page recommends at least six neon tetras to start, and Aqueon’s tetra guide says tetras do best in schools of 6 or more. Start with one school in a cycled tank, count adult sizes against the inch rule, and check ammonia and nitrite before adding more.
Is a 40 Breeder better than a 29 gallon for fish?
For active and territorial fish, the published guidance favors the 40 Breeder: it has about 75% more floor by our arithmetic, and Aqueon says wider tanks give more surface for gas exchange and more room for territories. The 29 suits a smaller, slower community.
Can angelfish live in a 40 gallon tank?
Not as adults, by Aqueon’s figure: its angelfish guide says they require an aquarium of 55 gallons or larger when full grown.
Can African cichlids live in a 40 gallon tank?
Most cannot: Aqueon recommends at least 55 gallons for most Rift Lake cichlids. The exception is dwarf species from Lake Tanganyika, which Aqueon says can be kept as communities in 30 to 50 gallon tanks. Plan that tank species by species with a shop that knows the fish.
How many goldfish can go in a 40 gallon tank?
By Aqueon’s care sheet, up to four adult fancy goldfish or two common goldfish, before decor takes up water. Keep them without tropical fish, as Tetra advises.