Tank Volume Calculator

Total and filled volume of vertical cylinder, horizontal cylinder or rectangular tanks in gallons and liters from liquid depth.

Inside diameter.
Measured from the inside bottom. Set equal to the height (or diameter, for a horizontal tank) to see a full tank.

Results

Liquid volume
282.01
Liquid volume in liters
1,067.52
Total tank capacity
564.02
Total capacity in liters
2,135.04
Remaining space
282.01
Percent full
50.0 %

How it’s calculated

Vertical cylinders and rectangular tanks fill linearly: the liquid volume is the base area times the depth. A horizontal cylinder does not, because the liquid's cross-section is a circular segment.

Vertical cylinder: V = π r² × depth Rectangular: V = L × W × depth Horizontal cylinder (radius r, length L, depth h): A = r² arccos((r − h) ÷ r) − (r − h) √(2rh − h²) V = A × L 1 US gal = 231 in³ = 3.785411784 L

Example (horizontal): r = 1 m, L = 3 m, depth 0.5 m. A = 1 × arccos(0.5) − 0.5 × √(1 − 0.25) = 1.0472 − 0.4330 = 0.6142 m², so V = 1.8426 m³ ≈ 1,843 L, only 19.5% of the 9,425 L capacity even though it is 25% of the depth.

Real tanks may have domed or dished ends, internal fittings or sloped bottoms. Treat results as estimates.

Frequently asked questions

Why is a horizontal tank half full at half depth, but not a quarter full at quarter depth?

The tank is narrow at the bottom and widest in the middle, so each inch of depth near the bottom holds less liquid than an inch near the centre. Only at exactly half depth is it half full.

How do I measure liquid depth?

Lower a clean stick or tape to the bottom of the tank through the fill opening, then read the wet mark.

Does this include domed tank ends?

No. It assumes flat ends. Domed or elliptical heads add extra volume; check the manufacturer’s capacity chart for exact figures.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Spotted a mistake or missing option? Report a problem · GitHub issue· Suggest a calculator