Skip to content
BuildNumerics

Tank Volume Calculator

Tank capacity is the inside volume: π × (diameter ÷ 2)² × height for a vertical cylinder, the same with length for a horizontal one, and length × width × height for a rectangular tank. A vertical tank 48 in across and 6 ft tall holds 75.4 ft³ — about 564 US gallons. For pipework, use the Pipe Volume Calculator.

How it's calculated: Cylinder: V = π × (diameter ÷ 2)² × height or length; rectangle: V = L × W × H; 1 ft³ ≈ 7.48 US gallons.

Inputs

Result appears here

Fill in the fields and press Calculate.

Formula, calculation, assumptions and sources

Vertical cylinder: V = π (d/2)² h Horizontal cylinder: V = π (d/2)² L

Rectangular: V = L × W × H Oval: V = (π (w/2)² + w·(H−w)) × L

Horizontal cylinder partial fill uses the circular-segment area A = r²(θ − sin θ)/2

Run the calculation to see each step with your own numbers.

About the Tank Volume Calculator

The Tank Volume Calculator gives a tank's full capacity and its volume at a chosen fill depth, for a vertical or horizontal cylinder, a rectangular tank, or a horizontal oval. The partial-fill maths matters most for a horizontal cylinder, where the volume at a given depth follows a curve rather than a straight line. Dimensions are treated as the inside of the tank.

What you enter

  • Tank shape
  • Diameter
  • Height
  • Diameter
  • Length
  • Length
  • Width
  • Height
  • Width (minor axis)
  • Height (major axis)
  • Length
  • Fill depth — Leave 0 for the full capacity. For a horizontal cylinder, measured from the bottom.

What you get back

  • Full capacity — the exact result of the calculation.
  • Volume at fill depth — Shown only when you enter a fill depth.

The formula, a worked example, the assumptions behind it and the sources are shown in full below the calculator.

Related calculators

Part of the Water & Volume calculators.