ASME B31.9 Building Services Piping: Scope, Wall Thickness and Testing

ASME B31.9 building services piping: scope limits, wall thickness formula, stainless allowable stresses and leak testing

ASME B31.9 Building Services Piping: Scope, Wall Thickness and Testing

Will Lee - Account Manager, European Market at TeCarve
Will Lee
November 21, 2026
14 Min Read

ASME B31.9 is the Building Services Piping section of the ASME B31 Code for Pressure Piping. It covers heating, cooling, condensing-water, steam, compressed-air and similar piping in commercial, institutional, industrial and public buildings and in multi-unit housing, within set limits: for example liquids up to 350 psig and steam up to 150 psig and 366 °F, and stainless steel pipe up to NPS 24 with walls up to 0.50 in. Piping beyond those limits falls under ASME B31.1. The current edition is ASME B31.9-2025.

Key numbers (B31.9-2025): wall tm = PD / 2SE + A · hydrostatic test ≥ 1.5 × design pressure, held ≥ 10 min · pneumatic test ≤ 1.25 × design pressure and ≤ 150 psig · minimum temperature 0 °F (−18 °C)

Scope: what B31.9 covers

B31.9 is meant for building-services piping that stays inside the sizes, pressures and temperatures it sets, which are well below what B31.1 handles; it applies inside the building and within the property limits (900.1.1). The services listed are water and antifreeze solutions for heating and cooling, condensing water, steam and condensate, other nontoxic liquids, vacuum, compressed air, other nontoxic nonflammable gases, and combustible liquids including fuel oil (900.1.2(a)). Equipment is outside its scope: economizers, heaters, pumps, tanks, heat exchangers and anything falling under the ASME Boiler and Pressure Vessel Code (900.1.3).

Limit (para. 900.1.2)Value
Steam and condensate150 psig (1 034 kPa) max; 366 °F (186 °C) max
Liquids350 psig (2 413 kPa) max; nonflammable liquids 250 °F (121 °C) max
Compressed air and gas150 psig (1 034 kPa) max; other gases and vapors 200 °F (93 °C) max
Vacuum1 atm external pressure
Minimum temperature, all services0 °F (−18 °C)
Stainless steel pipe sizeNPS 24 (DN 600) and 0.50 in. (12.7 mm) wall
Carbon steel pipe sizeNPS 48 (DN 1200) and 0.50 in. (12.7 mm) wall
Boiler external pipingSteam boilers 15 psig max; water heating units 160 psig and 250 °F max

ASME B31.9-2025 para. 900.1.2. Local building codes apply where their requirements are more stringent (900).

The Code is deliberately simplified. Its general section (900) allows a designer to use a more rigorous analysis instead, provided the calculations are documented and approved by the owner; and pipe wall thickness and pressure may alternatively be taken from the B31.1 equations (904.1.1).

Wall thickness calculator (para. 904.1.1)

The minimum wall for straight pipe under internal pressure is tm = PD / 2SE + A, where P is the design pressure, D the outside diameter, SE the allowable stress including the joint factor (Appendix I), and A the allowance for threading, grooving, corrosion or erosion. B31.9 then requires the manufacturing tolerance to be added and the next heavier commercial wall selected. The calculator uses the stainless steel values of Table I-1 for ASTM A312 seamless pipe.

Example: 304L at 200 °F has SE = 14 300 psi; for 150 psig and 4.500 in. OD (NPS 4), tm = 150 × 4.5 / (2 × 14 300) = 0.0236 in., far below the 0.083 in. of NPS 4 Schedule 5S (ASME B36.19). At building-services pressures the schedule is usually decided by the other requirements of 902.4: thread or groove depth (902.4.2), corrosion allowance (902.4.1) and mechanical strength against damage, sag and support loads (902.4.4).

Allowable stresses for stainless steel pipe (Table I-1)

A312 seamless gradeMin. tensile / yield, ksi0–100 °F150 °F200 °F250 °F300 °F350 °F400 °F
304 (S30400)75 / 3020.017.916.715.815.014.313.8
304L (S30403)70 / 2516.715.214.313.512.812.211.7
316 (S31600)75 / 3020.018.417.316.515.614.914.3
316L (S31603)70 / 2516.715.214.213.512.712.211.7
317 (S31700)75 / 3020.018.417.316.515.614.914.3
304 (S30400), note (7)—20.020.020.019.318.918.618.3
304L (S30403), note (7)—16.716.716.716.716.716.415.8
316 (S31600), note (7)—20.020.020.020.020.020.019.3
316L (S31603), note (7)—16.716.716.716.716.716.415.7

ASME B31.9-2025 Mandatory Appendix I, Table I-1, ksi, for ASTM A312 seamless pipe, E = 1.00. Values may be interpolated between columns (General Note c). Note (7) values are higher stresses permitted where slightly greater deformation is acceptable; they reach up to 90 % of the yield strength at temperature, may cause dimensional change, and are not recommended for gasketed flanged joints or other uses where slight distortion could cause leakage. The L grades also carry note (1): not acceptable for boiler external piping.

For comparison, A106 Grade B carbon steel pipe is listed at 17.1 ksi across the same range. Materials listed in Table 926.1-1 without values in Appendix I may be used at the allowable stresses of B31.1 or ASME BPVC Section I or VIII Division 1, within B31.9’s temperature limits (General Note f).

Joint factors for welded pipe

Longitudinal or spiral joint (Table 902.4.3-1)E
Single butt weld0.80
Double butt weld0.90
Single or double butt weld, 100 % radiography or ultrasonic examination1.00
Electric resistance weld0.85
Furnace butt weld0.60
ASTM A211 spiral joint0.75

ASME B31.9-2025 Table 902.4.3-1. The factor is already included in the SE values of Appendix I (902.4.3).

Bends

The wall at any point of a finished bend must still meet tm. Table 904.2.1-1 recommends ordering pipe to be bent with extra wall: 1.06 × tm for a bend radius of six or more pipe diameters, 1.08 at five, 1.14 at four and 1.24 at three. Flattening, the difference between maximum and minimum diameter, is limited to 8 % of the original average OD unless the engineering design says otherwise (904.2.1).

Leak testing (para. 937)

  • Hydrostatic test: water at ambient temperature, with vents at high points and drains at low points. The test pressure is at least 1.5 × design pressure at every point, but the stress at the bottom of vertical runs must not exceed 90 % of the specified minimum yield strength (or 1.7 × SE for brittle materials), and no component may be over-pressured. After at least 10 minutes the pressure is reduced to the design pressure and all joints are examined (937.3).
  • Pneumatic test: allowed only for systems without cast-iron or brittle plastic pipe, without soldered or solvent-cemented joints over NPS 2, with a test pressure of 150 psig or less, and where the system is for gas or cannot be filled with water. The test pressure is at most 1.25 × design pressure, applied in stages after a preliminary test at no more than 10 psig (937.4).
  • Initial service leak test: permitted for vacuum steam and condensate up to 15 psig, and gases and nonflammable liquids up to 100 psig and 200 °F, by raising the system gradually to operating pressure with the service fluid (937.5).

These are field tests of the installed system. They are separate from the mill hydrostatic or electric test that each length of A312 pipe receives at the plant, which is covered on the hydrostatic test pressure calculator page.

Ordering stainless pipe for a B31.9 system

  1. State the pipe specification and grade, for example ASTM A312 TP304L seamless, and the size and schedule;
  2. Confirm the size is within the B31.9 limits for stainless steel (NPS 24, 0.50 in. wall);
  3. For boiler external piping, do not use the L grades (Table I-1 note (1));
  4. Ask for an EN 10204 3.1 mill test certificate showing chemistry, tensile results and the mill test.

TeCarve is a specialized Chinese stainless steel piping solutions provider and the exclusive factory-direct export channel for two dedicated manufacturing plants in Foshan (welded & decorative tubing) and Wenzhou (seamless & precision tubing). ASTM A312 seamless and welded pipe in 304/304L and 316/316L is listed on the seamless and welded pipe pages; schedule dimensions are in the pipe schedule chart.

Sources: ASME B31.9-2025, paras. 900, 902.4, 904.1.1, 904.2, 937 and Tables 902.4.3-1, 904.2.1-1 and I-1; ASTM A312 Table 3 (wall tolerance); ASME B36.19 (Schedule 5S wall).

Written by Will Lee, Account Manager (Europe), TeCarve · Reviewed against ASTM / EN / ISO source documents · How we write and review our technical guides →
Will Lee - Account Manager, European Market at TeCarve

Author: Will Lee

Will Lee is TeCarve's Account Manager for Europe and the author of TeCarve's technical guides on stainless steel pipe and tube. His article on ASTM A312, A213 and A249 tubing was published in Stainless Steel World (October 2026). He reviews buyer specifications and drawings against ASTM, EN and DIN standards, advises on grade, tolerance and testing requirements, and checks the mill test certificates issued by the producing plants before European shipments.