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.
Method last updated (calculation changelog) · fixture-verified on every build — most recently 2026-09-03.
Built and fixture-verified by Matthew Norris, P.E. — active P.E. licensure in Arizona, California, Kansas, Missouri, North Carolina, Texas.
Computes the pressure design thickness t, the minimum required wall tm = t + A, and the nominal ordering thickness after mill under-tolerance for power piping per ASME B31.1 ¶104.1.2. Reach for it when sizing the wall of a new steam, feedwater, condensate or blowdown line, when confirming that a specified schedule still covers the design pressure once the corrosion allowance is added, or when checking a vendor calculation line by line before it enters the design file. Allowable stress SE and coefficient y stay user inputs from the governing edition — no Code table values are embedded. 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.
.pcp project files and the batch runner —
$2.99 / month. Compare tiers →Method
Pressure design of straight pipe under internal pressure, B31.1 ¶104.1.2 (Eq. 7 form):
t = P·Do / ( 2 (S·E + P·y) )
tm = t + A
torder = tm / (1 − mill tolerance)
The calculator applies the equation exactly as written. It first forms the denominator 2·(S·E + P·y): S·E is the maximum allowable stress including longitudinal joint efficiency, taken from the B31.1 Appendix A tables for the material at design temperature, and y is the temperature coefficient of Table 104.1.2-1, which credits stress redistribution through the wall as temperature rises. Dividing P·Do by that denominator gives the pressure design thickness t. The additional thickness allowance A — corrosion, erosion, threading or grooving, structural — is added to give the minimum required wall tm, and dividing by (1 − mill tolerance) grosses tm up to the nominal thickness to order, so pipe delivered at the bottom of the mill's under-tolerance still meets tm. Units are consistent-unit: psi with inches, or MPa with millimetres. If t reaches Do/6 the calculator flags the result as outside the thin-wall validity of the equation.
| 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 only; bends per ¶102.4.5 (Bend Thickness card), branch connections per ¶104.3.1 (Branch Reinforcement card).
- Valid for t < Do/6 (thin-wall). The calculator warns when t reaches Do/6; beyond that the Code requires special consideration and a thick-wall treatment this card does not perform.
- SE and y are user-supplied from the governing edition — including the joint-efficiency portion for ERW/EFW pipe and any weld-strength reduction the edition requires at creep temperatures. The calculator embeds no Appendix A or Table 104.1.2-1 values and cannot verify that the pair you entered belongs to your material, design temperature and edition.
- Internal pressure containment only — no external pressure, vacuum or collapse check.
- Wall thickness is only the pressure-design half of B31.1 compliance. Sustained, occasional and thermal-expansion stress evaluation, support spacing, and flexibility analysis are separate calculations this card does not touch — a wall that passes ¶104.1.2 can still belong to a line that fails its stress analysis.
- Boiler external piping falls under B31.1 with additional PG-mandated requirements from BPVC Section I not covered here.
- The ordering thickness grosses up for mill under-tolerance only; it does not select a schedule or confirm that a commercial wall exists at that thickness — compare torder against the pipe specification yourself, as the worked examples do.
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.Worked example 2 — hot main steam, y = 0.7
NPS 12 (12.75 in OD) main steam line at 1,500 psi in the creep range, where the governing edition supplies SE = 16,600 psi and y = 0.7 for the material class at temperature. Welded ends, so no threading allowance: A = 0. Mill tolerance 12.5%.
| Given | ||
|---|---|---|
| Design pressure P | 1,500 | psi |
| Outside diameter Do | 12.75 | in |
| Allowable SE | 16,600 | psi |
| Coefficient y | 0.7 | — |
| Allowance A | 0 | in |
| Mill tolerance | 12.5 | % |
Step by step
- Denominator: 2·(SE + P·y) = 2·(16,600 + 1,500·0.7) = 2·17,650 = 35,300 psi. At 1,500 psi the P·y term is no longer a rounding correction — it carries 6% of the denominator.
- Pressure design thickness: t = 1,500·12.75 / 35,300 = 19,125 / 35,300 = 0.54178 in.
- Minimum wall: with A = 0, tm = t = 0.54178 in.
- Ordering thickness: 0.54178 / 0.875 = 0.61918 in → Sch 80 (0.688 in nominal) covers it; Sch 60 (0.562 in) does not.
| Result COMPUTED | ||
|---|---|---|
| t — pressure design thickness | 0.54178 | in |
| tm — minimum required | 0.54178 | in |
| Ordering thickness | 0.61918 | in |
Two things distinguish hot, high-pressure power piping from Example 1: y climbs from 0.4 toward 0.7 as temperature enters the creep range (crediting stress redistribution through the wall), and the allowable SE falls fast — so wall thickness becomes acutely sensitive to the design temperature you declare. A 25 °F optimistic temperature call on a line like this is a schedule change.
Fixture case “NPS 12 @ 1500 psi, S=16600, E=1, y=0.7, A=0, 12.5% mill tol (high-temperature y)” (tolerance 0.00001) — locked in the same release gate as the example above.
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. Where a page does reproduce specific ASME data (the B16.5 ratings, the quick-reference tables), it states the source table and conditions inline.
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. The practical consequence shows up on dual-code sites: a steam line crossing from the boiler house (B31.1) into the process unit (B31.3) can carry two legitimate required walls for the same pipe, and the transition point needs a deliberate decision about which basis governs the shared spool. Run both cards on the same conditions once and keep the comparison in the calculation file — it answers the inevitable question of why the two sides of one valve carry different schedules, and it is a five-minute insurance policy against the assumption that the codes are interchangeable.
What does the temperature coefficient y actually do?
y shifts part of the pressure term into the denominator, crediting the stress redistribution that occurs through the wall as temperature rises — in the worked examples it moves from 0.4 to 0.7 as the line enters the creep range. Its arithmetic effect is small next to the fall in allowable SE at those temperatures, which is why hot lines still get thicker and why the declared design temperature deserves scrutiny. Two practical notes on selecting it. The tabulated y applies to the material class — ferritic, austenitic, and other ductile metals carry different columns, and cast iron gets y = 0 because it never redistributes — and the temperature bands are edition-specific, so read the row from your governing edition rather than memory. And when a line's design temperature sits within a band boundary's neighborhood, check whether the next band changes y before certifying the wall: a 25-degree change in declared design temperature can move the coefficient, and the declared temperature is exactly the input that gets negotiated late in design.
Why divide by (1 − mill tolerance) for the ordering thickness?
tm is a floor on the delivered wall, but pipe specifications let the mill deliver under nominal — 12.5% in the worked examples. Ordering tm as the nominal wall risks receiving pipe below minimum. Dividing by (1 − tolerance) sets the nominal so that worst-case delivery still lands exactly on tm; the schedule you buy must meet or exceed that ordering thickness. The division, not a multiplication, is the part worth internalizing: adding 12.5% to tm undershoots, because the tolerance is taken off the nominal you order, not added to the minimum you need. At 12.5% the correct gross-up is 1/0.875 = 1.1429 — a 14.29% increase — and ordering tm × 1.125 instead leaves the worst-case delivered wall about 1.6% under minimum. Small, but it is a systematic error in the unconservative direction, and it is invisible until a mill actually delivers at the bottom of its tolerance.
What belongs in the additional thickness allowance A?
Everything the pressure equation does not know about: corrosion and erosion over the design life, the depth of any threading or grooving, and material removed or demanded by structural details. Welded, non-corrosive service can justify A = 0, as worked example 2 does. The value is a design decision driven by the service conditions, not a code table lookup — the calculator simply adds what you enter. Resist the urge to double-count: the mill under-tolerance does not belong in A — the ordering-thickness division already covers it — and neither does a corrosion allowance the process licensor has already embedded in a specified minimum wall. The clean discipline is one line item per mechanism, each named on the calculation sheet: corrosion at the documented rate times design life, erosion where velocity or solids justify it, thread or groove depth from the joint specification, and nothing else. An A assembled from named parts can be defended and revised; a round 'engineering judgment' allowance can only be inherited.
Does this calculator apply to boiler external piping?
The equation applies, but boiler external piping carries additional requirements beyond wall thickness — the PG-mandated rules from BPVC Section I for materials, valves, fabrication and inspection that B31.1 invokes for that classification. Use the result as the pressure-design input, then verify the Section I and jurisdictional requirements separately before certifying the line. The boundary itself is worth confirming early: boiler external piping runs from the boiler proper to the code-defined terminal valves, and its extent is set by BPVC Section I and the B31.1 figures, not by convenience. Lines inside that boundary carry Section I stamping, material and inspection requirements that ordinary B31.1 piping does not, and a spool fabricated to the wrong side of the boundary is a documentation problem that no wall-thickness margin fixes. Settle the classification with the boiler vendor's scope drawing before ordering pipe, because the same physical pipe can be legal on one side of the valve and not on the other.
Can I run the calculation in metric units?
Yes — the equation is unit-consistent. Enter P and SE in MPa, Do and A in millimetres, and t, tm and the ordering thickness return in millimetres. The mill tolerance is a dimensionless fraction either way. What you cannot do is mix systems in one run: psi with millimetres corrupts the denominator silently. One trap deserves its own sentence: allowable stress is the input most often mixed, because data sheets quote SE in MPa while US-edition tables print ksi, and 138 MPa looks plausible next to 20,000 psi in a way that 20 does not. A quick self-check catches every unit accident this equation can suffer — the computed t must be a small fraction of Do, typically between 2% and 10% for routine pressure work. A thickness that comes back at half the diameter, or at a tenth of a millimetre on a large line, is a unit error announcing itself, not a result.
Related calculators & tools
- 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
- Hydrostatic vs pneumatic leak testing — B31.1's flat 1.5×P test basis next to B31.3's ST/S-scaled one
- PiperPSV — relief valve sizing (Pro) — Safety-valve discharge reaction on this line, per B31.1 App. II