Pressure Vessel Stress Calculator

Hoop, axial and radial stress in a pressurised wall.

  • Thin and thick wall
  • Error of thin formula
  • Wall from allowable
A round clay table holds a thick-walled clay tube with soft arrows pushing outward from its hollow, a thin ring wrapped round it and a few loose beads.

The guide

A pressurised wall is pulled around, not pushed out, and the thin formula hides how much

Why internal pressure stretches a wall around its circumference, why the axial stress is half the hoop stress, and where the thin-wall shortcut stops being honest.

  • 75.0 MPa hoop stress: 1.5 MPa, 0.5 m mean radius, 10 mm wall
  • 37.5 MPa axial stress in the same closed cylinder, half the hoop
  • 5.88 percent thin-formula error at a radius over thickness of 2
  • 10.0250 exact inner hoop at ratio 10, per unit pressure, against 10
  • 6.25 mm thin wall for 1.5 MPa, 0.5 m radius, 120 MPa allowed
Read the full guide Fold the guide 6 min · 11 sources

Ask which way a pressurised tank tries to fail and most people point outward, as if the wall were being pushed. It is more useful to see it as being pulled. The pressure pushes on the inside of the wall, and the wall answers by stretching around its circumference, like the iron hoops on a barrel. That circumferential pull is the hoop stress, and it is the number every design starts from.

Cutting the cylinder in half

Stress is force per unit area, in pascals, and positive stress here means tension. Take a closed cylinder and slice it lengthwise, then look at one half ring of unit length. The pressure P pushes on the cut face with a force equal to P times the width of the cut, which is the diameter 2r. Two strips of wall hold the halves together, each of thickness t, each carrying a stress. Balance the forces and the hoop stress is P r divided by t.

Put numbers in. A pressure of 1.5 MPa, a mean radius of 0.5 m and a wall of 10 mm give a hoop stress of 75.0 MPa. The same balance written the other way round gives Barlow’s formula, which solves for the pressure a pipe can take. With 150 MPa allowed, a 10 mm wall and a 1 m mean diameter it returns 3.00 MPa.

Wikipedia’s Cylinder stress page writes the hoop stress as force over area, F divided by the thickness times the length, and calls the barrel hoop the classic example. The page also says the formula treats the wall as a surface, which is why it is called the thin-wall assumption.

Why the axial stress is half

Now cut the same closed cylinder across, not along. The pressure pushes on the end cap with a force P times the area of the bore, about pi r squared. That force is carried by a ring of wall whose area is about 2 pi r t. Divide and the axial stress is P r over 2t.

So with closed ends the axial stress is exactly half the hoop stress, here 37.5 MPa against 75.0. A free-ended cylinder, open at both ends, has no cap to push on, so its axial stress is zero. A sphere has no preferred direction, and the same balance on a hemisphere gives P r over 2t in every direction along the surface.

That is why the Pressure vessel page says a sphere is about twice as strong as a cylinder with the same wall. It is also why mixing up the two stresses is costly. Read the axial value as the hoop value and you halve the stress that fails first.

Three slips that change the answer

The first is to use the diameter where the radius belongs. In the example that gives 150 MPa instead of 75.0, a factor of two that no later arithmetic can catch.

The second is to forget which radius the formula wants. The Cylinder stress page uses the mean radius. The Pressure vessel page writes the same formulas with the inner radius, and the DIN form of Barlow’s formula uses the outside diameter. In a thin wall at a ratio of 50 the three differ by about 1 percent. In a thick one they do not.

Take a wall of 1 and a mean radius of 2, with a unit pressure. The mean radius gives a hoop stress of 2.00, the inner radius 1.50 and the outer radius 2.50. The exact answer is 2.125. The mean radius lands closest, 6 percent low, and the other two miss by far more.

The third slip is to apply the thin formula to a wall that is not thin, which is the subject of the next section.

Where the thin formula stops

The thin-wall formulas assume the stress is the same through the wall. A common rule says that holds when the thickness is no more than about a tenth of the radius. Below a radius-to-thickness ratio of 10 the page’s source says the stresses vary significantly between the inside and the outside, and the Lame equations take over.

Gabriel Lame was a French mathematician whose work on the mathematical theory of elasticity gave the equations their name. For a cylinder they say the radial stress is A minus B over r squared and the hoop stress A plus B over r squared, where A and B come from the two boundary pressures. At the inner surface the radial stress equals minus the pressure. At the outer surface it equals minus the outside pressure, or zero in open air.

Work the exact answer for a wall of 1 and unit pressure. At a mean radius of 20 the exact inner hoop stress is 20.0125 against the thin 20, so the shortcut is 0.06 percent low. At 10 it is 10.0250 against 10, a gap of 0.25 percent. At 5 it is 5.0500 against 5, one percent. At 2 it is 2.1250 against 2, and the thin formula is 5.88 percent below.

For a cylinder with internal pressure only, that error is one over four r squared plus one, with r the ratio. The shortcut understates the stress, which is the wrong direction to be wrong.

Why the stress peaks inside

At a ratio of 10 the outer hoop stress is 9.0250, a whole unit of pressure below the inner 10.0250. The stress is largest at the inside. The Cylinder stress page gives the reason: the outside and the inside of a pressurised ring stretch by the same strain, but that strain is spread over different circumferences, so the shorter inner circle takes more stress.

The maximum shear stress follows. In a thick wall it is half the difference between the hoop and radial stresses, which is half of 10.0250 plus 1, or 5.5125, and it also peaks at the inner surface. Tresca’s yield criterion, also called the maximum shear stress theory, is built on exactly that quantity.

The exact closed-end axial stress at this ratio is 4.5125, against 5.0000 from the mean-radius formula. The exact figure is the pressure times the bore area over the wall area, and the bore is the inner circle, not the mean one.

Because the inside is where the stress is greatest, cracks in a pipe are expected to start there. The Hoop stress page says the same, and notes that pipe inspections after earthquakes send a camera inside for that reason.

Designers use the fact. Autofrettage loads a thick-walled vessel until the inner layers yield, so that releasing the pressure leaves compressive residual stress at the inner surface. That cancels some of the hoop stress the working pressure will add.

Sizing a wall, and what that leaves out

To size a thin wall, turn the hoop formula round: t equals P r over the allowable stress. For 1.5 MPa, a mean radius of 0.5 m and 120 MPa allowed, that is 6.25 mm. If the answer comes out thick, with a ratio under 10, the thin formula is the wrong tool and the exact solution should be used instead.

A thin shell behaves like a cable, carrying load by tension in the wall. A thick wall also carries shear and a radial squeeze, and the stresses vary across it. Pressure is the only load considered here.

External pressure needs more care. This approach gives the stress in the wall, and the thin formulas here use the pressure difference. Buckling under outside pressure is a separate question that these formulas do not answer.

Real vessels add fatigue from repeated pressure cycles, stress concentrations at openings, welds, temperature and the material itself. Standards add empirical terms and safety factors to the two thin formulas for these reasons. The result here is an educational stress calculation, not a design, and pressure equipment must be designed, tested and approved by a qualified person under the applicable code.

A last practical point concerns the numbers on screen. A browser formats a result with its own rules, as the Intl.NumberFormat reference describes, and the digits shown are a display choice rather than a measurement. A long check of thousands of random vessels is best run in a background worker, as the Web Workers reference describes, so the page stays responsive.

Sources

Every source consulted for this guide. Links checked November 12, 2026.

  1. Cylinder stress Wikipedia
  2. Pressure vessel Wikipedia
  3. Barlow's formula Wikipedia
  4. Hoop stress Wikipedia
  5. Autofrettage Wikipedia
  6. Gabriel Lame Wikipedia
  7. Tresca yield criterion Wikipedia
  8. Thin-shell structure Wikipedia
  9. Stress (mechanics) Wikipedia
  10. Web Workers API MDN Web Docs (Mozilla)
  11. Intl.NumberFormat MDN Web Docs (Mozilla)