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.
.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 | ||
|---|---|---|
| Do | Pipe outside diameter | in |
| t | Nominal wall thickness (or measured minimum wall, with mill tolerance 0) | in |
| mill tol | Mill under-tolerance fraction from the pipe specification | — |
| A | Additional thickness: corrosion, erosion, threading, grooving, mechanical strength | in |
| SE | Maximum allowable stress incl. joint efficiency (Mandatory Appendix A — user-supplied) | psi |
| W | Weld strength reduction factor (¶102.4.7, Table 102.4.7-1 — user-supplied, default 1.0) | — |
| y | Coefficient (Table 104.1.2-1 — user-supplied) | — |
| Outputs | ||
| tm − A | Thickness available for pressure | in |
| P | Maximum internal design pressure | psi |
Limitations — what this calculator is not
- Straight pipe under internal pressure only. Bends carry the ¶104.2.1(c) intrados factor (Bend Thickness card), branch connections the ¶104.3.1 area rules (Branch Reinforcement card), and neither is rated here.
- The pipe wall is rarely what sets the pressure of a system. Flanges, valves and fittings have their own pressure–temperature ratings, and the lowest of them governs. This calculator checks none of them.
- Thin-wall form: the calculator warns when the nominal wall reaches Do/6. For ferritic and austenitic steels at 900°F and below with Do/tm under 6, General Note (b) of Table 104.1.2-1 replaces the tabulated y with d/(d + Do); enter that y yourself.
- A stands for metal that has not been lost yet. Where there is measured wall loss, rate the line on the measured minimum wall, and treat localized metal loss as a fitness-for-service question, not a uniform-wall one.
- SE has to belong to the temperature you are rating for. A typed value is used as entered; the calculator cannot tell a room-temperature allowable from the one at design temperature.
- Internal pressure alone. External pressure, vacuum, weight, thermal expansion and occasional loads are separate checks; a wall that passes here can still sit in a line that fails ¶104.8.
- Boiler external piping follows B31.1 for design but carries BPVC Section I requirements this calculator does not address.
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 Do | 10.75 | in |
| Nominal wall t | 0.844 | in |
| Mill under-tolerance | 12.5 | % |
| Additional thickness A | 0.0625 | in |
| Allowable SE (ASSUMED) | 20,000 | psi |
| Weld strength reduction factor W | 1.0 | — |
| Coefficient y (ASSUMED) | 0.4 | — |
Step by step
- Minimum wall the mill may deliver: tm = 0.844 × (1 − 0.125) = 0.7385 in.
- Thickness available for pressure: tm − A = 0.7385 − 0.0625 = 0.676 in.
- Numerator: 2·SE·W·(tm − A) = 2 × 20,000 × 1.0 × 0.676 = 27,040 lb/in.
- Denominator: Do − 2·y·(tm − A) = 10.75 − 2 × 0.4 × 0.676 = 10.75 − 0.5408 = 10.2092 in.
- 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 pressure | 2,648.6 | psig |
| tm − A — thickness available for pressure | 0.676 | in |
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.
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.001W=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.001Sources & citations
- ASME B31.1-2026, Power Piping — ¶104.1.2(a), eq. (5): design pressure for a definite minimum wall, outside-diameter form (eq. (9) in B31.1-2024; eq. (6) / eq. (10) is the inside-diameter form). The NOTE under the definition of P permits rounding the computed pressure to the next higher unit of 10.
- ASME B31.1-2026 ¶104.1.2(a), definitions of Do, d and tm — measured outside diameter and measured minimum wall may be used for pipe on hand or in stock; manufacturing tolerance is taken into account when pipe is ordered by nominal wall.
- ASME B31.1-2026 (default; B31.1-2024 selectable) — Mandatory Appendix A (SE), Table 102.4.3-1 (E), Table 104.1.2-1 (y, including General Note (b) for Do/tm below 6), ¶102.4.7 and Table 102.4.7-1 (W). Cited by table and line on the Pro pickers; typed from your governing edition otherwise.
- ASME B31.1-2026 ¶102.2.4 — allowance for variation from normal operation (15% or 20% over the allowable stress, by duration).
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
- ASME B31.1 Power Piping Wall Thickness Calculator — Forward design under the same paragraph: required wall from a known pressure
- ASME B31.1 Pipe Bend Wall Thickness Calculator — Bends rate lower at the intrados than the straight pipe checked here
- ASME B31.1 Hydrostatic Test Pressure Calculator (¶137.4.5, 90% of Yield) — A re-rated design pressure resets the 1.5 × P test
- ASME B31.3 Allowable Working Pressure Calculator — The same pipe rated under B31.3 across a code break
- ASME B16.5 Flange Rating Calculator (Pressure–Temperature) — The flange rating that usually governs before the pipe wall does
- B31.1 leak test pressure — FAQ — What the test of a re-rated line has to cover under ¶137
- Load cases for B31 stress analysis — Where the design pressure enters the sustained and occasional cases