ASME B31.1 Power Piping Wall Thickness Calculator
Solves for pressure design thickness t, minimum wall tm = t + A, and ordering thickness after mill under-tolerance, from the SE + Py form of ASME B31.1 ¶104.1.2 Eq. (7). Allowable SE and coefficient y come from Appendix A and Table 104.1.2-1.
Computes the pressure design thickness and minimum required wall tm for power piping per ASME B31.1 ¶104.1.2. The identical SE + Py equation form (with each section's own allowables and y values) serves the Building & HVAC line for B31.5 refrigeration and B31.9 building-services piping.
Method
t = P·Do / ( 2 (S·E + P·y) )
tm = t + A
torder = tm / (1 − mill tolerance)
where A is the additional thickness allowance (corrosion, erosion, threading, structural). S·E — the maximum allowable stress including longitudinal joint efficiency — and y come from the B31.1 Appendix A tables and Table 104.1.2-1 respectively, entered by you.
| Inputs | ||
|---|---|---|
| P | Internal design gauge pressure | psi |
| Do | Pipe outside diameter | in |
| SE | Max allowable stress incl. joint efficiency (Appendix A — user-supplied) | psi |
| y | Temperature coefficient (Table 104.1.2-1 — user-supplied) | — |
| A | Additional thickness allowance | in |
| mill tol | Mill under-tolerance fraction | — |
| Outputs | ||
| t | Pressure design thickness | in |
| tm | Minimum required wall t + A | in |
| t_order | Ordering thickness after mill tolerance | in |
Limitations — what this calculator is not
- Straight pipe under internal pressure; bends per ¶102.4.5 (Bend Thickness card), branch connections per ¶104.3.1 (Branch Reinforcement card).
- Valid for t < Do/6 (thin-wall); beyond that the Code requires special consideration.
- SE and y are user-supplied from the governing edition — including the joint-efficiency portion for ERW/EFW pipe.
- Boiler external piping falls under B31.1 with additional PG-mandated requirements from BPVC Section I not covered here.
Worked example — fixture-verified
NPS 8 (8.625 in OD) main steam-class line at 1,000 psi. SE = 15,000 psi, y = 0.4, allowance A = 0.065 in, 12.5% mill tolerance.
| Given | ||
|---|---|---|
| Design pressure P | 1,000 | psi |
| Outside diameter Do | 8.625 | in |
| Allowable SE | 15,000 | psi |
| Coefficient y | 0.4 | — |
| Allowance A | 0.065 | in |
| Mill tolerance | 12.5 | % |
Step by step
- Denominator: 2·(SE + P·y) = 2·(15,000 + 1,000·0.4) = 2·15,400 = 30,800 psi.
- Pressure design thickness: t = 1,000·8.625 / 30,800 = 0.28003 in.
- Minimum wall: tm = 0.28003 + 0.065 = 0.34503 in.
- Ordering thickness: 0.34503 / 0.875 = 0.39432 in → Sch 60 (0.406 in) covers it; Sch 40 (0.322 in) does not.
| Result COMPUTED | ||
|---|---|---|
| t — pressure design thickness | 0.28003 | in |
| tm — minimum required | 0.34503 | in |
| Ordering thickness | 0.39432 | in |
The B31.1 and B31.3 forms differ in bookkeeping (A inside tm vs c, W factor, allowable bases) — comparing this result against the B31.3 card for the same geometry is a good way to see the code philosophies diverge.
b311-wall-thickness.json — case “NPS 8 @ 1000 psi, S=15000, E=1, y=0.4, A=0.065, 12.5% mill tol” (tolerance 0.00001) — in the
calc-core release gate. It re-runs on every commit; a red fixture blocks deployment.
See the validation methodology.Sources & citations
- ASME B31.1, Power Piping — ¶104.1.2, pressure design of straight pipe (Eq. 7 form).
- ASME B31.1 — Appendix A allowable stress tables; Table 104.1.2-1 coefficient y — values user-supplied, not embedded.
- ASME B31.5 / B31.9 — same equation form used by the Building & HVAC line with those sections' allowables.
Per the source & citation policy, allowable-stress and factor table values are user-supplied — this page and the app cite paragraph numbers and never reproduce ASME table data.
FAQ
How is the B31.1 equation different from B31.3 Eq. (3a)?
Structurally they are the same thin-wall form. B31.1 uses SE as a single user-entered product (allowable including joint efficiency) and adds allowance A explicitly; B31.3 separates E and W factors and uses c for allowances. Allowable-stress bases also differ between the books, so the same pipe can require different walls under each code.
Does this calculator apply to boiler external piping?
The equation applies, but boiler external piping carries additional Section I requirements (materials, valves, inspection) beyond wall thickness — verify jurisdiction-specific rules separately.
Related calculators
- ASME B31.3 Pipe Wall Thickness Calculator — Same check under B31.3 — compare the two codes
- Pipe Bend Minimum Wall Thickness Calculator (B31.3 ¶304.2.1) — Bends excluded here — covered by ¶102.4.5
- Welded Branch Connection Reinforcement Calculator (ASME B31.3 ¶304.3.3) — Branch connections excluded here — ¶104.3.1 area method
- Hydrostatic / Pneumatic Leak Test Pressure Calculator (ASME B31.3) — Hydro test per ¶137.4.5 after sizing the wall