Home · Aquarium & Pets · Cylinder Tank Volume Calculator

Cylinder Tank Volume Calculator

The inside diameter and height of a round tank, and the water level you run it at — get the volume at that level and the full capacity, in gallons and litres. Results update as you type.

Common cylinders

Your cylinder

Units

Example result — edit any value to make it yours

Front view of the cylinder from your numbers: diameter across the top, height up the side, and the water level marked.
Cylinder view

A transparent cylinder from your dimensions — lower the water height and watch the level drop. Drag to rotate · scroll or pinch to zoom.

What this calculator is for

Round tanks, cylindrical sumps, barrels and quarantine tubs: any straight-sided cylinder where the rectangular length × width × height formula does not apply. It gives the volume at your real water level and the gross capacity to the rim, and the 3D view lets you watch the level move as you change it.

Formula and assumptions

Volume = π × (diameter ÷ 2)² × water height, in in³ ÷ 231 in³ per US gallon · Gross capacity uses the full inside height

The assumptions are plain geometry, stated openly: the tank is a full, straight cylinder measured on the inside, and the volume is theoretical — substrate, rock and equipment displacement is not deducted (enter a substrate depth and its share is reported separately, still not deducted). A half-cylinder tank is not an input option here: for a true half-cylinder, halve the full-cylinder result at the same diameter and water height, as the FAQ below sets out, and treat that halved figure as an approximation.

Reading your result

The big figure is the volume at your water level — the water actually in the cylinder. Gross capacity is the to-the-rim ceiling for comparing vessels. The level percentage and the Imperial-gallon line are there because cylinder volumes get quoted in all three; the units are always labelled, never merged. In the 3D view, the pale disc is the water surface — drop the water height and it follows.

Worked example

An 18 in diameter cylinder, 24 in tall, filled to the top: π × 9² × 24 = 6,107 in³, which is 26.44 US gallons (100.1 L, 22.01 Imperial gallons). Every figure is produced by the same tested function the calculator above runs.

Common mistakes

Using the diameter where the radius belongs in a hand calculation — the formula squares the radius, so the error is fourfold; this page takes the diameter and halves it for you. Measuring the outside of a thick-walled or curved vessel. Quoting the gross capacity as the water volume when the vessel runs below the rim. Assuming a bowed or tapered vessel is a straight cylinder — the formula is exact only for straight sides.

Quick reference: common cylinders filled to the rim

Computed by the same function as the calculator (inside dimensions, filled to the full height):

CylinderUS gallonsLitres
12 in dia × 18 in8.81 US gal33.4 L
18 in dia × 24 in26.44 US gal100.1 L
24 in dia × 24 in47.00 US gal177.9 L
24 in dia × 30 in58.75 US gal222.4 L
36 in dia × 36 in158.63 US gal600.5 L

Your water level will lower these figures proportionally — the calculator above uses your real numbers.

Common questions

How is a cylinder tank's volume worked out?

From the radius: π × r² × water height, in cubic inches, divided by 231 for US gallons. An 18 in diameter, 24 in tall cylinder filled to the top is π × 9² × 24 = 6,107 in³, which is 26.44 US gallons (100.1 L). Enter a lower water height and the same formula gives the volume at that level — volume scales linearly with height in a straight cylinder.

What about a half-cylinder (half-moon) tank?

This calculator computes a full cylinder only — there is no half-cylinder input. For a true half-cylinder tank (a full cylinder cut in half along its axis), the volume at the same diameter and water height is half the full-cylinder figure, provided the water height is measured the same way; halve the result and treat it as the approximation it is, since real half-moon tanks are rarely exact halves.

Inside or outside diameter?

Inside. The formula needs the diameter of the water column itself. Curved walls and thick acrylic make outside measurements misleading — on a thick-walled cylinder the outside diameter can overstate the volume by several percent. If you can only measure outside, subtract twice the wall thickness first.

Why are US and Imperial gallons both shown?

Because they are different units — 3.785 L against 4.546 L, about 20% apart — and equipment, dosing and advice cross between US and UK sources constantly. Every result on this page labels the two separately so a bare “gallons” never has to be guessed at.