Pressure Vessel Calculator
Calculate wall thickness for cylindrical and spherical pressure vessels using ASME code. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Pressure Vessel Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Cylindrical: t = (P x R) / (S x E - 0.6P) | Spherical: t = (P x R) / (2SE - 0.2P)
Worked example โ Minimum thickness: 44.92mm | With CA: 46.42mm | Use 47.0mm plate
Formula
Cylindrical: t = (P x R) / (S x E - 0.6P) | Spherical: t = (P x R) / (2SE - 0.2P)
Where t = minimum required wall thickness, P = design pressure (MPa), R = inner radius (mm), S = allowable stress (MPa), E = joint efficiency factor. Corrosion allowance is added to the calculated minimum.
Worked Examples
Example 1: Cylindrical Vessel Wall Thickness
Problem:Calculate the minimum wall thickness for a cylindrical pressure vessel with 500mm inner radius, 10 MPa design pressure, SA-516 Grade 70 steel (S = 138 MPa), spot-radiographed joints (E = 0.85), and 1.5mm corrosion allowance.
Solution:t_min = (P x R) / (S x E - 0.6 x P) t_min = (10 x 500) / (138 x 0.85 - 0.6 x 10) t_min = 5000 / (117.3 - 6.0) t_min = 5000 / 111.3 = 44.92mm t_total = 44.92 + 1.5 = 46.42mm Round to next standard plate: 47.0mm (or 48mm)
Result:Minimum thickness: 44.92mm | With CA: 46.42mm | Use 47.0mm plate
Example 2: Spherical Vessel Comparison
Problem:Calculate the wall thickness for a spherical vessel with the same parameters: 500mm radius, 10 MPa, S = 138 MPa, E = 0.85, CA = 1.5mm.
Solution:t_min = (P x R) / (2 x S x E - 0.2 x P) t_min = (10 x 500) / (2 x 138 x 0.85 - 0.2 x 10) t_min = 5000 / (234.6 - 2.0) t_min = 5000 / 232.6 = 21.49mm t_total = 21.49 + 1.5 = 22.99mm Round up: 23.0mm Savings: 47.0 - 23.0 = 24.0mm thinner (51% reduction)
Result:Spherical thickness: 21.49mm | With CA: 22.99mm | 51% thinner than cylindrical
Frequently Asked Questions
What is the ASME code for pressure vessel design and why is it important?
The ASME Boiler and Pressure Vessel Code (BPVC) is the primary standard governing the design, fabrication, inspection, and testing of pressure vessels in North America and many international jurisdictions. Section VIII Division 1 covers vessels operating up to approximately 3000 psi using design-by-rule methods, while Division 2 allows higher pressures using more detailed design-by-analysis methods. The code specifies allowable stresses, joint efficiencies, minimum thicknesses, and inspection requirements. Compliance with the ASME code is typically a legal requirement, and vessels bearing the ASME U-stamp certify that they meet all code requirements. Using the code prevents catastrophic failures that can cause injuries, fatalities, and extensive property damage.
How do you calculate wall thickness for a cylindrical pressure vessel?
The wall thickness for a cylindrical pressure vessel under internal pressure is calculated using the ASME UG-27 formula: t = (P x R) / (S x E - 0.6 x P), where t is the minimum required thickness in mm, P is the design pressure in MPa, R is the inside radius in mm, S is the maximum allowable stress in MPa, and E is the joint efficiency factor. A corrosion allowance (typically 1.5-3mm for carbon steel) is then added to the calculated minimum thickness, and the result is rounded up to the nearest standard plate thickness. The formula includes the 0.6P correction term to account for the biaxial stress state in the cylinder wall. This formula assumes the vessel qualifies as thin-walled, meaning the radius-to-thickness ratio exceeds 10.
What is joint efficiency and how does it affect vessel thickness?
Joint efficiency (E) is a factor that accounts for the reduced strength of welded joints compared to the parent metal. It depends on the type of welded joint and the extent of radiographic (X-ray) examination performed. A fully radiographed double-welded butt joint has E = 1.0, meaning the weld is considered as strong as the base metal. A spot-radiographed joint has E = 0.85, and a non-radiographed joint has E = 0.70. Lower joint efficiency requires thicker walls to compensate. The cost trade-off is between more expensive inspection (radiography) and more expensive construction (thicker plates and more welding). For large vessels, the material savings from full radiography typically justifies the inspection cost.
How does a spherical vessel compare to a cylindrical vessel for the same pressure?
A spherical vessel requires only half the wall thickness of a cylindrical vessel for the same pressure, radius, and material because the hoop stress in a sphere is half that of a cylinder. The ASME formula for spherical shells is t = (P x R) / (2 x S x E - 0.2 x P), with the factor of 2 in the denominator reflecting this stress advantage. However, spherical vessels are significantly more expensive to fabricate because forming and welding spherical plates requires specialized equipment and skills. For this reason, most pressure vessels are cylindrical with hemispherical or ellipsoidal heads. Spherical shapes are preferred only for very large storage vessels (like LNG tanks) where the material savings outweigh the fabrication cost premium.
What is corrosion allowance and how is it determined?
Corrosion allowance is additional wall thickness added to the calculated minimum to compensate for material loss during the vessel service life due to corrosion, erosion, or other degradation mechanisms. Typical values range from 1.5mm for mildly corrosive service to 6mm or more for severely corrosive environments. The allowance is determined by estimating the corrosion rate of the material in the specific service fluid and temperature, then multiplying by the desired service life. For example, if carbon steel corrodes at 0.1mm per year in the service environment and a 20-year life is desired, the corrosion allowance would be 2mm. Corrosion-resistant alloys like stainless steel often require zero or minimal corrosion allowance, offsetting their higher material cost.
What is the maximum allowable working pressure and how is it calculated?
Maximum Allowable Working Pressure (MAWP) is the maximum pressure at which a vessel can operate, based on the actual wall thickness provided rather than the minimum calculated thickness. Since vessels are built with standard plate thicknesses that exceed the minimum required, the MAWP is typically higher than the design pressure. For cylindrical vessels, MAWP = (S x E x (t - CA)) / (R + 0.6 x (t - CA)), where t is the actual plate thickness minus corrosion allowance. The MAWP determines the pressure relief valve setting and the hydrostatic test pressure (typically 1.3 times MAWP). Knowing the MAWP is important because it defines the safe operating envelope and is stamped on the vessel nameplate.
What materials are commonly used for pressure vessels?
The most common pressure vessel material is SA-516 Grade 70 carbon steel, with an allowable stress of approximately 138 MPa at ambient temperature, suitable for temperatures from -29 to 343 degrees Celsius. For higher temperatures, SA-387 chrome-moly steels are used. For corrosive service, SA-240 Type 304 or 316 stainless steel provides excellent corrosion resistance. For low-temperature service below minus 29 degrees, SA-333 Grade 6 or SA-516 Grade 70 with impact testing is specified. Nickel alloys like Inconel 625 handle extreme temperatures and aggressive chemicals. Clad construction uses a carbon steel structural layer with a thin corrosion-resistant alloy lining to balance cost and performance. Material selection must consider strength, corrosion resistance, fabricability, and cost.
What types of heads are used on cylindrical pressure vessels?
The four common head types for cylindrical pressure vessels are hemispherical, ellipsoidal (2:1 semi-elliptical), torispherical (flanged and dished), and flat. Hemispherical heads require the thinnest walls (same formula as spherical vessel) but are the most expensive to fabricate. Ellipsoidal 2:1 heads are the most popular, requiring a thickness of t = (P x D) / (2 x S x E - 0.2 x P), which is thicker than hemispherical but much easier to form. Torispherical heads are the least expensive formed heads but require the thickest walls. Flat heads require the thickest construction of all and are used only on small vessels or where process requirements demand it. The head type selection balances material cost, fabrication cost, and internal volume considerations.
What is the difference between thin-wall and thick-wall pressure vessel analysis?
Thin-wall analysis assumes the stress is uniform across the wall thickness and uses simple formulas where hoop stress equals pressure times radius divided by thickness. This assumption is valid when the radius-to-thickness ratio exceeds 10. Thick-wall analysis (Lame equations) accounts for the stress variation across the wall, where the inner surface experiences the highest stress. For thick vessels, the maximum stress at the inner wall is significantly higher than the average stress, making thin-wall formulas unconservative. The ASME code formulas include correction terms (the 0.6P term for cylinders) that provide accurate results for moderately thick vessels. For extremely thick vessels with R/t below 4, detailed elastic-plastic analysis or ASME Division 2 methods should be used instead of Division 1 formulas.
What inspections and tests are required for pressure vessels?
Pressure vessels undergo multiple inspections during fabrication and before service. Material certification verifies the steel meets the specified grade and composition. Welding procedure qualification (WPQ) and welder qualification ensure proper joint quality. Non-destructive examination includes radiographic testing (RT) of welds, ultrasonic testing (UT) for thickness verification and flaw detection, magnetic particle testing (MT) for surface cracks, and liquid penetrant testing (PT) for non-magnetic materials. The hydrostatic test, conducted at 1.3 times MAWP with water, verifies structural integrity and leak-tightness. After the hydrostatic test, a final visual inspection checks for leaks, distortion, and surface defects. An Authorized Inspector from a third-party organization witnesses critical inspections and authorizes the ASME stamp.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎPipe Pressure Drop Calculator
Calculate pressure drop in piping systems from flow rate, pipe size, and fittings.
๐งฎHydraulic Cylinder Force Calculator
Calculate hydraulic cylinder force from bore diameter and system pressure.
๐งฎPneumatic Cylinder Force Calculator
Calculate pneumatic cylinder force and air consumption at operating pressure.
๐งฎOrifice Flow Calculator
Calculate flow rate through an orifice plate from differential pressure and orifice diameter.
๐งฎCantilever Retaining Wall Calculator
Calculate cantilever retaining wall with inputs, formulas, and instant results.
๐งฎOpen Channel Manning Calculator
Calculate open channel manning with inputs, formulas, and instant results.
๐งฎPipe Flow Darcy Weisbach Calculator
Calculate pipe flow darcy weisbach with inputs, formulas, and instant results.
๐งฎRoad Superelevation Calculator
Calculate road superelevation with inputs, formulas, and instant results.