Piping Toolset
Home › Calculators › ASME B31.1 Maximum Allowable Pressure Calculator (Power Piping)

ASME B31.1 Maximum Allowable Pressure Calculator (Power Piping)

Gives the maximum internal design pressure P a pipe of known wall can carry under ASME B31.1 ¶104.1.2(a) — eq. (5) in B31.1-2026, eq. (9) in B31.1-2024 — after the mill under-tolerance and the additional thickness A come off the wall. Straight pipe, internal pressure only.

Method last updated (calculation changelog) · fixture-verified on every build — most recently 2026-11-12.

Built and fixture-verified by Matthew Norris, P.E. — active P.E. licensure in Arizona, California, Kansas, Missouri, North Carolina, Texas.

This is the wall-thickness calculation run backwards. You already have the pipe — a schedule on the line list, a spool in the laydown yard, a line that has been in service for twenty years — and the question is what design pressure B31.1 lets it carry. The calculator takes the nominal wall, removes the mill under-tolerance and the additional thickness A, and solves ¶104.1.2(a) for P. Reach for it when a feed pump or turbine upgrade raises a design pressure, when stocked pipe is offered as a substitute for the specified schedule, or when you want to see how much pressure a corrosion allowance is costing. SE, W and y are inputs: type them from your governing edition, or on Pro autofill SE from Mandatory Appendix A, E from Table 102.4.3-1 and y from Table 104.1.2-1 with the edition selector on the card (B31.1-2026 by default, B31.1-2024 selectable). W is always typed.

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 — 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 — $2.99 / month. Compare tiers →

Method

Maximum design pressure for a definite minimum wall, B31.1 ¶104.1.2(a) — eq. (5) in B31.1-2026, eq. (9) in B31.1-2024, outside-diameter form:

P = 2·S·E·W·(tm − A) / ( Do − 2·y·(tm − A) )

tm = tnominal·(1 − mill tolerance)

Eq. (5) is eq. (3) solved for pressure, so the two always agree: size a wall with the wall thickness calculator, feed the result back in here, and you recover the pressure you started with. The term (tm − A) is the metal the Code lets you count on for pressure. For pipe bought to a nominal wall, tm is the least the mill may deliver, nominal × (1 − under-tolerance), which is the same manufacturing tolerance ¶104.1.2 tells you to add when you order. For pipe on hand or in stock the paragraph is more generous: the measured minimum wall at the thinner end may be used, in which case you enter that wall with a mill tolerance of zero. A then comes off in full — corrosion, erosion, thread or groove depth, whatever the service will take. S·E is the Mandatory Appendix A allowable, which already includes the joint efficiency; W is the ¶102.4.7 weld strength reduction factor, 1.0 for seamless pipe, for carbon steel and below the tabulated temperatures; y is the Table 104.1.2-1 coefficient. Units are consistent: psi with inches, or MPa with millimetres.

Inputs
DoPipe outside diameterin
tNominal wall thickness (or measured minimum wall, with mill tolerance 0)in
mill tolMill under-tolerance fraction from the pipe specification—
AAdditional thickness: corrosion, erosion, threading, grooving, mechanical strengthin
SEMaximum allowable stress incl. joint efficiency (Mandatory Appendix A — user-supplied)psi
WWeld strength reduction factor (¶102.4.7, Table 102.4.7-1 — user-supplied, default 1.0)—
yCoefficient (Table 104.1.2-1 — user-supplied)—
Outputs
tm − AThickness available for pressurein
PMaximum internal design pressurepsi

Limitations — what this calculator is not

Worked example — fixture-verified

Boiler feedwater line downstream of the feed pumps: NPS 10 Sch 120 seamless carbon steel pipe (10.75 in OD, 0.844 in nominal wall) at a 450°F design temperature. A feed pump upgrade asks for a 2,500 psig design pressure. ASSUMED inputs for this example: SE = 20,000 psi, y = 0.4, W = 1.0 (carbon steel), A = 0.0625 in for erosion and corrosion, 12.5% mill under-tolerance. Read SE and y for your own material and temperature from Mandatory Appendix A and Table 104.1.2-1.

Given
Outside diameter Do10.75in
Nominal wall t0.844in
Mill under-tolerance12.5%
Additional thickness A0.0625in
Allowable SE (ASSUMED)20,000psi
Weld strength reduction factor W1.0—
Coefficient y (ASSUMED)0.4—

Step by step

  1. Minimum wall the mill may deliver: tm = 0.844 × (1 − 0.125) = 0.7385 in.
  2. Thickness available for pressure: tm − A = 0.7385 − 0.0625 = 0.676 in.
  3. Numerator: 2·SE·W·(tm − A) = 2 × 20,000 × 1.0 × 0.676 = 27,040 lb/in.
  4. Denominator: Do − 2·y·(tm − A) = 10.75 − 2 × 0.4 × 0.676 = 10.75 − 0.5408 = 10.2092 in.
  5. Maximum design pressure: P = 27,040 / 10.2092 = 2,648.6 psig. The 2,500 psig request is covered with 148.6 psi in hand, a ratio of 1.059.
Result COMPUTED
P — maximum internal design pressure2,648.6psig
tm − A — thickness available for pressure0.676in

The wall clears the new design pressure, and that is all this run has shown. The same 2,500 psig still has to clear the flange and valve ratings at 450°F, and a re-rate reopens the leak test and the relief-device settings. If the line has been in service, swap the nominal-minus-tolerance wall for the measured minimum, which ¶104.1.2 permits for pipe on hand, and keep A only for the metal loss still to come.

Why you can trust these numbers: this exact case is fixture b31-allowable-pressure.json — case “B31.1 ¶104.1.2 eq. (5) — boiler feedwater NPS 10 Sch 120, SE=20000, W=1, y=0.4, A=0.0625, 12.5% mill tol” (tolerance 0.001) — in the calc-core release gate. It re-runs on every commit; a red fixture blocks deployment. See the validation methodology.

Additional verified cases in this fixture

NPS 8 sch 40, S=17500, E=1, y=0.4, Mf=1 COMPUTED
input:  {"D":8.625,"t":0.322,"millTolerance":0.125,"A":0.065,"S":17500,"E":1,"y":0.4,"Mf":1}
expect: {"tp":0.21675,"allowablePressure":897.611}
tol:    0.001
W=0.8 weld joint strength reduction, fictitious D=10, t=0.5, mill 0.10, A=0.05, S=20000, E=1, y=0.4, Mf=1 COMPUTED
input:  {"D":10,"t":0.5,"millTolerance":0.1,"A":0.05,"S":20000,"E":1,"W":0.8,"y":0.4,"Mf":1}
expect: {"tp":0.4,"allowablePressure":1322.314}
tol:    0.001

Sources & citations

Per the source & citation policy, allowable-stress and factor table values are inputs — typed from your governing edition, or autofilled on paid tiers from the embedded datasets enumerated there, always cited by standard, edition, table and line. 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

Is eq. (5) just the wall thickness equation turned around?

Yes. ¶104.1.2(a) gives the minimum wall as tm = P·Do / 2(SEW + P·y) + A — eq. (3) in B31.1-2026, eq. (7) in 2024 — and immediately follows it with the same relation solved for pressure: eq. (5) in 2026, eq. (9) in 2024. Nothing new enters. The only bookkeeping change is that the allowance moves to the other side, so the pressure equation works on (tm − A), the wall left after the allowance is gone. That makes the two calculators a closed loop, and it is worth running the loop once on any calculation you inherit: take the reported wall, take the reported allowance and tolerance, and see whether you recover the design pressure on the line list. When you do not, the usual causes are an allowable taken at the wrong temperature, a tolerance applied twice, or an allowance that was added to the ordered wall but never entered in the calculation. Each of those hides easily in a spreadsheet and shows up at once in the round trip.

Which wall do I enter: nominal, minimum or measured?

It depends on what you know about the pipe. For new pipe ordered by schedule, enter the nominal wall and the under-tolerance from the pipe specification; the calculator multiplies them out to the least wall the mill is allowed to ship, which is the wall ¶104.1.2 asks you to design around. For pipe bought to a minimum-wall specification, the tolerance is already inside the number, so enter that wall with a mill tolerance of zero. Entering 12.5% again takes the deduction twice and understates the rating. For pipe on hand or in stock, the definitions of Do and d in ¶104.1.2(a) let you use the measured outside diameter and the measured minimum wall at the thinner end, again with zero tolerance. Take those readings seriously: a grid of ultrasonic thickness readings at several stations, not one reading at a convenient spot. Whichever wall you use, the allowance A still comes off, because it stands for metal the service has yet to remove.

Can I round the calculated pressure up?

B31.1 says you may. The NOTE under the definition of P in ¶104.1.2(a) reads that when the design pressure is computed for a pipe of definite minimum wall by eq. (5) or eq. (6), the result may be rounded to the next higher unit of 10. In the worked example that turns 2,648.6 psig into 2,650 psig. It is a small courtesy and it has limits worth respecting. It applies to the pipe-wall equation only, so it does nothing for a flange or valve rating. It is a rounding of the answer, not a tolerance on the inputs, so it cannot be stacked on an optimistic allowable or a generous wall reading. And many owner specifications ignore it and round down, on the reasoning that a design pressure is a promise the whole system has to keep. The calculator reports the unrounded value so the rounding stays a decision you make and record, with the paragraph cited next to it.

Does this rating leave room for pressure excursions?

Not in the number itself, but the Code gives a separate allowance. ¶102.2.4 accepts that pressure and temperature vary in service and treats the piping as safe for occasional short periods above design, provided the computed hoop stress does not exceed the allowable stress at the coincident temperature by more than 15% for events of no more than 8 hours at a time and 800 hours a year, or 20% for events of no more than 1 hour at a time and 80 hours a year. Component standards and manufacturers' ratings can restrict that further, and the paragraph says so. Two cautions. The allowance is for excursions, so it is no basis for setting the design pressure 15% low. And it is checked on hoop stress at the temperature that goes with the excursion, so a pressure spike that arrives with a temperature spike needs the allowable at the higher temperature. Run the excursion pressure through this calculator's inverse logic: if the wall's maximum pressure times 1.15 or 1.20 covers it, the wall is fine.

Why does the same pipe rate differently under B31.3?

Because the two books feed the same thin-wall equation with different numbers. B31.1 takes SE from Mandatory Appendix A, where the tabulated value already includes the joint efficiency, and takes y from Table 104.1.2-1. B31.3 takes S from its own Appendix A, applies a separate quality factor E, and uses its own coefficient table. The allowable-stress bases behind the tables are not identical, and the edition of each book matters, so one material at one temperature can legitimately carry two allowables. The practical place this bites is the code break on a steam or condensate line that leaves the boiler house and enters a process unit. The pipe on both sides of the boundary valve can be the same heat of the same schedule and still have two maximum pressures. Rate each side with its own card and its own tables, record both, and put the boundary where the contract documents put it. The B31.3 allowable pressure calculator runs the other side.

Related calculators & tools

Open this calculator → All calculators