Skip to content

Pipe Wall Thickness

Updated:

Calculate the minimum pipe wall thickness required to safely contain internal pressure using Barlow's formula. Enter the internal pressure, outside diameter, allowable hoop stress and design factor to get the result in mm and inches.

Minimum Wall Thickness from Internal Pressure (Barlow's Formula)

Input Fields
P
D
Barlow's formula uses the outside diameter.
S
X52 steel SMYS ≈ 359 MPa; A106 seamless steel ≈ 138 MPa.
F
0.72 for gas transmission lines (ASME B31.8); 0.60 for liquid pipelines (B31.4); 1.0 for no derating.
If enabled, the result will update automatically when you change any value.

Pipe Wall Thickness Formula

Formula
t = \frac{P \cdot D}{2 \cdot S \cdot F}

Where:

  • \(t\) — minimum required wall thickness
  • \(P\) — internal design pressure
  • \(D\) — pipe outside diameter
  • \(S\) — allowable hoop stress of the pipe material
  • \(F\) — design (safety) factor

This is Barlow's formula, the classic thin-wall hoop stress relationship. It states that the pressure force trying to split the pipe along its length must be balanced by the tensile strength of the two wall sections carrying that load.

Pipe Wall Thickness – Calculation Example

Example: a gas transmission line made of X52 steel (SMYS ≈ 359 MPa) with an outside diameter of 219.1 mm carries an internal pressure of 100 bar (10 MPa). The design factor is 0.72 per ASME B31.8.

\[ t = \frac{P \cdot D}{2 \cdot S \cdot F} = \frac{10 \text{ MPa} \times 219.1 \text{ mm}}{2 \times 359 \text{ MPa} \times 0.72} = \frac{2191}{516.96} \approx 4.24 \text{ mm} \]

Result: the theoretical minimum wall thickness is 4.24 mm (0.167 in). Before selecting a pipe schedule, add allowances for corrosion, manufacturing tolerance and threading.

How to Use the Pipe Wall Thickness Calculator

  1. Enter the Internal pressure (P) your pipe must contain and select its unit (bar, MPa, kPa or psi).
  2. Enter the Pipe outside diameter (D) with its unit (mm, in, m or ft). Barlow's formula uses the outside diameter, not the inside diameter.
  3. Enter the Allowable hoop stress (S) for your material in MPa or psi. For steel pipe this is typically the specified minimum yield strength (SMYS).
  4. Enter the Design factor (F): 0.72 for gas transmission lines (ASME B31.8), 0.60 for liquid pipelines (ASME B31.4), or 1.0 if you want the undeterated result.
  5. Read the minimum wall thickness in mm and inches, along with the full calculation summary.

What Is Pipe Wall Thickness Calculation?

When a pipe carries internal pressure, that pressure pushes outward against the wall all around the circumference. The stress this creates in the wall is called hoop stress (or circumferential stress), and it is the dominant stress in a pressurized pipe — roughly twice the longitudinal stress. If the hoop stress exceeds what the material can withstand, the pipe will split along its length. Calculating the required wall thickness is therefore the first step in any pressure piping design.

Barlow's formula is the simplest and most widely used method for this check. It assumes the wall is thin compared to the diameter, so the hoop stress is evenly distributed across the wall thickness. The formula gives the theoretical minimum thickness at which the hoop stress exactly equals the allowable stress. The design factor \(F\) then derates that allowable stress to account for material variability, welding, construction quality and the consequences of failure — the lower the design factor, the thicker and safer the resulting pipe.

The result from this calculator is the theoretical minimum thickness, not the pipe you should order. Real designs must add a corrosion allowance (often 1–3 mm), subtract the manufacturing tolerance (typically 12.5% of wall thickness for seamless pipe), and account for threading or grooving. You then round up to the nearest standard schedule (STD, XS, SCH 40, SCH 80, etc.). A result of 4.24 mm, for example, would typically lead to selecting a pipe with at least 6–7 mm nominal wall.

Assumptions and Limitations

  • Thin-wall assumption: Barlow's formula is accurate when \(D/t > 20\). For thick-wall pipes, the hoop stress is not uniform through the wall and Lamé's equations give a more accurate (usually thinner) result.
  • Static internal pressure only: the formula ignores external loads, bending, thermal expansion, water hammer, vacuum collapse and external pressure buckling.
  • No joint efficiency: welded pipes may need an additional weld joint factor depending on the code and weld type.
  • Allowable stress selection: for steel pipe the SMYS is a common choice, but some codes require a fraction of it or use different bases — always confirm with the applicable standard (ASME B31.1, B31.3, B31.4, B31.8, EN 13480).
  • Corrosion and erosion: add an allowance on top of the calculated minimum; the calculated value alone will leave zero margin over the service life.

Related Calculators

Once the wall thickness is set, you can continue sizing the system: estimate friction losses with the Pipe Pressure Drop calculator, check whether the flow regime is laminar or turbulent with the Reynolds Number calculator, and size the driver with the Pump Power calculator.

Frequently Asked Questions

How much pressure can an existing pipe hold (reverse Barlow's calculation)?

Rearrange the formula to solve for pressure: \( P = \frac{2 \cdot S \cdot F \cdot t}{D} \). Use the actual (measured) wall thickness, minus any corrosion allowance you want to keep in reserve. For example, a 219.1 mm X52 pipe with 6 mm remaining wall and a design factor of 0.72 holds \( P = 2 \times 359 \times 0.72 \times 6 / 219.1 \approx 14.2 \) MPa, or about 142 bar.

What allowable stress (SMYS) should I enter for common pipe materials?

Typical specified minimum yield strengths: API 5L X42 ≈ 290 MPa, X52 ≈ 359 MPa, X60 ≈ 414 MPa, X65 ≈ 448 MPa; ASTM A106 Grade B ≈ 240 MPa; 304/316 stainless steel ≈ 205 MPa; copper ≈ 70 MPa; PVC varies by class — check the manufacturer datasheet. Note that some codes require an allowable stress well below SMYS (e.g., ASME B31.3 uses a fraction of it), so verify your applicable standard before entering a value.

Why does Barlow's formula use the outside diameter instead of the inside diameter?

Barlow's original thin-wall derivation can be written with either diameter, but the outside-diameter version is the conservative one — it always gives a slightly larger thickness. Pipeline codes like ASME B31.8 and B31.4 mandate the outside diameter for this reason. Using the inside diameter understates the required wall by roughly \( 2t/D \), which is small for thin pipes but grows for thick-wall pipe. When in doubt, use the outside diameter.

How do I go from the calculated thickness to a real pipe schedule?

Work through three steps. First add the corrosion allowance: \( t_1 = t + c \) (commonly \( c = 1\text{–}3 \) mm). Then divide by 0.875 to cover the 12.5% manufacturing under-tolerance on seamless pipe: \( t_2 = t_1 / 0.875 \). Finally round up to the nearest standard schedule (SCH 40, SCH 80, STD, XS). A theoretical 4.24 mm plus 3 mm corrosion gives \( 7.24/0.875 \approx 8.3 \) mm — so order a pipe with at least 8.6 mm wall.

When is Barlow's formula not accurate enough, and what should I use instead?

Barlow assumes the hoop stress is uniform through the wall, which holds when the diameter is at least 20 times the thickness (\( D/t > 20 \)). For thick-wall pipe — high-pressure tubing, small bore, or hydraulic cylinders — the inner surface actually sees the peak stress. Lamé's (thick-wall) equations account for this and usually allow a slightly thinner wall. Also remember Barlow covers internal pressure only: bending, external pressure, vacuum and thermal loads need separate checks.

What are the most common mistakes in pipe wall thickness calculations?

The top errors are: mixing units (entering psi stress with MPa pressure inflates the result 145 times over); using ultimate tensile strength instead of yield strength; forgetting the design factor entirely (F = 1 gives a wall with zero safety margin); using inside instead of outside diameter; and treating the theoretical minimum as the orderable wall without adding corrosion allowance and tolerance. Always sanity-check the result: \( D/t \) should exceed 20, and the thickness should scale linearly with pressure.

Is a higher or lower design factor safer?

Lower is safer — and thicker. The design factor derates the allowable stress, so halving it from 0.72 to 0.36 roughly doubles the required wall thickness. Typical code values: 0.72 for gas transmission pipelines in remote areas (ASME B31.8), 0.60 for liquid pipelines (ASME B31.4), and as low as 0.4–0.5 near populated areas or for offshore risers. Process piping under ASME B31.3 instead uses allowable stress tables with built-in safety margins rather than an explicit design factor.

Leave a Reply

Your email address will not be published. Required fields are marked *