Fish Stocking Calculator
Find out how many fish your aquarium can safely support based on tank volume, filtration, and species. Avoid overstocking and keep your fish healthy.
Quick Answer
The classic rule of thumb is 1 inch of fish per gallon of water, but this varies significantly by species, body shape, and filtration quality. A 20-gallon tank with a hang-on-back filter can comfortably hold about 20 inches of slim-bodied fish like tetras (roughly 12–14 neon tetras), but only 3–4 inches of heavy-bodied fish like goldfish.
Results
Stocking Level
Fish Breakdown
About This Tool
The Fish Stocking Calculator helps aquarium hobbyists determine how many fish their tank can safely support. Overstocking is one of the most common mistakes new fishkeepers make, leading to poor water quality, stress, disease, and premature fish death. This tool uses the widely accepted inch-per-gallon rule as a baseline, then adjusts for filtration capacity and flags species-specific compatibility issues that pure math cannot capture.
The Inch-Per-Gallon Rule Explained
The classic rule of thumb in fishkeeping is one inch of adult fish per gallon of aquarium water. A 20-gallon tank, by this logic, can hold 20 inches of fish. This rule works reasonably well for small, slim-bodied tropical fish like tetras, danios, and guppies. However, it breaks down for heavy-bodied fish like goldfish, oscars, and plecos, which produce significantly more waste per inch of length. A 12-inch oscar produces far more bioload than twelve 1-inch neon tetras. The rule also does not account for territorial space requirements, swimming level preferences, or aggression patterns between species.
Why Filtration Changes Everything
The single biggest factor determining how many fish a tank can support beyond its raw volume is filtration. The biological filter, which houses beneficial bacteria that convert toxic ammonia into less harmful nitrate, is the true limiting factor. A hang-on-back filter provides standard filtration suitable for most community tanks. Canister filters offer roughly 25% more biological media capacity, allowing slightly higher stocking levels. Sump systems, which add an external reservoir of filtered water, can increase effective capacity by 40% or more. Conversely, an unfiltered tank should be stocked at no more than 60% of the inch-per-gallon rule to avoid ammonia spikes.
Species Compatibility Considerations
Not all fish can coexist peacefully. Aggressive species like oscars, cichlids, and bettas may attack or kill tankmates. Schooling fish like neon tetras, corydoras, and cherry barbs need groups of at least six to feel secure and display natural behavior. Keeping them in smaller groups causes chronic stress. Some species also occupy different water levels, with surface dwellers, mid-water swimmers, and bottom feeders. A well-planned community tank distributes fish across all levels to maximize space utilization and minimize territorial conflict.
Common Stocking Mistakes to Avoid
The most frequent error is stocking based on juvenile fish size rather than adult size. That cute two-inch pleco from the pet store may grow to 18 inches. Always plan for the fish's full adult dimensions. Another mistake is adding too many fish at once. New tanks lack the established bacterial colonies needed to process waste. The nitrogen cycle takes 4-6 weeks to establish. Add fish gradually, no more than 2-3 small fish per week, to give the biological filter time to expand. Finally, many beginners overlook the impact of decorations and substrate on actual water volume. A heavily decorated 20-gallon tank may only hold 15-16 gallons of water.
Water Quality and Maintenance
Even a perfectly stocked tank requires regular maintenance. Weekly water changes of 20-25% are essential for removing accumulated nitrates and replenishing minerals. Overstocked tanks demand more frequent changes, sometimes 40-50% weekly. Testing water parameters with a liquid test kit for ammonia, nitrite, nitrate, and pH should be done weekly for the first few months and biweekly thereafter. Ammonia and nitrite should always read zero in an established tank. Nitrate should stay below 40 ppm for most freshwater species and below 20 ppm for sensitive species like discus and shrimp.
Temperature and Tank Size Minimums
Each species has a minimum tank size requirement regardless of the inch-per-gallon math. An oscar needs at least 55 gallons not because of its bioload alone but because it needs swimming space for its large body. Similarly, schooling fish need horizontal tank length for proper schooling behavior. A 20-gallon tall tank is less suitable for schooling species than a 20-gallon long tank with the same volume. Temperature compatibility also matters: mixing tropical fish (78-82 degrees F) with temperate species (65-72 degrees F) creates an environment that is suboptimal for both groups.