About the Aquarium Size & Fish Stocking Calculator
This tool calculates your aquarium's usable water volume in gallons and liters and estimates the maximum number of fish you can safely keep based on widely used stocking guidelines. It covers the four most common tank shapes — rectangle, cylinder, hexagon, and bowfront — and adjusts for a realistic fill level, since no tank is ever filled completely to the brim.
The "one inch of fish per gallon" rule — and why it's oversimplified
The inch-per-gallon rule originated decades ago as a rough shorthand for small freshwater community tanks stocked with slender fish like neon tetras and guppies. At its simplest: a 10-gallon tank could hold 10 inches of fish — perhaps seven neon tetras at 1.5 inches each. For that specific use case, the rule produces a reasonable starting estimate. But it falls apart quickly when applied more broadly, and understanding why makes you a better fishkeeper.
The rule ignores fish mass, which is the real driver of bioload (the total waste a fish produces). A 12-inch oscar does not equal 12 neon tetras. An oscar is a heavy-bodied, thick fish that produces vastly more ammonia per day than twelve slim tetras. Its metabolic rate, oxygen consumption, and waste output are disproportionately higher than its length suggests. The inch-per-gallon rule treats all fish as if they were identically proportioned tubes of flesh, which they are not.
The rule also ignores oxygen consumption. Active, fast-swimming fish like danios consume far more dissolved oxygen than sedentary species like bettas. A heavily stocked tank of active fish can deplete oxygen near the surface in warm water, causing fish to gasp, even if the inch-per-gallon math says the tank isn't overstocked.
Finally, the rule was never designed for saltwater or reef tanks. Saltwater ecosystems are far more chemically sensitive. Even small ammonia spikes can destabilize the delicate balance that corals and invertebrates depend on. Most experienced reef keepers use a saltwater stocking density roughly one-third that of a comparable freshwater community tank — closer to one inch of fish per three gallons, or even more conservative for heavily decorated reef systems.
This calculator applies a tiered approach: the 1 inch/gallon rule for small freshwater fish, 2 gallons/inch for medium fish, 4+ gallons/inch for large fish, and the saltwater divider of three for reef and marine systems.
The nitrogen cycle: the most important concept in fishkeeping
Before adding a single fish to any new tank, you need to understand — and respect — the nitrogen cycle. This is the biological process by which ammonia, produced by fish waste and decaying food, is converted into progressively less harmful compounds by beneficial bacteria.
Here is how the cycle works. Fish excrete ammonia through their gills and waste. Ammonia is acutely toxic to fish even at concentrations of 1–2 parts per million. A colony of Nitrosomonas bacteria establishes itself in the filter media and converts ammonia to nitrite. Nitrite is also highly toxic — it interferes with the ability of fish blood to carry oxygen. A second colony of Nitrobacter bacteria then converts nitrite to nitrate. Nitrate is far less toxic at typical concentrations and is removed by regular partial water changes.
Cycling a new tank — allowing these bacterial colonies to establish — takes four to six weeks without fish. You can speed it up by adding an ammonia source (pure ammonia, fish food, or a hardy fish like a danio), using a bacterial starter product, or transferring filter media from an established tank. Test kits for ammonia, nitrite, and nitrate let you track the cycle's progress: ammonia rises first, then nitrite spikes as it accumulates faster than nitrate bacteria can process it, then both fall to near zero as the cycle completes.
Most beginner fish deaths occur in the first two to four weeks because owners skip this step and add too many fish too fast to an uncycled tank. A sudden ammonia or nitrite spike from a large fish load can kill all tank inhabitants within 24 to 48 hours. The nitrogen cycle is not optional — it is the foundation of a healthy aquarium.
Freshwater vs. saltwater: a honest comparison
Freshwater aquariums are forgiving, accessible, and inexpensive to set up. Most tropical freshwater fish tolerate a temperature range of 72–82°F and a fairly broad pH from 6.5 to 7.8. Equipment costs are low — a basic filter, heater, thermometer, and a light to view the fish are all you need for a community freshwater tank. A 20-gallon freshwater setup can be assembled for $100–$200.
Saltwater and reef aquariums require stable water parameters within narrow bands. Salinity (specific gravity of 1.025 for reef), temperature (77–79°F), pH (8.1–8.4), alkalinity, calcium, and magnesium all need to stay within specific ranges. Equipment demands are higher: a protein skimmer removes organic waste before it enters the nitrogen cycle, live rock provides biological filtration, and reef tanks often need a sump (a secondary tank under the display tank), a return pump, and a refugium. A 30-gallon saltwater starter system costs $400–$800; a 75-gallon reef system can easily exceed $1,000–$3,000 for quality equipment.
Saltwater fish are also far less tolerant of water quality fluctuations. A freshwater fish might survive a pH swing of 0.3 in a day; many marine fish cannot. This is why saltwater stocking density must be much lower — more water volume per fish means slower parameter shifts.
Recommended beginner fish
Betta (Siamese fighting fish) — perhaps the most popular beginner fish. Hardy, colorful, and personable. Require a minimum of 5 gallons; one male per tank (males will fight to the death). Compatible with peaceful community fish in larger tanks, though individual temperament varies. Prefer still or slow-moving water and slightly warmer temperatures (78–82°F).
Guppies and platies — livebearers that are prolific and forgiving. Guppies come in hundreds of color varieties. Both species tolerate a wide range of water conditions. Be aware that both species breed readily — a colony of guppies in a tank will multiply quickly, which can lead to overstocking if unchecked.
Neon tetras — iconic small schooling fish. Their brilliant neon stripe makes any tank instantly striking. Prefer slightly acidic, soft water and are somewhat sensitive to ammonia spikes compared to danios. Should be kept in groups of at least six for the schooling behavior to display.
Zebra danios — possibly the hardiest tropical freshwater fish available. Fast, active, and tolerant of temperature swings. A classic fish for cycling new tanks because they can survive water quality conditions that would kill most species. Keep in groups of five or more.
Corydoras catfish — peaceful bottom-dwellers that help clean up uneaten food from the substrate. Social fish that should be kept in groups of at least four of the same species. Stay small (2–3 inches) and are compatible with nearly every peaceful community fish.
Tank equipment essentials
Every aquarium needs a filter. There are three main types: sponge filters (gentle, very cheap, ideal for fry or bettas, powered by an air pump), hang-on-back (HOB) filters (the most common choice for beginner tanks up to about 55 gallons — clip on the back of the tank, draw water through replaceable cartridges), and canister filters (the best choice for tanks 55 gallons and larger — sit below the tank in a cabinet, process large water volumes quietly and efficiently). A rule of thumb: your filter should process the tank's total water volume at least four times per hour. A 50-gallon tank needs a filter rated for at least 200 gallons per hour.
A heater is required for nearly all tropical fish. Most tropical species need 76–80°F. Choose a submersible heater sized to the tank: roughly 3–5 watts per gallon. A 50-gallon tank needs a 150–250 watt heater. Use a separate thermometer to verify the heater is maintaining the set temperature — heaters do fail.
Lighting — for a fish-only freshwater tank, a basic LED fixture provides viewing light without promoting excessive algae growth. Planted tanks need full-spectrum lights rated 6500K or higher. Reef tanks need specialized high-intensity lighting (LED or T5 fluorescent) to support coral photosynthesis.
Substrate — gravel is the standard choice for most community freshwater tanks. Fine sand is preferred by corydoras and bottom-feeders that sift the substrate. Planted tanks often use nutrient-rich aquasoil. Reef tanks typically use crushed coral or aragonite sand to help buffer pH.
Live planted tanks: plants as active water managers
Live aquatic plants do much more than look beautiful. They consume ammonia and nitrate directly, competing with algae for nutrients and genuinely reducing bioload pressure on the filter. They add oxygen to the water column during daylight, provide cover and hiding spots that reduce fish stress, and create a more stable ecosystem overall.
Beginner-friendly plants require no CO2 injection and survive under standard aquarium lighting: Java fern (attaches to rocks and driftwood, nearly indestructible), Anubias (slow-growing, shade-tolerant, great for decorating hardscape), Hornwort (fast-growing stem plant that outcompetes algae for nutrients), and Amazon sword (large background plant that anchors the layout of most community tanks).
Demanding high-tech planted tanks require CO2 injection (a pressurized CO2 system or DIY yeast reactor), liquid fertilizer, and specialized full-spectrum lighting — but they produce extraordinary results and can house fish at slightly higher densities because the plants actively export nitrogen.
Common beginner mistakes
Overstocking — adding too many fish before the biological filter can handle the load. The temptation to fill the tank immediately is real, but adding fish in small groups over several weeks is far safer.
Underfiltering — buying a filter rated for a smaller tank to save money. The filter is the most critical piece of life support equipment in your aquarium. Never undersize it.
Skipping the nitrogen cycle — described above. This is the single most common cause of early fish loss.
Overfeeding — uneaten food sinks to the substrate and decomposes, generating ammonia spikes. Feed only what fish can consume within two minutes, once or twice a day. Remove any uneaten food with a small net or turkey baster.
Not dechlorinating tap water — chlorine and chloramine in municipal tap water kill beneficial bacteria and stress fish. Always add a liquid dechlorinator (sodium thiosulfate or a combined dechlorinator/slime coat product) to tap water before adding it to the tank.
Adding too many fish at once — even a cycled tank has a limit to how quickly its bacterial colonies can respond to a sudden increase in bioload. Add new fish gradually, in groups of two to four at a time, with a week or two between additions.
Not quarantining new fish — new fish can carry parasites, bacterial infections, or viral diseases that infect an entire established tank. A dedicated quarantine tank (even a bare 10-gallon tank with a filter and heater) allows you to observe new fish for two to four weeks before introducing them.
Tank maintenance schedule
Daily: observe fish behavior (lethargy, loss of appetite, unusual spots, or gasping at the surface are warning signs); check the thermometer; verify the filter is running.
Weekly: perform a 25% partial water change with dechlorinated, temperature-matched water; test ammonia, nitrite, nitrate, and pH; clean algae from the glass with an algae magnet or scraper.
Monthly: vacuum the substrate with a gravel siphon to remove accumulated waste; rinse mechanical filter media in old tank water (never in tap water — chlorine kills beneficial bacteria); check and clean the heater; inspect equipment for wear.
Popular saltwater fish species
Clownfish — the iconic "Nemo" fish. Hardy, relatively small (3–4 inches), and tolerant of beginner mistakes for a marine fish. One of the few saltwater species that can be tank-bred; captive-bred clownfish are hardier than wild-caught. Pairs host in anemones in nature but do not require one in captivity.
Tangs (surgeonfish) — vividly colored, active swimmers beloved for reef tanks. However, most species reach 8–12 inches and require at least 75–100 gallons to swim freely. The blue tang (Paracanthurus hepatus) — the famous "Dory" fish — is stunning but truly needs 100+ gallons.
Gobies — small, bottom-dwelling marine fish that are generally peaceful and reef-safe. Watchman gobies and firefish are popular choices for smaller reef tanks (30–40 gallons). Many species form cleaning-station symbioses with pistol shrimp.
Wrasse — colorful, active fish with fascinating behaviors. Many species are completely reef-safe; some will eat invertebrates. The six-line wrasse is a popular, hardy beginner choice for reef tanks.
Realistic setup costs
A 20-gallon freshwater community tank can be set up for $100–$200 including tank, stand, filter, heater, thermometer, lighting, substrate, dechlorinator, test kit, and first fish. A complete beginner kit sold as a bundle is often the most cost-effective starting point.
A 55-gallon freshwater tank with quality equipment runs $200–$400. The larger volume is more forgiving but the equipment costs more to run (heating and filtration).
A 30-gallon saltwater tank with live rock, a protein skimmer, and basic reef lighting costs $400–$800. Budget more for a quality test kit and the initial livestock.
A 75-gallon reef system with a sump, quality return pump, LED reef lighting, and a mature live rock foundation can easily cost $1,000–$3,000 in equipment alone, before corals and fish.
Aquarium health benefits
Research consistently shows that watching fish tanks lowers blood pressure and reduces cortisol (the primary stress hormone). A 2015 study from the National Marine Aquarium, Plymouth University, and University of Exeter found that aquarium viewing reduced heart rate and blood pressure in participants, with more biodiverse displays producing greater effects. Aquariums are commonly used in dementia care settings — studies show improved behavioral symptoms and increased food intake in patients regularly exposed to fish tanks. The combination of rhythmic movement, color, and soft sound appears to reduce agitation and promote calmer, more engaged behavior. There is also evidence that aquarium viewing reduces insomnia, with the visual stimulus of gentle movement helping disrupt racing thoughts before sleep.
Frequently Asked Questions
How many fish can I put in my aquarium?
What is the nitrogen cycle and why does it matter?
How often should I change aquarium water?
What is the best beginner fish tank size?
Tank Size Reference Guide
| Tank size (gallons) | Category | Small fish capacity | Medium fish capacity | Large fish capacity | Recommended for |
|---|---|---|---|---|---|
| 2.5–5 | Nano | 3–5 small | Not recommended | Not suitable | Betta only, shrimp |
| 10 | Small | 6–8 small | 2–3 medium | Not suitable | Beginner starter, quarantine |
| 20–29 | Standard small | 15–20 small | 5–8 medium | 1–2 large | Best beginner size |
| 40–55 | Standard medium | 30–40 small | 12–18 medium | 3–5 large | Community tanks, planted |
| 75–125 | Large | 60–100 small | 25–40 medium | 8–15 large | Show tanks, cichlids, reef |
| 150+ | Show / custom | 100+ small | 50+ medium | 20+ large | Tangs, large predators, rays |
Popular Aquarium Fish Species Reference
| Species | Adult size | Bioload | Min. gallons | Beginner friendly? |
|---|---|---|---|---|
| Neon tetra | 1.5" | Very low | 10 (group of 6) | Moderate (sensitive) |
| Guppy | 1.5–2" | Low | 10 | Yes |
| Betta | 2.5–3" | Low | 5 (solo) | Yes |
| Zebra danio | 2" | Low | 10 (group of 5) | Yes (hardiest) |
| Angelfish | 6" (tall) | Medium | 29 (pair) | Moderate |
| Oscar | 12–14" | Very high | 75 (solo) | No (advanced) |
| Goldfish (common) | 12" | Very high | 20 first + 10 each | No (messy) |
| Clownfish | 3–4" | Medium | 20 (pair, saltwater) | Yes (for saltwater) |
| Blue tang | 12" | High | 100+ (saltwater) | No (needs space) |
Common Tank Dimension Presets
| Common name | Dimensions (L × W × H) | Nominal gallons | Water weight (lbs) | Notes |
|---|---|---|---|---|
| 5.5 gallon | 16" × 8" × 10" | 5.5 | ~41 lbs water | Betta minimum |
| 10 gallon | 20" × 10" × 12" | 10 | ~83 lbs water | Most popular starter |
| 20 gallon long | 30" × 12" × 12" | 20 | ~167 lbs water | Best beginner community |
| 29 gallon | 30" × 12" × 18" | 29 | ~242 lbs water | Popular tall community tank |
| 55 gallon | 48" × 13" × 21" | 55 | ~459 lbs water | Most popular standard tank |
| 75 gallon | 48" × 18" × 21" | 75 | ~626 lbs water | Reef, cichlids, large fish |
| 125 gallon | 72" × 18" × 22" | 125 | ~1,043 lbs water | Large show / predator tank |