Introduction to Petroleum Piping Systems: Pipe Standards, Wall Thickness Design, and Pressure Rating Selection

Piping carries every stream in a refinery, gas plant or terminal, from small instrument tubing to large transfer lines, at temperatures from cryogenic to several hundred degrees and pressures from vacuum to hundreds of bar. Piping engineering covers the design of each pipe (wall thickness, material, pressure rating), the behavior of the whole system (flexibility and supports), the valves, flanges and pipe fittings and branch connections that complete it, and fabrication quality. This introduction covers the governing codes, pipe dimensions, the ASME B31.3 wall thickness calculation, flange pressure classes and material selection.

Conceptual longitudinal section showing two mating flanges, a gasket, stud bolts and the open pipe bore.
Original PetroSmart Academy illustration of a flanged joint. Conceptual, not to scale; no dimensions, pressure rating or assembly torque specified.

1. Codes and pipe dimensions

Code Scope Design basis
ASME B31.3 Process Piping Refineries, chemical and processing plants, terminals Allowable stress: the lower of one third of tensile strength and two thirds of yield (with time-dependent limits at high temperature)
ASME B31.4 Liquid hydrocarbon pipelines Hoop stress up to 0.72 SMYS
ASME B31.8 Gas transmission and distribution Design factor by location class: 0.72, 0.60, 0.50, 0.40 (Class 1 Division 2 to Class 4)
DNV-ST-F101 (formerly OS-F101), ISO 13623 Submarine and onshore pipelines Limit state design with partial safety factors (DNV)
EN 13480 Industrial piping in Europe European materials and design rules

Dimensions. Pipe is specified by nominal pipe size (NPS) and schedule (ASME B36.10M for carbon and alloy steel, B36.19M for stainless steel). Up to NPS 12 the outside diameter differs from the NPS number (NPS 2: 60.3 mm; NPS 4: 114.3 mm; NPS 6: 168.3 mm; NPS 8: 219.1 mm; NPS 12: 323.9 mm); from NPS 14 it equals NPS in inches (NPS 16: 406.4 mm). Schedule 40 equals STD up to NPS 10 and Schedule 80 equals XS up to NPS 8. For NPS 6, walls are 3.40 mm (Sch 10), 7.11 mm (Sch 40), 10.97 mm (Sch 80) and 18.26 mm (Sch 160); the Sch 160 bore has 26.8% less flow area than Sch 40.

2. Wall thickness to ASME B31.3

t = P D / [2(S E W + P Y)];  nominal wall ≥ (t + c)/(1 − mill tolerance)

D is the outside diameter, S the allowable stress at design temperature (Table A-1), E the joint quality factor (1.0 for seamless), W the weld strength reduction factor (1.0 below the creep range), Y = 0.4 for ferritic steels below 482 °C, c the sum of corrosion, erosion and mechanical allowances, and 12.5% the usual mill undertolerance. The formula applies when t < D/6.

Synthetic example: NPS 8 seamless A106 Grade B crude line, 8.0 MPa at 50 °C, c = 3.0 mm. B31.3 Table A-1 gives S = 138 MPa (20.0 ksi) for this material at that temperature.

t = 8.0 × 219.1 / [2(138 + 3.2)] = 6.21 mm;  nominal ≥ (6.21 + 3.0)/0.875 = 10.52 mm

Schedule 60 (10.31 mm) falls just short and Schedule 80 (12.70 mm) passes. With 12.70 × 0.875 − 3.0 = 8.11 mm available, the allowable pressure is 2SE t/(D − 2Yt) = 10.53 MPa.

2.1 High temperature: verify all temperature-dependent coefficients

At elevated temperature, allowable stress, weld strength reduction and the coefficient Y must be selected for the material and applicable code edition. A room-temperature coefficient must not be extrapolated into the creep range.

Consider a synthetic NPS 4 P11 line at 12 MPa and 520 °C, with outside diameter 114.3 mm and allowance 1.5 mm. No licensed code-table values for S, E, W and Y have been verified for this example. Therefore no numerical required wall or passing schedule is asserted here. Select and document those values first, then apply t = PD/[2(SEW + PY)], check the formula's applicability limits, add the allowances and apply the actual product undertolerance.

The former 17.52 mm nominal-wall result assumed coefficients that were not established at 520 °C and has been withdrawn. A stronger alloy, different product wall or changed operating basis requires a new assessment, including creep, fabrication, flexibility and pressure-temperature ratings; it is not established by substituting an alloy name.

The calculator below is an arithmetic aid. Supply independently verified code coefficients and applicability limits; it does not select material or certify a pipe schedule.

3. Flange pressure classes

ASME B16.5 rates flanges and flanged fittings by class and material group, with ratings that fall as temperature rises. For Group 1.1 (for example A105 forgings), the ratings in bar are:

Class 38 °C 50 °C 425 °C
150 19.6 19.2 5.5
300 51.1 50.1 28.8
600 102.1 100.2 57.6
900 153.2 150.4 86.4

For 80 bar at 50 °C, Class 600 is needed. At 425 °C, Class 600 drops to 57.6 bar and Class 900 (86.4 bar) becomes necessary. Always check the rating at design temperature.

Wellhead equipment follows API 6A (and API 17D subsea) with rated working pressures of 2,000, 3,000, 5,000, 10,000, 15,000 and 20,000 psi (138, 207, 345, 690, 1,034 and 1,379 bar), chosen from the maximum anticipated surface pressure.

4. Material selection

  • Temperature: carbon steel such as A106 Grade B for normal service; impact-tested A333 Grade 6 to −46 °C and 3.5% nickel steel (A333 Grade 3) lower; chromium-molybdenum steels (A335 P11, P22, P91) at high temperature, where carbon steel risks creep and graphitization; austenitic stainless steels (A312 TP316L, 321, 347) for corrosion or higher temperature.
  • Corrosion: dry hydrocarbons are mild for carbon steel; wet CO2 can corrode carbon steel at several millimeters per year without inhibition; austenitic stainless steels can crack in chlorides above about 60 °C, where duplex (A790 S31803/S32205, S32750) or nickel alloys are used.
  • Wet H2S: production systems follow ISO 15156 (NACE MR0175), with sour service from 0.3 kPa (0.05 psia) H2S partial pressure and carbon steel hardness limited to 22 HRC (welds typically 250 HV); refinery systems follow NACE MR0103 (ISO 17945) with weld hardness controls in NACE SP0472.
  • Fabrication: P91 needs strict preheat, post-weld heat treatment and hardness control; duplex steels need controlled heat input to keep the phase balance.

Piping components and joint design

Extend pipe specification and pressure-rating selection to valves, flanges, gaskets and bolted-joint design.

Key points

  • Take S from B31.3 Table A-1 at design temperature; add allowances and mill tolerance before choosing a schedule.
  • Check that the selected schedule really exists with the wall you need; in the creep range standard walls may not suffice.
  • Read B16.5 ratings at design temperature for the right material group.
  • Apply ISO 15156 for production and NACE MR0103 for refining in wet H2S.

References

ASME B31.3 official publication page. Use the edition and addenda required by the project. Code-table values must be checked in the applicable licensed text; no high-temperature table verification is claimed here.

  • ASME B31.3 (302.3, 304.1.2, Table A-1)
  • ASME B31.4
  • ASME B31.8
  • DNV-ST-F101
  • ISO 13623
  • EN 13480
  • ASME B36.10M and B36.19M
  • ASME B16.5 (Table 2-1.1)
  • API 6A
  • API 17D
  • ISO 15156
  • NACE MR0103 / ISO 17945
  • NACE SP0472

Practice: test yourself with ASME B31.3: Master the Code with Practice Questions, a question bank course on Udemy.

Related reading and community

Questions or field experience to share? Join the PetroSmart Telegram group, watch worked examples on the PetroSmart Academy YouTube channel and follow us on Facebook.

Scroll to Top