How Many Fish in a 20 Gallon Tank? Stocking Plans That Actually Work
Real numbers by species and by plan, from the stocking calculator rather than the inch rule.
By the PawReckon team · Published
A 20 gallon tank holds about 19 small schooling fish on their own, or a community of roughly 14 to 17 small fish spread across two or three species. The tank most people end up with, 8 neon tetras and a group of 6 corydoras, reads 79% of capacity in our stocking calculator, which is inside the comfortable band with room for a few more. Add a fish the size of a molly or a goldfish and the count drops fast, which is the whole reason the answer is not a single number.
Everything below is the calculator's own output for a 20 gallon tank, not a list copied from a forum. Type the same fish into the tool and you will get the same percentage.
The short answer, by species
The table gives the largest single-species group the calculator still rates as comfortable (at or under 85% of capacity) in 20 gallons. These are ceilings for a tank with nothing else in it; mixing species brings each number down.
| Species | Adult size | Waste output | Comfortable in 20 gal |
|---|---|---|---|
| Ember Tetra | 0.8" | low | up to 36 |
| Neon Tetra | 1.5" | low | up to 19 |
| Harlequin Rasbora | 2" | low | up to 14 |
| Zebra Danio | 2" | low | up to 14 |
| Guppy | 2" | low | up to 14 |
| Cherry Barb | 2" | low | up to 14 |
| Southern Platy | 2.5" | low | up to 11 |
| Corydoras Catfish | 2.5" | low | up to 11 |
| Swordtail | 4" | low | up to 7 |
| Tiger Barb | 3" | medium | up to 5 |
| Molly | 4" | medium | up to 4 |
Two things stand out. Ember tetras and neons are tiny, low-waste fish, so a 20 takes a proper school of them. Mollies and tiger barbs are neither tiny nor tidy, and a 20 gallon is close to full with a single group of 6 barbs (90%) or 4 mollies.
Why 20 gallons is not 20 inches of fish
The old rule of one inch of fish per gallon would let you put 20 inches of anything in this tank. It is wrong because waste, not length, is what your filter and water changes have to keep up with, and waste output rises far faster than length. The calculator keeps length as the measure of how much animal you are adding, then weights each inch by the species' waste output: ×1 for a low-waste fish, ×1.7 for medium, × 4 for heavy. A 20 gallon tank supplies 1.7 units of capacity per gallon, 34 in total, and the comfortable band ends at 28.9.
In those units a neon tetra costs 1.5, a corydoras 2.5, a molly 6.8 and a fancy goldfish 32. The classic community of 8 neons and 6 cories adds up to 27 units, which is where the 79% comes from. One goldfish on its own uses 32, nearly the whole comfortable band, and it is a fish that also wants a bigger footprint than this tank has. The full argument is in why the inch-per-gallon rule fails, and the chemistry behind the weights is in what bioload actually is.
Advertisement
Five stocking plans for a 20 gallon, run through the calculator
| Plan | Stock list | Result |
|---|---|---|
| Classic community | 8 neon tetras and 6 corydoras | 79% ok |
| Betta community (20 long) | 1 betta, 10 ember tetras and 6 corydoras | 75% ok |
| Livebearer tank | 6 guppies and 4 platies | 65% ok |
| Danio and rasbora tank | 6 zebra danios and 6 harlequin rasboras | 71% ok |
| Molly centrepiece | 3 mollies and 6 neon tetras | 86% full |
Classic community. The tank most people picture. Tetras in the middle, cories on the sand, nothing that eats anything. At 79% you can push the neon school to 10 (88%, full) or 12 (97%, still under the line), but 8 leaves the margin that lets you skip a water change without consequences. The corydoras page covers which cory species suit this tank; the standard bronze and albino types are the ones this plan assumes.
Betta community (20 long). Works with a calm betta and fast, dull-coloured tankmates. Have a plan B if the betta disagrees. At 75% the tank has capacity to spare, and that is deliberate: a betta with tankmates needs plants and line of sight broken up, and that takes space the numbers do not show. Ember tetras are small and quick enough that the betta usually ignores them.
Livebearer tank. Leaves room on purpose. Livebearers breed, and the fry need somewhere in the number to go. At 65% it looks understocked next to the other plans. It is not, because guppies and platies breed constantly, and the tank fills itself. Adding a group of 6 corydoras to this list pushes it to 109%, so pick livebearers or a bottom crew, not both.
Danio and rasbora tank. Two active schools at different levels. Pick the 20 long, because danios use length, not depth. Six of each reads 71%; eight of each reads 94%, which is full, and danios in particular are better with a few more than a few less. If you want bigger schools of both, this is a 29 gallon plan.
Molly centrepiece. Mollies are medium-waste fish, so three of them use as much capacity as a whole school of tetras. At 86% the tank is full on day one, and mollies are livebearers too. This plan is the one that most often ends up overstocked three months later, so run the count again before you add anything to it.
What does not fit in a 20 gallon
- Goldfish. One fancy goldfish reads 94%, full, and the calculator flags that the species needs at least 30 gallons. Two read 188%. A common or comet goldfish grows to a foot and is a pond fish.
- Angelfish. By waste alone one angelfish with 8 neons reads 65%, which looks fine. The calculator still flags it: an adult angelfish is a 6-inch fish with tall fins and needs the height and footprint of a 30 gallon or more, and it will eat neons once it can.
- Anything sold as a "juvenile". An oscar reads 165% in 20 gallons as an adult, and a common pleco reads 282%. Both are sold at two inches. The calculator always uses adult size, because the tank has to.
- Six tiger barbs plus friends. The barbs alone read 90%; eight read 120%. A 20 is the bare minimum for one group of tiger barbs, not a community tank with barbs in it.
20 high or 20 long
The 20 gallon is sold in two shapes, and they are not interchangeable. The 20 high is 24 × 12 × 16 inches; the 20 long is 30 × 12 × 12. Same water, but the long has 360 square inches of floor against 288, about 25% more, and the same 25% more surface area, which is where oxygen comes in and carbon dioxide leaves. Every plan above is better in the long: corydoras and danios use floor and length, and the stocking calculator's percentage assumes a rectangular tank with normal surface area. Treat the number as an upper bound in the high. The 20 gallon tank page has the real dimensions, liters and filled weight for both, and the fish tank weight chart compares every standard size, which matters when the stand you have in mind is a piece of furniture.
For scale: the same 8 neons and 6 cories read 159% in a 10 gallon (and the cories are flagged for tank size) and 55% in a 29. A 20 is the smallest tank where a proper bottom group and a proper midwater school both fit.
How to actually stock it
- Cycle first. A new 20 gallon has no bacteria to process the waste any of these plans produce. Fishless cycling takes two to six weeks and is the difference between the plan working and a tank full of ammonia.
- Add in groups, a week or two apart. The bacteria scale to the load with a lag. Bottom crew first, the school next, the centrepiece fish last.
- Run your real list through the calculator. The plans above are starting points. Swap a species and the percentage changes; the stocking calculator will tell you by how much, and will flag any fish that is below its minimum tank size or group size regardless of the percentage.
- Let the test kit have the final say. Ammonia and nitrite at zero, and nitrate that comes back down after every weekly water change, is the only proof that a stocking level is working in your tank with your filter.
Species pages for the plans above
Minimum tank size, adult length, waste output and group size for each one.
- Neon Tetra10 gal min · 1.5" adult · low bioload
- Corydoras Catfish20 gal min · 2.5" adult · low bioload
- Ember Tetra10 gal min · 0.8" adult · low bioload
- Betta (Siamese Fighting Fish)5 gal min · 2.5" adult · low bioload
- Guppy10 gal min · 2" adult · low bioload
- Southern Platy10 gal min · 2.5" adult · low bioload
- Zebra Danio10 gal min · 2" adult · low bioload
- Harlequin Rasbora10 gal min · 2" adult · low bioload
- Molly20 gal min · 4" adult · medium bioload
Other standard tank sizes
What each one comfortably holds, with real dimensions and filled weight.
- 5 gallon tank16" × 8" × 10.5"
- 10 gallon tank20" × 10" × 12"
- 29 gallon tank30" × 12" × 18"
- 40 gallon tank36" × 18" × 16"
- 55 gallon tank48" × 13" × 21"
- 75 gallon tank48" × 18" × 21"
Frequently asked questions
How many fish can you put in a 20 gallon tank?
About 19 neon-sized schooling fish on their own, or a mixed community of roughly 14 to 17 small fish: the classic 8 neon tetras plus 6 corydoras reads 79% of capacity in the stocking calculator, comfortably inside the safe band. Larger-bodied fish cut the count fast; 3 mollies use as much capacity as 14 neons.
How many neon tetras can go in a 20 gallon tank?
Up to 19 on their own before the calculator moves from comfortable to full. In a community with a group of 6 corydoras, 8 to 10 neons is the practical range: 8 reads 79% and 10 reads 88%.
How many guppies can live in a 20 gallon tank?
Up to 14 adult guppies stay in the comfortable band. Keep it lower if you have males and females together, because the fry count towards the load within a few weeks. 6 guppies with 4 platies reads 65%.
Can a goldfish live in a 20 gallon tank?
One fancy goldfish reads 94%, which is full, and the calculator flags that the species wants 30 gallons or more. Two read 188%. Common and comet goldfish are far larger and do not belong in a 20 at any age.
Is a 20 gallon high or a 20 gallon long better for fish?
The 20 long. Both hold 20 gallons, but the long's 30 by 12 inch footprint gives 25% more floor and more surface area for gas exchange than the 24 by 12 inch 20 high. Bottom dwellers and active schoolers use floor and length; nothing in a community tank uses the extra height.
What if the calculator says my 20 gallon is full?
Full (85 to 100%) means the tank works but has no margin: it needs a filter rated for a larger tank, a weekly water change you never skip, and light feeding. Over 100% is overstocked, and the fix is fewer fish or a bigger tank, not a bigger filter.
Keep going with the same pet
Run your own list through the stocking calculator before you buy anything.
Your dog's age in human years, breed-size adjusted, not the ×7 myth.
Your cat's age in human years using the real feline curve, not the ×7 myth.
How much to feed: daily calories and cups by weight, activity and life stage.
Tank gallons and liters from your dimensions: rectangle, cylinder, hex and more.