Home · Math · Solid Geometry · Tank Volume Calculator

Tank Volume Calculator

Capacity and current contents of a vertical cylinder tank or a rectangular tank, from its size and fill height.

Your figures

Example result — edit the figures to make it yours

6.283

Contents (cylinder)

Full capacity (cylinder)9.425 cu m

What this calculator does

Capacity and current contents of a vertical cylinder tank or a rectangular tank, from its size and fill height. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Cylinder: pi (d/2)^2 x fill; rectangle: L x W x fill

Pick the tank shape. A vertical cylinder's contents are pi (d/2)^2 times the fill height (D3 is unused); a rectangular tank's are length x width x fill height, using D1=length, D2=width. Full capacity replaces the fill height with the full height. Dimension guide: a cylinder uses D1=diameter and D2=height (D3 unused); a rectangle uses D1=length, D2=width and D3=height.

Fill height is measured from the inside bottom. Horizontal tanks and dished ends are not covered - their contents are not proportional to fill height.

Worked example

With the example inputs this page opens with (d1: cylinder diameter / rect length (m) 2, d2: cylinder height / rect width (m) 3, d3: rect height (m) 1.5, fill height (m) 2), the result is 6.283 — contents (cylinder). Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying d1: cylinder diameter / rect length (m)
D1: cylinder diameter / rect length (m)Contents (cylinder)
11.571
1.64.021
26.283
2.59.817
314.137
425.133

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Tank Volume Calculator work?

Capacity and current contents of a vertical cylinder tank or a rectangular tank, from its size and fill height. Shape - Dimensions - Fill height -> Contents volume. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Tank Volume Calculator need?

Shape - Dimensions - Fill height -> Contents volume. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Tank Volume Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.