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
- For small (under ~3"), peaceful, slim-bodied community fish — tetras, rasboras, small livebearers — it lands in a sane neighborhood.
- It uses adult size, which forces you to plan for the fish you'll have in a year, not the juveniles in the store tank.
- As a ceiling to stay under rather than a target, it keeps beginners out of the worst trouble.
Why it breaks down
- Body mass, not length, drives waste. A 2-inch neon tetra is a sliver; a 2-inch goldfish is a heavy-bodied waste factory. Length-equivalence between them is nonsense — and it's why this site never applies inch-per-gallon to goldfish.
- Behavior and territory. Cichlids, gouramis, and many others need floor space and territories that a length budget can't see. Ten inches of angelfish in a 10-gallon tank "fits the rule" and would be a war zone.
- Swimming style. Zebra danios are only ~2.5 inches but are relentless swimmers that need horizontal room; a tall narrow tank with the "right" gallons still fails them.
- Oxygen and surface area. Tall tanks hold gallons but offer little surface for gas exchange. Stocking is about the whole system, not just volume.
- It says nothing about the filter, the cycle, or tankmates. Twenty inches of incompatible fish is still a disaster.
How this site uses it (conservatively)
Our stocking estimator applies the rule only as a starting guideline, then tightens it:
| Fish type | Guideline used | Why |
|---|---|---|
| Small peaceful community fish | 1" per gallon | The rule's home turf |
| Active swimmers, larger community fish | 0.75" per gallon | Need swimming room beyond their length |
| Territorial fish, heavy waste producers | 0.5" per gallon | Territory and bioload dominate |
| Goldfish (any variety) | Not used — minimum-tank rules instead | Body 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.
Next: how to cycle your tank before any fish arrive · choosing substrate