There is no single number of fish that suits a tank of a given size. How many it can hold depends on how much waste the fish make, how much oxygen the water can carry, how big each species grows, how it behaves and how much room it needs to swim. Length-per-volume rules such as "an inch of fish per gallon" ignore most of that.
Key takeaways
- "One inch per gallon" fails because a fish's weight, and roughly its waste, rises with the cube of its length. One large fish loads a tank far more than several small ones of the same total length.
- The real limits are waste and filtration, oxygen, adult size, behaviour and territory, swimming space and group size. The tightest one decides.
- Plan from each species' profile: its minimum tank, tank length and group size, at adult size, not shop size.
- The fish compatibility checker tests your whole planned tank at once, including a rough space check for freshwater tanks.
- Stock a cycled tank a few fish at a time, testing ammonia and nitrite before each new addition.
- Any ammonia or nitrite in an established tank, nitrate you cannot hold down, gasping at the surface or constant chasing all mean the tank holds too much.
Quick facts
- Old rule
- One inch per US gallon, about 0.67 cm per litre. It ignores weight, adult size and behaviour
- Weight and length
- Twice the length means about eight times the weight
- Our checker's space check
- No more than 1 cm of adult fish per litre, freshwater only, as a rough warning
- Adding fish
- A few at a time, with ammonia and nitrite tests in between (a rule of thumb)
- Warning signs
- Ammonia or nitrite, fast-rising nitrate, gasping, chasing and torn fins
Why "an inch per gallon" fails
The old rule says each US gallon of water can hold one inch of fish, measured nose to tail. No study supports it, and it has four flaws.
- It measures the wrong thing. Waste and oxygen use follow a fish's weight, not its length.
- It counts fish at shop size. A 5 cm juvenile that will grow to 30 cm passes the rule easily on the day you buy it.
- It ignores behaviour. A territorial cichlid can claim half a tank whatever the arithmetic says.
- It does not say which gallon. A UK gallon holds about 4.55 litres and a US gallon about 3.79 litres, so the rule means different things in different countries.
The cube problem
Fish of the same shape grow in all three dimensions at once, so weight rises roughly with the cube of length. A 2006 analysis of almost 4,000 weight-length relationships for over 1,700 fish species found the typical exponent close to 3, as this cube law predicts.
Take two fish of the same shape, one 3 cm long and one 12 cm long. The larger fish is four times as long, so it weighs about 4 × 4 × 4 = 64 times as much. Four of the small fish make the same "12 cm of fish" but weigh only four times as much as one of them.
Oxygen use and waste do not rise quite as fast as weight. A 1999 study that pooled resting oxygen use from 69 fish species found it rose with body weight to the power of about 0.8. On that scale, the 12 cm fish uses about 28 times the oxygen of one small fish, or about seven times as much as all four small fish together. Food, and so ammonia, follows a similar pattern: small fish eat a larger share of their weight each day, but a big fish eats far more in total. The length rule treats these two stockings as equal. They are not.

For very small fish the rule errs the other way. They load a tank less than their length suggests, so group size and swimming space limit them first.
What actually limits a tank
Think of stocking as several separate limits. The tank is full when it reaches the first of them.
Waste and the filter
Fish turn the protein in their food into ammonia, mostly through their gills, and the rate of excretion rises with how much they are fed. On fish farms, every 100 g of feed produces about 2.2 g of ammonia-nitrogen. Bacteria in the filter turn that ammonia into nitrite and then nitrate, as how to cycle a new aquarium without fish explains. More fish means more food, and more food means more ammonia for the filter to handle.
The bacteria grow to match the waste they receive, but slowly. A new biological filter takes at least a month to establish, and fish farms keep stocking and feeding well below normal while it does. A sudden jump in fish, or in food, can outrun the bacteria even in a mature tank, and the result is an ammonia or nitrite spike.
A bigger filter raises how much ammonia the tank can process and how well it traps dirt, but it does nothing about nitrate, which builds up until you remove it. If doubling your fish doubles the food, it roughly doubles how fast nitrate rises, and you need about twice as much water changed to hold the same level. Aquarium nitrate and how to keep it down sets out the arithmetic. In practice, the water changes you are willing to do every week are one of the firmest limits on how many fish you can keep.
Oxygen
Oxygen enters water mainly at the surface, helped by ripples and splashing, and plants add it in daylight. Warm water holds less of it. Fully saturated fresh water holds about 10 mg of oxygen per litre at 15 °C (59 °F), but only about 8.3 mg at 25 °C (77 °F). Salt water holds less again.
Warm water also makes fish use more. Within a species, a 10 °C (18 °F) rise in temperature typically raises resting oxygen use about two to two and a half times. Feeding raises it further, because digestion is hard work. At night plants and bacteria use oxygen instead of producing it, so it is usually lowest just before the lights come on.
That is why a long, low tank with a large surface holds more fish than a tall one of the same volume, as choosing your first aquarium explains, and why a filter outlet or air stone that ripples the surface helps. An air-driven filter adds both, as sponge filters: how they work and when to use one explains. Give every pump and filter cable a drip loop and plug it into a socket protected by an RCD (GFCI in North America).
Why fish farms hold far more fish
By the standards of commercial recirculating farms, a 20 US gallon (76 litre) aquarium would need at least 4.5 kg (10 lb) of fish. Farms manage this only with constant aeration, monitoring and backup power. In a worked example for a warm farm system holding about 30 g of fish per litre, a power cut would let oxygen fall from full saturation to a stressful 3 mg per litre in 16 minutes. A home tank has none of that support, which is why it must be stocked far more lightly.
Adult size
Plan every fish at its adult size. Many are sold as juveniles that will outgrow the tank in months, such as the common pleco, oscar and clown loach. Each species profile gives adult size and the smallest suitable tank. A fish that needs a bigger tank than yours does not belong in it, however few tankmates it has.
Behaviour and territory
Territorial fish need space that cannot be measured in litres alone. A 2011 study of Midas cichlids found aggression was lower in a large aquarium with complex habitat, and concluded that tanks of the sizes usually kept at home did not give cichlids housed with aggressive members of their own species good welfare. A 2010 study of convict cichlids found that dominant females spent less time chasing and biting in tanks with more structure.
Rocks, wood and plants that break up lines of sight help, but with territorial fish the safest course is a larger tank and fewer of them.
Swimming space and tank length
Active shoaling fish such as the zebra danio need length to swim end to end, not just volume. That is why many profiles give a minimum base length, and why the checker asks for it.
Group size
Shoaling fish kept in too small a group are a stocking mistake too. A 2010 study of four common aquarium species found that neon tetras, white cloud mountain minnows and tiger barbs showed better welfare in larger groups, and neon tetras and white clouds were also less aggressive. If a tank holds only three or four of a shoaling species, choose a smaller species instead.
Density has effects both ways. A 2023 study of laboratory zebrafish found the most aggression in the least crowded groups, while the most crowded grew most unevenly, partly because some fish got less food. Laboratory densities are no guide to a home tank, but the lesson carries over: too few can be as much of a problem as too many.
Planning with the profiles and the compatibility checker
Start with a list of fish you like, then check each one's profile for four figures: adult size, smallest tank, minimum tank length and group size. Cross off anything whose minimum tank is bigger than yours. Then test the whole list in the fish compatibility checker.
The checker works like this:
- Your tank. Choose freshwater or saltwater, add each animal and how many you plan to keep, then enter the tank's size (in litres, US gallons or UK gallons) and its length. Profile minimums are based on a tank's full listed size, so enter the listed size rather than the water left after substrate.
- Every pair. Each pair gets an answer, from a written note or from both animals' size, temperament, territory and water needs.
- The whole tank. It compares your tank with the largest minimum among your animals, adding room for each extra fish where a profile asks for it, as with goldfish. It checks the length against the longest base any of them needs. It warns when a group is smaller than the profile suggests, or when a fish best kept alone is doubled up. With three or more animals, it shows the temperature, pH and hardness range they all share.
- A rough space check. For freshwater tanks, it adds up the full adult length of every fish and warns if the total is more than 1 cm per litre. This is a rough rule of thumb, used only as a warning, and unlike the inch-per-gallon rule it uses adult size. Shrimp and snails are not counted, and saltwater tanks are left out.
- The result. The overall answer, "Usually works", "Use caution" or "Not recommended", is the worst of all these checks.
The checker cannot see your filter, feeding or water changes. A clean result means the plan is reasonable on paper; your test kit has the final word.
Worked example: a 60 litre community tank
Take a 60 cm (24 in) tank of about 60 litres (16 US gal), for example 60 × 30 × 35 cm. That is big enough for one shoal of small fish and one group of bottom dwellers, or one livebearer group, but not both.
Plan A: tiny fish in soft to neutral water
| Animal | How many | Counted by the checker |
|---|---|---|
| Ember tetra | 12 | 12 × 2 cm = 24 cm |
| Pygmy corydoras | 10 | 10 × 3 cm = 30 cm |
| Cherry shrimp | A small colony | Not counted |
| Total | 54 cm in 60 litres |
Both fish are tiny and gentle, the corydoras get the group of ten our corydoras care guide recommends, and the total sits under the checker's rough space limit. All three animals share 22 to 26 °C (72 to 79 °F). The embers and corydoras may eat some baby shrimp, so expect a slower-growing colony than in a shrimp-only tank.
Plan B: livebearers in harder water
Three male and six female guppies make 54 cm by the checker's count, with a single nerite snail for algae. This keeps the ratio of one male to two females that the guppy care guide recommends. Guppies breed freely, so this tank fills itself. Decide before you buy what you will do with the fry, or keep males only.
What does not fit
Ten neon tetras and six panda corydoras are a popular choice, but together they add up to about 70 cm of adult fish, and the checker warns that 60 litres may be crowded. Choose one group, or move up to a longer tank.
Worked example: a 120 litre community tank
Take a 100 cm (39 in) tank of about 120 litres (32 US gal), for example 100 × 30 × 40 cm. The extra length suits bigger groups and lets you add a single larger fish.
| Stage | Animal | How many | Counted by the checker |
|---|---|---|---|
| First | Harlequin rasbora | 10 | 10 × 5 cm = 50 cm |
| Second | Bronze corydoras | 6 | 6 × 7.5 cm = 45 cm |
| Third | Bristlenose pleco | 1 | 12.5 cm |
| Any time after | Nerite snails | 2 or 3 | Not counted |
| Total | About 108 cm in 120 litres |
The bronze corydoras needs a base at least 80 cm long, which this tank has. All three fish share about 23 to 26 °C (73 to 79 °F). Nerites need pH 7 or above and harder water to keep their shells sound, so add them only if your water suits; the nerite snail care guide explains why. The pleco goes in last, once the tank is mature and has some algae and biofilm to graze, and it still needs its own sinking food.
Adding a second shoal of ten neon tetras would take the total to about 148 cm and bring a space warning, and an angelfish needs a much larger tank and can eat small fish. Check the species profile before adding anything else.
Adding fish gradually
Even a correctly planned tank can be overloaded if it is stocked too fast. Overfeeding a young biological filter is a classic cause of ammonia spikes and deaths, on fish farms as well as in aquariums.
- Start with a cycled tank
Ammonia and nitrite must both read zero before any fish go in. Bring nitrate down with a water change first.
- Add the hardiest group first
In the 120 litre plan, that is the rasboras. Quarantine new fish if you can, as how to set up and use a quarantine tank explains, and acclimatise them carefully, as in how to acclimatise new fish and shrimp.
- Feed lightly and test
Test ammonia and nitrite every few days. Aquarium water test kits and what to test covers which kits to use. Any reading means the bacteria have not caught up, so feed less and change some water.
- Wait before the next group
Add the next group only once ammonia and nitrite have stayed at zero over several tests. Waiting about two weeks between groups is a rule of thumb, not a measured figure. It gives the bacteria time to grow to the new load and gives you time to spot disease.
Signs your tank holds too much
- Ammonia or nitrite in an established tank, especially soon after adding fish. See ammonia and nitrite spikes in an established tank.
- Nitrate you cannot keep below about 20 ppm (a common rule of thumb) with a reasonable weekly water change.
- Fish gasping at the surface or crowding round the filter outlet, especially early in the morning, when oxygen is lowest. Corydoras dart up for air now and then as normal behaviour; it is a change in how often that matters.
- Water that keeps turning cloudy. See cloudy aquarium water.
- Constant chasing, hiding or torn fins, or one fish guarding most of the tank. Damaged fins can become infected, as fin rot in aquarium fish explains.
- Repeated outbreaks of disease, such as white spot.
In the short term, feed less, change more water and add surface movement. How to do an aquarium water change covers doing it safely. In the long term, rehome some fish through a shop, club or another keeper, or move to a bigger tank. Never release aquarium fish, snails or shrimp into ponds, rivers or drains. It is illegal in many countries and can harm wild species.
Special cases
Goldfish
Goldfish grow large and produce a lot of waste, so they are stocked by volume per fish. Allow at least 100 litres (26 US gal) for the first fancy goldfish and about 50 litres (13 US gal) for each extra one. Single-tailed goldfish grow larger still and are best kept in ponds. The checker adds the extra room for each goldfish you enter. See the goldfish care guide.
Shrimp and snails
Shrimp and snails add little waste, which is why the space check leaves them out, but they still eat and excrete. A tank swarming with ramshorn or Malaysian trumpet snails is usually a sign of overfeeding. A shrimp colony also grows on its own, as the cherry shrimp care guide describes.
Saltwater tanks
Sea water holds less oxygen than fresh water, many reef fish are territorial, and reef animals need very clean water. They are stocked much more lightly, and no reliable length rule exists for them, so the checker leaves its space check out. Go by each profile's tank size and temperament, starting with hardy fish such as the ocellaris clownfish.



