Mechanical Engineering Calculator

Pressure Vessel Thickness Calculator

Determine the minimum required wall thickness for cylindrical and spherical pressure vessels per ASME Section VIII Division 1, including corrosion allowance and joint efficiency.

Pressure Vessel Design

Minimum wall thickness calculation per ASME Section VIII Div. 1

Internal Pressure P1.50 MPaInside Diameter D = 1,000.00 mmWall thickness t = ?

Input Parameters

Enter design conditions and material properties.

MPa

Design internal pressure.

mm

Inner diameter of the vessel.

MPa

Maximum allowable stress of material at design temperature.

Weld joint efficiency factor (e.g., 0.85 for spot radiography).

mm

Additional thickness to account for corrosion over vessel lifetime.

mm

Minimum thickness required for handling or code requirements.

The value must be greater than zero.

Engineering Tip

For spherical vessels, the required thickness is roughly half that of a cylindrical vessel for the same diameter and pressure, because the stress is distributed in two directions.

Required Wall Thickness

9.44mm

Corrosion Allowance

3.00 mm

Minimum Thickness

0.00 mm

MAWP (Cylindrical)

1.50 MPa

Governing Formulas

t = (P·D) / (2·S·E − 1.2·P) + CA
PMPa

Internal Pressure

Dmm

Inside Diameter

SMPa

Allowable Stress

E

Joint Efficiency

CAmm

Corrosion Allowance

tmm

Required Thickness

Assumptions & Limitations

  • Thin-walled vessel (t/D ≤ 0.1)
  • Uniform internal pressure
  • ASME Section VIII Div 1 approach
  • Elastic behavior assumed
  • No external pressure or other loads
  • Design temperature effects not explicitly included

Engineering Code

Reuse the calculation in your own engineering workflow.

Python
def cylindrical_thickness(P, D, S, E, CA=0, min_t=0):
    """
    Calculate minimum wall thickness for a cylindrical pressure vessel.
    
    P: Internal pressure (MPa)
    D: Inside diameter (mm)
    S: Allowable stress (MPa)
    E: Joint efficiency (0-1)
    CA: Corrosion allowance (mm)
    min_t: Minimum required thickness (mm)
    """
    if P <= 0 or D <= 0 or S <= 0 or E <= 0 or E > 1:
        raise ValueError("Invalid input parameters")
    if CA < 0 or min_t < 0:
        raise ValueError("Corrosion allowance and min thickness cannot be negative")
    
    numerator = P * D
    denominator = 2 * S * E - 1.2 * P
    if denominator <= 0:
        raise ValueError("Denominator non-positive. Check inputs.")
    t = numerator / denominator + CA
    return max(t, min_t)

# Example
P = 1.5
D = 1000
S = 138
E = 0.85
CA = 3
min_t = 0

t_cyl = cylindrical_thickness(P, D, S, E, CA, min_t)
print(f"Required thickness: {t_cyl:.2f} mm")
MATLAB
function t = cylindrical_thickness(P, D, S, E, CA, min_t)
    % Calculate minimum wall thickness for a cylindrical pressure vessel.
    if nargin < 5, CA = 0; end
    if nargin < 6, min_t = 0; end
    if P <= 0 || D <= 0 || S <= 0 || E <= 0 || E > 1
        error('Invalid input parameters');
    end
    if CA < 0 || min_t < 0
        error('Corrosion allowance and min thickness cannot be negative');
    end
    
    numerator = P * D;
    denominator = 2 * S * E - 1.2 * P;
    if denominator <= 0
        error('Denominator non-positive. Check inputs.');
    end
    t = numerator / denominator + CA;
    t = max(t, min_t);
end

% Example
P = 1.5;
D = 1000;
S = 138;
E = 0.85;
CA = 3;
min_t = 0;

t_cyl = cylindrical_thickness(P, D, S, E, CA, min_t);
fprintf('Required thickness: %.2f mm\n', t_cyl);
Excel Formulas
= (P*D) / (2*S*E - 1.2*P) + CA   // Cylindrical
= (P*D) / (4*S*E - 0.8*P) + CA   // Spherical

Example Calculation

For a cylindrical vessel with internal pressure 1.5 MPa, inside diameter 1000 mm, allowable stress 138 MPa, joint efficiency 0.85, corrosion allowance 3 mm:

t = (1.5 × 1000) / (2 × 138 × 0.85 − 1.2 × 1.5) + 3
t = 9.42 mm

Technical Explanation: Pressure Vessel Design

Pressure vessels are critical components in many industries, including chemical, petrochemical, power generation, and aerospace. The design of pressure vessels is governed by codes such as ASME Section VIII Division 1 to ensure safety and reliability.

The wall thickness of a pressure vessel must be sufficient to withstand the internal pressure without exceeding the allowable stress of the material. The basic formulas for thin-walled vessels are derived from membrane stress theory.

Cylindrical Vessels

For a cylindrical shell, the hoop stress (circumferential) is the primary design stress. The minimum thickness is calculated using the formula:
t = (P·D) / (2·S·E − 1.2·P) + CA

Spherical Vessels

Spherical vessels have lower stress for the same diameter and pressure because the stress is distributed biaxially. The thickness is:
t = (P·D) / (4·S·E − 0.8·P) + CA

Joint Efficiency

The joint efficiency factor (E) accounts for the strength reduction at welded joints. Typical values: 1.0 for fully radiographed welds, 0.85 for spot radiography, and lower for non-destructive testing.

Corrosion Allowance

Corrosion allowance (CA) is an additional thickness added to the vessel to ensure that it remains structurally sound throughout its design life despite material loss due to corrosion or erosion.

Maximum Allowable Working Pressure (MAWP)

For a given thickness, the MAWP is the maximum pressure the vessel can safely contain at the design temperature. For cylindrical vessels, it is calculated from the same formula rearranged.

Real-World Engineering Cases

Bhopal Gas Tragedy (1984)

A pressure vessel at the Union Carbide plant failed, releasing toxic gas. Contributing factors included inadequate maintenance and possibly insufficient wall thickness for the operating conditions.

Engineering Lesson

Pressure vessel design must consider corrosion, operating conditions, and rigorous inspection. Regular thickness monitoring is crucial.

Boiler Explosion in a Power Plant

A boiler drum ruptured due to localized corrosion that reduced wall thickness below the minimum required. The explosion caused extensive damage and injuries.

Engineering Lesson

Corrosion allowance must be adequate, and periodic thickness measurements are essential to detect thinning before failure.

Frequently Asked Questions

What is the formula for cylindrical pressure vessel thickness?

Per ASME Section VIII Div 1, the minimum wall thickness for a thin-walled cylindrical vessel is t = (P·D) / (2·S·E − 1.2·P) + CA, where P is internal pressure, D is inside diameter, S is allowable stress, E is joint efficiency, and CA is corrosion allowance.

How does spherical vessel thickness compare to cylindrical?

For a given diameter and pressure, the required wall thickness for a spherical vessel is roughly half that of a cylindrical vessel because the stress is distributed in two directions instead of one.

What is joint efficiency (E)?

Joint efficiency accounts for the reduction in strength due to welded joints. It ranges from 0 to 1, with typical values like 0.85 for spot radiography or 1.0 for fully radiographed welds.

What is corrosion allowance (CA)?

Corrosion allowance is an extra thickness added to the vessel wall to account for material loss due to corrosion or erosion over the vessel's design life. It is typically specified in mm.

Engineering calculations provided by this tool are for educational and preliminary design purposes. Always verify calculations with a qualified engineer and refer to the latest applicable codes and standards.