Skip to content

Aquarium Volume Calculator

Work out aquarium volume in litres or gallons for six tank shapes, then subtract substrate and the gap below the rim to get the water you actually have — with weight, footprint and both gallon types.

  • Metric (litres, kg)
  • Imperial (US gal, lb)
Optional: substrate & water-level adjustments
  • cm
  • mm
  • in
  • cm
  • mm
  • in

Results

Water volume
0 L
— US gal · — Imp gal

Enter tank dimensions to calculate the water volume.

Gross volume (no substrate)
Water weight
Footprint area
Substrate volume

Quick Answer

Aquarium volume depends on the tank shape, and the water you actually have depends on substrate and how far below the rim you fill. A "20 gallon long" measures 30 × 12 × 12 in, which is 70.8 L or 18.7 US gallons gross — and only 53.4 L (14.1 US gallons) once a 5 cm substrate bed and a 2.5 cm rim gap are subtracted, 24.6% less. Dosing that tank against its label would be 41.8% too much.

How to Use the Aquarium Volume Calculator

Pick the shape first — the input fields change to match it — then enter the measurements. Everything recalculates as you type.

  1. Choose the tank shape. Rectangular, cube, cylinder, bowfront, hexagonal or corner. Each one asks for different dimensions, so a cylinder wants a diameter and a height while a hexagon wants a side length.
  2. Enter the dimensions. Every field carries its own unit picker — mm, cm, m, inches or feet — and switching a picker converts the number already typed instead of clearing it.
  3. Or tap a standard size. With the rectangular shape active you get quick-fill chips for the common US glass tanks, from 5 gal up to 75 gal, in inches.
  4. Add substrate depth and how far below the rim you fill. These two fields are what separate the water you will actually have from the box’s raw capacity, and they default to zero.
  5. Read the result. The headline is net water volume, with US and imperial gallons underneath, plus gross volume, water weight, footprint area and the volume your substrate occupies.

The Six Shapes and Their Formulas

ShapeInputsVolume formula
RectangularLength, height, widthV = L × W × H
CubeSide lengthV = side³
CylinderDiameter, heightV = π × (d ÷ 2)² × H
HexagonalSide length, heightV = (3√3 ÷ 2) × side² × H
CornerRadius, heightV = (π × r² ÷ 4) × H
BowfrontLength, height, side width, bow depthV = (L × W × H) + (⅔ × L × bow × H)

The bowfront is an approximation, and deliberately so. The curved front is treated as a segment of area ⅔ × chord × depth, which is exact for a parabola and very close for the shallow curves real bowfronts use. On a 120 × 40 × 55 cm tank with a 12 cm bow, the curve adds 52.8 L to the 264 L rectangular part — 20% more water than measuring the tank as a plain rectangle would suggest.

Worked Example: a “20 Gallon Long”

A 20 long measures 30 × 12 × 12 inches. Here is what the calculator does with it, and where the label starts to mislead.

  1. Gross volume. 30 × 12 × 12 in works out to 70.8 L, which is 18.7 US gallons — already 6.5% under the name on the box.
  2. Subtract the substrate. The footprint is 2,323 cm². A 5 cm sand bed displaces 11.61 L.
  3. Subtract the rim gap. Nobody fills to the very top; 2.5 cm below the rim removes another 5.81 L.
  4. Net water. 53.4 L, or 14.1 US gallons24.6% less than the gross figure and nearly six gallons short of the label.
  5. Weight. That water alone is 53.3 kg (117.4 lb), before glass, stand, rock or substrate.

That gap matters for anything dosed by volume. Medication, fertiliser and water conditioner measured against “20 gallons” would be 41.8% overdosed in a tank actually holding 14.1.

Standard Tank Sizes: Nominal vs Actual

Tank names are marketing labels, not measurements, and they miss in both directions. These are the calculator’s own quick-fill sizes, computed as gross volume before any substrate:

Sold asL × W × H (in)LitresUS galImp galvs the label
5 gal16 × 8 × 1021 L5.54.6+10.8%
10 gal20 × 10 × 1239.3 L10.48.7+3.9%
20 long30 × 12 × 1270.8 L18.715.6−6.5%
29 gal30 × 12 × 18106.2 L28.123.4−3.3%
40 breeder36 × 18 × 16169.9 L44.937.4+12.2%
55 gal48 × 13 × 21214.7 L56.747.2+3.1%
75 gal48 × 18 × 21297.3 L78.565.4+4.7%

A “40 breeder” is the outlier in the generous direction at 44.9 US gallons, while the 20 long is the one most people over-estimate. Measure your own tank rather than trusting the name — and remember every figure in this table is still gross, before a single gram of substrate goes in.

Why Substrate and Rim Offset Change the Answer So Much

Both losses are footprint × depth, which is why they bite hardest in shallow, wide tanks: the same 5 cm bed costs proportionally far more water in a 30 cm deep tank than in a 60 cm one. On the 20 long above, 7.5 cm of combined substrate and air removed almost a quarter of the volume.

Holding the same 20 long and the same 2.5 cm rim gap, and changing only the substrate depth:

Substrate depthSubstrate volumeNet waterUS galLost vs gross
0 cm (bare bottom)0 L65 L17.28.2%
2 cm4.65 L60.3 L15.914.8%
5 cm11.61 L53.4 L14.124.6%
8 cm18.58 L46.4 L12.334.4%
10 cm23.23 L41.8 L1141%

Even a bare-bottom tank loses 8.2% to the rim gap alone. A deep aquascaping bed of 10 cm takes the same 70.8 L box down to 41.8 L — the tank now holds 11 US gallons and is still sold as a 20. Above 10 cm the calculator flags the depth as unusual, since that territory belongs to planted aquascapes rather than general fishkeeping.

That works in reverse when you are buying rather than dosing. The same 5 cm bed is 11.61 L of material, and because substrate is sold by weight that comes to 18.60 kg of gravel — or 14.88 kg if you use a planted aquasoil, which is lighter per litre. The aquarium substrate calculator works that side of the problem, turning a footprint and a bed depth into kilograms and whole bags.

Dose against net volume, never the label. This is the single most useful reason to run the numbers. Rock, wood and equipment displace water too, so if your tank is heavily hardscaped, treat even the net figure as an upper bound.

What the Water Alone Weighs

The calculator uses 0.998 kg per litre, water’s density at normal room temperature. It is the number that decides whether your floor and cabinet are adequate:

Water volumeUS gallonsWeight
20 L5.320 kg (44 lb)
50 L13.249.9 kg (110 lb)
100 L26.499.8 kg (220 lb)
200 L52.8199.6 kg (440 lb)
300 L79.3299.4 kg (660 lb)
450 L118.9449.1 kg (990 lb)

Glass, stand, substrate and rock typically add another 20–30% on top. Above 1,000 litres of net water the calculator raises a warning with the weight spelled out, because at that point the cabinet and the floor matter more than the fish do. If you are building the tank rather than buying it, the aquarium glass thickness calculator sizes the panes for the same dimensions, and the general volume calculator handles shapes outside the six here.

US Gallons, Imperial Gallons and Litres

The two gallons are genuinely different units, and aquarium listings rarely say which one they mean. The imperial gallon is defined in UK law as exactly 4.54609 cubic decimetres — see Schedule 1 of the Weights and Measures Act 1985 — while the US liquid gallon is 231 cubic inches, or 3.785411784 litres, listed among the NIST conversion factors.

That makes an imperial gallon 20.1% larger. A tank advertised as 55 gallons holds 214.7 L, which is 56.7 US gallons but only 47.2 imperial — so a UK buyer reading an American listing as imperial would over-estimate the tank by a fifth. The calculator shows both figures side by side underneath the main result for exactly this reason. Water temperature also shifts density slightly; if you are converting heater settings while you are at it, the centigrade to fahrenheit converter covers that.

Frequently Asked Questions

For a rectangular tank, multiply length × width × height in centimetres and divide by 1,000. A 60 × 30 × 50 cm tank is 90 litres. The calculator does this for six shapes and then subtracts substrate and the gap below the rim to give the water you will actually have.

A 20 long measures 30 × 12 × 12 inches, which is 70.8 litres gross — 18.7 US gallons, not 20. With 5 cm of substrate and filled 2.5 cm below the rim it holds about 53.4 litres of actual water, or 14.1 US gallons.

Tank names are rounded marketing labels rather than measurements, and they err both ways — a 40 breeder is really 44.9 US gallons while a 20 long is 18.7. On top of that, substrate and the unfilled gap below the rim commonly remove another 20–25%.

Net, always. Dosing a 20 long against its label when it actually holds 14.1 US gallons of water means 41.8% too much. Rock and wood displace more water still, so treat the net figure as an upper bound in a heavily hardscaped tank.

Water is 0.998 kg per litre, so 100 L is 99.8 kg and 300 L is 299.4 kg. Glass, stand, substrate and rock usually add another 20–30% on top of that, and all of it sits on a small footprint — check the floor as well as the cabinet.

An imperial gallon is 4.54609 litres and a US liquid gallon is 3.785411784 litres, making the imperial gallon 20.1% larger. A 214.7 litre tank is 56.7 US gallons but only 47.2 imperial, so the label’s origin matters.

As a rectangle plus the curved front, where the curve is treated as a segment of area ⅔ × length × bow depth. On a 120 × 40 × 55 cm tank with a 12 cm bow that curve adds 52.8 L to the 264 L rectangular part — about 20% more water than treating it as a plain rectangle.

Footprint area × depth. On a 20 long, whose footprint is 2,323 cm², a 5 cm bed displaces 11.61 litres — about 16% of the tank. Shallow, wide tanks lose proportionally more than tall ones to the same depth of substrate.
Made with care

Want a calculator
built just for you?

Share the formula, the inputs, and who it's for — most reader-requested calculators ship within 14 days.

Calculator illustration