Overstocking is one of the most common aquarium mistakes — it stresses fish, spikes ammonia and nitrite, and can crash your whole tank. This calculator applies the standard “inch per gallon” guideline (adjusted for freshwater vs saltwater) to give you a safe starting estimate. It’s a simplified guideline, not a substitute for researching each species’ specific needs, temperament, and adult size.
Aquarium Fish Stocking Calculator
How the Inch-Per-Gallon Rule Works
Step 1: Find Total Allowed Fish Length
Freshwater: Allowed Inches = Tank Gallons Saltwater: Allowed Inches = Tank Gallons / 4.5 Example (20 gal freshwater): 20 inches of fish allowed
Step 2: Divide by Average Fish Size
Max Fish = Allowed Inches / Average Adult Length Example: 20 inches / 2 inch fish = 10 fish
Why Saltwater Tanks Need More Room Per Fish
Saltwater fish generally have higher metabolisms, produce more waste relative to their size, and need more dissolved oxygen than freshwater fish of the same length. That's why the same 20-gallon tank that comfortably holds 10 small freshwater community fish might only safely support 4-5 small saltwater fish.
Limitations of the Inch-Per-Gallon Rule
- Body shape matters: a stocky, deep-bodied fish (like an oscar) produces far more waste than a slim fish of the same length (like a neon tetra) — the rule undercounts bioload for chunky species.
- Doesn't account for filtration: a tank with strong filtration and frequent water changes can safely hold more fish than the rule suggests.
- Territorial and schooling needs: some species need more space regardless of bioload (territorial cichlids) while schooling fish should be kept in groups of 6+ for their wellbeing, not just filled in by inches.
- Doesn't apply to large or single-specimen fish: big fish like oscars, goldfish, or plecos outgrow this rule quickly and need species-specific research.
Reference Table — Freshwater Community Tank
| Tank Size | Small Fish (1″) | Medium Fish (2″) | Larger Fish (3″) |
|---|---|---|---|
| 10 gallon | 10 | 5 | 3 |
| 20 gallon | 20 | 10 | 6 |
| 40 gallon | 40 | 20 | 13 |
| 55 gallon | 55 | 27 | 18 |
Frequently Asked Questions
Is the inch-per-gallon rule accurate?
It's a useful starting guideline for small, slim-bodied community fish in tanks over 10 gallons, but it's a simplification. It doesn't account for body shape, waste output, filtration strength, or species-specific needs — always research individual species before finalizing stocking.
Why is the saltwater rule different from freshwater?
Saltwater fish typically produce more waste and need more dissolved oxygen per inch of body length than freshwater fish, so marine tanks need roughly 4-5 times more water volume per inch of fish to stay stable.
Does tank shape affect stocking?
Yes — a wider, shorter tank has more surface area for oxygen exchange than a tall, narrow tank of the same volume, so it can often support slightly more fish. The inch-per-gallon rule assumes a standard tank shape and doesn't adjust for this.
What if I'm keeping large fish like goldfish or oscars?
The inch-per-gallon rule breaks down quickly for large or messy species. Goldfish, for example, are typically recommended at 20+ gallons for the first fish and 10+ additional gallons per fish, well beyond what this rule would suggest.
Sources
- Tankarium — Aquarium Stocking Calculator: How Many Can You Keep?
- HowManyFish.com — Aquarium Stock Level Calculator
- Think Fish — Stocking Level Calculator for Fish Tanks and Aquariums
Conclusion
The inch-per-gallon rule gives you a safe starting point, but always research your specific fish species before finalizing your stocking plan — body shape, temperament, and filtration all matter more than the simple rule suggests. First figure out your tank's exact volume with our Aquarium Volume Calculator, then use this tool to plan your stocking.