Tank Volume Calculator

1. Choose your tank

Tank type · 14 shapes

Horizontal cylinder · 2:1 elliptical heads

All dimensions use the selected unit. Changing units converts your entries.

2. Tank volumes

Enter your dimensions and select Calculate volume.

Choose the shape that matches your tank

Elliptical tank: an oval cross-section that stays constant along a straight length, with flat ends. Elliptical heads: curved end caps on a circular cylinder. These are different geometries and give different volumes.

Spheroid: a fully rounded vessel with two equal horizontal axes. A short, wide vessel is oblate; a tall, narrow vessel is prolate. For unequal horizontal axes, use the three-axis ellipsoid. These choices have no straight shell section.

Oval tank: straight sides joined by semicircles, as in a stadium-shaped section. Enter width and height to describe either a wide or tall oval. Rounded rectangular tanks with four corner radii are a different shape.

Cone bottom: a cylindrical tank above a full cone. Enter straight shell height and cone height separately. The standalone cone remains available at the bottom of the list for that less common geometry.

Dimensions and head conventions

  • All dimensions are internal. Enter full diameters and axis lengths, not radii.
  • Headed cylinders have two identical heads. Ideal 2:1 elliptical heads have depth D/4 each; hemispherical heads have depth D/2 each.
  • For headed cylinders, L or H is only the straight cylindrical portion. Include straight head flanges there; exclude the curved head depths. The displayed overall dimension adds both heads.
  • Liquid level is measured vertically from the lowest internal point, including the bottom head or cone. Horizontal tanks must be level.

Equations

Let r = D/2, h = liquid height, and u = h/Htotal. Define F(u) = 3u² − 2u³ and circular-segment area A(r,h) = r² arccos((r − h)/r) − (r − h)√(2rh − h²).

GeometryTotal capacityPartial-fill method
RectangularLWHLWh
Vertical cylinder, flatπr²Hπr²h
Horizontal cylinder, flatπr²LL A(r,h)
Elliptical cross-sectionπWHL/4Scale a circular segment: L(W/H) A(H/2,h).
Oval cross-sectionL[πs²/4 + s(b − s)], s = min(W,H), b = max(W,H)Sum the circular segments and filled straight-sided section.
SpheroidπD²H/6Total capacity × F(h/H)
Three-axis ellipsoidπLWH/6Total capacity × F(h/H)
SphereπD³/6Total capacity × F(h/D)
Cylinder with two headsπr²S + 4πr²z/3S is straight shell length or height; z is each head depth. Horizontal: L A(r,h) + (4πr²z/3)F(h/D). Vertical: sum the filled bottom head, straight shell, and top head.
Vertical head, from its lowest tip2πr²z/3 per headBottom cap B(q) = πr²z[(q/z)² − (q/z)³/3], 0 ≤ q ≤ z. In the top head, subtract the empty top cap from total vessel capacity.
Cylinder with cone bottomπr²(H + C/3)For h ≤ C: πr²C(h/C)³/3. Above the cone: πr²C/3 + πr²(h − C).
Standalone coneπr²H/3Total capacity × (h/H)³

Calculations model the stated ideal geometry. Ellipsoidal and hemispherical heads are not torispherical (flanged-and-dished) heads. Torispherical heads, truncated cones, domed roofs, tilted tanks, wall thickness, nozzles, internal obstructions, and operating headspace are not included. Use an actual calibration table when those details affect inventory accuracy.

References: Neutrium: horizontal vessel and head volumes; vertical vessel and head volumes; Wolfram MathWorld: ellipsoid. Ellipsoid partial-fill and oval formulas follow by integrating horizontal slices.

Equation values and input guide

Choose the exact tank geometry, then follow the shape-specific dimension labels and illustration. Enter internal dimensions and vertical liquid level from the lowest inside point. Use the result as geometric capacity before allowances for internals or operating headspace.

L, W, H, D
Internal length, width, height and diameter as specified for the chosen shape, all in the selected length unit. For headed cylinders L or H is straight shell only.
h, r
Vertical fill height and radius r = D/2. h is measured from the lowest internal point, including any lower head or cone.
S, z, C
Straight cylindrical shell length/height, depth of each curved head, and cone-bottom height. For ideal 2:1 elliptical heads z = D/4; hemispherical heads use z = D/2.
u, F(u)
Dimensionless fill fraction of total vertical height and the dimensionless function 3u² − 2u³ used for rounded shapes. It is not the fill law for every tank shape.
A(r,h)
Filled circular-segment area; arccos is evaluated in radians. Multiply this area by straight length for a horizontal cylindrical shell.
q, B(q)
Depth into a curved head measured from its lowest tip and corresponding cap volume; q is a length here, not flow.
s, b
Smaller and larger cross-section dimensions used in the oval capacity formula.
Volume filled, remaining space
Liquid volume divided by total capacity as a percentage, and total capacity minus liquid volume. The latter does not reserve operating headspace.

Use the unit selectors beside the inputs. Units shown in the equations must be consistent when checking the math by hand.