Stocking
How many fish in a 20 gallon tank?
The inch-per-gallon rule says twenty inches of fish. It is wrong in four separate ways, and the honest answer is a smaller number of larger groups than most beginners expect.
Fin & Filter earns a commission when you buy through the links on this page. It costs you nothing and it does not decide what we rank. How we’re funded.

We have not used any of this gear. Every pick below is chosen from published manufacturer specifications and the arithmetic on how we pick, which you can re-run yourself.
A realistic 20 gallon community tank holds two or three species in proper groups — something like eight to ten small schooling fish plus a group of six small bottom-dwellers, or one centerpiece fish with a single school. That is far fewer individuals than the inch-per-gallon rule implies, because adult size, body mass, tank footprint and each species' minimum group size all matter more than purchase-day length. The tank itself confirms the answer: if nitrate climbs faster than a weekly water change removes it, it is overstocked regardless of the arithmetic.
Twenty gallons is the size we recommend most often, and it is the size where stocking questions get most interesting. It is genuinely roomy compared with a 10 — but it is still a small aquarium, and the list of fish it cannot hold is longer than the shop will tell you.
Why the inch-per-gallon rule fails
The rule says twenty gallons holds twenty inches of fish. It is memorable, it is easy, and it ignores four things that each decide the answer more than length does.
- Adult size, not shop size. The fish in the bag is a juvenile. A common pleco sold at two inches reaches well over a foot and is not a 20 gallon fish at any age. Stocking against purchase-day length guarantees you are wrong within a year.
- Body mass, not length. A single three-inch goldfish is a thick-bodied animal producing far more waste than three one-inch tetras, and the rule counts them the same. Bioload scales closer to mass than to length.
- Footprint, not volume. Twenty gallons in a tall tank and twenty in a long one are not equivalent. Surface area drives gas exchange, and swimming length matters to active species. Most 20 gallon kits are the taller shape.
- Schooling minimums. Many popular small fish are shoaling species that are stressed and short-lived in twos and threes. “Fits” has to mean “fits a proper group”, and once you apply that, the number of *species* a 20 gallon tank holds drops sharply even though the number of fish may not.
That last point is the one that reshapes a stocking plan most. A beginner's instinct is one of each of six interesting fish. The correct version is proper groups of two or three species, which looks better, behaves better and is what the animals actually need. The same reasoning worked through at the smaller size is on how many fish in a 10 gallon tank.
Four worked stocking plans
These are illustrative combinations rather than prescriptions, and every one of them assumes a fully cycled tank stocked gradually. Adult sizes vary by source and by individual, so treat them as planning figures and check the species at your shop.
| Plan | Roughly what it holds | Why it works | Watch out for |
|---|---|---|---|
| The classic community | One school of 8-10 small mid-water fish, plus a group of 6 small bottom-dwellers | Two species in proper groups, using two levels of the tank, with a modest combined bioload. | Buying the school in threes. A short school shoals badly and hides. |
| Centerpiece plus school | One larger single fish, plus one school of 8-10 small fish | Gives the tank a focal point without adding a second full bioload. | Temperament. Many centerpiece fish eat or harass anything small enough to fit in a mouth. |
| The betta tank | One betta, plus a small group of peaceful tankmates if the individual tolerates them | Twenty gallons is generous for a betta and gives tankmates room to stay out of the way. | Individual temperament. Some bettas will not accept any tankmate. See can a betta live with other fish. |
| Species tank | One species only, in a large group, plus plants | The lightest bioload and the most natural behavior. Large groups of one species look far better than people expect. | Nothing much. This is the plan most likely to succeed and least likely to be chosen. |
All four assume a cycled tank, weekly water changes and filtration sized to the load. None assumes goldfish — see below.

What does not fit in 20 gallons
Shorter and more useful than the list of what does. These are the animals most commonly sold to people with a 20 gallon tank that should not go in one.
- Common plecos. Sold at two inches, they reach well over a foot and produce waste in proportion. A 20 gallon tank is a temporary home at best.
- Goldfish. Large, thick-bodied, heavy waste producers, and the hobby genuinely disagrees about their minimums — published figures for a single fancy goldfish start around 20 gallons and run considerably higher, and common single-tail goldfish are widely considered pond animals. We publish the range rather than inventing a consensus: what size tank do goldfish need.
- Most cichlids. Territorial, and the popular ones outgrow this tank.
- Anything sold as needing a “bigger tank later”. Later never arrives, and the fish is the one that pays.
- One of each. Not a species, but the most common stocking plan a beginner arrives with, and the one that produces a tank of stressed, badly-grouped animals.
Pick 1
API Freshwater Master Test Kit
The only way to know whether your stocking is actually working
The number
Over 800 tests per kit, covering pH, high-range pH, ammonia, nitrite and nitrate.
Every stocking plan on this page is an estimate, including ours. The tank is the thing that decides whether the estimate was right, and it reports the answer through a test kit.
There are two readings to watch after adding fish. Ammonia should stay at zero — any reading above it means the bioload has outrun the filter, and it is the emergency signal. Nitrate is the slower and more informative one: rising nitrate between water changes is the normal end product of a working cycle, but nitrate that climbs faster than a weekly water change can remove is the definition of overstocked, whatever the arithmetic said.
That makes a test kit the actual stocking calculator. Add a group, wait a week, test, and add the next group only if ammonia held at zero.
The honest downsides. Liquid reagents are slower and fiddlier than strips, the nitrate test in particular needs the second bottle shaken hard and then a wait, and the color card is genuinely hard to read between adjacent shades. It does not test hardness, chlorine or alkalinity.
| Tests | pH, High Range pH, Ammonia, Nitrite, Nitrate |
|---|---|
| Capacity | Over 800 tests per kit |
| Contents | 7 bottles of test solution, 1 color card, 4 glass tubes with caps, holding tub |
| Type | Liquid reagent |
| What it does not do | Does not test hardness, chlorine or alkalinity. It is slower than strips, the nitrate test needs vigorous shaking of the second bottle and a wait, and the color card is genuinely hard to read between adjacent shades. |
Specs from API Freshwater Master Test Kit, Amazon listing; API Freshwater Aquarium Master Test Kit, PetSmart listing. We have not used this unit.
Pick 2
Fluval AquaClear 30 Power Filter
Making the stocking plan viable in the first place
The number
Rated 568 L/h (150 US GPH) for 38-114 L (10-30 gallons). A 20 gallon community tank needs 170 rated GPH at 6x turnover, so this clears a 5x lightly-stocked target of 143 and sits about 12% under a full community load.
People treat stocking and filtration as separate purchases made on different days. They are the same decision: how many fish a tank holds is a question about how much waste the filter can process.
This is our standing pick at this tank size, with a condition attached. Its published 150 GPH clears the 143 rated GPH a lightly stocked or planted 20 gallon tank asks for, and sits modestly under the 170 a full community load wants. On the lighter stocking plans below it is simply the right filter; on the fullest plan, run it alongside a sponge filter rather than assuming it covers everything.
The media basket is the other reason it is here. Rinsable foam and ceramic rather than a disposable cartridge means servicing the filter does not throw away the colony that is processing your fish waste — which matters much more once the tank is actually stocked.
The honest costs. It is about 12% short of our 6x figure for a full community tank, which is why the recommendation comes with the sponge filter attached. It hangs off the back, so the tank cannot sit flush to a wall. And it draws 7 W continuously.
| Rated output | 568 L/h (150 US gal./h) |
|---|---|
| Stated tank range | 38-114 L (10-30 US gallons) |
| Power draw | 7W at 120 V / 60 Hz |
| Media | Pre-filter sponge, Bio-Foam, BIOMAX, activated carbon |
| What it does not do | No heater, no test kit, no substrate. At full rated output this is more flow than a betta or a shrimp tank wants, so the flow control is not optional there. |
Specs from Fluval, AquaClear 30 Power Filter product page. We have not used this unit.
Pick 3
Various Beginner live plants (java fern, anubias, hornwort)
Buying yourself headroom on the nitrate side
This is the one addition that genuinely changes the arithmetic rather than just decorating it. Plants take up nitrogen compounds as nutrients, so a well-planted tank runs lower nitrate at the same stocking level than a bare one.
It is not a license to double the fish, and we would not present it as one. What it buys is margin: a planted 20 gallon tank absorbs a heavy feeding week or a missed water change more gracefully, and that margin is worth more to a beginner than the extra fish it might theoretically permit.
Plants also give schooling fish somewhere to feel secure, which changes their behavior visibly. A group of small fish in a bare tank hides and darts; the same group in a planted tank spreads out and uses the whole space. That is the difference between fish that are surviving and fish that are behaving normally.
The honest costs. Live plants need adequate light and will melt in a dark tank, which then adds decaying plant matter to the very bioload you were trying to reduce. Some plants arrive with snails or algae attached. And a tank of struggling plants is worse than no plants at all, so species choice matters — the beginner-tolerant ones are covered in our live plants roundup.
| Why these three | They tolerate low light, need no injected CO2, and are not demanding root feeders |
|---|---|
| Planting note | Java fern and anubias must not be buried; the rhizome rots if you push it into the substrate |
| What it does not do | Live plants can arrive carrying snails, snail eggs or algae. They are also not a filter: plants consume nitrate, but they will not carry the ammonia load of a stocked tank on their own. |
The manufacturer does not publish a full spec sheet for this item, so nothing beyond the figures above is stated. We have not used this unit.
Add them slowly, and let the tank tell you when to stop
A cycled filter carries the load it has been trained for. Doubling the bioload overnight outruns the bacteria you spent weeks growing, and ammonia reappears in a tank that was fine yesterday. That is true no matter how carefully you planned the numbers.
- Confirm the tank is cycled. Zero ammonia and zero nitrite 24 hours after a full ammonia dose, twice. Not a date on a calendar.
- Add one group. A school, not a sampler. Acclimate properly — the procedure is on how to add fish to a new tank.
- Wait two weeks and test. Ammonia must stay at zero. If it moves at all, stop adding fish and find out why before doing anything else.
- Add the next group, and repeat. Two or three rounds is a complete stocking plan for a tank this size.
- Watch nitrate over the following month. If it climbs faster than your weekly water change removes it, you are at or past capacity — see how often to change aquarium water.
If the tank is not set up yet, the size decision itself is worth revisiting first on 10 gallon vs 20 gallon, and the kits are on best 20 gallon aquarium kits. Once it is stocked, feeding it correctly is the next thing that decides how well it goes: the best aquarium fish food. Adding easy live plants buys back some headroom on the nitrate side.
Questions people actually ask
Frequently asked questions
+ How many fish can I put in a 20 gallon tank?
+ Is the one inch per gallon rule accurate?
+ Can I keep goldfish in a 20 gallon tank?
+ How do I know if my tank is overstocked?
+ Can I add all the fish at once?
+ What is a good beginner stocking plan for a 20 gallon tank?
Where the numbers came from
Sources
- US EPA, Aquatic Life Criteria for Ammonia — toxicity and its dependence on pH and temperature
- USGS, The Nitrogen Cycle — nitrification as a two-stage bacterial oxidation
- Fluval, AquaClear 30 Power Filter — published output and tank range
- API Freshwater Master Test Kit — Amazon listing (parameters tested, test count)
Read next
Related on Fin & Filter

How many fish in a 10 gallon tank?
Why the inch-per-gallon rule fails, the three real constraints, and worked stocking combinations.

The hardiest fish for a first aquarium
Which species tolerate a beginner's mistakes, what each needs, and the popular fish that should not be first.

The best filter for a 20 gallon tank
Why filters labeled for 20 gallons come up short on a stocked community tank, and the cheap fix that works.