🔬Tools Database · 6 min read

Choosing the right filter for your tank.

The filter is the heart of a tank's biology, and most are chosen by a misleading box rating. Here is how to size filtration by flow and media for your stocking, not by marketing.

The free tool
Filter Size Calculator

Calculate required filter flow rate based on tank volume, stocking level, and species bioload. Get specific canister, HOB, sponge, and sump model recommendations.

Open →

The filter is the single most important piece of equipment in an aquarium, because it houses the bacteria that make the water habitable. Yet filters are usually chosen by the optimistic "rated for up to X gallons" number on the box — a figure that assumes light stocking and ideal conditions you may not have. Proper filter sizing is about flow rate and biological capacity matched to your actual bioload, not a single rated gallon figure. This guide explains how to do it. The filter size calculator computes the flow you need from your tank volume and stocking, and recommends specific canister, HOB, sponge, and sump models.

What a Filter Does

A filter performs three jobs, and they are not equally important. Biological filtration — the bacterial colony that converts ammonia to nitrite to nitrate — is the essential one; it is what makes the nitrogen cycle work and what keeps fish alive. Mechanical filtration traps particles and keeps the water clear. Chemical filtration (carbon, resins) removes specific dissolved compounds and is optional for most tanks. When people say a tank "needs a filter," they really mean it needs a home for biological bacteria with enough flow to feed them oxygen and ammonia-laden water.

This reframes sizing. A good filter for your tank is one with enough biological media to host a bacterial colony sized for your bioload, and enough flow to circulate the whole tank through that media regularly. The box rating gestures at this but does not measure it for your stocking.

The principle: size the filter to your bioload, not to your tank's gallons. A heavily stocked 20-gallon needs more filtration than a lightly stocked 40-gallon, even though the smaller tank "rates" for a smaller filter.

Flow Rate and Turnover

Flow is measured in gallons per hour (GPH), and the useful concept is turnover — how many times per hour the filter cycles the tank's entire volume. A common target is 4–6× turnover per hour for a typical community tank: a 30-gallon tank wants roughly 120–180 GPH. Heavily stocked or messy-fish tanks benefit from the higher end or beyond; gentle, low-flow setups (bettas, shrimp) want the lower end or baffled flow.

Two cautions. First, manufacturers rate GPH with an empty filter and no head height; once packed with media and lifting water up to the tank, real flow is meaningfully lower, so size up from the rated figure. Second, more flow is not always better — some fish dislike strong current. The goal is enough turnover to keep the biology fed and the water circulating, tuned to what your fish tolerate. The filter size calculator accounts for the gap between rated and real flow, drawing on your true volume from the tank volume calculator.

Filter Types and When to Use Them

Different filter styles suit different tanks. Hang-on-back (HOB) filters are simple, affordable, and good for most community tanks up to medium size. Canister filters hold large volumes of media and move a lot of water, making them the choice for big or heavily stocked tanks and aquascapes. Sponge filters, driven by an air pump, give gentle flow and huge biological surface area — ideal for fry tanks, shrimp tanks, breeding setups, and hospital tanks where gentle current and no risk to small animals matter. Sumps offer the most flexibility and media capacity for large or high-end systems. The right choice depends on tank size, stock, and how much current your fish want — which is why the calculator recommends across all four types.

Biological Capacity: The Real Limit

Flow gets the attention, but biological media volume is the deeper constraint. The bacterial colony can only grow as large as the surface area you give it, so a filter with generous biomedia (ceramic rings, sintered glass, matrix, or just a lot of sponge) supports a larger, more stable bioload than one with a token amount. This is why canister filters punch above their flow numbers — they hold liters of media. When choosing or upgrading, look at how much biological media a filter holds, not just its GPH. And protect that colony: never replace all your media at once or rinse it in chlorinated tap water, or you reset the cycle.

Matching Filtration to Stocking

Filtration is one leg of a three-legged stool with stocking and water changes. Strong biological filtration raises the ceiling on how much waste a tank can process, which is why a well-filtered tank tolerates heavier stocking — but filtration cannot replace water changes, which remove the nitrate the filter produces, and it cannot fix overstocking on its own. Size the filter generously, stock sensibly, and maintain consistently, and the tank stays in balance. This interplay between filtration, stocking, and maintenance is the kind of systemic relationship SpawnOS is designed to surface, so the pieces are tuned together rather than in isolation.

A Worked Example

Take a 40-gallon community tank, moderately stocked with a school of tetras, some corydoras, and a centerpiece gourami. The turnover target of 4–6× suggests 160–240 GPH. A hang-on-back filter rated at "250 GPH" sounds more than adequate — until you remember that rating is measured empty, with no media and no lift. Packed with biomedia and pushing water up into the tank, its real output might be 150–180 GPH, landing at the low end of the target. For this tank, either a canister rated around 250–300 GPH (which holds far more media and sustains flow better) or a generously rated HOB plus a supplementary sponge filter gives comfortable headroom. The sponge filter is a quiet hero here: it adds biological capacity and gentle flow, costs little, and doubles as instant seed media for a future tank or hospital setup.

Common Filtration Mistakes

Several avoidable mistakes undo otherwise good filtration. Rinsing media in tap water chlorinates and kills the bacteria — always rinse in old tank water. Replacing all the media at once discards the colony and forces a mini-cycle; replace media gradually, one component at a time. Chasing flow while ignoring media volume produces a tank that circulates well but processes waste poorly, because biological capacity, not GPH, sets the real ceiling. Over-cleaning out of a desire for pristine equipment strips the very biofilm that keeps the water safe; a filter should be serviced when flow noticeably drops, not on a rigid weekly schedule. And under-sizing for messy fish — goldfish, large cichlids — catches keepers who sized for "gallons" rather than the heavy bioload those species actually impose. Sizing to the bioload, then protecting the colony, is the whole game.

Frequently Asked Questions

What size filter do I need for my aquarium?

Size by flow and biological capacity, not the box rating. Aim for roughly 4–6× your true tank volume in turnover per hour — about 120–180 GPH for a 30-gallon community — and more for heavy stocking. The filter size calculator computes it and recommends models.

What does GPH and turnover mean for a filter?

GPH is gallons per hour of flow; turnover is how many times per hour the filter cycles the tank's full volume. A 4–6× turnover target keeps the biology fed and the water circulating. Remember real flow is lower than the rated GPH once media and head height are added.

Which filter type is best?

It depends on the tank. HOB filters suit most community tanks, canisters suit large or heavily stocked tanks, sponge filters are ideal for fry, shrimp, and hospital tanks needing gentle flow, and sumps suit large high-end systems. Match the type to your tank size and the current your fish tolerate.

Can a filter be too strong for my fish?

Yes. Some fish — bettas, fancy goldfish, shrimp — dislike strong current and can be stressed or pushed around by it. Size for adequate turnover, then baffle or spread the outflow if your fish prefer calm water.