Stocking20 gal

How many fish fit in a 20-gallon aquarium?

About 16 working gallons. The 20-long footprint (30 in × 12 in) is the smallest tank where most beginner community combinations actually work — corydoras schools, mid-water tetras, and a single centerpiece species all fit. The 20-high holds the same water but the floor space penalty is real. Math + a checker prefilled for the size below.

gal

Working volume after substrate + fill margin (~80% of nominal tank size). Use the volume calculator for precision.

Your stock

  • Neon tetra
  • Corydoras catfish

Add species

Overstocked

Stocking is past the safe ceiling.

Suggested fixes

  • Reduce stocking or upsize the tank to bring the bioload ratio under 1.0 in/gal.

Upsize nudge

This combo would clear in a 29-gallon tank. The current selection fits the species — your tank is the limiter.

Detail by constraint

  • Bioload · Overstocked

    Adjusted bioload ratio is 1.20 inches-per-gallon (over the 1.0 safe ceiling). Reduce stocking or upsize the tank.

Four communities the math approves

The 20-long opens the beginner community canon. These four are math- checked starting points; click Apply on any to land in the checker with that combo prefilled.

What the 20-gallon still doesn't fit

The 20-long vs 20-high trap

Pet stores stock both shapes under the same “20-gallon” label. Same nominal volume, very different stocking math:

When a guide says “works in 20 gallons,” assume 20-long unless explicitly noted. If the tank you have is a 20-high, treat schooling-fish stockings as one shape category up — what fits in a 20-high is what fits in a 10-gallon for behavioral purposes, not what fits in a 20-long.

When you outgrow 20 gallons

The 29-gallon is the natural next step. Same 30 in × 12 in footprint as the 20-long, plus 9 inches of height — that's enough bioload headroom to add a centerpiece angelfish or beef up community combos. How many fish fit in a 29-gallon covers what the extra height unlocks. To model any other tank size against the same bioload math, the stocking density calculator runs the calculation at any gallon target.

Frequently asked

20-long vs 20-high — which is better for stocking?

20-long, by a wide margin, for any community tank. The 20-long footprint is 30 in × 12 in (the same width and depth as a 29-gallon, just shorter); the 20-high is 24 in × 12 in. Same volume, but the 20-long gives schoolers 6 extra inches of lateral swim space, which is what schooling fish actually use. Cories, danios, harlequin rasboras, and barbs all read better in 20-long. The 20-high is fine for tall-body species (gourami pair) where vertical space matters more than horizontal.

Can I keep an angelfish in a 20-gallon?

Marginal at best, and 29 gallons is the conservative minimum. Angelfish are tall-body cichlids; the adult fin span exceeds 10 inches vertically and the 20g's 12-inch height is too cramped for normal posture. They're also active swimmers that benefit from depth more than length. The 20-long is wrong for angelfish geometry; if angelfish is the goal, jump to 29 minimum.

How many corydoras fit in a 20-gallon?

Six is the minimum and works comfortably; 8–10 of a single species fits with appropriate community above them. Cories are the textbook 20-long bottom-dwelling school — the footprint matches their need for floor space. They cruise the substrate together for 3–4 hours of active behavior daily; below the 6-fish threshold the school behavior breaks down and individuals hide.

Can I keep two dwarf gourami in a 20-gallon?

Risky. Two males will fight; one male and one female has its own dynamics (the male can chase the female to exhaustion if there's nowhere for her to retreat). The 20-long footprint is enough physical space for the breakup-and-retreat pattern to work IF the tank is heavily planted with line-of-sight breaks. The cleaner answer is one dwarf gourami centerpiece; if a pair is the goal, 29+ gallons with extensive plant cover.

What's a beginner-safe 20-gallon community?

8 neon tetras + 6 corydoras is the textbook combination — the math approves it (parameter overlap, schooling minimums, bioload ratio under 0.7). It survives parameter swings better than tighter combinations because all species share the soft, slightly-acidic, 72–78°F window. Add a single mystery snail and the bioload still sits in comfortable range. Avoid centerpiece species in this stocking; the school structure is the visual interest.

What's the realistic working volume of a 20-gallon tank?

About 16–17 gallons after substrate, decor, and fill below the rim. The 20-long specifically loses slightly less to substrate per gallon than a 20-high because the substrate bed runs longer but isn't deeper. Stocking math should use working volume; the calculator above defaults to 16 for that reason.

Related


By Jimmy L Wu. Species data uses FishBase for taxonomy, native distribution, and maximum size where the field is populated; husbandry ranges (temperature / pH / GH) and bioload weights are synthesized from established hobby references (Aquarium Co-Op care guides, The Aquarium Wiki, university extension publications) and labeled hobby-practice. Engine logic in lib/aquarium/stocking.ts and lib/aquarium/compatibility.ts. Working volume math assumes ~80% of nominal after substrate and fill below the rim — the volume calculator handles your specific dimensions if your setup differs. Not veterinary advice — for sick fish or tank emergencies, consult an aquatic veterinarian or a qualified local aquarium professional.

Ask a FishTankMath question

Quick answers about aquarium math, how the calculators work, and common freshwater questions. Free, no signup. Not veterinary advice — for sick fish or tank emergencies, talk to an aquatic vet or your local fish store.

Hi, I'm the FishTankMath assistant. I answer questions about aquarium math (volume, water changes, stocking, dosing), how the calculators on this site work, and common freshwater-fishkeeping basics. I'm not a veterinarian — I can't diagnose or treat sick fish. For emergencies or sick livestock, talk to an aquatic vet or your local fish store.