ASME pipe thickness calculator
Process pipe wall thickness is set by pressure, diameter, allowable stress and joint quality, then increased for corrosion and for the mill tolerance you will actually receive. This engine applies the B31.3 straight-pipe equation, converts it to an order thickness, and back-checks the MAWP of the wall you selected.
| Term | Value |
|---|---|
| Design pressure P | 4.00 MPa |
| Outside diameter D | 168.3 mm |
| Allowable stress S | 138 MPa |
| Pressure thickness | 2.41 mm |
| Corrosion allowance c | 1.50 mm |
| Required t | 3.91 mm |
| Order thickness (mill tolerance) | 4.47 mm |
| Provided wall | 7.11 mm |
Y = 0.4 applies to ferritic steel below 482 °C; use the code table for other materials and temperatures.
t = P·D / (2(S·E·W + P·Y)) · ASME B31.3 §304.1.2.
t_req = t + c · c covers corrosion and erosion over the design life.
t_order = t_req / (1 − mill tolerance) · Rolling tolerance is typically 12.5%.
A clear path from inputs to results.
Process pipe wall thickness is set by pressure, diameter, allowable stress and joint quality, then increased for corrosion and for the mill tolerance you will actually receive. This calculator applies the ASME B31.3 straight-pipe equation, converts it to an order thickness, and back-checks the MAWP of the wall you selected.
How to use
- Enter design pressure and outside diameter.
- Set the allowable stress at design temperature from the code table.
- Apply the joint factor E and weld strength reduction W.
- Add the corrosion allowance and the mill tolerance.
- Compare the provided wall with the required thickness.
The formula
Reference: ASME B31.3 Process Piping, §304.1.2 (straight pipe under internal pressure).
Worked example
4 MPa, 168.3 mm OD, S = 138 MPa, 1.5 mm allowance
- Design pressure 4 MPa.
- Outside diameter 168.3 mm.
- Allowable stress 138 MPa.
- E = W = 1.0, Y = 0.4.
- Corrosion allowance 1.5 mm.
- Provided wall 7.11 mm.
- 1
Pressure thickness: 4 × 168.3 / (2 × (138 + 4 × 0.4)) = 2.411 mm.
- 2
Add the corrosion allowance: 2.411 + 1.5 = 3.911 mm required.
- 3
Allow for 12.5% mill tolerance: 3.911 / 0.875 = 4.470 mm to order.
- 4
The selected 7.11 mm wall gives 55.0% utilisation.
- 5
MAWP of the provided wall is about 12.2 MPa, well above the 4 MPa design pressure.
Required 3.911 mm · order 4.470 mm · provided 7.11 mm at 55% utilisation.
Interpreting the result
On small-bore, low-pressure lines the corrosion allowance often exceeds the pressure term — the wall is there to survive the fluid, not the pressure. That is why material selection and inspection intervals matter as much as the calculation. The mill tolerance step is also easy to skip: ordering the calculated thickness rather than the order thickness is a common and expensive mistake.
Assumptions & limitations
- Straight pipe under internal pressure only. Bends, tees, reducers and closures have their own equations.
- The allowable stress, E, W and Y values must come from the B31.3 tables for the actual material and temperature.
- Corrosion allowance is a user judgement based on fluid and design life.
- External pressure, sustained and occasional loads, and flexibility analysis are outside this check.
Frequently asked questions
Why is the required thickness more than the pressure calculation?
The pressure term only resists internal pressure. The corrosion allowance and mill tolerance are added on top, and both are usually larger than the pressure term on low-pressure lines.
Can I use this for ASME B31.1 or B31.8?
The equation form is similar but the factors and allowable stresses differ. Use the code that governs your installation.
What is the Y coefficient?
A material and temperature dependent factor in B31.3; 0.4 applies to ferritic steel below 482 °C. Use the code table for other cases.
How do I pick the schedule?
Find the smallest schedule whose nominal wall exceeds the order thickness. The provided-wall input lets you test a candidate directly.
Methodology last reviewed 2026-10-21. Results are informational and not financial or engineering advice — see our disclaimer.