How it works
A vessel is a cylinder with a cap on each end, so the full volume is the shell plus two heads. Work in one length unit, inside dimensions throughout, and convert at the end.
- Shell = (π/4) × D² × L, where D is the inside diameter and L the shell length from tangent line to tangent line.
- 2:1 semi-ellipsoidal head = π × D³ ÷ 24 each. The head is half an ellipsoid whose depth is a quarter of the diameter, so it holds half as much as a hemisphere of the same diameter.
- Hemispherical head = π × D³ ÷ 12 each, half a sphere of diameter D. Its depth is the radius.
- Flat head = 0. A flat cover adds no volume beyond the shell.
Then convert: 1,728 cubic inches make a cubic foot, 231 cubic inches make a US gallon, and 1 cubic meter is 1,000 liters. Liquid mass is the volume times 1,000 kg/m³ times the specific gravity, and 1 lb is 0.45359237 kg. At SG 1.0 a US gallon of water weighs about 8.345 lb.
Partly filled vessels
Horizontal. The liquid in the shell is a slice of circle times the length. For a circle of radius R filled to height h from the bottom, the wetted area is R² × acos((R − h) ÷ R) − (R − h) × √(2Rh − h²). The two heads, put together, make one ellipsoid, so their liquid is a spherical cap scaled by the head's depth over R: k × π × h² × (3R − h) ÷ 3, with k = 1 for hemispherical heads and 0.5 for 2:1 heads.
Vertical. Fill from the bottom up. Inside the bottom head, of depth a, the liquid is a scaled cap: π × R² × h² × (3a − h) ÷ (3a²). Once the level passes the bottom tangent line, add a full head plus π × R² for every unit of height up the shell. Above the top tangent line, the top head fills the same way in reverse.
Two checks keep the formulas honest. A level of zero gives zero, and a level at the top gives the full volume. On a horizontal vessel, a level of exactly half the diameter gives exactly half the volume.
Worked example: 48 in. by 120 in. with 2:1 heads
A horizontal drum is 48 in. inside diameter and 120 in. tangent to tangent, with a 2:1 semi-ellipsoidal head on each end. These are invented study numbers.
- Shell = (π/4) × 48² × 120 = π × 69,120 = 217,146.9 in³.
- Each head = π × 48³ ÷ 24 = π × 4,608 = 14,476.5 in³, so both heads hold 28,952.9 in³.
- Total = 217,146.9 + 28,952.9 = 246,099.8 in³.
- In gallons: 246,099.8 ÷ 231 = 1,065.37 US gal. In cubic feet: 246,099.8 ÷ 1,728 = 142.42 ft³. In metric: 4.0329 m³, or 4,032.85 L.
- Full of water at SG 1.0: 4.0329 m³ × 1,000 = 4,032.9 kg, which is about 8,891 lb.
Fill the same drum to 24 in., half the diameter, and the calculator shows 532.68 US gal, exactly half. That symmetry is a quick way to check your own hand work.
Water weight during a hydrotest
A hydrostatic test fills the vessel with water, and the volume tells you how much water to plan for and what it weighs. That weight sits on the saddles, legs or skirt and the foundation on top of the vessel's own weight. Check the support and foundation loads with the responsible engineer before a test. The volume does not set the test pressure; for that, the hydrotest pressure calculator works the paragraph inputs, and the static head calculator adds the pressure of the water column at a low point.
What this calculator leaves out
- Torispherical (flanged and dished) heads. Their volume depends on the crown and knuckle radii, so enter those heads another way.
- Conical sections, nozzles, manways, internals and trays, which add or take away volume.
- Thickness, pressure and any code rule. Wall thickness and MAWP are in the MAWP and thickness calculator.
The formulas behind every API 510 calculation sit side by side in the API 510 formula sheet.