How to Calculate Tank Volume: Cylinders, Boxes, Litres and Gallons
Last reviewed 2026-10-17
Tank volume is the area of the base multiplied by the height. The only tricky parts are using the inside dimensions and keeping the units consistent.
Use the inside dimensions
Capacity is the volume inside the walls. Measure the inside diameter or the inside length and width. Using the outside size overstates the capacity, and the error grows with wall thickness.
A vertical cylinder
Volume = π × D² / 4 × H. A tank 1.5 m across and 2 m high holds π × 0.75² × 2 = 3.534 m³, which is 3,534 litres or about 934 US gallons.
A rectangular tank
Volume = length × width × height. A tank 2 m long, 1 m wide and 2 m high holds 4 m³, or 4,000 litres.
Converting units
1 m³ = 1,000 litres = 264.17 US gallons. 1 US gallon = 3.785 litres, and an imperial gallon is about 20% larger, so be sure which one a document uses. 1 ft³ = 7.48 US gallons.
Fill level
The contents of a partly full vertical tank are the total volume times the fill fraction. At 50% fill the 3.534 m³ cylinder holds 1,767 litres. For horizontal cylinders, cones and dished ends the relationship is not linear and needs a different formula.
Total versus usable volume
The usable volume is often less than the total. The outlet may sit above the bottom, and you need some air space at the top. Check the tank's rated capacity and the working levels for your application.
Fill and drain times
Dividing a volume by a flow rate gives the time to fill: 3,534 litres at 100 L/min takes about 35 minutes. Use the flow-rate converter if your pump rating is in gallons per minute or cubic metres per hour.