Aquarium Stocking Inches Per Gallon
Calculator

Inputs

Recommended total fish length (in)
40

Results

Recommended total fish length (in)
40

Pets and agriculture results

Recommended total fish length (in)40

formula-map diagram

Recommended total fish length (in)
40

Pets and agriculture relationship

Formula

max fish length (in) = tank volume (US gal) × 1 in/gal

= 40

Note

This result uses the values you entered and a simplified planning equation; verify quantities and local requirements before purchasing or building.

Example: with the default inputs, calculator.pets_agriculture.max_total_fish_inches is 40.

More in Pets and agriculture

See all →

Frequently asked questions

What is the inch-per-gallon rule?+

It is a rule of thumb that allows about 1 inch of fish per US gallon of water. The calculator applies it directly: maximum total fish length in inches equals the tank volume in gallons.

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

With the default 40 US gallons, the result is 40 inches of total fish length. That could be, for example, ten fish of 4 inches each.

Does the result count adult size or current size?+

The calculator only returns a total length budget in inches. Deciding which size to count is up to you, and counting adult size is the cautious approach.

Does it account for species, filtration or tank shape?+

No. It uses tank volume only and ignores species, bulk, filtration and decor. Some fish need far more room than the rule suggests.

Should I rely on this rule alone?+

No. It is a rough guideline for freshwater tanks, not a guarantee of good water quality or fish welfare. Research each species you plan to keep.