Tank Volume & Fill Calculator

Tank Volume & Fill Calculator

Leading AI Skill PRO

Enter Calculation

For capsules, "Length (l)" is the cylindrical mid-section length (caps are added on top). For oval tanks, "Width (w)" is the long overall dimension and must be greater than or equal to the diameter.

Formula

V=πr2lVfill=l[r2arccos⁡(r−fr)−(r−f)2rf−f2]where{r=Diameter (d)2l=Length (l)f=Filled Depth (f)\begin{gathered} V = \pi r^{2} l \qquad V_{\text{fill}} = l\left[\, r^{2}\arccos\!\left(\frac{r-f}{r}\right)-(r-f)\sqrt{2rf-f^{2}}\,\right] \\[1.5em] \text{where}\quad \left\{ \begin{aligned} r &= \frac{\text{Diameter (d)}}{2} \\ l &= \text{Length (l)} \\ f &= \text{Filled Depth (f)} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Total Capacity
2,115.07
U.S. Gallons (full tank)
Unit Total Capacity Filled Volume
U.S. Gallons 2,115.07 1,057.53
U.S. Quarts 8,460.27 4,230.13
Imp. Gallons 1,761.16 880.58
Liters 8,006.4 4,003.2
Cubic Meters 8.0064 4.0032
Cubic Feet 282.74 141.37

Report an error on this page

What this calculator does

The Tank Volume & Fill Calculator computes two numbers for a storage tank: the total capacity when it is completely full, and the filled volume of liquid when it is partly full to a measured depth. It supports seven common shapes - horizontal cylinder, vertical cylinder, rectangle (box), horizontal and vertical oval (stadium cross-section), and horizontal and vertical capsule (a cylinder with hemispherical end caps). This is pure geometry, so it works anywhere in the world; the only regional detail is that results are shown in both U.S. and Imperial gallons side by side, plus liters, cubic meters, U.S. quarts and cubic feet.

Four tank shapes: cylinder, rectangle, oval and capsule with partial liquid fill
The calculator supports cylinder, rectangle, oval and capsule tank shapes.

How to use it

Pick the tank type, then enter the dimensions that apply to that shape. Each dimension has its own unit dropdown (inches, feet, yards, millimeters, centimeters or meters), so you can mix units freely - the calculator converts everything to meters internally. For cylinders and capsules, "Length (l)" is the axial length and "Diameter (d)" is the circle size; for capsules the length is the straight mid-section (the caps are added on top). For rectangles use length, width and height. For oval tanks, width is the long overall dimension and must be at least equal to the diameter. Finally, enter an optional "Filled Depth (f)" measured vertically from the bottom of the tank to see how much liquid is currently inside.

The formula explained

A full horizontal cylinder holds $$V = \pi r^2 l$$ When it is only partly full, the liquid forms a circular segment whose cross-sectional area is \(r^2\cdot\arccos\!\frac{r-f}{r} - (r-f)\cdot\sqrt{2rf - f^2}\); multiplying that area by the length gives the filled volume: $$V_f = \left[r^2\arccos\!\frac{r-f}{r} - (r-f)\sqrt{2rf - f^2}\right] l$$ Vertical tanks fill as a simple shorter prism, rectangles as \(\text{length} \times \text{width} \times \text{depth}\), and capsules add a partial spherical cap volume \(\frac{\pi f^2(3r - f)}{3}\) for the rounded ends.

Advertisement
Circle cross-section of horizontal cylinder showing radius r, fill depth f and filled segment
Cross-section showing radius r and fill depth f used in the partial-fill formula.

Worked example

A horizontal cylinder 10 ft long and 6 ft in diameter, filled to 3 ft (exactly half). Full capacity = $$\pi \times 3^2 \times 10 = 282.74 \text{ ft}^3 \approx 2{,}115 \text{ U.S. gallons } (8{,}006 \text{ liters})$$ At half depth the segment area equals half the circle, so the filled volume is exactly half: \(141.37 \text{ ft}^3 \approx 1{,}058\) U.S. gallons.

Tank Volume Unit Conversion Table

Tank capacities are quoted in several units. The US gallon (231 cubic inches) and the Imperial gallon (used in the UK and some other countries) are different sizes, so always check which one a rating uses.

Exact factors

  • 1 US gal = 3.785411784 L = 0.133681 ft³ = 0.832674 Imp gal
  • 1 Imp gal = 4.54609 L = 1.200950 US gal = 0.160544 ft³
  • 1 m³ = 1000 L = 264.172 US gal = 219.969 Imp gal = 35.3147 ft³
  • 1 ft³ = 7.48052 US gal = 28.3168 L
  • 1 US quart = 0.25 US gal = 0.946353 L

Quick conversion rows

Start with US gal Imp gal Liters m³ ft³
1 US gal 1 0.832674 3.785412 0.003785 0.133681
1 Imp gal 1.200950 1 4.54609 0.004546 0.160544
1 L 0.264172 0.219969 1 0.001 0.035315
1 m³ 264.172 219.969 1000 1 35.3147
1 ft³ 7.48052 6.22884 28.3168 0.028317 1

Tank Terms and Variables

  • Total capacity: the volume of the tank when completely full, found from the internal dimensions.
  • Filled volume: the volume of liquid currently in the tank, which is at most the total capacity.
  • Filled depth (f): the height of the liquid surface above the lowest point inside the tank, measured vertically from the bottom.
  • Radius (r): half the diameter, \(r = d/2\).
  • Diameter (d): the distance across a circular cross-section through its center.
  • Length (l): for a horizontal tank, the distance along its axis. For a vertical tank, the vertical dimension is usually entered as height.
  • Width: the horizontal side-to-side dimension of a rectangular or oval tank cross-section.
  • Height: the vertical dimension of a rectangular, oval or vertical tank.
  • Stadium/oval cross-section: a shape made of a rectangle with a semicircle on each of two opposite ends. Its flat sides are straight and its ends are rounded.
  • Capsule: a tank with a straight cylindrical mid-section and a hemispherical cap on each end. Its total volume is the cylinder volume plus one full sphere.
  • Circular segment: the part of a circle cut off by a straight chord. The liquid cross-section in a partly filled horizontal cylinder is a circular segment, and the formula \(r^{2}\arccos\left(\frac{r-f}{r}\right)-(r-f)\sqrt{2rf-f^{2}}\) gives its area, with the arccos in radians.
  • US vs Imperial gallon: 1 US gallon = 3.785412 L, and 1 Imperial gallon = 4.54609 L, about 20% larger.
Advertisement

Fill Level Comparison for a Horizontal Cylinder

Take a horizontal cylinder 10 ft long and 6 ft in diameter, so \(r = 3\) ft. Total volume: \(V = \pi \times 3^{2} \times 10 = 282.743\) ft³, or about 2115.1 US gal (282.743 × 7.48052). The filled volume comes from \(V_{\text{fill}} = l\left[r^{2}\arccos\left(\frac{r-f}{r}\right)-(r-f)\sqrt{2rf-f^{2}}\right]\).

Example for 10% depth (f = 0.6 ft): \(9 \times \arccos(0.8) - 2.4\sqrt{3.24} = 9(0.643501) - 2.4(1.8) = 1.4715\) ft², and \(1.4715 \times 10 = 14.715\) ft³ ≈ 110.1 US gal.

Fill depth (% of diameter) f (ft) Volume (ft³) % of total volume US gallons
10% 0.6 14.72 5.2% 110.1
25% 1.5 55.28 19.55% 413.5
50% 3.0 141.37 50% 1057.5
75% 4.5 227.47 80.45% 1701.6
90% 5.4 268.03 94.8% 2005.0

The relationship is non-linear. A horizontal cylinder filled to 10% of its depth holds only about 5.2% of its volume, and one filled to 25% of its depth holds about 19.55%. Near the middle, the fill is closer to proportional, and the fraction is exactly 50% at half depth. A vertical cylinder or a rectangular tank has a constant cross-section, so its volume is directly proportional to depth: 25% depth is 25% of capacity, and 90% depth is 90%. This is why a dipstick reading on a horizontal tank must be converted with the segment formula or a chart.

FAQ

What is the difference between U.S. and Imperial gallons? One Imperial gallon is about 1.201 U.S. gallons, so the Imperial figure is always smaller for the same volume.

Where do I measure the fill depth? Straight down from the very bottom of the tank to the liquid surface, in the same orientation the tank actually sits.

Why are oval and capsule results approximate? They use exact stadium and spherical-cap geometry; real tanks may have weld seams, wall thickness or non-standard end caps that slightly change capacity.

Last updated:

Most popular in Geometry

View all Geometry calculators