Pets

Fish Tank Water Calculator

Calculator Free · Private
Was this calculator helpful?

The Fish Tank Water Calculator estimates the minimum aquarium volume (in liters) needed to house your fish comfortably and safely. It applies the classic 1 inch of fish per gallon rule — converted to metric — which translates to roughly 1 cm of fish body length requiring ~2.7 L of water. Enter the average body length of your fish (in cm) and the number of fish you plan to keep, and the calculator returns the minimum recommended tank size. This guideline is widely cited by fishkeeping organizations and veterinary resources as a starting point for stocking density, helping prevent oxygen depletion, ammonia spikes, and stress-related disease in aquarium fish.

Last reviewed: April 18, 2026 Verified by Source: Wikipedia – Fishkeeping: Stocking Levels, NIH – Aquatic Animal Care Guidelines (Office of Research Infrastructure Programs), USDA Animal Care – Fish and Aquatic Species Policies 100% private

When to use this calculator

  • Setting up a new freshwater community aquarium and determining the correct tank size before purchasing fish or equipment.
  • Evaluating whether an existing tank is overstocked — e.g., checking if a 60 L tank can safely hold 8 goldfish averaging 7 cm each (it cannot: 8 × 7 × 2.7 = 151.2 L needed).
  • Planning a saltwater reef tank where stocking density rules are stricter and proper volume calculations help maintain stable water chemistry (salinity, pH, alkalinity).
  • Advising children or first-time fish keepers on the minimum tank size for common starter fish like bettas (min. 19 L / 5 gal), guppies, or neon tetras before an impulse purchase at a pet store.

Calculation Example

  1. Example
  2. Result
Result: Result

How it works

3 min read

How It's Calculated

The calculator uses the metric conversion of the classic "1 inch of fish per gallon" rule, one of the most widely cited stocking guidelines in hobby fishkeeping:

Minimum Tank Volume (L) = Average Fish Length (cm) × Number of Fish × 2.7

Where:

  • Average Fish Length (cm) = the adult body length of your fish (excluding tail fin)

  • Number of Fish = total fish to be housed in the tank

  • 2.7 L/cm = the metric equivalent of 1 US gallon per inch (1 inch ≈ 2.54 cm; 1 US gallon ≈ 3.785 L → 3.785 / 2.54 ≈ 1.49 L/cm, but the rule is typically rounded up to ~2.7 L/cm to apply a safety margin and account for displacement by substrate, rocks, and decorations)
  • > ⚠️ Important: This formula gives a minimum baseline. Species-specific needs, swimming behavior, aggression, and filtration capacity must also be factored in.

    ---

    Reference Table

    Fish SpeciesAdult Length (cm)Min. Tank (1 fish)Notes
    Betta splendens6–7 cm~19 L (5 gal)Solitary; needs surface air access
    Neon Tetra3–4 cm~11 L (3 gal)Schooling; keep 6+ minimum
    Common Goldfish15–30 cm~75 L (20 gal)Produces heavy waste; needs strong filtration
    Guppy3–6 cm~38 L (10 gal)Fast breeders; overcrowding risk
    Oscar Cichlid30–35 cm~208 L (55 gal)Aggressive; needs large territory
    Clownfish8–11 cm~75 L (20 gal)Saltwater; needs anemone space
    Plecostomus30–50 cm~208 L+Often undersized by beginners
    Zebra Danio4–5 cm~40 L (10 gal)Active swimmers; need horizontal space

    Sources: widely referenced aquarium husbandry guides and university extension publications.

    ---

    Typical Case Examples

    Example 1 — Beginner Community Tank


    A beginner wants to keep 10 neon tetras (avg. 3.5 cm each):
  • Required volume = 3.5 cm × 10 × 2.7 = 94.5 L (≈25 gallons)

  • A standard 100 L tank is the minimum; a 120 L tank is recommended to account for decor and substrate displacement.
  • Example 2 — Single Betta Tank


    A single betta fish averaging 6 cm:
  • Required volume = 6 × 1 × 2.7 = 16.2 L

  • The fishkeeping community widely recommends a 19 L (5-gallon) minimum as the practical floor, slightly above the formula output.
  • Example 3 — Mixed Goldfish Tank


    3 common goldfish averaging 20 cm (adult size):
  • Required volume = 20 × 3 × 2.7 = 162 L (≈43 gallons)

  • Most beginners underestimate this, purchasing 30–40 L bowls — a critical error that leads to stunted growth and disease.
  • ---

    Common Mistakes

    1. Using current size instead of adult size: Fish grow. A 3 cm juvenile oscar will reach 30+ cm. Always use the adult body length in your calculation, not the size at purchase.
    2. Counting the bowl/tank's labeled volume as usable volume: A "100 L tank" loses 10–20% of effective water volume to substrate, rocks, filters, and decorations. Always size up by at least 15%.
    3. Applying the rule to goldfish or messy species without adjustment: Goldfish produce disproportionate ammonia relative to their body size. Many experts recommend 20 gallons for the first goldfish + 10 gallons per additional fish, far exceeding the basic formula.
    4. Ignoring swimming space vs. water volume: A tall, narrow column tank may hold the calculated liters but deny active horizontal swimmers (danios, barbs) the linear space they need. Tank footprint matters as much as volume.
    5. Assuming the rule applies equally to saltwater tanks: Marine aquariums require stricter stocking — generally 1 inch of fish per 5 gallons (≈13.5 L/cm) is recommended due to the complexity of reef ecosystems and lower biological filtration tolerance.

    ---

    Related Calculators

    Explore other useful tools on Hacé Cuentas:

  • Liters to Gallons Converter — quickly convert your tank volume between metric and US customary units

  • Square Meters Calculator — useful for calculating aquarium footprint area when planning tank placement

  • Unit Converter — convert fish lengths between inches and centimeters for use in this calculator

  • Frequently asked questions

    Is the '1 inch per gallon' rule accurate enough to rely on?

    It is a widely accepted minimum baseline, not a precise scientific standard. It works reasonably well for small, non-aggressive community fish (tetras, guppies, danios) but significantly underestimates needs for large, waste-heavy species like goldfish or cichlids. Use it as a starting point, then adjust for species-specific requirements, filtration capacity, and tank footprint.

    How much water does a fish actually need in liters?

    The metric equivalent of the classic rule gives approximately 2.7 L per centimeter of adult fish body length. So a 10 cm fish needs at minimum ~27 L of water. Goldfish are a notable exception — they require far more due to high ammonia output, with most experts recommending 75–110 L for a single adult common goldfish.

    Does the formula work for saltwater (marine) aquariums?

    No — marine tanks require stricter stocking rules. The commonly recommended guideline for saltwater fish is 1 inch of fish per 5 gallons (~13.5 L per cm), roughly five times the freshwater formula. Reef tanks with corals are even more sensitive to bioload, as biological filtration is more fragile. Always consult species-specific marine husbandry resources.

    What is the minimum tank size for a betta fish?

    The fishkeeping community and most veterinary references recommend a minimum of 19 L (5 US gallons) for a single betta. The formula gives ~16 L for a 6 cm betta, which is close but the 5-gallon floor is the practical standard. Smaller 'betta cups' sold in stores are holding vessels, not homes — they cause chronic stress and shortened lifespan.

    How do decorations and substrate affect the usable tank volume?

    Substrate, rocks, driftwood, filters, and heaters typically displace 10–20% of the labeled tank volume. A tank sold as 100 L may have only 80–90 L of actual water. Always calculate your stocking needs based on labeled volume and then purchase a tank at least 15% larger than the minimum volume the formula returns.

    How many fish can I keep in a 100-liter (26-gallon) tank?

    Using the formula in reverse: 100 L ÷ 2.7 L/cm ≈ 37 cm total fish length. For neon tetras averaging 3.5 cm, that's roughly 10–11 fish. For goldfish averaging 20 cm, that's just 1–2 fish — far fewer than most beginners expect. Species selection dramatically changes stocking capacity.

    Does tank shape matter, or just the volume?

    Tank shape matters significantly. Tall, narrow tanks may hold the calculated liters but offer limited horizontal swimming space, which stresses active species like danios, barbs, and livebearers. Wide, rectangular tanks are preferred because they maximize surface area (critical for oxygen exchange) and swimming lanes. The surface area rule of thumb is 12 cm² of surface per 1 cm of fish for adequate oxygenation.

    What happens if a fish tank is overstocked?

    Overstocking leads to: (1) ammonia and nitrite spikes as the biological filter is overwhelmed, causing chemical burns to fish gills; (2) oxygen depletion, especially at night when plants consume O₂; (3) increased disease transmission due to physical proximity and stress-suppressed immune systems; and (4) stunted growth in fish like goldfish, which release growth-inhibiting hormones that accumulate in small volumes. These outcomes are well-documented in aquatic veterinary literature.

    Sources and references