Skip to content
Omnikalc

Is the wall of your tank thick enough?

Enter the pressure, the diameter, the wall thickness and the material strength: get the hoop and longitudinal stress, the safety margin and the minimum thickness.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Hoop (circumferential) stress, cylinder

41.67 MPa

Longitudinal stress, cylinder (and stress in a sphere)
20.83 MPa
Allowable stress
125.0 MPa
Margin: allowable ÷ hoop stress
3.00
The wall is thick enough for the allowable stress
Minimum wall thickness for the cylinder
2.00 mm
Diameter ÷ thickness
83.3
Thin-wall formulas apply (diameter at least 20 times the wall)

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.

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.

Frequently asked questions

Why is the hoop stress twice the longitudinal stress?

The pressure pushes the two halves of a cylinder apart over its length, and the wall resists on two sides. Over the end caps, the same pressure acts on a circular area carried by the whole ring of wall, which gives half the stress.

Which stress sets the wall thickness of a cylinder?

The hoop stress, because it is the larger one. The thickness must keep it below the allowable stress, so a cylindrical tank splits along its length before it splits around its girth.

What about a spherical tank?

A sphere has the same stress in all directions, equal to the longitudinal stress of a cylinder: p × d ÷ (4 × t). For the same pressure and diameter, it needs half the wall thickness.

Does this replace a code calculation?

No. Pressure vessels are designed to codes such as ASME or the European pressure equipment rules, with joint efficiency, corrosion allowance and inspection. Use this for estimates and checks.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.