ThisCalculator

Home and garden

Aquarium Fish Capacity Calculator: Stocking Guide

Updated · Standard formula, shown below

Max fish count 10 fish
Total fish length
20.0 inches
Result
Tank volume
20 gallons
You entered
Adult fish length
2 inches
You entered

Aquarium Fish Capacity Calculator: Stocking Guide

This calculator estimates the maximum number of fish your aquarium can safely hold based on the classic “one inch of fish per gallon” rule, with an option to adjust for fish size and tank shape. You enter your tank’s water volume (in gallons or liters) and the average adult length of the fish you plan to keep, and it returns a suggested stocking level in both inches and centimeters of fish. The result is a starting point for planning, not a guarantee, because filtration, behavior, and species needs always matter more than any simple formula.

Formula

The calculator uses the traditional aquarium stocking rule:

Maximum fish count = (Tank volume in gallons × method factor) ÷ Adult fish length in inches

Variables:

  • Tank volume (t) – the actual water volume in US gallons (not the tank’s advertised size, which includes empty space).
  • Adult fish length (l) – the average full-grown length of the fish species in inches, excluding the tail for most guidelines.
  • Method factor (m) – 1.0 for the standard rule, 0.75 for a conservative stocking level (better for beginners or sensitive fish), and 1.25 for a heavy stocking level (only for experienced keepers with strong filtration).

For metric users, the same logic applies: 1 liter of water supports roughly 1 centimeter of fish, which is equivalent to the inch-per-gallon rule when converted.

Worked Example

Using the default values: a 20-gallon tank with fish that grow to 2 inches, using the standard method factor of 1.0.

  1. Multiply the tank volume by the method factor: 20 × 1.0 = 20 inches of total fish length allowed.
  2. Divide that total by the adult fish length: 20 ÷ 2 = 10 fish.
  3. The calculator also shows the total fish length: 20 inches.

So the result is 10 fish, each 2 inches long, for a 20-gallon tank under the standard rule.

How the Inch-Per-Gallon Rule Works

The rule dates back decades as a simple mental shortcut for hobbyists. It assumes that each inch of adult fish needs about one gallon of water to provide enough swimming room and dilute waste. The rule works reasonably well for small, slender fish like tetras, rasboras, and livebearers in a moderately planted tank. However, it fails for fish with large body mass, high waste output, or territorial behavior. A 6-inch goldfish produces far more waste than six 1-inch neon tetras, even though both equal 6 inches of fish. The rule also ignores the surface area for gas exchange, which is why a long, shallow tank can hold more fish than a tall, narrow one of the same volume.

Choosing the Right Stocking Method

The calculator offers three factors to match your experience and setup:

  • Standard (1.0) – best for community tanks with small fish, adequate filtration, and regular water changes.
  • Conservative (0.75) – recommended for beginners, small tanks (under 10 gallons), or fish that are sensitive to water quality, such as discus or wild-caught species.
  • Heavy (1.25) – only for experienced aquarists with high-quality filters, heavy planting, and a strict maintenance schedule. This is not for goldfish, large cichlids, or any fish that grows over 4 inches.

When in doubt, use the conservative factor. Overstocking is the most common cause of poor water quality, disease, and fish death in new aquariums.

Common Mistakes and Limitations

Even with the right factor, the rule has clear limits that hobbyists often overlook:

  • Measuring the wrong volume – always subtract the volume displaced by substrate, decorations, and the fact that the tank isn’t filled to the brim. A “20-gallon” tank typically holds 16–18 gallons of actual water.
  • Using juvenile size – fish are sold small, but they grow. Always use the adult size, not the size at purchase.
  • Ignoring body mass – a 3-inch angelfish is much heavier than a 3-inch guppy. For deep-bodied fish, reduce the count by half or more.
  • Forgetting the tail – some guidelines measure “body length” excluding the tail fin, which can add 20–30% to the effective length.
  • Schooling fish – species like tetras and barbs need groups of 6 or more to feel secure. A calculator that says “5 fish” may be too few for a schooling species, so you might choose a smaller fish or a larger tank.

The rule also says nothing about behavior. Two territorial cichlids in a 40-gallon tank may fight, while 20 peaceful nano fish thrive in the same space. Always research the specific species’ temperament and minimum group size.

Alternatives to the Inch-Per-Gallon Rule

Serious aquarists often use more refined methods:

  • Surface area method – calculates the tank’s surface area (length × width) and applies a factor of 1 inch of fish per 12 square inches of surface area. This accounts for gas exchange better than volume alone.
  • Biological load method – estimates the waste produced by fish based on their mass and feeding. This is more accurate but requires knowing the specific fish’s metabolic rate, which is rarely published.
  • Filtration-based method – sizes the fish load to the filter’s biological capacity, but this is hard to quantify without manufacturer specs.
  • Aquaadvisor-style calculators – online tools that combine fish size, temperament, and filtration to give a percentage of “stocking level.” These are useful but often proprietary in their formulas.

For most community tanks, the inch-per-gallon rule with a conservative factor remains a practical starting point. For larger or messier fish, use the surface area method instead.

Practical Stocking Tips

Beyond the number, follow these guidelines to keep your aquarium healthy:

  • Cycle the tank fully before adding fish (ammonia and nitrite at 0 ppm).
  • Add fish gradually over several weeks, not all at once, to let the filter bacteria catch up.
  • Perform weekly water changes of 20–30% to remove nitrates and replenish minerals.
  • Choose fish with similar water parameter needs (temperature, pH, hardness).
  • Provide hiding spots and open swimming areas to reduce stress and aggression.
  • Quarantine new fish for 2–4 weeks to avoid introducing diseases.

Frequently Asked Questions

Does the rule apply to saltwater tanks?

No. Saltwater fish generally need more space and produce more waste per inch than freshwater fish. Marine aquarists typically use a more conservative factor of 1 inch per 5–10 gallons, depending on the species. The inch-per-gallon rule is best for freshwater community tanks.

How many fish can I put in a 10-gallon tank?

With the standard rule and 2-inch fish, the calculator gives 5 fish. In practice, a 10-gallon tank is best for nano fish like chili rasboras or a single betta. Many aquarists recommend no more than 4–6 small fish in a 10-gallon, and only with regular water changes.

What if my fish grows bigger than expected?

That’s a common problem with common plecos and goldfish, which can outgrow their tanks. The best solution is to plan for the adult size from the start. If a fish outgrows the tank, you must rehome it or upgrade to a larger aquarium. Never “let it grow” in a small tank, as stunted growth causes organ damage and early death.

Can I use the calculator for shrimp or snails?

The inch-per-gallon rule is for fish only. Shrimp and snails have a much smaller bioload, so you can keep many more of them. A 10-gallon tank can hold dozens of cherry shrimp and a few snails without issues, as long as the tank is planted and stable.

Is the inch-per-gallon rule still taught in aquatics?

It’s still widely repeated in beginner guides, but professional aquarists and modern resources often discourage it as too simplistic. It remains useful as a rough ceiling, not a target. For a more accurate estimate, combine it with the surface area method and species-specific research.

How do I measure the actual water volume of my tank?

Measure the interior length, width, and height of the tank in inches, multiply them, and divide by 231 to get US gallons. Then subtract about 10–15% for substrate and decorations, or measure the water you add when filling it. For a standard 20-gallon tank, the actual water volume is often around 17 gallons.

Related

Formula used
in t | Tank volume | gallons | 20 | 0
in l | Adult fish length | inches | 2 | 0
in m | Stocking method | Standard=1, Conservative=0.75, Heavy=1.25 | 1
out cap | Max fish count | fish | (t * m) / l | 0
out total | Total fish length | inches | t * m | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.