Pressure Vessel Calculator — MAWP, Wall Thickness & Stress (ASME VIII Div.1)
Governing standard: ASME VIII Div.1· ASME Boiler & Pressure Vessel Code Section VIII Division 1 — UG-27 (cylinder), UG-32 (heads), UG-34 (flat heads), UG-37/UG-45 (nozzle), Mandatory Appendices 1-2 & 1-3 (thick-wall); ASME B16.5-2017 flange ratings
The MechanixCalc pressure vessel calculator sizes and verifies cylindrical shells and heads to ASME Boiler & Pressure Vessel Code Section VIII Division 1. Enter the inner radius, wall thickness, design pressure, temperature, corrosion allowance and material, and the tool returns the minimum required wall thickness (UG-27), the maximum allowable working pressure (MAWP), the hoop and longitudinal stresses, the von Mises equivalent stress, and the ASME safety factor — switching automatically between the thin-wall membrane formula and the Lamé thick-wall solution when the wall-to-radius ratio exceeds 0.10.
Subsidiary panels cover wall thickness design for all four ASME head types (ellipsoidal 2:1, hemispherical, torispherical and flat), a nozzle reinforcement screening check with ASME B16.5 flange pressure ratings across the full −29 to 538 °C table, and a combined creep utilisation / thermal fatigue life assessment. It is built for process, mechanical and chemical engineers who need a defensible, standards-cited calculation for vessels at the concept and detailed-design stage — and who need to hand a reviewer a worked number rather than a spreadsheet.
What this calculator does
- ASME VIII Div.1 UG-27 minimum wall thickness and back-calculated MAWP for cylindrical shells, with automatic switchover to the Mandatory Appendix 1-2 thick-wall equation above 0.385·S·E
- Thin-wall membrane hoop/longitudinal stress and full Lamé triaxial distribution through the wall (40-point through-wall profile with von Mises and maximum shear)
- All four ASME head types: ellipsoidal 2:1 (UG-32d), hemispherical (UG-32f), torispherical with M-factor (UG-32e), and flat plate (UG-34) with attachment-factor selector
- Nozzle reinforcement screening estimate (UG-45/UG-37 t_n_min) and ASME B16.5-2017 Class 150–2500 flange pressure ratings from −29 to 538 °C
- Creep utilisation (σ_θ / σ_creep) vs temperature and Miner's-rule thermal fatigue damage for four materials (carbon steel, 304 SS, 316 SS, Cr-Mo steel)
- 30+ built-in ASME materials with allowable stresses at temperature, plus custom allowable entry
- Branded PDF engineering report with the full ASME method, substituted formulas and pass/warn/fail verdict shown
Method & formulas
Minimum wall thickness and MAWP (ASME VIII Div.1 UG-27)
ASME UG-27(c)(1) gives the minimum net wall thickness for a cylindrical shell under internal pressure. The formula is valid while t ≤ R/2 (i.e. P ≤ 0.385·S·E); above that limit MechanixCalc automatically uses the Mandatory Appendix 1-2 thick-wall equation, which replaces the linear approximation with the exact Lamé bore-hoop-stress criterion. The corrosion allowance CA is added to the net thickness to get the required nominal wall t_req. MAWP is the inverse of the same equations evaluated at the net (corroded) thickness.
t_min = P · R / (S · E_j − 0.6 · P) (valid for P ≤ 0.385 · S · E_j)where t_min = minimum net wall thickness (mm); P = design pressure (MPa); R = corroded inner radius (mm); S = allowable stress at design temperature (MPa); E_j = weld joint efficiency (0.70 / 0.85 / 1.00)
MAWP = S · E_j · t_net / (R + 0.6 · t_net)where t_net = nominal wall − CA (mm); R = corroded inner radius (mm); S · E_j = effective allowable stress (MPa)
Thick-wall Lamé stress distribution
When t/R ≥ 0.10 the membrane assumption no longer holds and the full Lamé equations govern. MechanixCalc evaluates the circumferential (hoop) and radial stresses at every radial position from the bore to the outer surface, and combines them with the closed-end longitudinal stress to give the von Mises equivalent stress and the maximum shear stress. The highest hoop stress always occurs at the inner bore, making it the critical location for the ASME allowable check.
σ_θ(r) = P · r_i² / (r_o² − r_i²) · (1 + r_o² / r²)where r_i = corroded inner radius (mm); r_o = outer radius (mm); r = radius at the evaluation point (mm); P = design pressure (MPa). Maximum occurs at r = r_i (the bore).
Head design and nozzle reinforcement
Each head type is sized to its own ASME clause: the ellipsoidal 2:1 head uses UG-32(d) with the inner diameter; the hemispherical head uses UG-32(f), branching to the Appendix 1-3 thick-sphere equation above 0.665·S·E; the torispherical head uses UG-32(e) with the Wichman M-factor; and the flat head uses UG-34(c)(2) with the attachment-factor C from Figure UG-34. The nozzle panel estimates reinforcement adequacy per the UG-45 minimum nozzle-wall criterion and credits the nozzle-wall excess area against the required reinforcement area; this is a conservative screening check, not a full UG-37 area-replacement calculation (the in-app warning makes this explicit).
M = (3 + √(R_crown / r_knuckle)) / 4where R_crown = crown radius (mm); r_knuckle = knuckle radius (mm). M increases wall thickness requirements for flatter heads.
Worked example
Size the minimum wall thickness and determine the MAWP for a thin-wall cylindrical pressure vessel with a 500 mm inner radius, carrying a design pressure of 1.5 MPa. Material: SA-516-70 carbon steel (S = 138 MPa), full-radiography weld (E_j = 1.00), corrosion allowance CA = 1.5 mm.
Given
- Inner radius R (corroded: R + CA)500 + 1.5 = 501.5 mm
- Design pressure P1.5 MPa
- Allowable stress S138 MPa (SA-516-70)
- Weld joint efficiency E_j1.00 (full RT)
- Corrosion allowance CA1.5 mm
Result
- Minimum required wall t_req (net + CA)≈ 6.99 mm → use 8 mm nominal
- MAWP (at 8 mm nominal, corroded)≈ 1.775 MPa
- Hoop stress at P = 1.5 MPa≈ 115.7 MPa
- Check thin-wall validity: t/R is small (t << R = 500 mm), so UG-27(c)(1) applies (we verify t ≤ R/2 after computing t).
- Compute minimum net thickness using UG-27(c)(1): t_min = P · R_corr / (S · E_j − 0.6 · P) = 1.5 × 501.5 / (138 × 1.00 − 0.6 × 1.5) = 752.25 / (138 − 0.9) = 752.25 / 137.1 ≈ 5.49 mm.
- Add corrosion allowance: t_req = 5.49 + 1.5 = 6.99 mm. Round up to the next standard plate: 8 mm nominal.
- Check thin-wall validity: t = 8 mm, R = 500 mm → t/R = 0.016 << 0.10. Thin-wall confirmed.
- Compute net thickness for MAWP back-calc: t_net = 8 − 1.5 = 6.5 mm.
- MAWP = S · E_j · t_net / (R + 0.6 · t_net) = 138 × 1.00 × 6.5 / (501.5 + 0.6 × 6.5) = 897 / (501.5 + 3.9) = 897 / 505.4 ≈ 1.775 MPa.
- Hoop stress at design pressure: σ_θ = P · R / t_net = 1.5 × 501.5 / 6.5 ≈ 115.7 MPa.
- Safety factor: SF = S · E_j / σ_θ = 138 / 115.7 ≈ 1.19 (adequate for the 8 mm plate at design pressure, though below the 1.5 target — a thicker plate, e.g. 10 mm, gives t_net = 8.5 mm, σ_θ = 1.5 × 501.5 / 8.5 ≈ 88.5 MPa, SF ≈ 1.56 ≥ 1.5).
Illustrative only — verify with your actual material specification, corrosion allowance, and head/nozzle geometry. A code-stamped vessel requires a full UG-37 nozzle check, head calculations, and a registered inspector.
Frequently asked questions
Which standard does this pressure vessel calculator use?
The main cylinder and head calculations follow ASME Boiler & Pressure Vessel Code Section VIII Division 1 (ASME VIII Div.1): UG-27(c)(1) for cylinder wall thickness and MAWP, UG-32 for ellipsoidal, hemispherical and torispherical heads, UG-34 for flat heads, and Mandatory Appendix 1-2/1-3 for thick-wall regimes. Flange ratings use ASME B16.5-2017 Table 2-1.1. The governing clause is shown in the generated PDF report. The creep/thermal-fatigue sub-panel is an engineering estimate (flagged in-app) with no governing standard.
When does the calculator switch from thin-wall to thick-wall (Lamé)?
When the wall-to-radius ratio t/R ≥ 0.10, or equivalently when the design pressure P ≥ 0.385·S·E_j, the thin-wall UG-27 formula underestimates the hoop stress at the bore. MechanixCalc automatically switches to the ASME Mandatory Appendix 1-2 equation for thickness and MAWP, and to the Lamé triaxial equations for all through-wall stresses — so you always get the correct regime without manually checking the applicability limit.
Does it cover different head types?
Yes — all four ASME head types are included. Ellipsoidal 2:1 heads use UG-32(d) with the inner diameter. Hemispherical heads use UG-32(f) with the thick-sphere Appendix 1-3 branch above 0.665·S·E. Torispherical heads use UG-32(e) with the computed M-factor (crown/knuckle ratio). Flat heads use UG-34(c)(2) with a selectable attachment-factor C from Figure UG-34, defaulting to the conservative welded value of 0.33. Each head's MAWP is also back-calculated from the actual wall thickness.
What does the nozzle reinforcement panel compute?
The nozzle panel is a screening estimate, not a full ASME UG-37 area-replacement calculation. It sizes the minimum nozzle wall (UG-45) and credits only the nozzle-wall excess area against the required reinforcement area, omitting the dominant shell-credit term A1 and the weld-area contributions. For valid designs this is conservative, but a code-stamped vessel always requires the complete UG-37 calculation. The flange-rating table covers ASME B16.5 Class 150 through 2500, Material Group 1.1 (carbon steel), from −29 to 538 °C.
Is the pressure vessel calculator free?
You can run it during a free 30-minute preview with no sign-up required, and a free 14-day account trial unlocks every calculator with no credit card needed. The branded PDF engineering report with the full ASME method shown and saved calculations are part of a paid plan.
Related calculators
- Pipe Flow (Darcy-Weisbach)Calculate the pressure drop in connecting pipework to determine the vessel's actual operating pressure.
- Pipe StressEvaluate thermal and sustained loads on the nozzle connections and vessel support piping.
- Hydraulic AccumulatorSize the pre-charge pressure and shell thickness of a gas-charged accumulator vessel.
- Heat ExchangerDesign the shell of a heat exchanger, which is a pressure vessel with additional tube-side and shell-side thermal loads.
- Fatigue AnalysisPerform a detailed S-N fatigue life assessment for cyclic pressure loading on the vessel shell.
Run the Pressure Vessels on your own numbers
Free 30-minute preview — no sign-up. A free 14-day account trial unlocks every tool and the branded PDF report, no credit card required.
Start free