How to calculate tank capacity: a step-by-step guide
Learn the three formulas that cover most tanks, how to measure correctly and how to convert the result to litres and gallons.

Every tank capacity calculation follows the same three steps: identify the shape, measure the internal dimensions, and apply the matching formula. Once you have a volume in cubic units, converting to litres or gallons is a single multiplication.
Step 1: Identify the shape
Most storage tanks fall into one of three families:
| Shape | Typical use | Formula |
|---|---|---|
| Horizontal cylinder | Fuel, heating oil, transport | V = π × r² × L |
| Vertical cylinder | Water, rainwater, chemicals | V = π × r² × H |
| Rectangular | Aquariums, cisterns, IBC totes | V = L × W × H |
Step 2: Measure the inside
Capacity depends on the space inside the walls. If you can only measure the outside, subtract twice the wall thickness from each dimension. On a 10 mm steel wall that is 2 cm off the diameter, which matters more than you might expect on a large tank.
Step 3: Apply the formula and convert
Work in one unit throughout. Centimetres are convenient because 1,000 cm³ = 1 litre:
- 1 m³ = 1,000 litres
- 1 litre ≈ 0.264172 US gallons
- 1 US gallon ≈ 3.78541 litres
Worked example
A vertical water tank has an internal diameter of 120 cm and a height of 150 cm.
- Radius r = 120 ÷ 2 = 60 cm
- V = π × 60² × 150 ≈ 1,696,460 cm³
- 1,696,460 ÷ 1,000 ≈ 1,696 litres (about 448 US gallons)
The calculator performs these steps instantly, and you can mix units per field.
Ready to check your own tank? Use the free calculator.
Open the calculator