top of page
Search

Pressure Vessel Code Calculations: A Step-by-Step Guide

2 minutes ago
9 min read

Completed pressure vessel in a fabrication hall

A pressure vessel code calculation takes a fixed set of design inputs (pressure, temperature, material, joint efficiency, corrosion allowance) and runs them through the code’s formulas to get a minimum required thickness for every pressure-retaining part. In the U.S. that code is usually ASME Section VIII Division 1. The method is simple to state and easy to get wrong in the details, so the quickest way to a reliable result is a repeatable routine: lock the inputs, calculate shell and heads, check external pressure and openings, then verify the whole set. Our Jewlz Engineering Toolkit is built for that routine, with an Excel-based tool, a built-in property database and pressure vessel simulation in one place.



TL;DR

 

  • Start from the code and edition: ASME VIII Div. 1 covers vessels above 15 psig, and the 2025 edition is the latest listed by ASME.

  • Fix the inputs first: design pressure, design temperature, minimum design metal temperature (MDMT), corrosion allowance, joint efficiency and loads.

  • Shell thickness for internal pressure follows UG-27: t = PR / (SE − 0.6P), plus corrosion allowance. Heads use their own formulas.

  • External pressure, nozzle reinforcement and supports are separate checks, not afterthoughts.

  • Check every result against a worked example before you rely on a spreadsheet.

 

Table of Contents

 

 

Which code and edition to calculate against

 

The code decides every formula and allowable stress you use, so settle it before any number goes on paper. For most U.S. work the choice is ASME Section VIII Division 1. ASME describes it as covering design, fabrication, inspection, testing and certification of vessels operating at internal or external pressures above 15 psig, and it publishes it in a 2025 edition. Your jurisdiction, customer specification or the vessel’s contract date decides which edition is binding, so write the edition on the first page of the calculation.

 

If a project is built to the European standard instead, a U.S. Department of Energy comparison found that EN 13445 (2021) gives equivalent safety to ASME VIII Div. 1 (2023), except that EN 13445 does not address layered vessels or temper bead welding. Anyone using EN 13445 has to handle those two attributes separately.

 

Codes also move. The 2025 ASME Div. 1 changes include new design-responsibility requirements for replacement and repair parts and revised UG-99 and UG-100 testing requirements. On the European side, the first amendment to EN 13445-3 (BS EN 13445-3:2021+A1:2025) revised the clauses on openings in shells, additional non-pressure loads and fatigue assessment. Always confirm the current edition on the publisher’s page before you start a new design.

 

Collect the design inputs

 

Bad inputs produce a perfectly calculated wrong vessel. A complete input sheet for a Div. 1 vessel contains the following, and a worked ASME VIII Div. 1 example shows how each one is tied to a paragraph of the code:

 

Input

What it is

Code paragraph in the example

Design pressure

The pressure the vessel must be designed for, including any static head

UG-21

Design temperature

The metal temperature used to pick allowable stress

UG-20(a)

MDMT

The lowest metal temperature at which the vessel can be loaded

UG-20(b), UCS-66

Corrosion allowance

Extra metal added for wear over the service life

UG-25

Joint efficiency

A factor for weld quality and radiography extent

UW-12, UW-11

Service classification

Whether special rules apply to the contents

UG-22, UW-2

Loads

Weight (operating and hydrotest) and piping reactions at nozzles

UG-22

Two habits save a lot of rework. First, keep design pressure separate from operating pressure: the design value must sit above the highest operating condition with a margin your specification defines. Second, record the joint efficiency together with the radiography it assumes. A seamless component can use an efficiency of 1.00, as in that example, while a welded seam with spot radiography takes a lower value, so the weld inspection plan and the thickness are linked.

 

Corrosion allowance deserves its own decision. It is added to the calculated thickness, not folded into it, and it differs by service. Our guide on choosing a corrosion allowance under ASME and API practice walks through how to pick one.

 

Calculate shell thickness under internal pressure

 

For a cylindrical shell, UG-27 gives the minimum thickness from the inside radius. The commonly published form is t = PR / (SE − 0.6P), where P is design pressure, R is the inside radius, S is the maximum allowable stress from ASME Section II Part D at the design temperature, and E is the joint efficiency. The formula has applicability limits on thickness and pressure written into UG-27, so read the paragraph in your edition rather than trusting a summary.

 

A worked example

 

The numbers below are illustrative, chosen to show the arithmetic. They are not a design.

 

  • Design pressure P = 250 psig

  • Inside diameter 48 in, so R = 24 in

  • Allowable stress S = 20,000 psi (take the real value from Section II Part D for your material and temperature)

  • Joint efficiency E = 1.00

  • Corrosion allowance = 0.0625 in

 

Shell: t = (250 × 24) / (20,000 × 1.00 − 0.6 × 250) = 6,000 / 19,850 = 0.302 in.

 

Add the corrosion allowance: 0.302 + 0.0625 = 0.365 in. You then round up to the next available plate thickness, and check that mill tolerance on the plate does not eat into the required value.


A worked example

A 2:1 ellipsoidal head of the same diameter uses t = PD / (2SE − 0.2P): (250 × 48) / (2 × 20,000 × 1.00 − 0.2 × 250) = 12,000 / 39,950 = 0.300 in, or 0.363 in with the corrosion allowance. A hemispherical head with the same inside radius needs t = PR / (2SE − 0.2P) = 6,000 / 39,950 = 0.150 in before allowance. That is half the shell value, which explains why head type is a real design decision. Our article on six pressure vessel head types covers the formulas and the checks that follow each one, and the vessel wall thickness guide repeats this kind of example with more head geometries.

 

Three mistakes show up repeatedly in hand calculations:

 

  1. Mixing inside and outside dimensions. UG-27 has a form for each, and using one with the other gives a wrong answer that looks plausible.

  2. Using room-temperature allowable stress for a hot vessel. Take S at the design temperature.

  3. Forgetting that the head and shell can need different joint efficiencies.

 

Handle external pressure, nozzles and supports

 

Thickness under internal pressure is the start, not the end. A vessel can also see vacuum, steam-out or an external jacket, and Div. 1 treats external pressure in a separate paragraph, UG-28, with stiffening ring rules following it. External pressure is a buckling problem rather than a stress problem, so the governing thickness comes from geometry charts, not from the simple pressure formulas above. If your vessel sees full vacuum at any point, check it. Our buckling analysis guide explains the methods, codes and finite element checks.

 

Openings come next. Every nozzle removes metal from the shell, and the code asks you to show that enough metal remains around the hole, either in the shell and nozzle wall or in a reinforcing pad. The ASME Section VIII Division 2 Example Problem Manual includes worked cases for nozzle detail and weld sizing with and without reinforcement pads, alongside examples for hemispherical heads, cylindrical shells and radial and hillside nozzles. These are Division 2 examples, so use them as a way to check your method and arithmetic, and use the Div. 1 rules for the code compliance itself. If you build the reinforcement check in a sheet, this nozzle reinforcement spreadsheet walkthrough lays out the area-replacement steps.

 

Supports, lifting lugs, wind and seismic loads add to the picture. Weight at operating and hydrotest conditions and piping reactions at the nozzles belong on your input sheet from the start, since they change local stresses and sometimes the shell thickness.

 

When code formulas are not enough

 

The formulas apply to standard geometries and load cases. Cyclic service, thermal gradients and complex junctions call for stress analysis and sometimes fatigue assessment. Recent EN 13445-3 amendments illustrate the trend: the 2025 amendment added normative annexes on finite element hot-spot stress, cycle counting and fatigue of partial-penetration welds. Whatever code you work to, these guides cover the next steps:

 

 

Finite element runs are heavier than a spreadsheet, so a PC suited to demanding design software saves real time once models grow.

 

Verify before you rely on the numbers

 

A calculation is only useful when it can be checked. A reliable verification routine has four parts:

 

  1. Reproduce a published example. Run the same inputs as a worked example and compare every intermediate value, not just the final thickness. The ASME example manual cited above is built for this.

  2. Sanity-check by scale. Thin-wall hoop stress is roughly pressure times radius over thickness. If your result is far off that, something is wrong.

  3. Vary one input at a time. Raise pressure or corrosion allowance and see that thickness moves the right way and by the right amount.

  4. Document the source of every allowable stress and every code paragraph. A reviewer must be able to retrace each step.

 

A hand calculation is transparent but slow and prone to transcription errors. A spreadsheet repeats the work quickly, but it is only as good as its formulas and lookup tables. A material property error hidden in a cell propagates silently. That is why a toolkit with a built-in property database, which keeps temperature-dependent properties in one place, makes the routine less error-prone than rebuilding lookups in every file.

 

How we would run this routine

 

We built our toolkit for engineers and students who need professional thermal and pressure vessel analysis without a licensing barrier. In our experience of the problem, the weak point in most code calculations is not the formula. It is the scattered inputs: a stress value copied from one table, a temperature from another, a heat transfer assumption made on a napkin.   That is why we put conduction, convection and radiation models and a property database into a single Excel-based toolkit. When the thermal side of a vessel, such as wall temperatures that set your allowable stress, lives next to the pressure vessel simulation, the design temperature you use in the code check comes from the same model as everything else.   Our advice: do the code calculation first, verify it against a worked example, then use simulation to examine the cases the formulas do not cover. Start with the free tools, and move to the full toolkit when your work needs the extra depth.   Joel

 

Put the routine into a toolkit

 

The Jewlz Engineering Toolkit combines thermal analysis, pressure vessel simulation, CFD and heat exchanger design in one downloadable Excel-based tool. It supports variable material properties, a wide temperature range and multiple heat transfer modes, with a built-in property database. Basic tools are free, and the premium Thermalysis Toolkit is available by monthly subscription.


Jewlztech

See the Jewlz Engineering Toolkit for pressure vessel simulation and thermal analysis tools, or compare the field in our overview of pressure vessel design software alternatives.

 

FAQ

 

Is a spreadsheet acceptable for pressure vessel code calculations?

 

A spreadsheet is a calculation method, not a code compliance on its own. What matters is that every formula follows the code paragraph and that you have verified it against a worked example. Keep a record of the edition, the allowable stress source and the check results with the sheet.

 

Which pressure does Div. 1 apply to?

 

ASME VIII Div. 1 covers vessels with internal or external pressure above 15 psig. Below that, other rules or regulations may apply, so confirm with your jurisdiction.

 

Do I add corrosion allowance before or after the formula?

 

Calculate the required thickness with the formula, then add the corrosion allowance to it. The input is also used when you evaluate the vessel in its corroded condition. A common example uses 0.0625 in on internal surfaces, but your service dictates the value.

 

Can I use EN 13445 instead of ASME for the same vessel?

 

Only if your jurisdiction and customer accept it. The DOE comparison found equivalent safety between EN 13445 (2021) and ASME VIII Div. 1 (2023), with exceptions for layered vessels and temper bead welding. Check the approval requirements in the place the vessel will operate.

 

Sources

 

Recommended

 

 
 
 

Comments


logo

© 2026 by Jewlz Technologies.

bottom of page