A pressurised pipe, boiler, air receiver or tank is pulled apart by the pressure inside. The wall carries this load as a hoop stress around the circumference and a longitudinal stress along the axis. For thin walls, both come from simple formulas. This calculator gives the stresses in a cylinder, compares them with the allowable stress of the material, and returns the minimum wall thickness.
How the calculation works
- Hoop stress σh = p × d ÷ (2 × t)
- Longitudinal stress σl = p × d ÷ (4 × t), also the stress in a sphere
- Allowable stress = yield strength ÷ design factor
- Minimum thickness = p × d ÷ (2 × allowable stress)
- Thin-wall check: the diameter should be at least 20 times the thickness
Example
A steel cylinder with an inside diameter of 500 mm and a wall of 6 mm holds 1 MPa (10 bar). The hoop stress is 41.7 MPa and the longitudinal stress is 20.8 MPa. With a yield strength of 250 MPa and a design factor of 2, the allowable stress is 125 MPa, so the margin is 3. The minimum thickness is 2 mm, and the ratio d ÷ t is 83, well inside the thin-wall range.
Why it matters
Gas receivers, hydraulic cylinders, water heaters, pipes and fuel tanks all rely on this simple relation, and it explains why a larger diameter or a higher pressure demands a thicker wall. It also shows why a sausage splits along its length: the hoop stress is double. Designers add corrosion allowances and weld joint efficiencies on top of the minimum thickness.
Good to know
The formulas assume a thin wall, a uniform stress across the thickness and a gauge pressure. Thick walls, with a diameter under about 10 to 20 times the thickness, carry a higher stress on the inside surface and need Lamé’s equations. Openings, nozzles, welds and fatigue from pressure cycles add stress concentrations. Pressure vessels are safety equipment: legal design codes and inspections apply, and a calculation like this one is only a first check.
Related tools
For bending stress in a part, use the section modulus calculator, and for stress and strain relations, Hooke’s law. The hydrostatic pressure calculator gives the pressure at the bottom of a tank, and the principal stress calculator combines normal and shear stresses.