Skip to main content

Aquarium Water Volume: How to Calculate Real Fish Tank Gallons and Liters

Calculate aquarium water volume in gallons and liters with the length x width x height formula, why real volume runs lower than tank size, and the inch-per-gallon stocking rule.

Published By Li Lei
#aquarium #fish tank #calculator #stocking #water volume

Aquarium Water Volume: How to Calculate Real Fish Tank Gallons and Liters

Every aquarium decision starts with one number: how much water the tank actually holds. Dosing medication, choosing a heater wattage, sizing a filter, working out how many fish you can keep — all of it keys off the water volume. And almost every beginner gets it wrong, because the number printed on the box and the number of liters swimming in front of your fish are not the same thing.

I have made this mistake myself. I dosed a "20 gallon" tank for 20 gallons of medication, watched the fish gasp, and only later worked out that with two inches of gravel and a chunky piece of driftwood, the tank held closer to 16 gallons of actual water. The dose was 25% too strong. That experience is why I am writing this down: the math is simple, but the corrections matter.

The basic formula: length × width × height

A rectangular tank's volume is just the box volume of the water it can hold. Measure the inside dimensions in inches, multiply them, and divide by the magic constant 231 — the number of cubic inches in one US gallon.

gallons = (length_in × width_in × height_in) / 231

For liters, the constant is 1000 cubic centimeters per liter, so if you measure in centimeters:

liters = (length_cm × width_cm × height_cm) / 1000

If you already have gallons and want liters, multiply by 3.785. One US gallon is 3.785 liters, so a 50 gallon tank is about 189 liters. The fish tank calculator handles both unit systems and the conversion in one pass, but it is worth being able to do it on a napkin at the store.

One detail trips people up: use the water height, not the full glass height. Tanks are never filled to the brim. You leave an inch or so of freeboard at the top for the rim, the lid, and to keep skittish fish from jumping out. If your tank is 18 inches tall, you are realistically filling to about 16.5 inches. That alone shaves nearly 10% off the box-volume figure.

A worked example: the classic 36 × 18 × 18 tank

Take one of the most common tank footprints in the hobby — 36 inches long, 18 inches wide, 18 inches tall, the dimensions of a standard "50 gallon" aquarium.

Run the box-volume math first:

36 × 18 × 18 = 11,664 cubic inches
11,664 / 231 = 50.5 gallons

So the marketing label is honest about the glass. The tank, filled edge to edge to the very top, holds about 50 gallons. But you will never run it that way.

Why real water volume is always less

Three things eat into that 50 gallon figure, and they add up fast.

Glass thickness. The 36 × 18 × 18 measurement is usually the outside dimension. On a tank this size the glass is around 8 to 10mm thick, which quietly steals a fraction of an inch on every interior wall.

Substrate. Gravel or sand sits on the bottom. A two-inch sand bed in a 36 × 18 footprint displaces roughly 36 × 18 × 2 = 1,296 cubic inches, or about 5.6 gallons of water gone before a single fish goes in.

Decor and equipment. Rocks, driftwood, large ornaments, and the submerged body of an internal filter or heater all push water aside. A medium piece of dragon stone or a chunky bogwood root can easily account for another 2 to 4 gallons.

Add the freeboard you leave at the top and the picture is clear. The rule of thumb most experienced aquarists use is to subtract 10 to 15% from the box-volume figure to estimate real water volume:

real_gallons ≈ box_gallons × 0.85   (to)   box_gallons × 0.90

For our 50 gallon tank, that lands the true water volume somewhere between 42 and 45 gallons. That is the number you dose against, the number you stock against, and the number you should write on a sticky note on the side of the tank. If you run a heavily aquascaped tank with a deep substrate and lots of hardscape, lean toward the bottom of that range — I have seen "50 gallon" planted tanks hold barely 38 gallons of water.

How many fish can the volume hold?

Once you know your real water volume, the next question is stocking. You have probably heard the old shorthand: one inch of fish per gallon of water. As a sanity check for small community fish it is not useless — ten 1-inch tetras in a 12 gallon tank is roughly in line with it. But it falls apart the moment fish get bigger, because waste output scales closer to body mass than to length.

A single 12-inch fish and twelve 1-inch fish both total 12 inches, yet the big fish produces dramatically more ammonia, eats more, and needs far more swimming room. A 12-inch goldfish in a 12-gallon tank is a death sentence; twelve neon tetras in the same tank are fine. So treat the inch-per-gallon rule as a loose ceiling for small, peaceful species and ignore it entirely for anything over about 4 to 5 inches.

For real stocking, the better approach is per-species water requirements that account for adult size, waste load, and territory. A common goldfish needs around 20 gallons for the first fish, not one. A betta is happy in 5 gallons but must live alone. Schooling species like corydoras or harlequin rasboras need six or more of their own kind, which changes the math from "how many inches" to "how many groups fit." The fish tank calculator builds stocking from that species data and flags overstocking, temperament clashes, and parameter mismatches — the failures the inch rule cannot see.

Volume drives your running costs too

The water volume number quietly sets your budget. A bigger tank needs a stronger heater and more light, and those run every day. If you want to see what a heater and filter add to your power bill before you commit to a larger tank, run the wattage through the electricity cost calculator — a 200-watt heater cycling through a cold-water winter is not a rounding error.

The quick checklist

  1. Measure the inside length, width, and water height in inches.
  2. Multiply them and divide by 231 for gallons (or use centimeters and divide by 1000 for liters).
  3. Subtract 10 to 15% for substrate, decor, glass, and freeboard to get real water volume.
  4. Stock against per-species requirements, not raw inches per gallon.
  5. Write the real volume on the tank so you never over-dose again.

Get the volume right and everything downstream — dosing, filtration, heating, stocking — falls into place. Get it wrong and you are guessing with live animals. The arithmetic takes thirty seconds; the fish live for years.


Made by Toolora · Updated 2026-06-13