JPB Process Calcs

Tank Geometry & Capacity

Storage · Calculator S6-01 · Verified: the solver reproduces its worked example and is covered by tests.

Total, partial and working capacity of a vertical cylindrical, horizontal cylindrical, or spherical tank, with a level-vs-volume table.

Open the calculator

Overview

What it calculates

This calculator gives the total volume of a vertical cylinder, a horizontal cylinder or bullet, or a sphere. It also gives the volume at a set liquid level, the working volume between a low and high level, total surface area, and wetted area at the level. Horizontal tanks can have 2:1 elliptical, hemispherical or flat heads, and the partial volume includes the wetted part of both heads. Vertical tanks default to a flat bottom and flat top. They can also take 2:1 elliptical, hemispherical or ASME flanged and dished heads, the same type top and bottom. The Show Work panel lists volume at every 10 percent of height.

When to use it

Use it to build a quick strapping table, to turn a level gauge reading into inventory, or to check the working capacity between alarm or pump trip levels on a slop tank, NGL bullet or produced water tank.

Inputs that matter most

Volume scales with D², so diameter dominates. A 5 percent error in diameter is a 10 percent error in capacity. The length input is the straight shell between tangent lines, excluding head depth. Entering overall length for a bullet with 2:1 heads counts the head depth as extra shell and overstates capacity. On a vertical tank with dished heads, levels are measured from the inside bottom of the bottom head, not the tangent line.

Reading the results

Level and volume are not proportional in a horizontal tank or a sphere. At 10 percent of the diameter, a horizontal shell holds only about 5 percent of its volume.

Limits and common mistakes

These are nominal geometric volumes. They ignore internals, nozzles, sloped or coned bottoms and shell deflection under load. Use a certified strapping table for custody transfer. A level above the vessel height, or a low level at or above the high level, raises an error. The flat bottom of a vertical tank is left out of wetted area because it sits on its foundation. Horizontal tanks do not offer torispherical heads.

Equations

V(h)=L[r2cos⁡−1 ⁣(r−hr)−(r−h)2rh−h2]+Vheads(h)V(h) = L\left[r^2\cos^{-1}\!\left(\frac{r-h}{r}\right) - (r-h)\sqrt{2rh-h^2}\right] + V_{heads}(h)
Partial volume of a horizontal cylindrical shell (circular-segment area × length) plus the wetted head-pair volume (2:1 SE / hemispherical heads reduce to a scaled partial-sphere-cap volume).

Source: Standard vessel-strapping geometry

SymbolMeaningUnits (US / SI)
V(h)V(h)Partial volume at height hft³ / m³
rrRadiusft / m
hhLiquid levelft / m
V(h)=Vbh(h)+πr2(min⁡(h,hb+L)−hb)+Vth(h−hb−L)V(h) = V_{bh}(h) + \pi r^2 \left(\min(h, h_b + L) - h_b\right) + V_{th}(h - h_b - L)
Vertical tank: wetted bottom-head volume, plus the straight shell up to the level, plus any wetted top-head volume once the level passes the top tangent line. Each head term is a disk integration of the head profile (closed form for 2:1 elliptical and hemispherical heads).

Source: Standard vessel-strapping geometry

SymbolMeaningUnits (US / SI)
hbh_bHead depth (0 for flat; D/4 for 2:1 elliptical; D/2 for hemispherical)ft / m
LLShell length / height (tangent-to-tangent)ft / m
hhLiquid level from the inside bottomft / m

Inputs

InputSymbolDefaultTypical range or options
Tank typeVertical cylindricalVertical cylindrical
Horizontal cylindrical / bullet
Sphere
Head typeFlat (flat-bottom tank)Flat (flat-bottom tank)
2:1 elliptical
Hemispherical
Torispherical (ASME F&D)
Head type2:1 elliptical2:1 elliptical
Hemispherical
Flat (none)
DiameterDD120 in (3,048 mm)
Shell length / height (tangent-to-tangent)LL30 ft (9.144 m)
Liquid levelhh5 ft (1.524 m)
Lower level (for working volume)h1h_11 ft (0.3048 m)
Upper level (for working volume)h2h_29 ft (2.743 m)

Outputs

Assumptions and limitations

Assumptions

Worked example

Horizontal bullet, 10 ft dia x 30 ft, 2:1 SE heads, 50% level (exact half-volume by symmetry)

Inputs

Tank typeHorizontal cylindrical / bullet
Head type2:1 elliptical
Diameter120 in (3,048 mm)
Shell length / height (tangent-to-tangent)30 ft (9.144 m)
Liquid level5 ft (1.524 m)
Lower level (for working volume)2 ft (0.6096 m)
Upper level (for working volume)8 ft (2.438 m)

Expected results

Total capacity2,618 ft³ (74.13 m³)
Volume at liquid level1,309 ft³ (37.07 m³)

volumeAtLevel === totalVolume/2 exactly at 50% level by symmetry (checked to 6 decimal places, not just within the default 0.5% tolerance).

The calculator's test suite checks that the solver reproduces these results.

References

Pitfalls to watch for

Rules of thumb

Fluid failures

Control strategies

Solids handling

Open the calculator

Page last updated 2026-10-28.