← Aquarium Stocking Calculator

The Inch-Per-Gallon Rule: What It Gets Right, and Where It Falls Apart

Every fishkeeper hears it in their first week: one inch of fish per gallon of water. It sounds beautifully simple. It is also wrong often enough that you should know exactly where its limits are before you trust it.

I still remember standing in a pet store at sixteen, doing mental math in front of a wall of tanks. The employee had just told me the rule: one inch of fish per gallon of water. I had a 10-gallon tank at home, so by my arithmetic I could bring home ten inches of fish. I nearly bought a 4-inch common pleco and a handful of tetras to "fill out" the rest. That pleco would have grown to well over a foot long. The rule nearly talked me into an animal that belonged in a pond, not my bedroom.

That is the inch-per-gallon rule in a nutshell: useful as a first approximation, dangerous as a final answer. Let me walk through what it actually says, where it earns its keep, and where it will steer you wrong.

What the rule actually says

The rule states that a tank can hold roughly one inch of adult fish length per gallon of water. A few details matter enormously and are the parts people usually skip:

Where the rule actually works

Give the rule credit: for small, slim-bodied, peaceful community fish, it lands in a sensible zone. Ten neon tetras at 1.5 inches each is 15 inches of fish, and a 20-gallon tank handles that load comfortably with basic filtration. The rule works here because it was essentially reverse-engineered from exactly this kind of stocking: small tetras, rasboras, danios, livebearers, and corydoras in standard rectangular tanks.

It also works as a sanity check against absurdity. If your plan puts you at three times the guideline, something is wrong with the plan, not the guideline. I use it the way a carpenter uses a tape measure: to catch big mistakes fast, not to make final cuts.

Where it falls apart

Body mass beats body length. This is the big one. A 2-inch fancy goldfish and a 2-inch neon tetra are both "2 inches of fish," but the goldfish weighs many times more, eats more, and produces far more waste. Length scales linearly; volume and waste scale roughly with the cube of length. A 4-inch fish is not twice the bioload of a 2-inch fish. It is closer to eight times. The rule treats them as double, which is why it fails hardest with chunky fish like goldfish, cichlids, and plecos.

Swimming room is not volume. Zebra danios are only 2 inches long, but they are relentless swimmers that need horizontal run. Ten danios in a tall 20-gallon column tank technically fit the inch math, yet they will pace the glass miserably. A 20-gallon long (30 inches of footprint) suits them far better than a 20-gallon tall with the same volume. The rule knows nothing about tank shape.

Temperament is invisible to the rule. A male betta is 2.5 inches. A second male betta is another 2.5 inches. Five gallons "allows" both. In reality one will kill the other, usually within days. Aggression, territoriality, and schooling needs live entirely outside what inches-per-gallon can describe.

Surface area matters more than the rule admits. The oldest stocking guideline in the hobby, dating to the 1960s before most tanks had filters, was based on surface area: about 1 inch of fish per 12 square inches of water surface, because gas exchange happens at the surface. Modern filters and surface agitation have made that formula less critical, but the underlying point survives: a tall, narrow tank of a given volume supports fewer fish than a long, shallow tank of the same volume. I have seen tall hex tanks that hold 30 gallons yet stock like a 15.

A worked example: the 20-gallon long

Let us run the numbers on a realistic plan for a standard 20-gallon long (30 x 12 inch footprint):

Total: 23.5 inches of fish in a 20-gallon tank. The strict rule says that is over. Here is my honest read: it is slightly over the naive guideline but perfectly workable, because every fish in the list is slim-bodied, peaceful, and suited to the footprint. With a filter turning over 4 to 6 times the tank volume per hour and weekly 25 percent water changes, this tank thrives. If I wanted strict compliance, I would drop to 8 neons and land at 20.5 inches. Either way, the rule got me into the right neighborhood, and judgment finished the job.

Now contrast that with a plan the rule would approve but reality would not: a 4-inch common pleco (4 inches), 6 tiger barbs (12 inches), and a 3-inch rainbow shark (3 inches) totals 19 inches in a 20-gallon. Under the guideline! In practice the pleco alone will outgrow the tank within two years, the barbs need a bigger school to spread their nipping, and the shark will claim the entire bottom as territory. Three species, three different ways the rule lied.

What I actually do instead

I use a layered approach, and it has never failed me:

  1. Inch-per-gallon as the opening estimate. If I am wildly over, I cut the list.
  2. Bioload adjustment. Heavy-bodied or messy fish (goldfish, cichlids, plecos) count double in my head. Slim tetras and rasboras count at face value.
  3. Footprint check. Active swimmers need length; territorial bottom-dwellers need floor space. I check the tank dimensions, not just the gallons.
  4. Temperament and schooling check. Schooling species need groups of 6 or more, and aggressive species need either solitude or space. No formula covers this; it is research.
  5. Filtration and maintenance reality. A well-filtered, planted tank with weekly water changes safely carries more than a bare tank with a tiny filter and monthly neglect. The rule assumes average everything.

And the unglamorous part nobody wants to hear: cycle the tank first (the nitrogen cycle typically takes 4 to 6 weeks to establish), add fish gradually over several weeks, and test your water. No stocking rule survives contact with an uncycled tank.

Frequently asked questions

Is the inch-per-gallon rule accurate?

It is a rough starting estimate, not an accurate formula. It works reasonably for small, slim, peaceful community fish but breaks down for heavy-bodied fish, aggressive species, active swimmers, and unusually shaped tanks. Treat it as a sanity check, then adjust for bioload, temperament, and tank footprint.

Does the rule count the tail fin?

No. Fish length for stocking purposes is measured from the snout to the base of the tail (the caudal peduncle), excluding the tail fin. And always use the adult size, not the size of the juvenile in the store.

Is there a better rule than inch-per-gallon?

There is no single perfect rule. Experienced keepers combine the inch guideline with bioload judgment (heavy fish count extra), the surface-area consideration (long tanks beat tall tanks of equal volume), schooling minimums of 6 or more, and honest assessment of filtration and maintenance.

Check your stocking plan

Enter your tank size and fish list to get an instant verdict on capacity, schooling, and compatibility.

Open the Aquarium Stocking Calculator

Keep reading

How to Stock a 20-Gallon Community Tank: 3 Plans That Work

Three complete stocking plans for a 20-gallon community tank, with exact species counts and the order to add them.