Skip to main content

Pipe Wall Thickness Calculator - Barlow's Formula (Free)

Pipe Wall Thickness Calculator - Barlow's Formula (Free)

Free Engineering Calculator · Pipe Sizing · Hoop Stress · Pressure Design · Barlow's Formula

Need to estimate the required pipe wall thickness from internal pressure? This free Pipe Wall Thickness Calculator uses the basic Barlow's formula relationship to estimate pressure-induced hoop stress and the minimum theoretical wall thickness for a pressurized pipe. Enter the internal pressure, outside diameter, allowable stress and weld or joint efficiency to obtain a preliminary design value.

Pipe wall thickness is one of the first checks in pressure piping because internal pressure creates circumferential, or hoop, stress in the pipe wall. If the wall is too thin for the design pressure and material strength, the pipe may not have an adequate pressure margin. Barlow's formula gives engineers a compact way to connect pressure, pipe diameter, allowable stress and wall thickness.

Pipe Wall Thickness Calculator
Figure 1 Pipe Wall Calculator Working Process


FREE PIPE DESIGN TOOL

Calculate Wall Thickness and Hoop Stress

Use the calculator for a preliminary thin-wall pressure check. It also accounts for joint efficiency and corrosion allowance so you can see how practical design inputs change the required wall.

Pipe Wall Thickness / Hoop Stress Calculator

Enter pressure in bar, diameter and thickness in mm, and allowable material stress in MPa. The calculator converts pressure internally so the Barlow equation remains dimensionally consistent.

Required pressure wall4.167 mm
Hoop stress100.00 MPa
Pressure capacity12.00 bar
StatusCalculated

Educational and preliminary calculation only. Final piping or pressure-vessel thickness must be checked against the applicable design code, material data, temperature, manufacturing method, corrosion requirements, loads and inspection requirements.

What Is Barlow's Formula?

Barlow's formula is a commonly used thin-wall pressure relationship for estimating the circumferential stress or required wall thickness of a cylindrical pipe subjected to internal pressure. In its basic form, it balances the pressure force acting to separate the pipe wall against the resisting force provided by the material around the circumference.

t = P D / (2 S E)

Here, t is the theoretical pressure wall thickness, P is internal design pressure, D is pipe outside diameter for the form used by this calculator, S is allowable material stress, and E is the joint or weld efficiency factor used in the preliminary calculation.

When no joint reduction is being considered, E may be set to 1.0. If a particular design code or fabrication condition requires a lower efficiency, the value should be selected from that applicable standard rather than guessed.

Unit check: In this calculator, pressure entered in bar is converted to MPa using 1 bar = 0.1 MPa. With pressure in MPa, diameter in mm and stress in MPa, the calculated thickness is obtained directly in mm.

Hoop Stress in a Pressurized Pipe

Internal pressure produces a circumferential stress around the pipe wall. For the thin-wall Barlow relationship, hoop stress can be estimated as:

sigmah = P D / (2 t)

where sigmah is hoop stress, P is internal pressure, D is the pipe outside diameter used by the chosen form, and t is wall thickness.

The engineering idea is simple: increasing pressure or pipe diameter increases hoop stress, while increasing wall thickness reduces it. That's why large-diameter pressure pipe can require substantial wall thickness even when the internal pressure seems moderate.

InputIf it increasesEffect on basic hoop stress
Internal pressure, PHigherHoop stress increases.
Pipe diameter, DHigherHoop stress increases.
Wall thickness, tHigherHoop stress decreases.
Allowable stress, SHigherRequired theoretical wall can decrease.
Joint efficiency, EHigherRequired theoretical wall can decrease.

Worked Example: Calculate Required Pipe Wall Thickness

Consider a preliminary piping calculation with:

  • Internal pressure = 10 bar
  • Outside diameter = 100 mm
  • Allowable stress = 120 MPa
  • Joint efficiency = 1.0
  • Corrosion allowance = 1 mm

First convert pressure:

10 bar = 1 MPa

The theoretical pressure wall is:

t = (1 × 100) / (2 × 120 × 1) = 0.417 mm

After adding the stated 1 mm corrosion allowance:

tdesign = 0.417 + 1.0 = 1.417 mm

The example demonstrates why corrosion allowance and other code-required minimums can become more influential than the simple pressure membrane calculation. A calculated pressure wall of only a fraction of a millimetre doesn't mean a pipe should be manufactured at that thickness. Practical minimum wall, manufacturing tolerance, handling, buckling, local loads and the governing design code still need to be checked.

Corrosion Allowance and Joint Efficiency

A pressure calculation usually gives a theoretical pressure-retaining thickness. Real piping design often needs additional thickness for corrosion, erosion, wear or other expected material loss over the service life.

If a corrosion allowance is specified, a simple preliminary approach is:

tnominal = tpressure + c

where c is the corrosion allowance.

Joint efficiency is another factor that can influence the required pressure wall. A welded pipe isn't necessarily treated the same way as seamless pipe in a code calculation. The appropriate efficiency depends on the fabrication process, weld category, inspection and governing standard.

Don't invent E. The joint-efficiency input in this calculator is a preliminary parameter. For a real pressure design, use the value permitted by the applicable piping or pressure-vessel code and the actual fabrication and inspection condition.

Calculate Pressure Capacity From a Known Wall Thickness

The same Barlow relationship can be rearranged to estimate pressure capacity:

P = 2 S E t / D

This reverse calculation is useful for an early screening check when a pipe size and wall thickness are already known. It can help answer a question such as: What internal pressure corresponds to the selected allowable stress and wall thickness?

Suppose:

  • Outside diameter = 100 mm
  • Wall thickness = 5 mm
  • Allowable stress = 120 MPa
  • Joint efficiency = 1.0
P = (2 × 120 × 1 × 5) / 100 = 12 MPa

That corresponds to approximately 120 bar in this simplified membrane-stress calculation.

The pressure-capacity result is a theoretical membrane-stress value, not a certified maximum allowable working pressure. Actual design limits can be lower because of temperature, code factors, material condition, external pressure, cyclic loading, fittings, threads, weld details, manufacturing tolerances and other load cases.

Pipe Wall Thickness vs Internal and Outside Diameter

Diameter conventions deserve attention because different engineering equations and standards may use outside diameter, inside diameter or a mean diameter. The calculator on this page explicitly uses the outside diameter in its Barlow-style relationship.

If you are working from inside diameter instead, don't simply substitute it without checking the equation and design convention being used. For thicker walls, the thin-wall approximation becomes less suitable and a more rigorous pressure-vessel treatment may be required.

How Wall Thickness Fits Into Pipe-System Design

Wall thickness isn't the only parameter that matters in a pressurized piping system. Flow rate, pipe diameter, velocity, friction losses, pump head and pressure drop all interact with the mechanical design.

Process pressure
Design condition
Pipe geometry
Diameter + wall
Flow system
Velocity + losses
Mechanical check
Stress + code

For the hydraulic side of the problem, the Pipe Flow Velocity Calculator can be used to check velocity from flow rate and pipe area. The Pressure Drop and Head Loss Calculator is useful for estimating friction-related pressure losses through a piping system.

If a pump supplies the system, the Pump Power Calculator connects flow rate and head with hydraulic power. For flow-regime checks, use the Reynolds Number Calculator to estimate whether the flow is laminar or turbulent under the stated conditions.

Why Allowable Stress Is Used Instead of Ultimate Strength

A pressure-pipe design shouldn't normally compare operating stress directly with a material's ultimate tensile strength and call the pipe safe. The design approach uses an allowable stress or an equivalent code-defined design limit that incorporates the relevant material and design requirements.

Allowable stress can depend on material grade and temperature. A value appropriate for room-temperature screening shouldn't automatically be reused for a high-temperature application. For a real project, obtain the permitted material properties from the governing design standard and material specification.

Limitations of the Basic Barlow Calculation

Barlow's formula is useful because it's simple. Its simplicity is also the reason it shouldn't be treated as a complete pressure-vessel design procedure.

Thin-wall assumption

The basic relationship is most appropriate when the wall is relatively thin compared with the pipe diameter. Thick-walled cylinders can require Lamé-type stress analysis rather than a simple thin-wall membrane equation.

Internal pressure is only one load

Real piping can experience axial loads, bending, thermal expansion, vibration, support reactions, external loads and pressure transients. These can create stresses that aren't captured by the basic hoop-stress equation.

External pressure is a different problem

Vacuum service or external pressure can introduce buckling or collapse concerns. Increasing material strength alone doesn't solve an external-pressure stability problem.

Openings and fittings need separate checks

Nozzle openings, branches, threaded connections, reducers, elbows, flanges and other discontinuities can create local stresses. A straight-pipe Barlow calculation doesn't automatically validate those components.

Temperature changes material behaviour

Allowable stress and material properties can vary with temperature. High-temperature service may also involve creep or other time-dependent effects.

Pressure-vessel and piping safety note: This page is an educational and preliminary engineering tool. It does not replace ASME, EN, API, ISO, or other applicable design-code calculations, certified engineering review, manufacturer requirements, inspection rules, or project specifications.

Common Pipe Wall Thickness Calculation Mistakes

1. Mixing pressure units

Using bar directly with a stress value in MPa creates a unit mismatch. Convert pressure first. In this calculator, 1 bar is converted to 0.1 MPa.

2. Using the wrong diameter

Check whether the selected equation and design standard require outside diameter, inside diameter or another diameter definition. This calculator explicitly uses outside diameter.

3. Forgetting corrosion allowance

A calculated pressure wall may be too small for a service where material loss is expected. Add the project-specified allowance where applicable, then check code minimums and tolerances.

4. Treating allowable stress as tensile strength

Allowable stress is a design limit, not simply the ultimate tensile strength. Use the material and temperature-specific value required by the governing standard.

5. Ignoring manufacturing tolerance

The nominal manufactured wall can differ from the minimum wall available in service. Mill tolerance and other manufacturing requirements need to be handled according to the applicable specification.

6. Treating Barlow's formula as a complete code calculation

The equation provides a useful membrane-stress estimate, but it doesn't automatically cover every load case, component geometry or design-code requirement.

Quick Barlow's Formula Reference

CalculationRelationshipPurpose
Required pressure wallt = P D / (2 S E)Estimate theoretical wall thickness from pressure and allowable stress.
Hoop stresssigma_h = P D / (2 t)Estimate circumferential membrane stress for a known wall.
Pressure capacityP = 2 S E t / DReverse-calculate theoretical pressure for a known wall.
Nominal preliminary wallt_nominal = t_pressure + corrosion allowanceAccount for specified material-loss allowance.
Engineering workflow: determine design pressure → select the correct diameter convention → obtain allowable stress → account for joint efficiency → calculate pressure wall → add applicable corrosion allowance → check code minimums, tolerance and all other loads.

Frequently Asked Questions About Pipe Wall Thickness

What is Barlow's formula for pipe wall thickness?

For the basic thin-wall pressure relationship used here, the theoretical pressure wall thickness is t = P D / (2 S E), where P is internal pressure, D is outside diameter, S is allowable stress and E is the applicable joint efficiency factor.

How do I calculate hoop stress in a pipe?

For the thin-wall Barlow relationship, hoop stress can be estimated as sigma_h = P D / (2 t), using consistent units for pressure, diameter and wall thickness.

Can this calculator be used for pressure-vessel design?

It can be used for a preliminary engineering estimate, but it should not be treated as a complete pressure-vessel code calculation. Final pressure-vessel design requires the applicable code, material properties, temperature, geometry, fabrication and all relevant load cases.

Why is corrosion allowance added to wall thickness?

Corrosion allowance provides additional material thickness intended to accommodate expected material loss during the design service period. The required value should come from the actual service and project or code requirements.

What happens to hoop stress when pipe wall thickness increases?

For the same internal pressure and diameter, hoop stress decreases as wall thickness increases because the pressure load is carried by a larger amount of material around the pipe circumference.

Does Barlow's formula work for thick-walled pipes?

The basic Barlow relationship is a thin-wall approximation. When the wall is not small compared with the pipe diameter, a more rigorous thick-cylinder stress analysis may be required.

Does the calculator account for joint efficiency?

Yes. The calculator includes a joint-efficiency input E. Use 1.0 when appropriate for the preliminary calculation, or enter the value required by the applicable design standard and fabrication condition.

Final Takeaway

The Pipe Wall Thickness Calculator provides a quick way to connect internal pressure, pipe diameter, allowable stress and wall thickness using Barlow's formula. It is particularly useful for early-stage engineering checks, design education and sanity-checking a pressure-pipe calculation.

For real pressure piping or pressure-vessel work, the calculated value should be treated as a starting point. The final wall selection needs to account for the governing code, temperature, material grade, joint efficiency, corrosion or erosion allowance, manufacturing tolerance, external loads, pressure transients, local stresses and other applicable requirements.

About the author: Vikas Sharma is an engineering researcher and technical writer working across fluid mechanics, CFD, engineering simulation and practical engineering calculation tools.

Comments

Popular posts from this blog

Ceiling Fan Simulation in a Room Using Ansys Fluent | Adding Fan Boundary Condition in CFD

Ceiling Fan Simulation in a Room Using Ansys Fluent | Adding Fan Boundary Condition in CFD Introduction In this tutorial, we will perform a CFD simulation of a ceiling fan inside a room using Ansys Fluent. We will also learn how to add a fan boundary condition to simulate airflow behavior accurately. Step 1: Setting Up the Geometry in Ansys Open Ansys Workbench and create a new Fluid Flow (Fluent) Project . Use SpaceClaim or DesignModeler to create the room and fan geometry. Ensure that the fan blades are modeled properly or import the 3D fan model. Step 2: Meshing the Model Open the Meshing Tool in Ansys. Apply a fine mesh around the fan for better resolution. Use inflation layers near walls for accurate boundary layer calculations. Step 3: Defining the Boundary Conditions Open Ansys Fluent and import the mesh. Set the room walls as no-slip boundaries. Define the fan region and apply the fan boundary condition . Set the inlet velocity and outlet pressure as per simulation r...

TUTORIAL 03: CFD ANALYSIS OF DATA CENTER USING OPEN FOAM SOFTWARE

Title : CFD analysis of data center using open foam software Figure 3.1 (a) Velocity Contour of data center with BCs Figure 3.1 (b) Meshed domain of data center Problem Identification In this problem investigation of data center using OPENFOAM is proposed for heat transfer modeling (data center cooling), in which air is flow in data center from prescribed location section from one inlet condition, which is assumed at surface of left side wall (See the following figure). Air properties are selected from literature available in digital medium. Outlet is at top of the room which is selected for cooling effect of data center system. Some assumptions are applied in this problem like initial room temperature is assumed at constant value for this problem. Air properties are also assumed constant for this problem. “ buoyantBoussinesqPimpleFoam ”  is selected as solver for this problem. Open Foam software is installed on Win 7, provided by FSD blueCAPE Lda: http://bluec...

FDS-01: SIMPLE FLUID FLOW ANALYSIS USING FDS (FIRE DYNAMICS SIMULATOR) TOOL

FDS-01: SIMPLE FLUID FLOW ANALYSIS USING FDS (FIRE DYNAMICS SIMULATOR) TOOL In this tutorial a window is created which is treated as inflow of air with velocity of 2.5 m/s having temperature of 5 C. The outflow conditions is treated at top of the office, and the boundary condition is set as open to atmosphere  The steps are followed in this tutorial are listed below::   Step I: create header syntax file to start program in FDS software.   &HEAD CHID='office'/ Note: office is user defined name of FDS function/ file.   Step II: create syntax for simulation flow time.   &TIME T_END=15.0 Note: 15 sec is simulation flow time, which is solved in FDS software.   Step III: create syntax for initial temperature of domain.   &MISC TMPA=45.0/   Note: 45 C is initial room temperature, which is provided in this tutorial. Following three syntax is must for every FDS function.   Step IV: Create syntax for geom...