Article — Aquarium Stocking Calculator
A safe aquarium stocking level keeps total bioload under 85% of what your filter can process. For a typical 30-gallon HOB-filtered freshwater tank that means roughly 22 small fish, 9 medium fish, or 4 large fish — not the 30 small fish the old "one inch per gallon" rule predicts. The difference matters because overstocking is the single largest preventable cause of fish death in home aquariums, ahead of disease, equipment failure, and incompatible tank mates combined.
This article explains where the stocking math comes from, why heavy-bodied fish like goldfish need four to five times the space of a similar-length tetra, and how filtration class and live plants shift the numbers. The figures here draw on Oklahoma State University Extension's media-bed aquaponics work, Aquarium Science's stocking-ratio research, and the American Veterinary Medical Association guidance on freshwater fish welfare.
The "one inch per gallon" rule and why it fails
The "one inch of fish per gallon" rule is the most quoted, most misleading guideline in the hobby. It works passably for slim-bodied tetra-class fish under three inches, where bioload scales roughly with length. It breaks completely once fish gain mass.
A common goldfish at six inches weighs around 100 grams — ten times the weight of three two-inch neon tetras, even though the "inch count" is the same. Goldfish are heavy-bodied, constantly grazing, and produce roughly ten times the ammonia per unit length of a tetra. The American Veterinary Medical Association recommends a 30-gallon minimum for a single common goldfish, not the six gallons the inch rule implies.
The "one inch per gallon" guideline appeared in print as early as the 1930s, when most home aquariums were stocked with small egg-laying tetras under two inches long. It was never intended for goldfish, cichlids, or any fish above three inches — but it survived in beginner books long after the fish stocked in home tanks diversified.
What aquarium stocking bioload actually measures
Bioload is shorthand for the total nitrogen waste a tank's livestock produces per day. The primary source is ammonia (NH3) excreted through the gills and in urine, plus solid waste that breaks down into more ammonia. A 100-gram fish produces roughly ten times the ammonia of a 10-gram fish — this is body mass scaling, not length scaling.
The calculator above translates this into bioload units: 1 unit for a small slim fish (1–2 inches), 2.5 units for medium (3–4 inches), and 5 units for large (5+ inches). These come from Aquarium Science's stocking-ratio framework, which itself derives from published measurements of ammonia output per gram of fish body weight in freshwater tropical species.
- 1.0 unit — neon tetra, ember tetra, betta (2 in)
- 0.8 unit — guppy, endler (1.5 in)
- 2.5 units — black molly, platy, dwarf gourami
- 3–6 units — mid-sized cichlids (blue acara, ram, kribensis)
- 10–15 units — common goldfish, koi juveniles
- 8 units — common pleco (often outgrows 75-gallon tanks)
The nitrogen cycle and stocking risk
Every healthy aquarium hosts billions of nitrifying bacteria that convert toxic ammonia into nitrite, then nitrite into the far less toxic nitrate. Nitrosomonas bacteria handle the first step; Nitrobacter (and Nitrospira) the second. The whole chain — ammonia → nitrite → nitrate → removed by water changes or plant uptake — is the nitrogen cycle.
The bacteria population sizes itself to match the tank's bioload. When stocking suddenly increases — say, 12 new fish added to a tank previously holding four — bacteria cannot multiply fast enough. Ammonia spikes within hours and can reach lethal levels (above 0.5 ppm) within 24–72 hours. This is "new tank syndrome," and it kills more fish than any disease.
Bacteria colonies need 1–2 weeks to double after a stocking jump. Add fish in batches of three or four maximum, then wait at least 14 days before the next group. Test ammonia and nitrite daily after each batch. If either reads above 0.25 ppm, do a 25% water change and pause additions.
Choosing filtration for your stocking level
Filter type sets the realistic ceiling for stocking. The three common designs — sponge, HOB, canister — differ in flow rate, media volume, and how much biological surface they offer the nitrifying bacteria.
Sponge filters use a single block of foam driven by an air pump. They are gentle, cheap, and ideal for fry tanks or shrimp, but their bioload ceiling sits around 60% of the tank's theoretical capacity. HOB (hang-on-back) filters add mechanical and chemical stages and a larger media volume, lifting the ceiling to about 75%. Canister filters, sealed external units, hold the most media of any consumer-grade filter and routinely run tanks at 90–95% capacity with stable water chemistry. Bulk Reef Supply and Aquarium Co-Op both publish testing data on the same tank stocked across all three filter types, showing the capacity gap.
Turnover rate — gallons per hour divided by tank gallons — matters as much as filter class. The rule of thumb is 4× for low-bioload tanks, 6× for community tanks, and 8–10× for cichlid or goldfish setups. A 75 GPH filter on a 30-gallon tank is borderline; a 200 GPH filter on the same tank is healthy.
How live plants change the stocking math
Live plants act as a secondary biological filter. They absorb ammonia directly through their leaves (faster than they take up nitrate), release oxygen during the day, and host bacterial biofilms across stems and substrate. A heavily planted tank carries 10–15% more bioload than the same tank with only filter media handling waste.
The bonus only applies if the planting is dense and actively growing. A few stunted plants under low light do not move the needle. The University of Tennessee Extension and Cornell Cooperative Extension both report measurable nitrate drawdown in densely-planted freshwater systems — up to 40% lower nitrate readings between weekly water changes — compared with unplanted tanks at identical stocking.
- Sparse planting — one or two plants for cover, no bioload bonus
- Moderate planting — 30–50% substrate covered, 5–10% bonus
- Heavy planting — 60–80% covered, full 15% bonus
- Walstad-style — full substrate, fish only after plants establish, can run filterless
Common aquarium stocking mistakes
A brand-new tank has no nitrifying bacteria. The "fish-in cycle" stresses every fish you add, often kills the weakest, and produces a tank with chronic low-level ammonia for weeks. Run a fishless cycle with pure ammonia or fish food for 4–6 weeks first, then stock to no more than 25% capacity.
Pet-shop oscars are three-inch juveniles. Adults reach 12 inches and produce 15+ units of bioload. The same applies to common plecos (sold at four inches, mature at 18) and silver dollars. Always calculate stocking for the adult size, not what you see at the store.
A working filter loses 70–90% of its bacteria within two hours if the media dries out or oxygen stops moving through it. Moving a tank or filter means you have effectively restarted the cycle. Test ammonia daily for two weeks after any major equipment move.
Ammonia and nitrite reach zero on a cycled tank, but nitrate keeps climbing until water changes remove it. Above 40 ppm nitrate causes chronic stress and shortens fish lifespan. Test weekly; change 25–30% of water whenever nitrate exceeds 30 ppm.