Skip to content
Calc.

Pressure Vessel Wall Thickness Calculator

Determines the minimum wall thickness required for cylindrical or spherical pressure vessels under internal pressure. Use it when designing tanks, boilers, or piping to meet safety codes.

Last updated: September 2026

Fill in the required fields to see your result.
Compare 3 scenarios

Formula below · 2 sources (asme.org, Wikipedia) · Updated Sep 2026

Compare with similar

About this calculator

The required wall thickness of a pressure vessel depends on the internal pressure, vessel geometry, material strength, and a safety factor. Using thin-wall (membrane) theory, the hoop stress in a cylinder is σ = P·D / (2t), so the minimum thickness is t = (P × D × SF) / (2 × S) for a cylindrical vessel and t = (P × D × SF) / (4 × S) for a sphere, where P is internal pressure (entered in bar and converted to MPa by × 0.1), D is the inner diameter (mm), S is the allowable stress (MPa) and SF is the safety factor, which divides the allowable stress (a larger safety factor gives a thicker wall). A sphere needs half the thickness of a cylinder because its membrane stress is half the hoop stress. If your allowable stress already includes a code design margin (ASME Section VIII allowable stresses do, roughly UTS/3.5), use SF = 1 and see the ASME formula in our pressure vessel calculators, which also adds corrosion allowance and weld joint efficiency. These formulas assume the wall is thin (t below about one-tenth of the radius).

How to use

Suppose you have a cylindrical vessel with an internal pressure of 10 bar (1 MPa), an inner diameter of 500 mm, an allowable stress of 150 MPa, and a safety factor of 2. Using the cylindrical formula: t = (P × D × SF) / (2 × S) = (1 MPa × 500 mm × 2) / (2 × 150 MPa) = 1,000 / 300 ≈ 3.33 mm. This is the theoretical minimum; in practice you would round up and add a corrosion allowance. Changing to a spherical vessel with the same inputs gives t = 1,000 / 600 ≈ 1.67 mm, illustrating why spheres are structurally more efficient. The defaults (10 bar, 1,000 mm, 140 MPa, SF 2) give about 7.14 mm.

Frequently asked questions

What is the difference between cylindrical and spherical pressure vessel wall thickness calculations?

A cylindrical vessel develops circumferential (hoop) stress that is twice the longitudinal stress, so the wall must resist a larger force per unit area in one direction. The formula uses a factor of 2 in the denominator. A sphere distributes pressure uniformly in all directions, so the effective stress is halved compared to a cylinder of the same diameter, and the formula uses a factor of 4. For the same pressure, diameter, and material, a spherical vessel needs only half the wall thickness of a cylindrical one, making spheres more material-efficient for high-pressure storage.

How do I choose the correct allowable stress and safety factor for a pressure vessel?

Allowable stress is usually set by the governing design code (e.g., ASME Section VIII, EN 13445) and equals the lesser of the material's ultimate tensile strength divided by 3.5 or the yield strength divided by 1.5 at the design temperature. The safety factor—sometimes called the design factor—is also code-mandated and typically ranges from 1.5 to 4 depending on the application, fluid hazard, and inspection regime. Never use raw yield strength as the allowable stress without applying the code-specified reductions, and always check temperature-dependent material properties for elevated-temperature service.

When does thin-wall pressure vessel theory no longer apply?

Thin-wall (membrane) theory is valid when the wall thickness t is less than roughly one-tenth of the inner radius (t/r < 0.1). Beyond that ratio, the stress distribution through the wall becomes non-linear and the simplified formula underestimates the required thickness. Thick-wall vessels require the Lamé equations, which account for radial stress variation. Very high-pressure applications such as hydraulic cylinders, gun barrels, and autoclave reactors almost always fall into the thick-wall regime and should not be designed with the thin-wall formula alone.

Related calculators

Sources & references