Fish Calculator

Fish Calculator









Nothing kills aquarium fish faster than overcrowding, and overcrowding almost always starts with guessing the tank's true capacity. The Fish Calculator computes your tank's volume in gallons from its dimensions, applies the classic one-inch-per-gallon rule, and tells you how many fish of your chosen adult size the tank can responsibly hold.

The one-inch rule is a starting guideline, not a law of nature: it assumes slim-bodied community fish and standard filtration. Heavy-bodied fish, messy eaters, and territorial species need more room per inch, while tiny schooling fish can stretch the rule slightly. The calculator gives you the baseline; your species research refines it.

This guide explains how tank volume is calculated, how the stocking rule works, which adjustments species require, and how to use the calculator. Two worked examples cover a standard 20-gallon community tank and a larger cichlid setup, followed by deep dives on filtration and the nitrogen cycle.

Computing True Tank Volume

Tank volume in gallons is length x width x height in inches, divided by 231, the number of cubic inches in a US gallon. A 24 x 12 x 16 inch tank holds 4,608 cubic inches, or about 19.9 gallons, sold as a 20-gallon.

Real capacity runs slightly less: substrate, decorations, and unfilled headroom displace water, typically 10 to 15 percent. The calculator reports the geometric volume; mentally discount a gallon or two for a heavily decorated tank.

Water weight matters for furniture: at 8.34 pounds per gallon, that 20-gallon tank weighs over 160 pounds of water alone, plus glass and substrate. The calculator reports total water weight so your stand choice is grounded in physics, not optimism.

The One-Inch-Per-Gallon Rule

The rule allocates one gallon per inch of adult fish length: a 20-gallon tank supports about 20 inches of fish, which could be ten 2-inch mollies or twenty 1-inch tetras. It is deliberately conservative, a beginner guardrail rather than a precision instrument.

The rule assumes adult size, the dimension beginners most often ignore. That cute 1-inch juvenile oscar becomes a 12-inch tank-buster; stocking for purchase size instead of adult size is the classic overcrowding mistake the calculator's adult-size selector prevents.

Count all fish: the rule applies to total inches, not per species. Ten neons plus six guppies plus a pleco must fit the same inch budget together, which is why the calculator works from your total tank volume downward.

When to Break the Rule

Heavy-bodied fish like goldfish and cichlids produce far more waste per inch than tetras; experienced keepers budget two or even three gallons per inch for them. Messy eaters and big waste producers always need derating.

Territorial species need footprint, not just volume: two dwarf cichlid pairs may fight relentlessly in a 20-gallon long despite fitting the inch math, because the rule knows nothing about floor space per territory.

Conversely, small schooling fish with light bioloads and strong filtration can modestly exceed the rule. The calculator's number is your safe baseline; adjust up or down with species knowledge, never with wishful thinking.

Species Profiles: Stocking Real Communities

A classic 20-gallon community fills beautifully within 19 inches: 10 neon tetras (10 inches) plus 6 panda corydoras (9 inches at 1.5 inches adult size), totaling exactly 19 inches. Bottom, mid, and surface zones all occupied, bioload balanced.

Bettas break community math: a male betta claims a 10-gallon territory regardless of inch rules and will shred tankmates in smaller volumes. Species temperament overrides arithmetic, which the calculator's inch budget cannot see.

Goldfish demolish the rule entirely: a single fancy needs 20 gallons, each additional 10, because their waste output per inch dwarfs tropical community fish. Never apply inch-per-gallon to goldfish.

Shrimp and snails add cleanup with minimal bioload: colonies of cherry shrimp barely register on the inch budget while controlling algae. They are the rare case where adding livestock reduces maintenance.

Build stocking lists by zone and temperament first, then validate total inches against the calculator. Compatibility determines the community; the inch rule just keeps its size honest.

How to Use the Fish Calculator

Enter tank dimensions and your fish's adult size; the calculator returns volume, inch capacity, fish count, and water weight.

Step 1: Enter the tank's length, width, and height in inches (inside dimensions if you want precision).

Step 2: Select the adult size of your fish, not the size at purchase.

Step 3: Click Calculate to see gallons, total fish inches, suggested fish count, and water weight.

Step 4: Derate for heavy-bodied or territorial species using the guidance above.

Step 5: Stock gradually, a few fish per week, letting filtration adapt to the rising bioload.

Worked Example: Standard 20-Gallon Community Tank

A 24 x 12 x 16 inch tank will house 2-inch adult fish (mollies, platies).

Step 1: Volume: 24 x 12 x 16 = 4,608 cubic inches; 4,608 / 231 = 19.9 gallons.

Step 2: Inch capacity: floor(19.9) = 19 inches of adult fish.

Step 3: Fish count: floor(19.9 / 2) = 9 fish of 2-inch adult size.

Step 4: Water weight: 19.9 x 8.34 = 166 lbs, plus tank and substrate.

Step 5: Stocking plan: 9 platies, or mix species staying within 19 total inches, added a few per week.

Step 6: Filtration target: 4x turnover, about 80 GPH, for the full bioload.

Result: 19.9 gallons, 19 fish-inches, 9 two-inch fish, 166 lbs of water.

Worked Example: 55-Gallon Cichlid Tank

A 48 x 13 x 20 inch tank will house 6-inch adult cichlids.

Step 1: Volume: 48 x 13 x 20 = 12,480 cubic inches; 12,480 / 231 = 54.0 gallons.

Step 2: Inch capacity: floor(54.0) = 54 inches by the basic rule.

Step 3: Fish count: floor(54.0 / 6) = 9 cichlids at 6 inches each.

Step 4: Reality check: cichlids are heavy-bodied and territorial; experienced keepers would stock 6 to 7, not 9.

Step 5: Water weight: 54.0 x 8.34 = 450 lbs; this tank needs a dedicated aquarium stand.

Step 6: Filtration: aim for 5-6x turnover, 270+ GPH, for messy cichlids.

Result: 54 gallons suggests 9 by pure math; species sense says 6-7. The calculator gives the baseline; judgment finishes the job.

Filtration and the Nitrogen Cycle

The inch rule assumes cycled filtration: beneficial bacteria converting ammonia to nitrite to nitrate. An uncycled tank has effectively zero safe capacity regardless of volume, which is why new tanks must be cycled fishlessly or stocked extremely gradually.

Filter ratings assume light stocking; at full inch-rule capacity, choose filtration rated for 1.5 to 2x your tank volume in gallons per hour. Canister filters and sumps outperform hang-on-backs at high bioloads.

Water changes remain mandatory: 25 percent weekly exports the nitrate filtration cannot remove. No stocking math survives without maintenance; the calculator sizes the tank, husbandry keeps it alive.

Stocking Strategy for Beginners

Start at half capacity: stock 50 percent of the calculator's fish count, wait a month for the bacteria colony to mature, then add the rest gradually. Patience prevents nearly every beginner crash.

Build around schooling species first: six or more tetras, rasboras, or corydoras behave naturally and distribute bioload predictably. Single specimens of schooling fish stress and hide.

Quarantine new arrivals for two weeks in a separate tank. One sick fish added directly can wipe out a perfectly calculated stocking plan overnight.

The Nitrogen Cycle in Detail

Fish excrete ammonia, lethal above 0.25 ppm. Nitrosomonas bacteria convert it to nitrite (also toxic), then Nitrospira convert nitrite to nitrate, tolerable below ~40 ppm. This bacterial chain is the nitrogen cycle.

Cycling a tank means growing these colonies on filter media before full stocking: 2-6 weeks of ammonia dosing (fishless) or whisper-light stocking with bacterial supplements. Test kits confirming zero ammonia and nitrite mark completion.

The cycle explains gradual stocking: each added fish raises ammonia output, and bacteria need days to multiply to match. Dumping the calculator's full fish count in on day one overwhelms immature colonies, the classic new-tank crash.

Water changes export nitrate, the cycle's end product, which nothing in a typical filter removes. Plants consume some nitrate, which is why planted tanks run cleaner, but weekly 25 percent changes remain the standard.

Tips

  1. Always stock by adult size; juveniles grow into the inch budget you planned.
  2. Discount geometric volume 10 to 15 percent for substrate and decorations.
  3. Derate the rule for goldfish, cichlids, and other heavy waste producers.
  4. Choose filtration rated well above your tank volume at full stocking.
  5. Add fish gradually, a few per week, so bacteria colonies keep pace.
  6. Weigh your stand decision: water alone runs 8.34 lbs per gallon.
  7. Quarantine newcomers for two weeks before they join the display tank.
  8. Test water weekly; chemistry, not arithmetic, has the final word on capacity.
  9. Plan communities by zone and temperament first, then validate inches with the calculator.
  10. Never apply the inch rule to goldfish or bettas; their needs break the formula.
  11. Cycle fishlessly for 2-6 weeks; zero ammonia and nitrite is the only green light.
  12. Add livestock gradually so bacterial colonies grow to match each new bioload step.

1. How many fish can I put in a 20-gallon tank?

About 19 inches of adult fish by the one-inch rule: roughly 19 tetras, 9 two-inch platies, or 6 three-inch gouramis, adjusted for species. About 19 inches of adult fish by the one-inch rule: roughly 19 tetras, 9 two-inch platies, or 6 three-inch gouramis, adjusted for species.

2. Does the one-inch rule really work?

As a conservative beginner guideline for slim community fish, yes. Heavy, messy, or territorial species need derating. As a conservative beginner guideline for slim community fish, yes; heavy, messy, or territorial species need derating.

3. How do I calculate my tank's gallons?

Length x width x height in inches divided by 231. The calculator above does it instantly. Length x width x height in inches divided by 231; the calculator above does it instantly.

4. Should I count the filter in the volume?

No. Count fish against water volume only, and discount 10 to 15 percent for substrate and decor displacement. No; count fish against water volume only, and discount 10 to 15 percent for substrate and decor displacement.

5. Can I mix species within the inch budget?

Yes, total inches across all fish must fit. Research compatibility too; peaceful inches and aggressive inches differ. Yes, total inches across all fish must fit; research compatibility too, since peaceful inches and aggressive inches differ.

6. How many goldfish per gallon?

Goldfish break the rule: allow 20 gallons for the first fancy goldfish and 10 per additional one due to massive waste output. Goldfish break the rule: allow 20 gallons for the first fancy goldfish and 10 per additional one due to massive waste output.

7. Does a bigger filter let me add more fish?

Somewhat, strong filtration raises the safe ceiling, but swimming space and territory still limit stocking. Somewhat; strong filtration raises the safe ceiling, but swimming space and territory still limit stocking.

8. How long before adding fish to a new tank?

Cycle fishlessly for 2 to 6 weeks until ammonia and nitrite read zero, or stock extremely lightly with bacterial supplements. Cycle fishlessly for 2 to 6 weeks until ammonia and nitrite read zero, or stock extremely lightly with bacterial supplements.

9. Do snails and shrimp count?

They add bioload, so count them lightly: roughly one inch-equivalent per several shrimp, one per snail depending on size. They add bioload, so count them lightly: roughly one inch-equivalent per several shrimp, one per snail depending on size.

10. Why did my fish die if I followed the rule?

Common causes: uncycled tank, chlorine, temperature shock, disease from unquarantined newcomers, or overfeeding, not the math. Common causes include uncycled tanks, chlorine, temperature shock, disease from unquarantined newcomers, or overfeeding, not the math.

11. How much does a filled 55-gallon tank weigh?

About 450 lbs of water plus 50+ lbs of tank and substrate: over 500 lbs total, requiring a dedicated stand. About 450 lbs of water plus 50+ lbs of tank and substrate: over 500 lbs total, requiring a dedicated stand.

12. Can I keep one schooling fish alone?

You can, but it will stress, hide, and fade in color. Keep schooling species in groups of six or more. You can, but it will stress, hide, and fade in color; keep schooling species in groups of six or more.

13. Do plants change the stocking math?

Heavily planted tanks process more waste, modestly raising safe capacity. Plants help but do not replace water changes. Heavily planted tanks process more waste, modestly raising safe capacity, though plants do not replace water changes.

14. What is the easiest beginner stocking?

A 20-gallon with 10 neon tetras, 6 corydoras, and a honey gourami: peaceful, hardy, and within the inch budget. A 20-gallon with 10 neon tetras, 6 corydoras, and a honey gourami: peaceful, hardy, and within the inch budget.

15. How often should I do water changes?

25 percent weekly for most stocked tanks; test nitrates and adjust. Water changes export what filters cannot. 25 percent weekly for most stocked tanks; test nitrates and adjust, since water changes export what filters cannot.

CONCLUSION

The Fish Calculator turns tank dimensions into responsible stocking: true gallons, inch capacity, fish count for your species' adult size, and the water weight your stand must bear. It is the baseline every healthy aquarium starts from.

Apply species judgment on top of the math, cycle patiently, stock gradually, and maintain relentlessly. Do that, and the numbers on screen become years of healthy fish.