How Many Fish in a 20 Gallon Tank?

Wondering how many fish in a 20 gallon tank is safe? This free fish tank stocking estimator applies the classic 1-inch-per-gallon rule to your tank size and average adult fish size, and instantly estimates how many fish you can keep. The result is a rough beginner guideline with honest caveats, not a guarantee, because species, filtration, and maintenance matter just as much as the math.

Enter your numbers

gal
in
Use the adult size, not the size at the store โ€” many fish keep growing after you buy them.

Your results

Total inches of fish (estimate)
โ€”
Suggested fish count (estimate)
โ€”
Stocking rule appliedโ€”
Tank size usedโ€”
Average adult fish size usedโ€”

This is a rough beginner estimate based on the 1-inch-per-gallon guideline. It does not account for species temperament, body shape, waste production, filtration, or water-change frequency โ€” read the caveats below before stocking.

How to use this calculator

Enter your tank's capacity in gallons. If you only know the dimensions, use our aquarium tank volume calculator first, then come back with the gallon figure.

Enter the average adult size of the fish you plan to keep, in inches. Always use the adult size, not the size of the juveniles sold in stores โ€” a 1-inch juvenile that grows to 4 inches will eventually take up four times the room.

Pick a stocking level. Conservative (0.8 inches per gallon) builds in a safety margin and is the better default for beginners or simple setups. Moderate (1 inch per gallon) uses the full classic rule and assumes decent filtration and regular water changes.

The result updates instantly. Round the suggested count down, stock gradually over several weeks, and watch your water parameters โ€” the math is a starting point, not the finish line.

How it works

This estimator is built on the classic 1-inch-per-gallon rule, the most common beginner guideline in fishkeeping: one gallon of water supports roughly one inch of adult fish length. Applied step by step, the calculator divides your tank's gallons by the average adult fish size to get the total inches of fish (estimate), then divides that figure by the average size again to get a suggested fish count, rounding down. For example, with the moderate setting a 20 gallon tank and 2-inch fish gives 20 รท 2 = 10 inches of fish, and 10 รท 2 โ‰ˆ 5 fish.

The conservative setting multiplies the result by 0.8 as a safety margin, so that same 20 gallon tank with 2-inch fish gives 8 inches of fish, or about 4 fish. Rounding down is deliberate: it is safer to slightly understock than to overstock.

The rule has real limits. It was designed for small, slender tropical fish under about 3 inches. It breaks down for large, deep-bodied, or messy fish (goldfish, cichlids, plecos), for territorial or aggressive species that need space regardless of size, and for tanks under 10 gallons where water chemistry swings fast. It also says nothing about filtration quality, planting, or how often you change water โ€” all of which shift how much fish a tank can safely hold.

Assumptions: freshwater tropical-style stocking, fish under about 6 inches, standard filtration, and regular water changes. For goldfish, saltwater, or large species, research species-specific guidance instead of relying on this estimate.

Frequently asked questions

How many fish can you put in a 20 gallon tank?

Using the 1-inch-per-gallon beginner guideline, this estimator divides tank gallons by average adult fish size to get total inches of fish. For a 20 gallon tank with fish that grow to about 2 inches long, that is 20 divided by 2, or 10 inches of fish, which works out to about 5 small fish. The exact number depends on species, filtration, and maintenance, so treat this as a rough starting estimate, not a guarantee.

Is the 1-inch-per-gallon rule accurate?

It is a rough beginner guideline, not a scientific formula. It works best for small, slender tropical fish under about 3 inches long. It breaks down for large or heavy-bodied fish, goldfish, territorial species, and fish that produce a lot of waste, and it ignores filtration quality and water changes. Use it as a starting point, then research each species you plan to keep.

Should I use the adult size or the current size of the fish?

Always use the adult size. Many fish are sold as juveniles and grow much larger, and some popular species can outgrow a small tank entirely. Planning by adult size keeps you from overstocking as the fish mature.

What does conservative vs moderate stocking mean?

Conservative stocking uses about 0.8 inches of fish per gallon, which gives you a safety margin. It is the better choice for beginners, sensitive species, or tanks with simple filtration. Moderate stocking uses the full 1 inch per gallon and assumes good filtration and regular water changes. Heavily planted or over-filtered tanks can sometimes go slightly beyond the moderate level.

Does this calculator work for bettas or goldfish?

Only as a rough starting estimate. Bettas are territorial and are usually kept alone or in carefully planned setups, while goldfish grow large and produce heavy waste, so a single fancy goldfish needs 20 gallons or more on its own. Always research the specific species before stocking.

Related calculators