Tank Volume Calculator: Capacity and Fill Level

View results · 313.3 US gal

Tank and liquid level

An upright round tank: enter the inside diameter and height.

Result

Liquid volume
US gal
Tank capacity
470 US gal
Percentage full
66.7%
Space left
156.7 US gal
Inside height
60 in

Volume in every unit

UnitTank capacityLiquid volume
Liters (L)1,7791,186
Cubic meters (m³)1.781.19
US gallons470313.3
Imperial (UK) gallons391.4260.9
Cubic feet (ft³)62.8341.89

About this tool

Knowing what a tank holds, and how much is left in it, matters for heating oil and diesel deliveries, rainwater and drinking water storage, septic and chemical tanks, aquariums and brewing. A dipstick or sight gauge gives you the liquid height, but in any tank that is not a straight-sided box or an upright cylinder the volume does not rise evenly with the height.

A horizontal cylinder filled to a quarter of its diameter, for example, holds only about 19.6% of its capacity, and at three quarters it holds about 80.4%. This calculator applies the exact geometry of each shape, so you can read the contents from a measured level instead of guessing from a percentage of the height.

How it works

Choose the tank shape and the unit you measured in, then enter the inside dimensions. Add the liquid height, measured from the lowest point inside the tank, to see how much it holds now. The result shows the capacity, the liquid volume, how full the tank is and the space left, in liters, cubic meters, US and imperial gallons and cubic feet.

In an upright tank with straight walls the volume rises in step with the height. In a horizontal cylinder the liquid surface cuts the round end as a chord, so the wetted cross-section is a circular segment with area A=r2arccos⁡r−hr−(r−h)2rh−h2A = r^2 \arccos\frac{r-h}{r} - (r-h)\sqrt{2rh-h^2} for radius rr and liquid height hh; the volume is that area times the length LL. Capsule tanks add their rounded ends as a sphere filled to the same height, oval tanks stretch the circular segment by the ratio of width to height, and a cone-bottom tank fills its cone first.

V=L(r2arccos⁡r−hr−(r−h)2rh−h2)V = L\left(r^2 \arccos\frac{r-h}{r} - (r-h)\sqrt{2rh-h^2}\right)

Example

A horizontal cylindrical tank is 48 inches in diameter and 96 inches long. Its capacity is π×242×96≈173718\pi \times 24^2 \times 96 \approx 173718 cubic inches, or 173718/231≈752173718 / 231 \approx 752 US gallons.

With 12 inches of liquid, a quarter of the diameter, the segment area is 242arccos⁡1224−122×24×12−122≈353.824^2 \arccos\frac{12}{24} - 12\sqrt{2 \times 24 \times 12 - 12^2} \approx 353.8 square inches, 19.55% of the circle. The tank holds 353.8×96≈33962353.8 \times 96 \approx 33962 cubic inches, about 147 gallons, although the level is at 25% of the height.

Assumptions and limits

Enter inside dimensions: wall thickness, baffles, pipes, heating coils and sludge at the bottom all reduce the usable volume. Real tank ends are often shallow dished heads rather than full hemispheres, so the capsule shapes overstate their volume slightly; for those tanks, the manufacturer's chart is more accurate.

The tank is assumed to be level. A tilted horizontal tank, or a dipstick that does not reach the lowest point, gives a different reading. Use the results as an estimate for planning deliveries and checking levels, not for billing or legal measurement.

Frequently asked questions

How do I calculate the volume of a cylindrical tank?

Multiply the area of the round end by the length or height: V=πr2LV = \pi r^2 L, where rr is half the inside diameter. A tank 1 m across and 2 m high holds π×0.52×2≈1.571\pi \times 0.5^2 \times 2 \approx 1.571 cubic meters, which is 1,571 liters or about 415 US gallons.

How do I find the volume of liquid in a horizontal tank?

Measure the liquid height from the bottom, work out the circular segment area for that height and multiply it by the tank length. The percentage full is not the same as the percentage of the height: at half the diameter the tank is exactly half full, but at a quarter of the diameter it holds only about 19.6% of its capacity.

How many gallons are in a cubic foot or a cubic meter?

One cubic foot holds about 7.48 US gallons or 6.23 imperial gallons. One cubic meter is 1,000 liters, about 264.2 US gallons or 220 imperial gallons. A US gallon is 3.785 liters and an imperial gallon 4.546 liters.

Which dimensions should I measure?

Measure the inside diameter or width, the length and the height, or measure the outside and subtract twice the wall thickness. For a capsule tank, measure the straight cylindrical part separately from the rounded ends; for a cone-bottom tank, measure the cylinder and the cone heights separately.

Why doesn't the result match my tank chart exactly?

Manufacturers' charts are based on the exact head shape, wall thickness and fittings of their tank, and some are calibrated by filling it. Differences of a few percent usually come from dished ends, internal parts or a tank that is not quite level.

Link with your values

Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.

ParameterValueIf omitted
shapeTank shapeone of: vertical_cylinder, horizontal_cylinder, rectangular, horizontal_capsule, vertical_capsule, horizontal_oval, cone_bottomdefault vertical_cylinder
diameter_inDiameternumber; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 39370.07 in; used with shape = vertical_cylinder, horizontal_cylinder, horizontal_capsule, vertical_capsule, cone_bottomrequired
length_inLengthnumber; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 39370.07 in; used with shape = horizontal_cylinder, rectangular, horizontal_capsule, vertical_capsule, horizontal_ovalrequired
width_inWidthnumber; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 39370.07 in; used with shape = rectangular, horizontal_ovalrequired
height_inHeightnumber; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 39370.07 in; used with shape = vertical_cylinder, rectangular, horizontal_oval, cone_bottomrequired
cone_height_inCone heightnumber; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 39370.07 in; used with shape = cone_bottomrequired
fill_height_inLiquid heightnumber; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed 0–39370.07 inoptional
volume_unitShow volume inone of: l, m3, gal, gal_uk, ft3default gal

Examples

  • ?diameter_in=36&height_in=72&fill_height_in=50
  • ?shape=horizontal_cylinder&diameter_cm=120&length_cm=250&fill_height_cm=60&volume_unit=l
  • ?shape=rectangular&length_m=2&width_m=1&height_m=1.5
  • ?shape=horizontal_capsule&diameter_ft=4&length_ft=10
  • ?shape=vertical_capsule&diameter_ft=3&length_ft=6&volume_unit=ft3
  • ?shape=horizontal_oval&width_in=60&height_in=40&length_in=120
  • ?diameter_cm=100&height_cm=150&cone_height_cm=40

Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.

Result elements: [data-result-block="tank-volume"]