← All guides

The inch-per-gallon rule, explained — and its limits

The rule you've probably heard: one inch of adult fish per gallon of water. A 20-gallon tank holds 20 inches of fish. Simple, memorable — and only a rough starting point, even at its best. Here's what it gets right, and where it goes wrong.

What it gets right

Why it breaks down

How this site uses it (conservatively)

Our stocking estimator applies the rule only as a starting guideline, then tightens it:

Fish typeGuideline usedWhy
Small peaceful community fish1" per gallonThe rule's home turf
Active swimmers, larger community fish0.75" per gallonNeed swimming room beyond their length
Territorial fish, heavy waste producers0.5" per gallonTerritory and bioload dominate
Goldfish (any variety)Not used — minimum-tank rules insteadBody mass makes length math dangerous

It also flags schooling minimums and species minimum tank sizes, and it treats 70% of the guideline as the comfort zone. Understock, especially in your first year. An understocked tank is stable, forgiving, and — honestly — more pleasant to watch.

Worked examples: where the rule passes and where it fails

Passes: a 20-gallon community tank. Twelve neon tetras at about 1.5 inches as adults total 18 inches, just under the 20-inch guideline, and these are slim, peaceful, low-waste fish. Add a small group of corydoras and the estimator still calls it reasonable, because the biology matches the assumptions the rule was built on.

Fails: two fancy goldfish in the same 20 gallons. A fancy goldfish reaches 6 to 8 inches as an adult, so two of them "fit" at 12 to 16 inches. The math passes and the tank fails: each one is a heavy-bodied fish producing several times the waste of a tetra of the same length, and goldfish need room to turn, forage, and grow. This site uses minimum tank sizes for goldfish instead, roughly 20 to 30 gallons for the first fish and 10 or more for each additional one, and even that is a floor, not a goal.

Fails quietly: danios in a tall tank. Six zebra danios in a 15-gallon tall tank total about 15 inches, inside the guideline on paper. But danios swim in fast horizontal runs, and a tall tank's short footprint gives them half the runway. Same gallons, same inches, worse tank. Shape matters as much as volume.

The 70% habit. Experienced keepers treat roughly 70% of any guideline as the working ceiling: about 14 inches of small community fish in a 20-gallon tank, not 20. That margin is what absorbs a missed water change, a maturing filter, or a fish that grows bigger than the label promised. Stocking to 100% of a rough rule leaves no room for the rule to be wrong, and rules like this one are often wrong.

The better approach, in one paragraph: cycle the tank first (fishless cycling guide), stock well under any guideline, add fish gradually over weeks, test water weekly, and let nitrate trends tell you the truth — if nitrates climb fast between water changes, you're at capacity no matter what a rule says.

Next: how to cycle your tank before any fish arrive · choosing substrate