Vessel Volume Calculator
A horizontal process vessel, 2 metres across with a 6 metre shell and dished ends, holds 20.9440 cubic metres, not the 18.85 the bare cylinder suggests, because the two heads add real volume. This calculator covers six vessel shapes in one place: rectangular, cylinder, horizontal with dished heads, sphere, cone and triangular prism. Add a liquid level for the partial-fill volume, or a wall thickness and material for a shell weight estimate.
The main total is also shown first in the result line: cubic metres, then litres, then US gallons.
Quick Answer
A horizontal vessel with a 2 m inside diameter, a 6 m tan-to-tan shell and 2:1 ellipsoidal heads holds 20.9440 m³ (20,943.95 litres, 5,532.81 US gallons): 18.8496 m³ of shell plus 2.0944 m³ in the two heads. At a 1 m liquid level, exactly half the diameter, it holds 10.4720 m³, which is 50.0% full. Pick your shape in the calculator above and enter inside dimensions for the same split.
- Quick Answer
- Key Takeaways
- How the six modes work
- The formulas the tool uses
- Worked example: the 2 m by 6 m headed vessel
- Head types compared on the same vessel
- What competing calculators miss
- Limitations worth knowing before you quote a number
- Frequently asked questions
- Add This Calculator to Your Website
- References
Key Takeaways
- Six modes, one per shape: rectangular, cylinder, horizontal with dished heads, sphere, cone and triangular prism. Every mode reports m³, litres and US gallons together.
- Rectangular now takes the same five dimension units as the other modes, and a Volume to level tab runs the inverse: a target volume in, the liquid level out, for rectangular, vertical-cylinder and horizontal-cylinder vessels.
- Heads are not decoration: on the 2 m by 6 m example they add 2.0944 m³, about 10% of the total. A cylinder-only answer understates a real pressure vessel.
- Liquid level is not linear in a horizontal vessel: at 25% of the diameter the vessel is only 19.6% full, because the bottom of a circle is narrow.
- The weight figure is shell metal only. It excludes heads, nozzles and saddles, and the results line says so every time.
How the six modes work
Pick the tab that matches your vessel’s shape, enter inside dimensions, and click Calculate. Each mode has its own inputs, its own results box and its own Reset, which restores that mode’s pre-filled example values.
- Rectangular is the classic box vessel: length times width times height, now in metres, centimetres, millimetres, inches or feet like every other mode. The new Volume to level tab runs the inverse: enter a target volume and it returns the liquid level, for rectangular, vertical-cylinder and horizontal-cylinder vessels. For simple cartons and crates rather than process vessels, the box volume calculator is the quicker tool.
- Cylinder covers vertical tanks (silos, upright reactors) and horizontal tanks (fuel drums on their side). Choose the orientation, the inside diameter and the length or height, in metres, centimetres, millimetres, inches or feet. For a straight run of pipe with no heads and no fill level, the pipe volume calculator is faster.
- Horizontal + heads is the engineering mode: a horizontal shell with a dished head on each end. Enter the inside diameter, the tan-to-tan shell length and the head type: 2:1 ellipsoidal, hemispherical, torispherical (ASME flanged and dished) or flat.
- Sphere, Cone and Tri. prism cover spherical vessels, conical vessels and hoppers, and trough-shaped vessels with a triangular cross-section.
Two optional inputs appear on the Cylinder and Horizontal + heads modes. Liquid level gives the partial-fill volume at the current contents height, using exact circular-segment geometry for horizontal vessels. Wall thickness plus a material gives a shell weight estimate for fabrication and transport planning. For rectangular pools and open tanks with a water depth, the pool volume calculator fits better, and once a volume is moving through a pipe, the volumetric flow rate calculator takes over.
The formulas the tool uses
Every mode is a closed-form geometry formula, with D as the inside diameter and all lengths converted to metres before the math runs. The partial-fill formulas are the parts most calculators skip.
Cylinder: V = π × D² ÷ 4 × L
Sphere: V = π × D³ ÷ 6
Cone: V = π × D² × h ÷ 12
Triangular prism: V = base × height ÷ 2 × length
Two dished heads: 2:1 ellipsoidal adds π × D³ ÷ 12; hemispherical adds π × D³ ÷ 6; torispherical (ASME F&D) adds 0.1694 × D³; flat adds 0
Partial fill, horizontal cylinder: the tool finds the circular segment area below the liquid surface, A = (r² ÷ 2) × (θ − sin θ), with θ = 2 × arccos((r − h) ÷ r), then multiplies by the shell length. That is the segment area Wolfram MathWorld documents for exactly this fluid-in-a-horizontal-tank problem. Partial fill, vertical cylinder: V = π × r² × h, a shorter cylinder at the fill height. A level entered above the top of the vessel is capped at the full volume rather than extrapolated.
Volume to level, the inverse: rectangular level = target volume ÷ (length × width); vertical-cylinder level = target volume ÷ (π × r²); horizontal-cylinder level is found by bisection on the circular segment area, because no closed-form inverse exists for the segment. A target above the vessel capacity is rejected with an on-screen message instead of returning a level above the top.
Partial fill inside the heads uses the spherical-cap geometry behind the hemispherical formula, scaled for the 2:1 ellipsoidal head, whose inside depth is D ÷ 4 against the hemisphere’s D ÷ 2. Torispherical partial volume is not computed: the filled volume for that head type covers the shell, and the result carries a note saying so. Shell weight estimate: W = (π ÷ 4) × ((D + 2t)² − D²) × L × ρ, where t is the wall thickness and ρ the material density. It covers the cylindrical shell only, not heads, nozzles or saddles, and it is labelled that way in the results.
Worked example: the 2 m by 6 m headed vessel
The Horizontal + heads tab is pre-filled with this example: inside diameter 2 m, tan-to-tan length 6 m, 2:1 ellipsoidal heads, liquid level 1 m, wall thickness 12 mm in carbon steel. Running it splits the vessel into shell, heads and total, then prices the fill and the shell.
The shell weight at 12 mm wall in carbon steel comes out at 3,572.6 kg, shell metal only. The same dimensions run through the other modes produce the checks below. Every row is a real run of this calculator, so you can switch tabs, type the row in and get the same figures back.
| Mode and inputs | Result | Note |
|---|---|---|
| Rectangular, 2.5 × 1.2 × 1.8 m | 5.4000 m³ = 1,426.53 US gal | The Rectangular tab’s pre-filled example |
| Cylinder, D 20 in, L 36 in, vertical | 0.1853 m³ = 48.96 US gal | Imperial inputs, metric-first output |
| Cylinder, D 2 m, L 6 m, horizontal, level 0.5 m | 3.6851 m³ filled, 19.6% full | Quarter of the diameter, under a fifth of the volume |
| Sphere, D 2 m | 4.1888 m³ | π × 2³ ÷ 6 |
| Cone, D 2 m, height 3 m | 3.1416 m³ | One third of the same-base cylinder |
| Triangular prism, base 2 m, height 3 m, length 4 m | 12.0000 m³ | Triangle area 3 m² times 4 m length |
Head types compared on the same vessel
The head choice changes the total more than most people expect. Holding the shell fixed at D 2 m and tan-to-tan 6 m (shell alone 18.8496 m³), the four head types give four different vessels:
| Head type (both ends) | Two heads | Total volume | Partial fill in heads |
|---|---|---|---|
| Flat | 0.0000 m³ | 18.8496 m³ | Nothing to fill: the heads have no volume |
| Torispherical (ASME F&D) | 1.3552 m³ | 20.2048 m³ | Not computed; filled volume covers the shell, with an on-screen note |
| 2:1 ellipsoidal | 2.0944 m³ | 20.9440 m³ | Computed, scaled spherical-cap geometry |
| Hemispherical | 4.1888 m³ | 23.0383 m³ | Computed, spherical-cap geometry |
The torispherical two-heads figure is 0.1694 × D³ = 0.1694 × 8 = 1.3552 m³, from the run itself. At the 1 m level the torispherical vessel reads 9.4248 m³ filled (46.6% full) against the ellipsoidal vessel’s 10.4720 m³ (50.0%), and the whole gap is the uncomputed head fill plus the smaller head volume. That is the honest limit of this mode, stated on the page rather than smoothed over.
What competing calculators miss
Vessel and tank tools tend to specialise, and the scope of each one is the thing to check:
- Headed-vessel specialists: partial volumes in headed vessels, with the same four head types. Their scope is headed cylinders only: no rectangular, spherical, conical or prism vessels, and they assume you already speak head terminology.
- General tank pages: cylindrical and rectangular tanks with clean worked examples. Their scope is those two shapes: no dished heads, no partial fill, no sphere, cone or prism, no weight.
- Cylinder tools with exact segment math: strong on horizontal and vertical cylinders with flat, hemispherical and elliptical heads. They are cylinder tools, so the other four shapes on this page are out of scope, and there is no shell weight estimate.
- Tools with a live drawing: a working-volume figure and a strapping table for one vessel at a time. The drawing is genuinely useful; the trade-off is a single-vessel, engineer-first layout without the box, cone and trough shapes.
- The gap this page fills: six geometries on one page, partial fill inside ellipsoidal and hemispherical heads (not just the shell), any of five input units with three output units shown together, and a shell weight estimate, with the torispherical partial-fill limit disclosed instead of hidden.
Limitations worth knowing before you quote a number
Every result assumes ideal geometry: a perfect cylinder, exact head profiles and uniform wall thickness. Real fabricated heads include a straight flange that adds a few percent to published head volumes, and fabrication tolerances shift real capacities slightly, so treat results as estimates for planning, quoting and checking, not as certified vessel data.
- Partial fill inside torispherical heads is not computed. The filled volume for that head type covers the shell only, and the calculator puts a note on the result when it happens.
- The weight figure is the cylindrical shell only. It ignores heads, nozzles, saddles, internals and corrosion allowance.
- Capacity always uses inside dimensions. If you measured the outside, subtract twice the wall thickness first.
- The Rectangular mode now has the same unit selector as the other modes. Volume to level is offered for rectangular, vertical-cylinder and horizontal-cylinder vessels only: sphere, cone, triangular-prism and headed vessels have no single level that a target volume maps to without extra assumptions, so they are left out rather than guessed.
- This tool does not perform pressure design. Sizing a vessel for pressure needs wall thickness calculations, material allowables and the rules of ASME BPVC Section VIII, applied by a qualified engineer.
Frequently asked questions
In process industries a vessel usually means a pressure vessel: a cylindrical shell with dished heads built to hold pressure. A tank is usually an atmospheric storage container, often flat-bottomed. This calculator covers both geometries, so pick the shape that matches your equipment.
Always use inside dimensions for volume, because capacity is the space the liquid can actually occupy. If you can only measure the outside, subtract twice the wall thickness from each diameter or width. Wall thickness is only used by this tool for the shell weight estimate.
Tan-to-tan (tangent to tangent) is the length of the straight cylindrical shell between the two points where the dished heads begin to curve away. It excludes the heads themselves, which the calculator adds separately. Use the overall end-to-end length only for flat-head vessels.
2:1 ellipsoidal heads are the most common on pressure vessels. Hemispherical heads are the strongest and add the most volume. Torispherical (ASME flanged and dished) heads are a common industrial compromise. Flat heads suit atmospheric tanks. If you are unsure, check the vessel drawing or nameplate, because the choice changes the total by a noticeable amount.
The tool finds the area of the circular segment below the liquid surface and multiplies it by the shell length. The segment angle comes from the liquid depth and the radius, so the fill curve is exact for the shell and for ellipsoidal and hemispherical heads.
A horizontal cylinder fills fastest near the middle and slowest near the bottom and top. At one quarter of the diameter the vessel holds only about 19.6 percent of its capacity, which is why dipstick readings need a proper strapping table rather than a linear guess.
Yes. Use the Volume to level tab: enter the target volume and the vessel dimensions, and the tool returns the liquid level, the vessel capacity and the fill percentage. It covers rectangular vessels and vertical and horizontal cylinders.
No. This is a geometry calculator: volumes, fill levels and a shell weight estimate. Pressure design needs wall thickness calculations, material allowables and code rules from ASME Section VIII, done by a qualified engineer.
The tool shows all three outputs automatically. The factors are 1 cubic meter = 1,000 litres = 264.172 US gallons. For imperial gallons, multiply the US gallon figure by 0.8327.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- Wolfram Research, Wolfram MathWorld. “Circular Segment.” MathWorld circular segment (Accessed October 24, 2026)
- Wolfram Research, Wolfram MathWorld. “Spherical Cap.” MathWorld spherical cap (Accessed October 24, 2026)
- American Society of Mechanical Engineers. “2025 ASME Boiler and Pressure Vessel Code (BPVC).” 2025 ASME BPVC (Accessed October 24, 2026)
- American Society of Mechanical Engineers. “BPVC Section VIII, Rules for Construction of Pressure Vessels, Division 1.” BPVC Section VIII Division 1 (Accessed October 24, 2026)
- Wermac. “American Society of Mechanical Engineers: ASME Boiler and Pressure Vessel Code (BPVC).” ASME BPVC overview (Accessed October 24, 2026)
- National Institute of Standards and Technology. “Metric (SI) Prefixes.” metric SI prefixes (Accessed October 24, 2026)
