Guide

How many fish per gallon?

The inch-per-gallon rule is a rough guide - bioload, waste, and behaviour matter more for healthy stocking.

⏱ 12 min read 📐 Stocking 📅 Updated May 2026
Quick answer
  • The inch-per-gallon rule is a starting point, not a stocking plan. It ignores fish shape, waste output, swimming behaviour, and social needs - all of which matter far more.
  • Bioload is what actually limits your tank. A 4-inch goldfish produces more ammonia than ten 1-inch neon tetras. Body mass and metabolism drive waste, not length.
  • Tank shape affects usable space. A tall, narrow 20-gallon holds far fewer fish comfortably than a wide, shallow 20-gallon. Surface area drives oxygenation; footprint drives territory.
  • Schooling fish need numbers, not just room. Six neon tetras in a 10-gallon is a valid setup; one neon tetra is not - regardless of what the inch rule says.
  • Your filter and maintenance schedule set the real ceiling. Good filtration and consistent water changes let you stock closer to the limit; skipping either means you need to stock lighter.
  • Test water, not gallons. Rising nitrates or any ammonia reading tells you more about your stocking level than any formula will.

Why the inch-per-gallon rule exists - and where it falls apart

The rule has been around since at least the 1950s. The idea is simple enough: a 20-gallon tank can hold 20 inches of fish. It gave beginners a rough ceiling when there was no internet, no forums, and no way to quickly look up whether a fish was compatible with anything else in the tank.

For tiny, slender, low-waste fish in a well-filtered aquarium, it approximately works. Ten 2-inch Paracheirodon innesi (neon tetras) in a 20-gallon is a reasonable, lightly stocked community. That's where the rule's usefulness ends.

The problems stack up fast once you move beyond small schooling fish:

  • Body mass, not length, drives waste. A 6-inch common goldfish (Carassius auratus) has a thick, heavy body and a digestive system that produces enormous amounts of ammonia. A 6-inch adult male Phenacogrammus interruptus (Congo tetra) is a slender, light-waste fish. They are not remotely equivalent in bioload, but the rule treats them identically.
  • It ignores swimming zones and territory. A 4-inch convict cichlid (Amatitlania nigrofasciata) will claim and defend a significant chunk of your tank floor. You can't offset that by adding a few more inches of fish elsewhere in the water column - the territory conflict is the problem, not the volume.
  • It ignores minimum group sizes. Many fish need to be kept in groups of six or more. A single 1-inch ember tetra (Hyphessobrycon amandae) technically "fits" in any tank under the rule, but a lone ember tetra is a stressed ember tetra.
  • It doesn't account for tank shape. A 29-gallon tall column tank and a 29-gallon standard rectangular tank hold the same water volume but function very differently. The column tank has poor gas exchange, limited footprint, and suits almost no common freshwater species well.
Honest take

Most fish stores use the inch rule because it's easy to quote at the counter and it tends to result in people buying more fish. It's not malicious - it's just a retail shortcut that survived because nothing simpler replaced it. Don't use it as your actual stocking guide.

What actually determines how many fish your tank can hold

Bioload: the real limiting factor

Every fish produces ammonia as a waste product. Your biological filter - the colonies of beneficial bacteria living in your filter media and substrate - converts that ammonia first into nitrite, then into nitrate. The nitrogen cycle is what makes a tank safe to live in. Overstock it and you're producing more ammonia than your bacteria can process. That shows up as elevated ammonia or nitrite readings, both of which are toxic to fish.

Nitrate is the end product of that process and is far less acutely toxic, but high nitrate (above 20-40 ppm depending on species) is a chronic stressor that suppresses immune function, bleaches colour, and shortens lifespans. The rate at which your nitrate climbs between water changes is one of the most useful indicators of whether you're overstocked.

Bioload isn't just about what fish eat - it's about metabolism. Goldfish and oscars (Astronotus ocellatus) are notoriously heavy waste producers. Small cyprinids like rasboras, and small characins like tetras, are relatively light. A single 8-inch oscar in a 55-gallon tank produces more waste than twenty neon tetras in the same tank. The inch rule gives them equivalent weight. Bioload thinking does not.

40 ppm
Nitrate upper limit for most community fish

Many sensitive species - discus, dwarf cichlids, most wild-caught fish - prefer it below 20 ppm. If you're hitting 40 ppm within a week of a water change, you're overstocked or underfiltrating.

Surface area and oxygenation

Fish breathe dissolved oxygen. Oxygen enters the water at the surface - which is why surface agitation from a filter outlet, spray bar, or airstone matters. A tall, narrow tank has poor surface-area-to-volume ratio, which limits oxygenation and effectively limits stocking below what the volume alone would suggest. Wide, shallow tanks (like a standard 40-gallon breeder at 36 × 18 inches) are far more fishkeeper-friendly than tall display tanks of the same volume.

This also matters in hot weather. Warmer water holds less dissolved oxygen than cooler water. If your tank runs at 28°C (82°F) for tropical fish in summer, you have less oxygen headroom than you do at 24°C (75°F). Stock accordingly.

Filtration capacity

A filter rated for your tank size is the bare minimum - it's rated for a lightly stocked tank under ideal conditions. Most experienced fishkeepers run filtration rated for roughly twice the actual tank volume. A 30-gallon tank with a filter rated for 60 gallons gives you meaningful biological buffer.

Filter media matters too. Biological media (ceramic rings, sponge, bio-balls) is where your beneficial bacteria live. The more surface area your media has, the larger the bacterial colony it can support, and the more bioload your filter can handle. Running an oversized filter with good biological media is one of the most practical things you can do to give yourself stocking flexibility.

Tip

If you're upgrading tanks, move your old filter media into the new filter. You're transferring an established bacterial colony, which means your larger tank cycles almost instantly rather than starting from scratch.

Maintenance schedule

Water changes dilute nitrate, replenish minerals, and remove dissolved organic compounds that don't show up on basic test kits. How often you change water - and how much - directly affects how many fish a given tank can realistically support. A 30% weekly water change gives you more stocking room than a 20% fortnightly change. If you know your schedule tends to slip, build that into your stocking plan and stock lighter.

See our guide on how often to do water changes for specifics on volume and frequency by tank size.

Species requirements that override any rule

Before you calculate anything, research the species. Some fish have non-negotiable requirements that make the gallon question secondary:

  • Minimum tank size. An angelfish (Pterophyllum scalare) needs at minimum a 29-gallon tall tank - not because of bioload, but because of body height and swimming space. A rainbow fish like Melanotaenia boesemani needs horizontal swimming room and does poorly in tanks under 36 inches long regardless of volume.
  • Group size. Most tetras, rasboras, danios, and corydoras need a minimum of six individuals to school and feel secure. Keeping three is often worse than keeping eight - a stressed, fragmented group is more prone to disease and aggression than a proper school.
  • Territorial behaviour. Cichlids, many gouramis, and some loaches establish and defend territory. Putting two male Trichogaster trichopterus (three-spot gourami) in a 20-gallon isn't a space problem - it's a behavioural one. The weaker fish will be harassed to death.
  • Compatibility. A single betta (Betta splendens) in a 10-gallon with a group of small, peaceful tetras can work well. A betta with fin-nipping tiger barbs (Puntigrus tetrazona) in any size tank is a problem waiting to happen.
Common mistake

Buying fish based on current size rather than adult size. A common pleco (Hypostomus plecostomus) sold at 2 inches in a pet shop will reach 18-24 inches. It's one of the most commonly surrendered fish in the hobby, and it ends up in undersized tanks because the inch rule made it look like it "fit" as a juvenile.

A practical approach to stocking your tank

Here's how to actually work out stocking rather than relying on a single number:

  1. Start with your tank footprint and dimensions, not just gallons. A 20-gallon long (30 × 12 × 12 inches) is a better tank for most fish than a 20-gallon high (24 × 12 × 16 inches), and they hold the same water.
  2. Pick your fish based on compatibility first. Use our free stocking calculator to check whether your shortlist makes sense together - temperature overlap, pH compatibility, aggression levels, and schooling needs.
  3. Make sure your tank is cycled before adding fish. An uncycled tank has no biological filtration and will spike ammonia within days. Read how to cycle a fish tank if you're setting up a new aquarium.
  4. Add fish gradually. Don't stock to your target number all at once. Add a group, wait 2-4 weeks, test your water, then add more. Your bacterial colony grows to match the bioload - overwhelming it all at once causes ammonia spikes.
  5. Test regularly and use the data. Check ammonia, nitrite, and nitrate weekly for the first few months. If nitrite or ammonia registers anything above zero, stop adding fish immediately. If nitrate is climbing above 20-40 ppm within a week, you're at or past your limit.
Watch out

Ammonia and nitrite should read zero in an established, healthy tank. Any detectable reading - even 0.25 ppm ammonia - means your filter is struggling. That's not a "slightly elevated" reading to monitor; it's a sign that fish are being poisoned. Do an immediate partial water change and reassess your stocking and filtration.

Stocking numbers for common beginner setups

These are realistic, tested stocking examples - not theoretical maximums. All assume a properly cycled tank, adequate filtration, and weekly water changes.

  • 10-gallon (38L): One betta with a few Corydoras pygmaeus (pygmy corydoras), or a school of 8-10 ember tetras, or a colony of 6-8 Endlers livebearers. Not suitable for goldfish, cichlids, or any fish over 2 inches at adult size.
  • 20-gallon long (76L): A community of 10-12 small tetras or rasboras plus 6 pygmy corydoras and a small cleanup crew. Or a pair of Apistogramma dwarf cichlids with a small dither school. Versatile tank for the price.
  • 29-gallon (110L): A proper community - 15 small schooling fish across two or three species, 6-8 corydoras, and a centrepiece fish like a single angelfish or a pair of honey gouramis (Trichogaster chuna).
  • 55-gallon (208L): Where the hobby really opens up. A full Amazonian biotope with angels, tetras, and corydoras; a medium cichlid species tank; or a large, densely planted community. Still not appropriate for oscar, pacu, or common pleco as long-term residents.

If you're choosing your first fish, our guide to best fish for beginners covers which species are genuinely forgiving versus which ones just look easy at the shop.

Tracking nitrate trends across weeks tells you far more about your stocking level than any rule of thumb. App-aquatic lets you log test results over time so you can spot gradual drift before it becomes a problem - much more useful than a one-off reading.

Track your parameters and get care reminders with App-aquatic.

Get the free app

Is the inch-per-gallon rule ever actually useful?

As a very rough sanity check for small, slender, low-waste fish - yes. If someone tells you to put 30 inches of fish in a 10-gallon, the rule correctly flags that as too many. But it fails badly the moment you introduce anything with a deep body (goldfish, discus, cichlids), anything territorial, or anything that needs a minimum group. Treat it as a ceiling that you'd rarely want to reach, not a target to aim for.

How do I know if my tank is overstocked?

Test your water. In a healthy, properly stocked tank, ammonia and nitrite both read zero and nitrate stays below 20-40 ppm between water changes. If nitrate climbs faster than your water change schedule can manage, or if ammonia or nitrite registers anything above zero in an established tank, you're overstocked or your filter isn't keeping up. Fish behaviour also signals problems - clamped fins, lethargy, surface gasping, or increased aggression can all indicate poor water quality from overcrowding.

Can I keep goldfish in a 10-gallon tank?

No, not long-term. A single fancy goldfish produces waste equivalent to several dozen small tetras and needs

More guides · How stocking rules evolved · Overstocking · 10 gallon stocking · Combining fish · Get the app