Tank Volume Calculator
Size any tank in ten common shapes, then ask how much is in it at a given liquid depth. Total capacity and current fill are shown side by side in litres, m³ and gallons, with the geometry spelled out.
Formula: V = πr²h (vertical) · segment × L (horizontal fill)
How tank capacity is worked out
Every tank on this page reduces to one of a handful of building blocks. A vertical cylinder is πr²h; a rectangular tank is width × depth × height; an elliptical tank is πab times the height. Horizontal tanks - cylinders, ovals and capsules - have the same cross-sections but laid on their side, so the formula uses the cross-sectional area times the length. Compound tanks add the pieces: a cone-bottom tank is a cylinder plus a frustum-like cone of one third the base area times cone height, and a tank with hemispherical ends is a cylinder plus a full sphere.
A worked example: a vertical cylindrical tank 1 m in radius and 2 m tall holds π × 1 × 2 ≈ 6.28 m³, or 6,283 litres - a common 6,000-litre class of rainwater tank. The same shape laid horizontally and holding water to half its diameter does not hold half the volume: the circular-segment fill of a half-circle is exactly half the circle, but at 25% depth the segment holds only about 19.6% of the capacity, because the circle is narrow near its bottom.
That nonlinearity is the reason fill levels need geometry rather than a ruler percentage. For a horizontal cylinder filled to depth d (measured from the inside bottom), the wetted cross-section is a circular segment with area r²(arccos((r−d)/r) − ((r−d)/r)√(2rd − d²)), multiplied by the tank length. The calculator evaluates this for any depth, and the same segment logic extends to oval and capsule cross-sections.
Real tanks rarely match their nameplate exactly. Wall thickness, dished heads, internal baffles, heater coils and the dead space above an outlet all shave capacity, and safe-fill lines are usually set a few percent below the geometric maximum. Use the calculated figure as the design value, then derate for fittings as your installation dictates.
How to use this calculator
- Pick the tank shape. The input list rebuilds to show only the dimensions that shape needs - radius and height for cylinders, width and depth for rectangles, and so on.
- Measure the internal dimensions. Capacity ratings refer to the inside of the walls. If you can only measure outside, subtract twice the wall thickness.
- Optionally enter a fill depth. Type the liquid depth measured from the inside bottom and the calculator reports current contents next to total capacity.
- Read the results. The headline shows either total capacity or current fill in litres; the table lists m³, US gallons and ft³ for both, plus a percentage-full line.
Filling, strapping and sizing tanks
Four situations cover most tank questions beyond a single capacity number.
Horizontal cylinder fill levels
The circular-segment formula is the workhorse here. A 2 m diameter, 5 m long tank (15.7 m³ capacity) filled to 0.5 m holds a segment with central half-angle arccos(0.5/1) = 60°, area 1 × (1.047 − 0.866 × 0.5) ≈ 0.614 m², so about 3.07 m³ - just 19.6% of the tank despite being a quarter full by depth. Fuel gauges on horizontal tanks are routinely misread for exactly this reason.
Cone-bottom and hopper tanks
Below the cone's top edge, liquid sits in a shrinking cone: the wetted radius scales as d/c, so fill volume grows as the cube of depth inside the cone. A 1 m radius cone 0.5 m tall holds π×1×0.5/3 ≈ 0.524 m³ when full but only 0.524 × (0.25/0.5)³ ≈ 0.065 m³ at quarter-cone depth - useful when sizing pump suction, since most of the cone's volume is near its top.
Strapping tables
Operators of fixed tanks often need depth-to-volume tables rather than one number. Compute capacity at several depths and post the table by the gauge: for the 2 m × 5 m cylinder above, depths of 0.5 / 1.0 / 1.5 m hold 3.07 / 7.85 / 12.66 m³. This calculator can generate each row by changing the fill depth.
Choosing a shape
For a given footprint, tall vertical cylinders maximise volume per ground area but need pump pressure; horizontal cylinders self-drain and handle transport; rectangular tanks fit corners and shelves and are easiest to fabricate; capsules and spheres handle pressure best. Comparing shapes at equal capacity usually trades height against footprint, and this calculator makes that trade concrete in litres per unit of floor area.
Standard tank capacities
Rounded figures for common configurations, computed with internal dimensions.
| Tank | Dimensions | Capacity | Litres | US gal |
|---|---|---|---|---|
| Vertical cylinder | 1 m r, 2 m h | 6.28 m³ | 6,283 L | 1,660 gal |
| Vertical cylinder | 1.5 m r, 2.4 m h | 16.96 m³ | 16,965 L | 4,482 gal |
| Horizontal cylinder | 1 m r, 5 m long | 15.71 m³ | 15,708 L | 4,149 gal |
| Rectangular | 2 × 1 × 1.5 m | 3.00 m³ | 3,000 L | 793 gal |
| Oval (stadium) | 1 m wide, 1.5 m tall section, 4 m | 5.14 m³ | 5,142 L | 1,358 gal |
| Capsule | 1 m r, 4 m straight | 16.76 m³ | 16,755 L | 4,426 gal |
| Cone-bottom | 1 m r, 2 m h, 0.5 m cone | 6.81 m³ | 6,807 L | 1,798 gal |
| Spherical | 1.5 m r | 14.14 m³ | 14,137 L | 3,735 gal |
Fill behaviour diverges sharply from depth percentages on the horizontal shapes: the table in the previous section shows a quarter-depth fill holding under a fifth of capacity, while near the top of the same tank each centimetre of depth is worth far more than near the bottom.
Where tank volume calculations matter
Rainwater harvesting
Households size tanks from roof area and local rainfall: 100 m² of roof in a 25 mm storm yields about 2.5 m³ (2,500 litres) before first-flush losses. A 1 m radius, 2 m tall tank catches exactly one such storm, which is why 3,000-5,000 litre vertical cylinders dominate residential installations.
Fuel and chemical storage
Farms and workshops keep diesel in horizontal cylinders, and regulatory spill containment is sized to 110% of tank capacity. A 15.7 m³ tank therefore needs a bund of at least 17.3 m³, and the fill-level formula drives both stock reconciliation and the depth marks painted on the gauge.
Brewing and food processing
Fermenters and mixing vessels combine a working cylinder with a cone bottom for yeast or solids discharge. A 2 m diameter fermenter with a 2 m straight wall and 0.6 m cone holds about 15.1 m³ gross, but brewers plan batches against the straight-wall volume alone, since the cone holds sediment rather than product.
Common mistakes & pro tips
- Reading depth as a percentage of volume. On horizontal cylinders and spheres the two diverge badly: quarter depth is about a fifth of the volume, half depth is exactly half only for cylinders on their side.
- Using outside dimensions. Wall thickness steals capacity from both dimensions; measure inside wherever possible, or subtract 2× wall thickness per dimension.
- Forgetting which way a capsule's length is quoted. Overall tip-to-tip length must have 2r subtracted before entering the straight-section field.
- Ignoring the cone or head volume. Cone bottoms and dished ends add real capacity - omitting them under-rates a tank by several percent, while treating the cone as usable product volume over-rates it.
- Mixed units across fields. A radius in metres with a height in centimetres scales the answer silently. Use the per-field unit selectors throughout.