Fish Tank Stocking Calculator: How Many Fish Can My Aquarium Hold
Work out how many fish your aquarium safely holds from tank size, adult fish length, filtration, and planting.
Inch-per-gallon rule, tightened by fish size.
Overstocking is the most common reason a new aquarium crashes. Ammonia climbs faster than the bacterial colony can grow to handle it, and by the time the fish look distressed the water has usually been bad for days.
What this calculator uses. The old “one inch of fish per gallon” rule works for small fish and falls apart for big ones, because waste output tracks body mass, and mass grows roughly with the cube of length. One 8-inch oscar is nowhere near eight neon tetras. So the rate tightens as adult size goes up:
| Adult fish length | Inches of fish per gallon |
|---|---|
| Under 2 in (5 cm) | 1.0 |
| 2 to 4 in (5-10 cm) | 0.75 |
| 4 to 8 in (10-20 cm) | 0.5 |
| 8 in (20 cm) and over | 0.3 |
Total inches of fish = tank gallons × rate
Fish count = total inches ÷ adult length of one fish
The conservative figure is 80% of that maximum. Start there. Adding a fish later is easy; rehoming one is not.
Worked example. A 30-gallon tank stocked with 2-inch fish:
- Rate at 2 inches: 0.75 inches per gallon
- Total: 30 × 0.75 = 22.5 inches of fish
- Count: 22.5 ÷ 2 = 11 fish maximum, 8 to be comfortable
Enter adult size, not shop size. This is where most people go wrong. The 1-inch common pleco in the tank at the store reaches 18 inches. Bala sharks hit 12. Tags rarely mention it.
A second check worth doing. Surface area drives oxygen exchange, so a long shallow tank supports more fish than a tall narrow one holding the same water. The rule of thumb is one inch of fish per 12 square inches of surface, or one centimeter per 30 square centimeters. A standard 30-gallon has a 36 × 12 inch footprint, so 432 in², giving about 36 inches of fish. When the two methods disagree, take the smaller number.
Species notes
Goldfish are famously heavy waste producers, but they also grow large, so the tiered rate already lands close for them: a 20-gallon tank comes out at one adult fancy goldfish, which is exactly what the Goldfish Tank Size Calculator recommends. Use that page if goldfish are all you plan to keep. Marine fish need roughly double the space of a freshwater fish the same length. Bottom dwellers compete for floor area rather than water column, so check them against the footprint instead. And territorial fish, cichlids and bettas especially, need room for boundaries, which no length-based rule can express.
What filtration and plants buy you. An oversized filter adds roughly 15% of headroom and a heavily planted tank another 15%, because more biological media means more nitrifying bacteria and growing plants take nitrate out of the water. Both credits are small on purpose. Neither adds a drop of water or a square inch of surface, so no amount of equipment turns an undersized tank into an adequate one. Treat them as margin, not as capacity.
Minimum tanks for common species
Handy when you are working the other way round, from the fish to the tank:
| Species | Minimum tank |
|---|---|
| Betta | 5 gallons (19 L) |
| Neon tetras, school of 6 | 10 gallons (38 L) |
| Fancy goldfish, single | 20 gallons (76 L) |
| Angelfish, pair | 30 gallons (114 L) |
| Oscar, single | 55 gallons (208 L) |
Cycle first, always. Four to six weeks from scratch, one to two with seeded media from an established tank. Then add fish in small groups over several weeks and test ammonia and nitrite weekly. Both spike well before the fish show anything visible.
How we build and check this calculator
This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.
SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.
More Pets Calculators
- Litter Box Calculator
- Pet Food Calculator
- Pet Insurance Estimator
- Pet Life Stage Calculator
- Pet Medication Dosage Calculator
- Dog Life Expectancy Calculator
- Dog Walk Calorie Burn Calculator
- Koi Pond Stocking Calculator
- Pet Boarding Cost Calculator
- Animal Gestation Calculator
- Pet Insurance Value Calculator
- Dog Heat Cycle Calculator