Start with the one-inch-per-gallon rule, then adjust for your fish

The quickest starting point is the one-inch-per-gallon rule: one gallon of water for every inch of adult fish length. A 10-gallon tank holds fish that total 10 inches long. A 20-gallon tank holds 20 inches of fish. This rule works as a rough floor for most beginner setups with common freshwater fish like tetras, guppies, and danios.

But this rule is a minimum, not a target. Many fish need more space than the rule suggests, especially if they are active swimmers, territorial, or produce a lot of waste. Goldfish, for example, need 20 gallons for the first fish and 10 gallons for each additional one—far more than the one-inch rule would allow. Bettas need at least 5 gallons even though they are only 3 inches long, because they are aggressive and need room to establish territory.

The real question is not "how many gallons do I need?" but "what fish do I want, and how much space does each one actually need?" Once you know the fish, you can work backward to the tank size.

Key Takeaways

  • The one-inch-per-gallon rule is a starting point for common freshwater fish, but many species need significantly more space than this rule suggests.
  • Tank size depends on the fish you choose, not the other way around—decide on your fish first, then buy the tank.
  • Active swimmers, territorial fish, and heavy waste producers all need larger tanks than the basic rule indicates.
  • A 10-gallon tank is the practical minimum for most setups; smaller tanks are harder to keep stable and leave little room for error.
  • Water volume matters more than tank shape—a tall, narrow tank holds the same number of gallons as a short, wide one, but the wide one is usually better for fish.

Common tank sizes and what they actually hold

Tank sizes are sold in standard increments, and the gallon count on the label is what you get. A 10-gallon tank holds 10 gallons. A 20-gallon long holds 20 gallons. A 55-gallon tank holds 55 gallons. The shape varies—a 20-gallon long is wider and shallower than a 20-gallon tall, but both hold the same volume.

In practice, you never fill a tank completely to the rim. You leave 1 to 2 inches of space at the top for the filter intake, heater, and air movement. This means a 10-gallon tank actually holds about 8 to 9 gallons of water once it is set up. A 20-gallon tank holds about 18 to 19 gallons. The label number is still the standard way to refer to the tank, but keep this in mind when you are calculating water volume for medications or water chemistry adjustments.

Beginner-friendly sizes are 10 gallons, 20 gallons, and 40 gallons. A 10-gallon tank is small enough to fit on a desk or shelf but large enough to be stable. A 20-gallon is the sweet spot for most home aquarists—big enough for variety, small enough to maintain without special equipment. A 40-gallon breeder tank (36 inches long, 18 inches wide, 18 inches tall) gives you real flexibility without taking up a wall.

How fish size and behavior change the math

The one-inch rule breaks down when you account for how fish actually live. A 6-inch pleco catfish needs far more than 6 gallons because plecos are bottom-dwellers that produce heavy waste and need long, open spaces to move. A 6-inch danio needs more than 6 gallons too, but for a different reason—danios are constant swimmers that dart across the tank all day and get stressed in cramped spaces.

Territorial fish like cichlids need extra space because they claim and defend an area. A single 4-inch cichlid might need 20 gallons or more just to have enough room to establish a territory without constant aggression. Add a second cichlid, and you may need 40 gallons to prevent fighting.

Peaceful schooling fish like tetras and rasboras are the exception to the "more space" rule. They are small, produce little waste, and do fine in groups in moderate tanks. A 20-gallon tank can comfortably hold 15 to 20 small tetras, which would be 15 to 20 inches of fish under the one-inch rule.

Waste production also matters. Goldfish and plecos are heavy waste producers and need more water volume per fish because the extra water dilutes their waste and keeps ammonia and nitrate from spiking. A 10-gallon tank with one goldfish will foul quickly; a 40-gallon tank with one goldfish is more stable.

Tank shape and water surface area

Two tanks with the same gallon count can feel very different to the fish inside. A tall, narrow 20-gallon tank (24 inches tall, 12 inches wide, 12 inches deep) has less surface area than a long, shallow 20-gallon tank (36 inches long, 18 inches wide, 10 inches tall). Surface area is where oxygen enters the water, so the shallow tank with more surface area is better for fish, even though both hold 20 gallons.

This is why "breeder" tanks and "long" tanks are popular. A 40-gallon breeder tank is 36 inches long, 18 inches wide, and 18 inches tall. A 40-gallon tank sold as a "tall" might be 24 inches long, 12 inches wide, and 24 inches tall. Both hold 40 gallons, but the breeder tank gives fish more swimming room and better oxygen exchange.

If you are choosing between two tanks of the same size, pick the one that is longer and wider rather than taller. Your fish will have more usable space and the tank will be easier to maintain.

Minimum tank sizes for popular fish

Here are real minimums for fish you might actually keep. These are based on adult size and behavior, not the one-inch rule:

FishAdult SizeMinimum Tank SizeWhy
Betta3 inches5 gallonsTerritorial; needs room to establish space
Neon tetra1.5 inches10 gallons (for a school of 10)Schooling fish; needs group and space to swim
Corydoras catfish2 inches10 gallons (for a group of 3)Bottom-dweller; needs open substrate space
Goldfish6–8 inches20 gallons (first fish) + 10 gallons (each additional)Heavy waste producer; needs large volume
Pleco catfish6–12 inches (species-dependent)40–75 gallonsLarge, heavy waste producer; needs long tank
Dwarf gourami3 inches10 gallonsPeaceful; can live with small community
Angelfish4 inches20 gallons (for a pair)Territorial; needs vertical space and territory

How to avoid the most common sizing mistakes

The biggest mistake is buying a tank first and then trying to fit fish into it. You end up with a 5-gallon tank and a goldfish, or a 10-gallon tank with three plecos. Instead, decide what fish you want, look up their real space needs, and buy a tank that fits. If your dream fish needs 40 gallons and you only have room for 20, either choose a different fish or wait until you can upgrade.

The second mistake is trusting the one-inch rule for every fish. It works for small, peaceful community fish like tetras and guppies. It does not work for goldfish, plecos, cichlids, or any fish that is territorial or produces heavy waste. Look up the specific fish you want, not just its length.

The third mistake is underestimating how quickly a small tank becomes unstable. A 5-gallon tank has very little water volume, so a single missed water change or a small spike in ammonia can crash the whole system. A 10-gallon tank is the practical minimum for most setups because it has enough volume to absorb small mistakes.

The fourth mistake is buying a tank that is too tall and narrow. A 20-gallon tall tank looks impressive but gives fish less usable swimming space and less surface area for oxygen. A 20-gallon long is almost always the better choice.

When you need to upgrade

You need to upgrade if your fish are showing stress signs: gasping at the surface, hiding constantly, or becoming aggressive toward tank mates. You also need to upgrade if water chemistry swings wildly between water changes—ammonia or nitrate spikes mean the tank is too small for the bioload your fish produce.

Some fish grow slower than you expect and stay small. Others grow faster and larger than the store told you. A fish that was 2 inches when you bought it might be 6 inches a year later. If your tank was sized for the 2-inch version, you now have an overcrowded tank. Check the adult size of your fish, not the size it is when you bring it home.

Upgrading does not mean buying a new tank when ready. You can move your current fish to a larger tank and repurpose the small one as a quarantine tank, a breeding tank, or a grow-out tank for fry. Many aquarists keep multiple tanks for different purposes.

Frequently Asked Questions

Is a 5-gallon tank big enough for a betta?

A 5-gallon tank is the minimum for a betta, not the ideal. Bettas do better in 10 gallons or more, where they have room to explore and the water stays more stable. A 5-gallon tank works if you do frequent water changes and keep the temperature steady, but it leaves no margin for error.

Can I keep two goldfish in a 20-gallon tank?

No. Goldfish need 20 gallons for the first fish and 10 gallons for each additional one. Two goldfish need 30 gallons minimum. Goldfish are heavy waste producers and need large water volume to stay healthy. A 20-gallon tank with two goldfish will have constant water quality problems.

Does the shape of the tank matter if the gallon count is the same?

Yes. A long, shallow tank with the same gallon count as a tall, narrow tank gives fish more swimming room and better oxygen exchange at the water surface. A 20-gallon long is better for fish than a 20-gallon tall, even though both hold 20 gallons.

What if I want to keep multiple different species in one tank?

Add up the minimum tank size for each species, then add 20 percent. A 10-gallon tank for tetras plus a 10-gallon tank for corydoras would be 20 gallons plus 20 percent, so 24 gallons minimum. This accounts for the fact that fish compete for space and resources when they share a tank.

How do I know if my tank is too small?

Signs of an overcrowded tank include fish gasping at the surface, hiding all the time, fighting with tank mates, or ammonia and nitrate spiking between water changes. If you see any of these, your tank is too small for the fish you have. You need to either remove some fish or upgrade to a larger tank.