New: the AI firewall watches the whole platform and explains each incident in plain words. See how it works

Tank volume and fill level calculator

Free tank volume calculator: liquid volume in m³ and litres and the percentage full of vertical, horizontal and rectangular tanks, from their size and level.

This tank volume calculator uses π × r² × level for a vertical cylinder and the circular segment area × length for a horizontal one: a 2 m wide, 3 m tall vertical tank filled to 1.8 m holds 5,655 litres and is 60 % full.

From the bottom of the tank.

Full
– %
Liquid
– L
Liquid volume
– m³
Tank volume
– m³
Empty space
– m³

How it works

How do you calculate the volume of liquid in a tank?

A vertical cylinder holds π × r² × level, and a rectangular tank length × width × level.

A horizontal cylinder of radius r and length L holds L × (r² × arccos((r − h) ÷ r) − (r − h) × √(2rh − h²)) at level h: the area of the circular segment under the surface times the length. Half full is exactly half the volume; other levels are not linear.

The tool treats the tank as a plain cylinder or box. Tanks with dished or conical ends hold a little more or less; use the maker’s calibration table where exact volume matters.

In Hermetry Hermetry raises an alarm when a tank’s level falls faster than it should with its valves shut: Tank farm level, inventory and bund monitoring.

Glossary Sensor

Questions

Questions about the tank volume calculator

How do I get the level from a distance sensor?

Ultrasonic and radar sensors on the roof measure the distance down to the surface. The level is the tank height minus that distance, minus any mounting offset.

Why isn’t a horizontal tank’s volume linear with the level?

The tank is narrow at the bottom and top and widest in the middle, so each centimetre of level holds the most near half full.