Aquarium volume calculator

Inside dimensions in. Gallons, liters, and water weight out — for rectangular, bow-front, cylindrical, and hex tanks.

Volume calculatorno decor · 0.0″ sub

Working volume

25.7gal

97.3 L · 28.1 gal gross · 234 lb water

L · 30H · 18W · 12
Adjust
Tank shape
in
in
in

Total tank height. Fill-below-rim and substrate depth come below.

Working volume adjustments

in

Inches of air between waterline and rim. Most tanks are filled 1–2 inches below the rim.

in

Sand or gravel bed at the bottom. Displaces water 1:1.

Hardscape (rocks, driftwood, decor)

Estimates how much water the rocks, wood, and ornaments displace from the working volume. Stocking math runs against the result, so this is a planning input, not a precise measurement.

None (0%): bare tank · Light (~2%): a few small ornaments · Medium (~5%): rock pile or large wood · Heavy (~10%): aquascape with substantial stone/wood

Glass & outside footprint

Dimensions you entered are

Most spec sheets and product listings publish OUTSIDE dimensions; the actual water column is smaller by 2× the glass thickness on each axis. Switch this to Outside if you measured the OD or are reading from a manufacturer page.

Glass thickness · 7.9 mm (0.313 — auto from height)

Default uses the FTM height-driven recommendation (18″ tall = 7.9 mm at SF ~3.8). Why height & not gallons →

Outside footprint~30.6″ × 12.6″ × 18.3Add 2× glass thickness to your inside dims for stand sizing.

Common aquarium sizes: gallons, litres, and water weight

Manufacturer tank labels are nominal — “20 gallon” is the outside-dimension geometry, not what the tank actually holds once glass thickness, an inch or two of air below the rim, and a shallow substrate bed are accounted for. Stated gal converts cleanly to litres (1 US gal = 3.785 L) and water weight (1 US gal = 8.34 lb / 3.79 kg). The working column below assumes a light setup (1.5″ air gap, shallow substrate, no aquascape); heavier setups land lower — see “Why box gallons lie” further down for the stacked math.

Stated sizeOutside (in)Stated gal~LitresWater lb / kgWorking ~gal
10 gallon20 × 10 × 1210~3883 / 38~9
20 high24 × 12 × 1620~76167 / 76~17
20 long30 × 12 × 1220~76167 / 76~17
29 gallon30 × 12 × 1829~110242 / 110~26
40 breeder36 × 18 × 1640~151334 / 151~37
55 gallon48 × 13 × 2155~208459 / 208~50
75 gallon48 × 18 × 2175~284626 / 284~70

Water weight is for fresh water only — saltwater is ~2.5% denser. For full setup weight including glass, stand, and substrate, use the water weight calculator. For a side-by-side of two specific tanks, use compare tanks.

Use inside dimensions, not outside

Manufacturer-stated tank gallons are computed from outside dimensions. Glass thickness (1/4" on small tanks, up to 5/8" on larger ones), the 1–2 inches of air below the rim, and substrate displacement reduce the actual water volume by 10–20%. A “20-gallon long” sold at 30 × 12 × 12 actually holds about 17 gallons of water once it's set up. Use water height (not tank height) and inside dimensions for accurate stocking, dosing, and water-change math.

Why box gallons lie

Three layers of error stack between the "20 gallons" printed on the box and the water you're actually treating with dechlorinator:

  1. Outside-vs-inside dimensions.A 20-long's stated 30 × 12 × 12 outside reduces to roughly 29.5 × 11.5 × 11.5 inside once you subtract glass thickness on each face. That alone cuts volume by ~7%. The calculator's Inside / Outside toggle handles the conversion automatically; see glass thickness by water column height for the height-driven recommendation.
  2. Fill below the rim. Most aquarists fill 1–2 inches below the top edge to leave room for the lid, surface agitation, and to prevent splash-out. On a 12-inch-tall tank, 1.5 inches of air gap is another 12.5% reduction in usable height.
  3. Substrate + hardscape displacement. Two inches of substrate over a 30 × 12 footprint displaces ~3 gallons of potential water. A medium aquascape adds another 5% loss.

Two reasonable readings show up depending on setup. The compact top-of-page table assumes a light setup (1.5″ air gap, shallow substrate, no aquascape) and lands a 20-long around ~17 working gallons. A heavier setup — 2″+ air gap, 2″+ substrate, a medium-rock aquascape — stacks all three losses: stated 20 → ~17 inside-dimensions → ~14.5 after fill drop → ~13 working volume. That's why the calculator surfaces both gross (geometric capacity) and working (what you actually treat) numbers — for the same tank, the two can differ by 30%+.

Working volume vs gross volume

The headline of the calculator is working volume— that's the number to use for dosing chemicals (dechlorinator, ferts, medication) and for sizing weekly water changes. Gross volume only shows up for floor-load planning, where the geometric capacity matters because the tank weighs the same whether you put substrate in it or not.

Most online aquarium calculators only report a single "volume" number (typically gross). That's fine if you understand the gap, fragile if you don't. Beginner stories of overdosing medication usually trace back to dosing for the box gallons, not the working gallons.

Formulas this calculator uses

Where this calculator falls short

Where volume feeds the rest of the math

Volume is the gateway input for almost every other tank-sizing decision. Once you have it, here's where it goes next.

Setup math from this volume

Once it's running

If something goes wrong

Sources: NIST gallon definition (1 US liquid gallon = 231 cubic inches, exact), Aqueon and Marineland published tank spec sheets for standard sizes, peer-reviewed aquaculture literature on substrate-displacement effects. Working-volume math layer in lib/aquarium/tankVolume.ts on GitHub.

Ask a FishTankMath question

Quick answers about aquarium math, how the calculators work, and common freshwater questions. Free, no signup. Not veterinary advice — for sick fish or tank emergencies, talk to an aquatic vet or your local fish store.

Hi, I'm the FishTankMath assistant. I answer questions about aquarium math (volume, water changes, stocking, dosing), how the calculators on this site work, and common freshwater-fishkeeping basics. I'm not a veterinarian — I can't diagnose or treat sick fish. For emergencies or sick livestock, talk to an aquatic vet or your local fish store.