Aquarium Stocking Calculator

Enter your tank dimensions and fish type to see how many inches of fish it can safely support, blending the classic inch-per-gallon rule with the surface-area method that actually governs oxygen.

in
in
in
in

How Aquarium Stocking Really Works

The famous "one inch of fish per gallon" rule is a useful starting point, but it ignores the single most important factor in a healthy tank: surface area. Oxygen enters the water and carbon dioxide leaves it at the air-water boundary, so a short, wide 20-gallon "long" tank can safely hold more fish than a tall, narrow 20-gallon "high" tank with the exact same volume. This calculator runs both methods and reports whichever is more conservative, so you stay on the safe side.

The Two Methods, Side by Side

For volume we use 231 cubic inches per US gallon and subtract about 10 percent for substrate, rocks, and decor that displace water. For surface area we allow one inch of tropical fish per 12 square inches of water surface, or one inch of heavy-waste coldwater fish (like goldfish) per 30 square inches.

net gal = (L x W x H / 231) x 0.9; surface cap = (L x W) / 12; capacity = min(gallon rule, surface rule)

Why Body Mass Matters Too

Inches are a rough proxy for bioload. A 6-inch goldfish produces far more waste than three 2-inch tetras, which is why the coldwater setting is roughly three times stricter. A 30 x 12 x 16 inch tank holds about 22 net gallons and 360 square inches of surface, giving a tropical surface cap near 30 inches of fish versus a 22-inch gallon cap, so surface area wins and you would stock to about 22 inches. Always stock gradually, test ammonia and nitrite weekly during the first month, and aim for around 80 percent of the calculated maximum to leave room for growth and good water quality.

Frequently Asked Questions

Is the inch-per-gallon rule actually reliable?
It is a fine rough guide for small, slender tropical fish but it breaks down for tall tanks and for chunky or messy fish. Because it ignores surface area and body mass, this calculator pairs it with the surface-area method and reports the lower of the two so you do not accidentally overstock.
Why is the coldwater setting so much stricter?
Goldfish and other coldwater species grow large, eat heavily, and produce far more waste per inch than slim tropical fish. Cold water also holds less dissolved oxygen, so we allow one inch per 30 square inches of surface instead of one inch per 12, which is roughly a third of the tropical stocking density.
Should I really subtract 10 percent for decor?
Yes. Gravel, sand, rocks, driftwood, and large ornaments displace real water, and a planted or aquascaped tank can lose even more. Using net rather than gross volume keeps your stocking estimate honest and prevents the slow creep toward an overcrowded tank.
Can I just add all the fish at once if I am under the limit?
No. A new tank needs time for beneficial bacteria to establish, a process called cycling. Add fish a few at a time over several weeks, even when you are well under the calculated capacity, and test for ammonia and nitrite so the filter colony can keep pace with the rising waste load.

Practical Guide for Aquarium Stocking Calculator

Treat the calculated number as a ceiling, not a target. Experienced aquarists stock to roughly 80 percent of the maximum, which leaves headroom for fish to reach full adult size, absorbs the occasional missed water change, and keeps nitrate from spiking between maintenance days.

Footprint beats height every time. If you are still tank shopping, a long, wide tank with the same volume as a tall one will let you keep more fish and gives bottom-dwellers and territorial species more floor space to spread out. Two 4-inch fish that ignore each other in a 36-inch tank may fight constantly in an 18-inch one.

Your filter and your stocking plan have to match. A heavily stocked tank needs over-rated filtration and extra surface agitation from an air stone or spray bar to keep oxygen high, especially in warm water where gas exchange drops. When in doubt, more flow and more frequent water changes solve most overstocking symptoms.

Quick Checklist

  • Measure interior dimensions, not the outside of the glass.
  • Use adult sizes, not the small juveniles sold in stores.
  • Stock to about 80 percent of the calculated maximum.
  • Add fish in small batches over several weeks while testing water.