Piping Toolset
HomeCalculators › ASME B31.1 Power Piping Wall Thickness Calculator

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.

Pipe wall section at a longitudinal weld A section through the pipe wall at a weld showing pressure-design thickness t, additional allowance A, and the weld joint with efficiency factor E. weld · E P (bore side) t A t_m = t + A — minimum required wall before schedule selection
Longitudinal section at a welded joint: minimum wall t_m is the pressure-design thickness t plus allowance A; the weld joint efficiency E enters the allowable-stress term.
Open this calculator → Download sample report
This calculator is free forever — no account, no run limit. Pro adds Add to report: the titleblocked, print-ready package in the sample report above, built from your own runs, plus .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
PInternal design gauge pressurepsi
DoPipe outside diameterin
SEMax allowable stress incl. joint efficiency (Appendix A — user-supplied)psi
yTemperature coefficient (Table 104.1.2-1 — user-supplied)
AAdditional thickness allowancein
mill tolMill under-tolerance fraction
Outputs
tPressure design thicknessin
tmMinimum required wall t + Ain
t_orderOrdering thickness after mill tolerancein

Limitations — what this calculator is not

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 P1,000psi
Outside diameter Do8.625in
Allowable SE15,000psi
Coefficient y0.4
Allowance A0.065in
Mill tolerance12.5%

Step by step

  1. Denominator: 2·(SE + P·y) = 2·(15,000 + 1,000·0.4) = 2·15,400 = 30,800 psi.
  2. Pressure design thickness: t = 1,000·8.625 / 30,800 = 0.28003 in.
  3. Minimum wall: tm = 0.28003 + 0.065 = 0.34503 in.
  4. 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 thickness0.28003in
tm — minimum required0.34503in
Ordering thickness0.39432in

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.

Why you can trust these numbers: this exact case is fixture 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 P1,500psi
Outside diameter Do12.75in
Allowable SE16,600psi
Coefficient y0.7
Allowance A0in
Mill tolerance12.5%

Step by step

  1. 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.
  2. Pressure design thickness: t = 1,500·12.75 / 35,300 = 19,125 / 35,300 = 0.54178 in.
  3. Minimum wall: with A = 0, tm = t = 0.54178 in.
  4. 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 thickness0.54178in
tm — minimum required0.54178in
Ordering thickness0.61918in

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

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

Open this calculator → All calculators