Tank Volume from Liquid Level Calculator
Choose the tank shape, enter diameter, length and liquid level to get the volume in m³, litres, gallons and barrels, percent full and a 10 % strapping table.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Choose the shape
Horizontal, vertical or sphere.
- 2Choose the unit
For all dimensions.
- 3Enter the dimensions
Diameter, length and head depth.
- 4Enter the level
Measured from the bottom.
- 5Read the volume
And the strapping table.
About this tool
A dipstick reading tells the liquid level, but in a horizontal tank the volume is not proportional to the level: a tank half-full by height is half-full by volume, but at a quarter of the height it holds less than a fifth. This calculator computes the exact geometric volume for horizontal cylinders with flat, hemispherical or ellipsoidal heads, vertical cylinders and spheres. It gives the volume in cubic metres, litres, US gallons and barrels, the percent full, the free space, and a strapping table at every 10 % of the height.
Who this is for
Fuel and water tank owners, farmers, process operators, engineers and students of geometry.
Horizontal cylinder
The liquid cross-section is a circular segment. With radius R and level h:
A = R² acos((R − h)/R) − (R − h) √(2Rh − h²), and V = A × L.
Heads
- **Flat ends**: just the cylinder. - **Hemispherical heads**: both heads together form a sphere, so add the spherical cap πh²(3R − h)/3. - **Ellipsoidal heads** of depth a: the cap volume scales by a/R. A 2:1 elliptical head has a = D/4, so both heads hold half a sphere. - Torispherical (dished) heads are close to 2:1 ellipsoidal; use that option for a good approximation.
Vertical cylinder and sphere
A vertical cylinder with a flat bottom holds πR²h. A sphere holds πh²(3R − h)/3 at level h.
Strapping tables
Tank operators use strapping (calibration) tables that convert dip readings to volume. The table shows the volume at every 10 % of the height. For custody transfer, tanks are calibrated by physical measurement under API MPMS Chapter 2 or ISO 7507, accounting for tilt, deformation and internal fittings.
Units
Enter all dimensions in the same unit. 1 m³ = 1,000 L = 264.17 US gallons = 6.2898 barrels.
Common pitfalls
- Using the outside diameter instead of the inside diameter. - Forgetting the head volumes, which can be 10 % or more of a short tank. - Measuring the level on a sloped tank; tilt changes the reading. - Expecting linear volume: in a horizontal tank the first and last 10 % of height hold only about 5 % of the volume each.
Temperature
Liquids expand with temperature: diesel by about 0.08 % per °C. Fuel trade uses volumes corrected to 15 °C.
Dipping a tank
Measure the level with a clean dipstick or tape lowered vertically through the dip hatch until it touches the bottom. Read where the liquid wets the stick. For fuel, water-finding paste reveals water at the bottom. Take the reading on a level tank at the same point each time, ideally at the centre of a horizontal tank.
Worked example
A horizontal tank 2 m in diameter and 5 m long with flat ends, filled to 0.5 m (25 % of the height), holds 3.07 m³ (3,071 L): only 19.6 % of its 15.7 m³ capacity.
Limits
Ideal geometry; not an official calibration for custody transfer or trade.
Worked example
A 2 m × 5 m horizontal tank at 0.5 m level holds 3,071 L (19.6 %).
Quick facts
- Category: Engineering & Construction
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Circular-segment area A = R²·acos((R−h)/R) − (R−h)√(2Rh−h²) times length for horizontal cylinders; spherical cap πh²(3R−h)/3 for hemispherical heads and spheres; 2:1 and other ellipsoidal heads scale the cap by head depth/R; vertical cylinder πR²h (API MPMS Chapter 2 tank calibration principles)
Frequently asked questions
Why isn't volume proportional to level in a horizontal tank?
The tank is wider in the middle than near the top and bottom.
What is a 2:1 elliptical head?
A head whose depth is a quarter of the diameter.
What is a strapping table?
A table converting dip readings to volume.
How many litres in a barrel?
158.987 L.
Should I use inside or outside diameter?
Inside diameter.
Is my data stored?
No. Everything is calculated in your browser.
