Calculate the total volume of a cylindrical tank and the volume of liquid at a given level, in m³, barrels and gallons.
Inputs
Results
Use a decimal point or decimal comma, with no thousands separators. Scientific notation (for example 1.5e-3) is accepted. Change any unit with the selector next to the value.
How it works
Choose a horizontal or a vertical cylinder and enter the diameter, the length (or height) and the liquid level. A vertical tank is linear in level; a horizontal one uses the circular-segment area: V = L · [R² · acos((R−h)/R) − (R−h) · √(2Rh − h²)].
Formulas
R = D / 2 Filled (%) = liquid volume / total volume × 100 Horizontal shell: V = L · R² · [φ − sin φ · cos φ], cos φ = (R − h) / R Heads (both): V = π · a · h² · (3R − h) / (3R) Vertical, h from the bottom of the lower head: h ≤ a: V = π R² (h² / a − h³ / (3 a²)) h > a: V = (2/3) π R² a + π R² (h − a)
Worked example
A horizontal vessel with 2 m inside diameter, 5 m shell length and 2:1 ellipsoidal heads is filled to 1 m. How much liquid does it hold?
- Shell: 5 × [1² × acos(0) − 0] = 5 × 1.5708 = 7.854 m³.
- Heads (a = 0.5 m): π × 0.5 × 1² × (3 − 1) / 3 = 1.047 m³.
- Total liquid = 8.901 m³ = 55.99 bbl.
Result: 8.90 m³ - 13 % more than the flat-end result of 7.85 m³.
Assumptions and limits
- Use the inside diameter. The liquid is at rest and the level is measured from the bottom of the shell (vertical tanks with heads: from the bottom of the lower head). Nozzles, internals, sediment and tank deformation are not included; for custody transfer use a calibration table (API MPMS Chapter 2).
Frequently asked questions
How do I calculate the volume of a horizontal cylindrical tank?
Multiply the length by the area of the circular segment below the liquid level, then add the liquid in the heads if they are not flat.
What is a 2:1 elliptical head?
A head whose depth is a quarter of the diameter (ratio of axes 2:1). It holds π D³/24 when full.
Why is the level-volume relation not linear in a horizontal tank?
The width of the liquid surface changes with level: it is widest at mid-height, so each centimetre adds most volume there.
Does the calculator include nozzles and internals?
No. For custody transfer, use a tank calibration (strapping) to API MPMS Chapter 2.
Can I use outside diameter?
No, use the inside diameter (outside diameter minus twice the wall).
References
- API MPMS Chapter 2.2E (horizontal cylindrical tank calibration), latest edition.
- Perry's Chemical Engineers' Handbook, 9th ed. (2019), Section 10 (tank volumes).
Related calculators
For education and quick estimates. Shared by the Oil-Gas.net Engineering Working Group as general practitioner guidance; not a standard and provided without warranty. Check every result against the governing standards, vendor data and your project or site requirements before design, operation or safety decisions.
Embed this tool on your site
Copy the code below into your page. The link to Oil-Gas.net must stay with the tool.
Calculator by Oil-Gas.net