How tank volume is calculated
For a rectangular tank the formula is straightforward: Volume = Length × Width × Height. All three dimensions must be in the same unit. The result in cubic centimetres is divided by 1,000 to give litres.
A cylindrical tank uses the circle area formula: Volume = π × r² × Height, where r is the radius (half the diameter). An L-shaped tank is treated as two joined rectangles: Volume = (Length₁ × Width₁ + Length₂ × Width₂) × Height.
The calculator accepts measurements in centimetres or inches and converts automatically. One litre equals 1,000 cm³, one US gallon equals approximately 3,785 cm³, and one UK gallon equals approximately 4,546 cm³.