Hoop stress and Barlow's formula: pipe wall thickness under pressure, thin or thick wall (Lamé)
Published December 1, 2026 — the hoop stress of a pipe, Barlow's formula, the minimum wall thickness, the thick-wall case with Lamé's equations, which diameter to use, a worked example, Excel formulas and a calculator in bar, MPa or psi.
Direct answer: in a closed pipe under internal pressure p, the hoop stress is σθ = p·D / (2t) and the axial stress σa = p·D / (4t), i.e. half of it. Barlow's formula uses the outside diameter: P = 2·S·t / Do, which gives the minimum thickness t = p·Do / (2S) for an allowable stress S. Example: 60 × 4 mm pipe at 100 bar → σθ = 10 × 60 / 8 = 75 MPa. Below D/t ≈ 20 the wall is thick: the maximum stress is calculated with Lamé (70.4 MPa here).
1. Formulas for a pipe under internal pressure
Cut the pipe in two along a plane through its axis. Over a length L, pressure pushes the half-shell with a force p·D·L; the two cut sections of the wall hold it with 2·σθ·t·L. Equating the two gives the hoop stress. The same reasoning on a cut across the axis gives the axial stress, half as large: a pressurized pipe splits lengthwise, not crosswise.
Notation: p internal pressure, D diameter, t thickness, S allowable stress of the material, ri and ro inner and outer radii. Consistent units: MPa and mm (1 bar = 0.1 MPa), or psi and inches.
2. Which diameter to use? Thin or thick wall
The thin-wall formula assumes a uniform stress through the thickness. In reality it is higher inside than outside, and the gap grows as the wall thickens. The table compares, for p = 1, the three possible diameters with Lamé's exact value:
Values of σθ,max/p calculated with the formulas in section 1; in brackets, the difference from Lamé. Three lessons: Barlow with the outside diameter always overestimates the stress, which is why it is used for sizing; the mean diameter matches the exact value from D/t = 10; the inside diameter underestimates it and gives the average stress through the wall, not the maximum.
Usual rule: the wall is called thin when D/t ≥ 20 (r/t ≥ 10). Below that, calculate the maximum stress with Lamé, as for the hub of an interference fit, which follows the same equations.
3. Calculator: pipe stress and wall thickness
Default values: the example in section 4 (S = 235 / 1.5 for an S235 steel). The allowable stress S is an input: it comes from your design code or your safety factor. The calculator does not handle external pressure, allowances or temperature.
4. Worked example: 60 × 4 mm pipe at 100 bar
In inches: a 2.5 in × 0.15 in pipe at 1,450 psi gives σθ = 1,450 × 2.5 / 0.3 = 12,083 psi with Barlow. To estimate the burst pressure, the same formula is written with the tensile strength Rm instead of S (S235, Rm = 360 MPa: 2 × 360 × 4 / 60 = 48 MPa, i.e. 480 bar): this is an order of magnitude, never a working pressure.
5. What the formula does not cover
- Piping and pressure equipment codes (ASME B31.3, EN 13480, EN 13445…) start from the same idea but add their own factors: weld joint efficiency, temperature effects, tabulated allowable stress. For regulated equipment, the applicable code governs.
- Allowances: corrosion and the pipe's manufacturing tolerance are added to the calculated thickness. The ordered thickness is always greater than Barlow's t.
- External pressure: a pipe under vacuum or submerged is checked for buckling, not with Barlow. See the principle of buckling.
- Discontinuities: branches, bends, heads, threads and flanges concentrate stress; a threaded pipe loses the thread depth (see BSP and NPT pipe threads).
- Fatigue: a frequently varying pressure must be checked for fatigue, with much lower allowable stresses.
6. The calculation in Excel
Pressure in MPa in B1, outside diameter in mm in B2, thickness in B3, allowable stress in MPa in B4:
Formulas checked in LibreOffice Calc on the example in section 4. In French-language Excel, SI replaces IF and arguments are separated by semicolons. With a pressure in bar, divide B1 by 10; in psi and inches, the formulas stay the same.
Printable version: the pressurized pipe formula sheet as a PDF (A4, no sign-up): formulas, thin or thick wall table, example and Excel formulas.
7. FAQ
What is hoop stress?
The tensile stress in the wall of a pipe or vessel, tangential to its circumference, caused by internal pressure. For a thin wall it is σθ = p·D / (2t); it is the largest stress in the pipe, twice the axial stress.
What is Barlow's formula?
P = 2·S·t / Do, where P is the pressure, S the allowable stress, t the wall thickness and Do the outside diameter. Solved for thickness, it gives t = P·Do / (2S). Using the outside diameter puts the result on the safe side.
When is a pipe thin-walled?
The usual rule is D/t ≥ 20, i.e. r/t ≥ 10. Above it, the mean-diameter formula is within 0.3% of the exact value. Below it, use Lamé's equations, which give the maximum stress at the inner surface.
Why is hoop stress twice the axial stress?
In the hoop direction, the thrust p·D·L is carried by two wall strips of section t·L; in the axial direction, the thrust p·πD²/4 is carried by the whole ring of section π·D·t. The ratio of the two is exactly 2.
Which diameter goes into the formula?
The outside diameter for sizing (Barlow, safe result), the mean diameter to estimate the real maximum stress of a thin wall. The inside diameter gives the average stress through the wall and underestimates the maximum.