Thin-Walled Pressure Vessel Stress Calculator

Dr. Mark Wickman headshot Dr. Mark Wickman

Introduction: why thin walls make the math simple

Open up a propane tank, a compressed-air receiver, or a length of steam pipe and you are looking at a shell that is surprisingly thin for what it holds back. That thinness is not an accident — it is what lets engineers treat the wall as a membrane in tension rather than a thick block with a complicated stress gradient through it. The rule of thumb is that when the wall thickness t is under roughly one-tenth of the inner radius r , the stress barely changes from the inside surface to the outside, so you can pretend it is constant. Once you accept that thin-walled assumption, a boiler that would otherwise need a finite-element model collapses to two short algebraic formulas you can check on the back of a napkin.

The cylinder stress formulas, and where they come from

When you pressurize a cylinder, the wall has to fight the load in two independent directions. Imagine slicing the shell lengthwise: the pressure pushing outward tries to split it open like a hot dog, and it is the hoop stress running circumferentially around the shell that resists that split. Now slice it crosswise instead: the pressure on the two end caps tries to pull the tube apart along its axis, and the longitudinal stress is what holds it together. Balancing pressure force against wall force on each cut gives the two expressions below. For internal pressure P , the hoop stress is given by

σ h = P r t

The longitudinal stress is half this value:

σ l = P r 2 t

These expressions reveal why thin walls amplify stress: smaller thickness values place more load on the material for a given pressure and radius. Engineers select wall thicknesses to keep the maximum stress well below the material’s yield strength, often incorporating generous safety factors.

Stress in a Spherical Vessel

A spherical tank experiences the same stress magnitude in all directions. The stress equals the longitudinal expression for a cylinder:

σ s = P r 2 t

Because the stress is uniformly distributed, spheres can hold pressure more efficiently than cylinders. For the same pressure, radius, and wall thickness, a sphere sees only half the peak stress a cylinder does in its hoop direction — which is exactly why the large white LNG and LPG tanks you see at import terminals are built as spheres rather than tubes. That efficiency has a cost, though: forming and welding a large sphere out of curved plate segments is slow, skilled work, whereas a cylinder is essentially rolled plate with two end caps. For most industrial pipelines and storage tanks the fabrication savings of a cylinder win out, and designers simply add the extra wall thickness the hoop stress demands.

How to use the pressure vessel stress calculator

Type the internal gauge pressure in kilopascals, then the inner radius and wall thickness in meters — keep radius and thickness in the same length unit and the ratio (and therefore the stress) comes out right regardless of which unit you picked. Choose cylinder or sphere from the dropdown, since a sphere carries the same stress in every direction and only needs one number reported. Press Calculate Stress and the hoop and longitudinal values appear below; the copy button drops them onto your clipboard so they can go straight into a design note or homework write-up.

One practical tip: enter the pressure as gauge pressure, not absolute. A tank feels the difference between what is inside and the atmosphere outside, so a receiver at 500 kPa absolute in normal air is really being stressed by about 400 kPa. Everything runs locally in your browser, so you can sweep through thicknesses and radii as fast as you can type without anything leaving your machine.

Example Material Table

The following table lists approximate yield strengths for common vessel materials. Designs typically apply a safety factor to ensure operating stress remains well below these values.

Material Yield Strength (MPa)
Carbon Steel 250
Stainless Steel 300
Aluminum Alloy 200

A worked example: sizing a 400 kPa air receiver

Suppose a cylindrical vessel has an internal pressure of 400  kPa, an inner radius of 0.5  m, and a wall thickness of 0.01  m. The hoop stress is

Formula: σ_h = (400 ⁢ 0.5) / 0.01 = 20 000 ⁢ kPa

σ h = 400 0.5 0.01 = 20 000 kPa

The longitudinal stress is half that value, 10 000  kPa. These stresses must be compared with the material’s yield strength to ensure a safe factor of safety.

Cylinder vs Sphere Comparison

The table summarizes the stress relationships for each shape, assuming identical pressure, radius, and thickness.

Shape Hoop Stress Longitudinal Stress
Cylinder P r t P r 2 t
Sphere P r 2 t

Spherical vessels distribute stress more evenly, allowing thinner walls for the same pressure, but their fabrication complexity often outweighs the material savings.

Importance of Proper Design

Pressure vessel failures can be catastrophic. Understanding the stresses involved is the first step toward safe construction. Engineers must also consider factors such as weld quality, corrosion allowance, material fatigue, and cyclic loading. Codes like the ASME Boiler and Pressure Vessel Code provide detailed guidelines to ensure vessels meet stringent safety standards. This calculator is an educational tool, not a substitute for professional engineering analysis, yet it highlights the fundamental relationships that govern design.

History and Applications

Pressurized containers have existed since steam engines powered the industrial revolution. Over time, improved metallurgy and welding techniques allowed vessels to withstand greater pressures. Today they appear in chemical plants, fuel storage depots, space vehicles, and even medical oxygen tanks. While the shapes and materials vary, the thin-walled stress equations remain a cornerstone of mechanical design.

Reading the stress numbers in a real design

The whole exercise comes down to a single ratio, Pr/t: raise the pressure or the radius and the stress climbs in step, add wall thickness and it drops. That is why a small-bore high-pressure line and a large low-pressure tank can end up with identical stress. Once you have the hoop figure, the design question is simple to state — divide the material's yield strength by that stress and you have your factor of safety. Pressure work is unforgiving of optimism, so treat this as a first-pass sanity check and let a qualified engineer and the governing code have the final word before anything gets built.

Limitations: where the thin-wall equations stop being trustworthy

These formulas earn their simplicity by assuming the wall is thin (under about a tenth of the radius) and the pressure sits uniformly against a smooth, defect-free shell. The moment reality gets messier they start to mislead: welds run below the parent metal's strength, nozzles and manholes concentrate stress far above the nominal number, and thermal gradients, external pressure, corrosion thinning, and fatigue from repeated pressure cycles all pile on loads the equations never see. Thick shells and high-temperature service push you toward Lamé's thick-wall theory or a finite-element model, and code work brings in weld-joint efficiencies and corrosion allowances the calculator deliberately leaves out.

Related Calculators

For further design insight, see the Pipeline Pressure Drop Calculator and the Deep Sea Pressure Hull Thickness Calculator.

Enter vessel parameters to compute stress.

Pressure Pulse mini-game

Pressure Pulse: catch stabilizer packets, dodge burst waves, and keep hoop stress under the redline.