Pressure vessel volume calculator with heads

Enter the inside diameter, the tangent-to-tangent shell length and the head type, and get the volume of a horizontal or vertical vessel in cubic feet, US gallons, liters and cubic meters. Add a liquid level for a partly filled vessel, and a specific gravity for the weight of what is inside.

Vessel and liquid

Shell, (π/4) × D² × L
125.66 ft³ = 940.03 US gal = 3,558.4 L = 3.5584 m³
Each head (2:1 semi-ellipsoidal, depth 12 in)
8.38 ft³ = 62.67 US gal = 237.23 L = 0.2372 m³
Full vessel, shell plus two heads
142.42 ft³ = 1,065.37 US gal = 4,032.85 L = 4.0329 m³
Liquid volume (full)
142.42 ft³ = 1,065.37 US gal = 4,032.85 L = 4.0329 m³ (100% full)
Liquid mass at SG 1
4,032.9 kg = 8,890.9 lb

Every size is an inside dimension in the unit you pick. The liquid level runs from the lowest inside point: up to the inside diameter on a horizontal vessel, or up to the shell length plus both head depths on a vertical one. Leave the level blank for a full vessel. Nozzles and internals are left out, and a 2:1 head is treated as a true half ellipsoid.

Free 10-question check

Studying for API 510? Take the free 10-question check to see exactly which topics to fix first, then close the gaps with the Long Seam course.

Free API 510 check

Or read a full free lesson first (no signup).

Studying with a coworker? Send them the free check.

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.

  1. Shell = (π/4) × 48² × 120 = π × 69,120 = 217,146.9 in³.
  2. Each head = π × 48³ ÷ 24 = π × 4,608 = 14,476.5 in³, so both heads hold 28,952.9 in³.
  3. Total = 217,146.9 + 28,952.9 = 246,099.8 in³.
  4. 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.
  5. 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.

Adds a cylindrical shell to two heads of the type you pick, cuts both at your liquid level with plain solid geometry, and converts the result to cubic feet, US gallons, liters, cubic meters and liquid mass. A study and estimating aid; the vessel's drawings and the responsible engineer govern real work.

Try one free question

Try one question

Question 1 of the free 10-question check on API 510. No signup. Then ask Patch, the AI study assistant, why the answer is right and the others are wrong.

Question 1 of 10 · free checkUntimed

IV. Practical knowledge - general

Which hydrotest situation carries the highest brittle fracture risk?

Press A-D or 1-4 to choose an answer while this question is on screen.

Choose an answer to begin

Email me 5 API 510 practice questions

Done with Pressure vessel volume calculator? 5 API 510 practice questions come by email when you tick the box below, each one free to answer on the site. Your week-by-week study plan shows here at once, and a copy comes by email too.

Ask Patch before you buy AI your AI study assistant

See what's on the API 510 exam, take the free 10-question check, or find the plan that fits you.

Published references

From the blog

Preparing for API 510?

You just sized a vessel the way a test plan does. The free 10-question check scores you by Body of Knowledge area, no signup, with every answer explained. The Long Seam course drills the rest.

Free API 510 check

The API 510 course

Available now · instant access

The API 510 course

  • 8modules of lessonsEvery task on the outline
  • 2full-length timed exams170 questions in 390 minutes each
  • 617practice questionsEach one explained
  • 6worked calculationsStep by step
  • 1week-by-week study planSet to your exam date

Turn a practice answer into a study step. In untimed practice, ask Patch AI about any question you answer, follow up, then see your weakest topics and what to drill next.

API 510 course$199

Terms and refunds · Secure checkout by Stripe · Billed by Nori Software

See the course

Compare plans

Every answer comes with a full explanation.

By the Long Seam editorial team. Report an error.

Add this calculator to your site

Copy this HTML with its attribution link. The frame scrolls to include the calculator and explanations; no external script is needed.