Volume of Tank Calculator

Calculate the exact total capacity and partial liquid volume of storage tanks. Built for mechanical trades, this tool processes complex horizontal cylinder geometry and ASME dished heads.

1. Tank Geometry

Standard pressure vessels utilize 2:1 elliptical heads to handle stress.

2. Dipstick Reading

Measured from the inside bottom of the tank.

Calculation Results

Current Liquid Volume
Gallons (US)
The exact fluid volume corresponding to your dipstick depth.

How to measure tank volumes accurately

Understand horizontal non-linearity
A horizontal cylindrical tank does not give volume in proportion to its depth. At 25% of the diameter depth, the tank only holds 19.6% of its liquid capacity, not 25%. It is only exactly at the 50% centerline mark that depth and volume perfectly align. Attempting to use straight percentages for dipstick readings will result in major errors.
Always use Inside Diameter (ID)
Volume formulas require the internal dimensions. If you are measuring a thick-walled pressure vessel or a double-walled fuel tank, using the Outside Diameter (OD) will overstate the effective storage volume by 2% to 4%. Always subtract the wall thickness from your exterior measurements.
Account for ASME dished heads
Most large industrial tanks do not have flat ends. They feature standard ASME 2:1 Elliptical heads, meaning the depth of each head is exactly 1/4 of the tank's diameter. Failing to include the volume of these dished ends will cause you to under-calculate the tank's true maximum capacity by 5% to 10%.
Maintain safe Ullage (Outage)
Tanks should never be filled to 100% capacity. Liquids like propane, heating oil, and process chemicals expand as ambient temperatures rise. Standard safety protocols dictate maintaining a 10% "Ullage" (empty vapor space) at the top of the tank to prevent thermal expansion from rupturing the vessel or triggering pressure relief valves.

Horizontal Cylinder Volume Fractions

Dipstick Fill Depth (h) True Body Volume % Geometric Status
0 (Empty) 0.0% Tank is empty.
D / 4 (Quarter Depth) 19.6% Substantially less than 25%.
D / 2 (Centerline) 50.0% The only point where Depth = Volume.
3D / 4 (Three-Quarter) 80.4% Mirrors the quarter-depth loss.
D (Full) 100.0% Maximum geometric capacity.

Frequently asked questions

Why is 25% depth not 25% volume?

Because a horizontal cylinder has curved walls, the cross-sectional area changes continuously as the liquid rises. The bottom of the tank is narrow, holding very little volume for the first few inches. When the dipstick reads exactly one-quarter (25%) of the total diameter, the tank only holds 19.6% of its liquid capacity.

What are ASME 2:1 Ellipsoidal heads?

Tanks designed to hold pressurized liquids or gases cannot use flat end caps, as pressure causes flat plates to bulge and fail. The ASME Boiler and Pressure Vessel Code standardizes 2:1 Elliptical heads, where the depth of the head is precisely one-fourth of the tank's diameter. These outward-bulging heads add substantial volume to the overall capacity.

How many gallons are in a cubic inch?

There are exactly 231 cubic inches in one US liquid gallon. By calculating the total geometric volume of the tank in cubic inches, you simply divide by 231 to determine the precise gallon capacity.

About this calculator

This Tank Volume Calculator resolves the complex non-linear trigonometry required to measure horizontal fluid levels, integrating exact spherical cap formulas for dished vessel heads.

The mathematical engine utilizes the following engineering logic:

Horizontal Cylinder Wetted Area:
Segment Area = r² × arccos((r − h) / r) − (r − h) × √(2rh − h²)
*Formula handles negative values seamlessly when liquid crosses the centerline.
Partial Body Volume = Segment Area × Shell Length

Dished Head Adjustments:
Hemispherical Volume = π × h² × (r − h/3)
ASME 2:1 Elliptical Volume = 0.5 × π × h² × (r − h/3)

Volumetric Conversions:
Total Gallons (US) = Total Cubic Inches ÷ 231
Total Liters = Gallons × 3.78541
Ullage (Empty Space) = Total Capacity − Fill Volume

Methodology and sources

Volume of Tank Calculator applies the engineering relationship and unit conversions described on this page to the inputs entered above. The result is an estimating and checking aid. Final equipment selection or installation should also be verified against manufacturer data, current local codes and a qualified professional where required.

References used for conventions and context:

Last reviewed: August 2026. The linked organizations provide reference material and do not endorse Efficienco or this calculator.