Skip to content
RK Calculator
Menu

Tank Volume Calculator

Find the capacity of a tank in gallons and liters, and how much is in it at a fill depth, for cylindrical, oval, capsule, rectangular and spherical tanks.

Change the values and press Calculate to work out your own figures.

Choose the shape, enter its sizes and (optionally) the fill depth.

About tank shapeThe tank's shape.
About lengthSize of this dimension.
About widthSize of this dimension.
About height or depthSize of this dimension.
About diameterSize of this dimension.
About fill depth (optional)How deep the liquid is, measured from the bottom.
Result
Tank capacity
317.26 gal
Filled volume
158.63 gal (600.48 L, 50% full)
Capacity (liters)
1,200.96 L
Capacity (cubic feet)
42.41 cu ft

The tank holds 317.26 US gallons; filled to that depth it has 158.63 gallons.

Show the working
  1. capacity = the shape's volume; US gallon = 231 cubic inches

How to use it

Choose the shape, enter its sizes and (optionally) the fill depth.

Lengths can be decimals, fractions or tape entries such as 12' 6 1/2" (in feet or inches). Prices are optional.

Key facts

cylinder = π r² L; sphere = 4/3 π r³; capsule = π r² L + 4/3 π r³
partly filled horizontal cylinder: L × (r² acos((r − d)/r) − (r − d)√(2rd − d²))

Oval tanks

An oval tank here has a flat-sided cross-section with round ends (a stadium shape), the usual shape for fuel-oil tanks.

Gallons

A US gallon is exactly 231 cubic inches (3.785411784 L).

Questions

How many gallons in a 36 × 72 in cylinder?

317.26 US gallons.

How much is in it half full?

Half: 158.63 gallons.

Formulas

cylinder = π r² L; sphere = 4/3 π r³; capsule = π r² L + 4/3 π r³
partly filled horizontal cylinder: L × (r² acos((r − d)/r) − (r − d)√(2rd − d²))

Sources

Limitations

  • Material densities are typical values (the midpoint of the commonly published range); real loads vary with moisture, grading and compaction, so check with your supplier or type in their density.
  • Tank results are the geometric volume; real tanks have wall thickness and fittings.

Formula version 0.1.0Reviewed