Skip to content

Tank Volume Calculator

Total and filled volume of a cylindrical, rectangular, capsule or spherical tank from the liquid level.

Your details

Unit system

For a capsule, the straight cylindrical part only (without the rounded ends).

Depth of liquid measured from the bottom inside the tank, e.g. with a dipstick. Leave blank for a full tank.

Results update as you type

Liquid volume

257.58 US gal

Total tank capacity
752.02 US gal
Tank fill
34.3%
Remaining space
494.44 US gal

Step-by-step solution
  1. V = π × 0.61² × 2.438 = 2.847 m³
  2. A = r² acos((r − h)/r) − (r − h)√(2rh − h²) = 0.3999 m²
  3. V(h = 0.457 m) = 0.975 m³ = 975.1 L = 257.6 gal
  4. 0.975 / 2.847 = 34.3%

How much heating oil is left in the tank? How many litres does a rainwater cistern hold, or how many gallons are in a water tank at the current dipstick reading? This tank volume calculator answers both questions: the total capacity and the volume of liquid at a given level, with the fill percentage and the space left.

It handles the five shapes you meet most often: vertical cylinders (water butts, silos), horizontal cylinders (fuel and septic tanks), rectangular tanks (IBC totes, concrete cisterns), capsules with rounded ends (propane and pressure vessels) and spheres.

The important case is a lying cylinder: there, a tank filled to half its height is half full, but a tank filled to a quarter of its height is not a quarter full. The calculator uses the exact circular-segment geometry, so you get the right answer at any level rather than a straight-line guess.

How to use this calculator

  1. Pick the shape of the tank.
  2. Enter the inside dimensions: diameter, length, width and height as needed. For a capsule, the length is the straight part only.
  3. Optionally enter the liquid level, measured from the inside bottom (a dipstick reading). Leave it blank to get the capacity of a full tank.
  4. Read the liquid volume, total capacity, fill percentage and remaining space, and switch units (litres, m³, US or UK gallons, ft³) as you like.

The formula

With rr the radius, hh the liquid level, LL the length and HH the height:

  • Vertical cylinder: V=πr2hV = \pi r^2 h
  • Rectangular tank: V=L×W×hV = L \times W \times h
  • Horizontal cylinder: V=L⋅A(h)V = L \cdot A(h), where the wetted cross-section is a circular segment
A(h)=r2arccos⁡(r−hr)−(r−h)2rh−h2A(h) = r^2 \arccos\left(\frac{r-h}{r}\right) - (r-h)\sqrt{2rh - h^2}
  • Sphere (spherical cap): V=πh2(3r−h)3V = \dfrac{\pi h^2 (3r - h)}{3}, which gives 43πr3\tfrac43 \pi r^3 when full
  • Horizontal capsule: cylinder part L⋅A(h)L \cdot A(h) plus the two hemispherical ends, which together form a sphere cap πh2(3r−h)/3\pi h^2(3r-h)/3

Volumes come out in m³; 1 m³ = 1,000 L = 264.17 US gallons.

Worked example

A horizontal heating-oil tank is 1.2 m in diameter and 2.5 m long. Full, it holds π×0.62×2.5\pi \times 0.6^2 \times 2.5 ≈ 2,827 L.

The dipstick reads 45 cm. The wetted segment has an area of 0.3874 m², so the tank contains 968 L, or 34.3% of its capacity. A simple proportion (45 / 120) would have suggested 37.5% — near the bottom of a lying cylinder the liquid is narrower than the tank, so the straight-line guess is too high.

In US units, a vertical cylinder 4 ft across and 6 ft tall holds about 564 gallons.

Why level and volume are not proportional

In a vertical cylinder or a box, every centimetre of liquid adds the same volume, so 40 % of the height means 40 % of the volume. In a horizontal cylinder the width of the liquid surface changes with the level: it is zero at the bottom, maximum at mid-height and zero again at the top. Each centimetre near the middle adds much more than one near the bottom. The result is an S-shaped curve where 50 % of the height is exactly 50 % of the volume, 25 % of the height is only about 19.5 % of the volume and 75 % is about 80.5 %. Tank manufacturers print dip charts built from the same formula, adjusted for dished ends.

Measuring a tank correctly

Use inside dimensions: steel and plastic walls are thin, but concrete cisterns can lose several centimetres per side. Measure the liquid level from the inside bottom with a clean stick. Real tanks often have dished or elliptical ends instead of flat or hemispherical ones; when in doubt, the capsule shape gives an upper bound and the plain cylinder (with the overall length) a lower one. Fuel volume also changes with temperature, so readings in very cold or hot weather can differ by around 1 %.

Frequently asked questions

How do I calculate the volume of a partially filled horizontal tank?

Multiply the length by the area of the circular segment covered by the liquid: A = r² acos((r − h)/r) − (r − h)√(2rh − h²). The calculator does this for you from the diameter, the length and the dipstick reading.

Is a horizontal tank half full when the level is at half the diameter?

Yes, by symmetry: at mid-height the liquid fills exactly half the circle. At any other level the relationship is not linear, so a quarter of the height is less than a quarter of the volume.

How many litres is a cubic metre?

One cubic metre is 1,000 litres, about 264.17 US gallons or 219.97 imperial gallons. Choose the display unit you prefer next to each result.

What if my tank has dished ends?

Dished (torispherical or elliptical) ends hold less than hemispheres. Use the capsule shape as an upper estimate and a plain horizontal cylinder of the same overall length as a lower one, or check the manufacturer’s dip chart.

How much water does a rainwater tank hold?

Measure its inside diameter and height (or length, width and height for a rectangular tank) and leave the level blank. For a below-ground cistern, subtract the dead volume below the pump intake from the usable capacity.

Sources

Last updated:

More Construction calculators

People also use