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.
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 condensate | 150 psig (1 034 kPa) max; 366 °F (186 °C) max |
| Liquids | 350 psig (2 413 kPa) max; nonflammable liquids 250 °F (121 °C) max |
| Compressed air and gas | 150 psig (1 034 kPa) max; other gases and vapors 200 °F (93 °C) max |
| Vacuum | 1 atm external pressure |
| Minimum temperature, all services | 0 °F (−18 °C) |
| Stainless steel pipe size | NPS 24 (DN 600) and 0.50 in. (12.7 mm) wall |
| Carbon steel pipe size | NPS 48 (DN 1200) and 0.50 in. (12.7 mm) wall |
| Boiler external piping | Steam 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 grade | Min. tensile / yield, ksi | 0–100 °F | 150 °F | 200 °F | 250 °F | 300 °F | 350 °F | 400 °F |
|---|---|---|---|---|---|---|---|---|
| 304 (S30400) | 75 / 30 | 20.0 | 17.9 | 16.7 | 15.8 | 15.0 | 14.3 | 13.8 |
| 304L (S30403) | 70 / 25 | 16.7 | 15.2 | 14.3 | 13.5 | 12.8 | 12.2 | 11.7 |
| 316 (S31600) | 75 / 30 | 20.0 | 18.4 | 17.3 | 16.5 | 15.6 | 14.9 | 14.3 |
| 316L (S31603) | 70 / 25 | 16.7 | 15.2 | 14.2 | 13.5 | 12.7 | 12.2 | 11.7 |
| 317 (S31700) | 75 / 30 | 20.0 | 18.4 | 17.3 | 16.5 | 15.6 | 14.9 | 14.3 |
| 304 (S30400), note (7) | — | 20.0 | 20.0 | 20.0 | 19.3 | 18.9 | 18.6 | 18.3 |
| 304L (S30403), note (7) | — | 16.7 | 16.7 | 16.7 | 16.7 | 16.7 | 16.4 | 15.8 |
| 316 (S31600), note (7) | — | 20.0 | 20.0 | 20.0 | 20.0 | 20.0 | 20.0 | 19.3 |
| 316L (S31603), note (7) | — | 16.7 | 16.7 | 16.7 | 16.7 | 16.7 | 16.4 | 15.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 weld | 0.80 |
| Double butt weld | 0.90 |
| Single or double butt weld, 100 % radiography or ultrasonic examination | 1.00 |
| Electric resistance weld | 0.85 |
| Furnace butt weld | 0.60 |
| ASTM A211 spiral joint | 0.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
- State the pipe specification and grade, for example ASTM A312 TP304L seamless, and the size and schedule;
- Confirm the size is within the B31.9 limits for stainless steel (NPS 24, 0.50 in. wall);
- For boiler external piping, do not use the L grades (Table I-1 note (1));
- 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).


