Pipe Pressure Calculator
A pipe pressure calculator uses Barlow's formula to determine the maximum allowable working pressure (MAWP) of a pipe based on its outer diameter, wall thickness, and the allowable hoop stress of the pipe material. This calculation is essential for pressure system design, pipeline engineering, and safety assessment. MAWP must always exceed the design operating pressure with adequate margin. This tool calculates MAWP using the standard Barlow formula, allows you to input your pipe's actual dimensions and material allowable stress, and checks the result against a user-specified design pressure to determine whether the pipe has adequate pressure rating.
Barlow's formula
MAWP = (2 x S x t x E) / OD
Burst Pressure (approx.) = MAWP x Safety Factor (~3.5 for ASME)
S = allowable hoop stress (psi), t = wall thickness (in),
E = weld joint efficiency (1.0 for seamless, 0.85 for ERW, 0.72 for furnace butt-welded),
OD = outside diameter (in)
Frequently asked questions
What is Barlow's formula for pipe pressure?
Barlow's formula calculates the bursting pressure (or allowable working pressure) of a thin-walled pressure vessel or pipe: P = (2 x S x t) / OD, where P is the pressure (psi), S is the material allowable hoop stress (psi), t is the wall thickness (in), and OD is the outside diameter (in). Apply a safety factor by using the allowable stress rather than the ultimate tensile strength.
What is the allowable stress for A53 Grade B steel pipe?
ASTM A53 Grade B carbon steel has a minimum tensile strength of 60,000 psi and a minimum yield strength of 35,000 psi. The ASME B31.3 allowable stress for this material at ambient temperature is approximately 15,000 to 20,000 psi, depending on weld efficiency and service classification.
What is the difference between MAWP and design pressure?
Design pressure is the maximum operating pressure the system is designed for, set by the process engineer. MAWP (maximum allowable working pressure) is the maximum pressure that can be safely applied to the pipe based on its material, wall thickness, and code allowances. MAWP is typically equal to or greater than the design pressure.
Does Barlow's formula apply to thick-walled pipe?
Barlow's formula is accurate for thin-walled pipe where t/OD is less than about 0.1. For thick-walled pipe (t/OD greater than 0.1), more rigorous formulas such as the Lame equation should be used. ASME B31.3 and B31.1 provide the code-correct wall thickness calculation methods.
What safety factor is used for pipe pressure calculations?
The safety factor is implicit in the allowable stress value used in the formula. ASME codes typically use an allowable stress equal to the lesser of (tensile strength / 3.5) or (2/3 of yield strength), providing safety factors of 3.5 and 1.5 respectively. Always use code allowable stresses, not ultimate tensile strength, in pressure calculations.
Official sources
- ASME: ASME B31.3 Process Piping Code - Pressure Design of Straight Pipe.
- ASME: ASME B31.1 Power Piping - Wall Thickness and Pressure Calculations.
Reviewed by the CalculatorHub team, edited by James Graham, 14 June 2026. See our methodology.