What Is a Pipe and Pipe Class? Complete Engineering Guide (ASME B31.3)

Quick answer

A pipe is a pressure-containing hollow cylinder, sized by NPS and schedule, that carries fluids through a plant. A pipe class is the project specification that fixes every approved component for one service – pipe, fittings, flanges, gaskets, bolts, valves and branch connections – together with its pressure-temperature limits, material, corrosion allowance and governing code (usually ASME B31.3 or B31.1).

📘 Updated: 10 October 2026⚙️ Codes: ASME B31.3-2024 · B16.5-2025 · B36.10M-2022⏱ 14 min read🖨 13 printable tables

Key takeaways

  • A pipe is one component; a pipe class is the rulebook for every component on a line.
  • Pipe OD is fixed for each NPS; the schedule changes wall thickness and therefore ID.
  • Most pipe classes take their pressure basis from an ASME B16.5 flange class and a material group.
  • Wall thickness comes from ASME B31.3 Eq. (3a) plus corrosion allowance and mill tolerance.
  • The pipe class code appears in every line number, so designers, buyers and site teams all work to the same specification.

Pipe & Pipe Class – Quick Engineering Facts

One-screen summary for engineers, inspectors and buyers

⚡ Powered by Aienginear
Pipe & Pipe Class – Quick Engineering Facts
TopicWhat You Need to KnowReference
PipePressure-containing hollow cylinder identified by NPS (DN) and schedule; OD fixed per size.ASME B36.10M / B36.19M
Pipe classProject specification listing every approved component for one service envelope.Project PMS; ASME B31.3 / B31.1
Pressure basisUsually one ASME B16.5 / B16.47 flange class (150 to 2500) sets the P-T limits.ASME B16.5-2025, B16.34
Wall thicknesst = PD / 2(SEW + PY) + corrosion allowance, then mill tolerance and next schedule.ASME B31.3 para. 304.1.2
Corrosion allowanceTypically 0 mm (SS), 1.5 mm, 3 mm or 6 mm (CS) from the corrosion study.Project materials selection report
Common materialsCS, LTCS, Cr-Mo, austenitic SS, duplex SS, nickel alloys, non-metallics.ASTM A106, A333, A335, A312, A790
Governs procurementMaterial take-off, purchase descriptions and valve data sheets come from the class.MTO / RFQ packages
Main industriesOil & gas, refining, petrochemical, LNG, power, cement, fertilizer, water, pharma.—
Engineering note: Preliminary engineering reference. Final selection shall be verified against the governing code edition, project piping material specification, process data and applicable product standards.

What is a pipe?

In plant engineering, a pipe is a pressure-retaining tubular component with a round cross-section that moves a fluid – liquid, gas, steam, two-phase mixture or slurry – from one point to another. Unlike a tube, a pipe is ordered by a nominal size and a wall designation rather than by its exact dimensions. Two numbers therefore describe any steel pipe: the Nominal Pipe Size (NPS), or its metric equivalent DN, and the schedule.

The NPS fixes the outside diameter so that every flange, fitting and valve of that size fits every pipe of that size, whatever its wall thickness. Pressure capacity is then adjusted by changing the wall – thicker walls move inward, reducing the bore. This simple rule is what allows thousands of components from different manufacturers to be assembled into one leak-tight system.

Anatomy of an industrial pipe: OD, ID, wall thickness and end preparations Left: pipe cross-section showing outside diameter, inside diameter and wall thickness. Right: three pipe ends – plain end for socket welds, bevelled end at 37.5 degrees with 1.6 millimetre root face for butt welds, and threaded end for screwed joints. Cross-section OD (fixed for each NPS) ID = OD − 2t (flow area) Wall t (set by schedule) End preparations PE – Plain end socket-weld / slip-on BE – Bevelled end 37.5° ± 2.5°, root face 1.6 ± 0.8 mm (ASME B16.25) TE – Threaded end NPT (ASME B1.20.1) utility / small bore only Aienginear.com
Figure 1 – Pipe anatomy and end preparations. OD stays constant for a given NPS; wall thickness, set by the schedule, changes the ID. Diagram: Aienginear.com

Pipes are often confused with tubes. The difference matters on purchase orders, because the same “2-inch” description means a different outside diameter for a pipe (60.3 mm) than for a tube (50.8 mm).

Pipe vs Tube – How They Differ

Designation, tolerances and typical applications

⚡ Powered by Aienginear
Pipe vs Tube – How They Differ
FeaturePipeTube
Size designationNominal Pipe Size (NPS) / DN plus schedule or wallActual OD plus wall thickness (mm, in or BWG)
Controlled dimensionOD fixed per NPS; ID varies with scheduleOD and wall held to tight tolerances
Main purposeTransport fluids in plant piping systemsHeat transfer, instrumentation, hydraulics, structural
Typical standardsASME B36.10M, B36.19M; ASTM A106, A312; API 5LASTM A179, A213, A269, A249
Typical jointsButt-weld, socket-weld, flanged, threadedCompression fittings, rolled/expanded, orbital welds
Where you see itProcess lines, utilities, headers, pipelinesHeat exchanger bundles, boiler tubes, impulse lines
Engineering note: Preliminary engineering reference. Final selection shall be verified against the governing code edition, project piping material specification, process data and applicable product standards.

Seamless vs welded pipe

How a pipe is made determines its strength consistency, its cost and where the code lets you use it. Seamless pipe is produced by piercing a heated solid billet and drawing it over a mandrel, so there is no longitudinal weld. Welded pipe starts as flat coil or plate that is formed into a cylinder and joined along a straight or spiral seam. For a deeper look at the mills themselves, see the Aienginear guide to the seamless pipe manufacturing process.

How seamless, ERW/HFW, LSAW and HSAW pipes are manufactured Four process routes. Seamless: billet heated, pierced, elongated and sized. ERW or HFW: coil formed into a tube, high-frequency welded, seam heat treated and sized. LSAW: plate formed by UOE or JCOE, submerged arc welded inside and outside, then cold expanded. HSAW: coil formed into a helix and spiral submerged arc welded. Every route ends in hydrotest and non-destructive testing. Seamlesstyp. NPS ⅛–24 ERW / HFWtyp. NPS ½–24 LSAWtyp. NPS 16–60+ HSAW (spiral)typ. NPS 20–100+ Heat round billet Rotary piercing Mandrel elongation Sizing + heat treat Slit steel coil Roll-form tube HF weld, no filler Seam normalize Heavy plate UOE / JCOE forming SAW inside + outside Cold expansion Hot-rolled coil Helical forming Spiral SAW seam Cut to length Hydrotest + NDT + marking Aienginear.com
Figure 2 – Simplified manufacturing routes for seamless, ERW/HFW, LSAW and HSAW pipe. All routes finish with hydrostatic testing, NDT and marking. Diagram: Aienginear.com

Pipe Manufacturing Routes Compared

Seamless vs welded – selection guidance for process plants

⚡ Powered by Aienginear
Pipe Manufacturing Routes Compared
TypeHow It Is MadeTypical Size RangeWhere It Is PreferredPoints to Check
Seamless (SMLS)Pierced and elongated solid billet; no weld seamNPS ⅛ – 24 (mostly ≤ 16)High pressure, high temperature, cyclic and sour serviceEccentricity and wall variation; higher cost at large sizes
ERW / HFWCoil roll-formed and joined by high-frequency resistance welding, no fillerNPS ½ – 24Utilities, water, low-to-moderate pressure hydrocarbonsSeam heat treatment; quality factor E per code table
LSAWPlate formed (UOE / JCOE) and submerged-arc welded inside and outsideNPS 16 – 60+Large-bore headers, pipelines, cooling waterFull radiography of seam to achieve E = 1.0 where required
HSAW (spiral)Coil formed into a helix with a spiral SAW seamNPS 20 – 100+Water transmission, piling, low-pressure large linesLonger weld length; often limited in critical services
EFWPlate/sheet formed and fusion welded (e.g. ASTM A358, A671, A672)Typically NPS 8 and aboveLarge-bore stainless and alloy pipingClass number in the spec defines heat treatment and RT
Engineering note: The longitudinal weld quality factor (Ej) for each specification is listed in ASME B31.3 Table A-1B. Final type selection follows the project pipe class.

In practice, many carbon steel pipe classes call for seamless pipe up to NPS 16 or 24 and allow longitudinally welded pipe with 100% radiographed seams above that, where seamless becomes scarce and expensive. ERW/HFW is widely accepted for utilities and lower-risk services when the specification permits it.

NPS, OD and pipe schedule explained

For NPS ⅛ to NPS 12 the outside diameter is larger than the nominal number – an NPS 2 pipe measures 60.3 mm (2.375 in) across the outside. From NPS 14 upward the OD in inches equals the NPS. The metric DN designation is a label too: DN 50 corresponds to NPS 2, not to a 50 mm diameter.

The schedule (Sch 5 to Sch 160 in ASME B36.10M) is a wall-thickness designation. Historically it approximated 1000 × P/S, but today it is simply a table lookup. The older weight classes – STD, XS and XXS – still appear in specifications, and they match Sch 40 and Sch 80 only over part of the size range. Use the Aienginear pipe sizes and schedule chart for the full matrix.

Common Pipe Sizes – OD and Wall Thickness

Carbon steel pipe per ASME B36.10M (mm)

⚡ Powered by Aienginear
Common Pipe Sizes – OD and Wall Thickness
NPS (DN)OD (mm)Sch 40STDSch 80XSSch 160
½ (15)21.32.772.773.733.734.78
¾ (20)26.72.872.873.913.915.56
1 (25)33.43.383.384.554.556.35
1½ (40)48.33.683.685.085.087.14
2 (50)60.33.913.915.545.548.74
3 (80)88.95.495.497.627.6211.13
4 (100)114.36.026.028.568.5613.49
6 (150)168.37.117.1110.9710.9718.26
8 (200)219.18.188.1812.7012.7023.01
10 (250)273.19.279.2715.0912.7028.58
12 (300)323.910.319.5317.4812.7033.32
14 (350)355.611.139.5319.0512.7035.71
16 (400)406.412.709.5321.4412.7040.49
24 (600)609.617.489.5330.9612.7059.54
Engineering note: Wall thickness values are nominal. Stainless steel pipe uses ASME B36.19M “S” schedules (5S, 10S, 40S, 80S), which differ from B36.10M at some sizes. Always confirm against the edition invoked by your project.
Purchasing trap: “NPS 12 Sch 40” (10.31 mm) and “NPS 12 STD” (9.53 mm) are different pipes. If the pipe class says STD, ordering Sch 40 wastes money; if it says Sch 40, STD pipe is undersized.

How wall thickness is calculated (ASME B31.3)

A pipe class does not pick schedules by habit. For straight pipe under internal pressure, ASME B31.3 para. 304.1.2 gives the pressure design thickness, valid when t < D/6:

t = P·D / [ 2 · (S·E·W + P·Y) ]
tm = t + c   →   torder ≥ tm / (1 − mill tolerance)

where P is internal design gauge pressure, D is outside diameter, S is the allowable stress at design temperature (B31.3 Table A-1), E is the longitudinal weld quality factor, W is the weld joint strength reduction factor, Y is a temperature coefficient (0.4 for ferritic steel below about 482 °C), and c is the sum of corrosion, erosion and thread/groove allowances.

Worked example

NPS 6 ASTM A106 Gr B seamless, design 40 barg (4.0 MPa) at 200 °C, corrosion allowance 3.0 mm, S = 138 MPa, E = 1.0, W = 1.0, Y = 0.4, D = 168.3 mm:

  • t = (4.0 × 168.3) / [2 × (138 × 1.0 × 1.0 + 4.0 × 0.4)] = 673.2 / 279.2 = 2.41 mm
  • tm = 2.41 + 3.0 = 5.41 mm
  • With 12.5% mill under-tolerance: 5.41 / 0.875 = 6.18 mm minimum nominal wall
  • Next schedule: Sch 40 = 7.11 mm ✔ (acceptable)
Field note: Small-bore lines (NPS 2 and below) rarely fail by pressure – they fail by vibration, impact and corrosion. That is why most carbon steel classes impose a minimum of Sch 80 or Sch 160 on small bore regardless of the calculated value. Cross-check your numbers with the piping specification component calculator.

What is a pipe class?

A pipe class – also called a piping class, piping material class or line class – is a controlled document within the project’s Piping Material Specification (PMS). It defines exactly which components may be used together for one combination of fluid, pressure, temperature and corrosion. If the pipe is the brick, the pipe class is the building code for the entire wall.

Without pipe classes, every designer would select components line by line, procurement would buy hundreds of near-duplicate items, and site teams would have no reliable way to verify that a gasket or bolt matches its flange. A well-built class removes that variability: designers model with it, the material take-off is generated from it, buyers order from it, and inspectors check installed materials against it.

What a pipe class controls: one specification governing every component on the line A central pipe class box labelled A1B, Class 150 carbon steel with 3 millimetre corrosion allowance, connected to eight governed items: pipe, fittings, flanges, gaskets, bolting, valves, branch table and general notes covering testing, NDE and PWHT. Pipe Class A1B CL150 · Carbon steel · CA 3.0 mm ASME B31.3 · Normal fluid service PipeA106 Gr B · schedule by NPS FittingsB16.9 BW · B16.11 SW FlangesB16.5 WN RF · A105 GasketsB16.20 spiral-wound BoltingA193 B7 / A194 2H ValvesAPI 602 / 600 · B16.34 Branch tabletee / olet per B31.3 304.3 General notesNDE · PWHT · test pressure Aienginear.com
Figure 3 – A pipe class governs every component on a line, not just the pipe. Diagram: Aienginear.com

What a pipe class sheet contains

Formats differ between owners and EPC contractors, but a complete pipe class sheet always answers the same questions. Use the table below as a review checklist when you receive a specification for comment.

What a Pipe Class Sheet Contains

Section-by-section checklist with governing standards

⚡ Powered by Aienginear
What a Pipe Class Sheet Contains
SectionWhat It DefinesTypical Governing Standards
Header / design basisClass code, flange rating, base material, corrosion allowance, design code, fluid services, P-T limitsASME B31.3 / B31.1; ASME B16.5 / B16.34
PipeMaterial grade, manufacturing type, size range, schedule per size, end preparation (PE/BE/TE)ASTM A106, A333, A312; API 5L; ASME B36.10M / B36.19M; B16.25
FittingsButt-weld fittings for larger sizes, socket-weld or threaded for small bore, wall matching pipeASME B16.9, B16.11; MSS SP-75, SP-95, SP-97
FlangesType (WN, SW, SO, blind, orifice), facing (RF, RTJ, FF) and finish, ratingASME B16.5 (≤ NPS 24), B16.47 Series A/B (NPS 26–60), B16.36
GasketsGasket type, winding/filler, inner and outer ring, thicknessASME B16.20 (metallic), B16.21 (non-metallic)
BoltingStud bolt and nut grade, coating, length basisASTM A193 / A194 / A320; ASME B18.2.1, B18.2.2
ValvesValve type by size range, body/trim material, end connection and valve data sheet codeAPI 600, 602, 603, 608, 609, 594, 6D; ISO 17292; ASME B16.34; API 598
Branch tableBranch component for each header/branch size combinationASME B31.3 para. 304.3; MSS SP-97
Special itemsSpectacle blinds, spacers, strainers, steam traps, hoses, expansion jointsASME B16.48; project data sheets
General notesNDE extent, PWHT, impact testing, hardness, cleaning, hydrotest and pneumatic test basisASME B31.3 Chapters V and VI; NACE MR0175 / ISO 15156 (sour)
Engineering note: Preliminary engineering reference. Final selection shall be verified against the governing code edition, project piping material specification, process data and applicable product standards.

Pipe class codes and line numbers

Each class is given a short alphanumeric code so it can be written on drawings. That code is then embedded in every line number on the P&ID, line list and isometric. When a pipefitter reads A1B on an isometric, the specification behind it tells them the flange rating, material and corrosion allowance without opening another document.

Reading a line number: where the pipe class appears on a P&ID or isometric The line number 6 inch – P – 1001 – A1B – H is split into five fields: nominal size NPS 6, fluid code P for process, sequence number 1001, pipe class A1B, and insulation code H for heat conservation. 6″ – P – 1001 – A1B – H SizeNPS 6 (DN 150) Fluid codeP = process Line sequenceunique line ID Pipe classCL150 · CS · CA 3 mm InsulationH = heat conservation Field order and codes are project-specific – always read the project’s line-designation legend. Aienginear.com
Figure 4 – Anatomy of a typical line number. The pipe class code links the drawing to the piping material specification. Diagram: Aienginear.com

Example Pipe Class Coding System

Illustrative three-character scheme (e.g. A1B) – project schemes vary

⚡ Powered by Aienginear
Example Pipe Class Coding System
PositionRepresentsExample Codes
1st – letterFlange pressure ratingA = Class 150 · B = 300 · C = 600 · D = 900 · E = 1500 · F = 2500
2nd – digitBase material1 = Carbon steel · 2 = LTCS · 3 = Cr-Mo · 4 = SS 304L · 5 = SS 316L · 6 = Duplex · 9 = Non-metallic
3rd – letterCorrosion allowanceN = 0 mm · A = 1.5 mm · B = 3.0 mm · C = 6.0 mm
Suffix (optional)Special service variante.g. S = sour (NACE), G = galvanized, L = lined
Engineering note: There is no international standard for pipe class codes. Owners such as major operators publish their own schemes; always read the legend in the project piping material specification (PMS).

Pressure-temperature ratings

A pipe class has a design envelope, not a single design point. Its upper boundary is usually set by the flange rating for the class material group: as temperature rises, allowable stress falls and so does the permitted pressure. Valves are rated to the same tables through ASME B16.34. Any line assigned to the class must have every design pressure-temperature case inside that envelope.

ASME B16.5 Group 1.1 pressure-temperature ratings for Class 150, 300 and 600 Line chart showing allowable working pressure in bar gauge falling as temperature rises from 38 to 538 degrees Celsius for carbon steel flanges of Class 150, 300 and 600. Ratings drop sharply above 400 degrees Celsius. 0 10 20 30 40 50 60 70 80 90 100 110 0 50 100 150 200 250 300 350 400 450 500 550 Graphitization zone (> 425 °C, CS) Class 600 Class 300 Class 150 Material Group 1.1 (e.g. A105, A216 WCB, A350 LF2) Design temperature (°C) Max. working pressure (barg) Aienginear.com
Figure 5 – ASME B16.5 Group 1.1 (carbon steel) ratings for Class 150, 300 and 600. Note the steep drop above 400 °C. Chart: Aienginear.com

ASME B16.5 Pressure-Temperature Ratings – Group 1.1

Maximum working pressure (barg) for A105, A216 WCB, A350 LF2 and similar

⚡ Powered by Aienginear
ASME B16.5 Pressure-Temperature Ratings – Group 1.1
Temp. (°C)Class 150Class 300Class 600Class 900
3819.651.1102.1153.2
10017.746.693.2139.8
15015.845.190.2135.2
20013.843.887.6131.4
25012.141.983.9125.8
30010.239.879.6119.5
3508.437.675.1112.7
4006.534.769.4104.2
4255.528.857.586.3
4504.623.046.069.0
5002.811.823.535.3
5381.45.911.817.7
Engineering note: Values as tabulated for Material Group 1.1 (first row covers -29 to 38 °C). Carbon steel above 425 °C is subject to graphitization on prolonged exposure; such ratings are permitted but not recommended. Verify against the ASME B16.5 edition invoked by your contract.

The ratings show why a Class 150 carbon steel class is rarely used above about 300 °C – the permitted pressure has already halved. Bolting must also suit the temperature; check flange make-up loads with the bolt torque flange calculator.

ASME B31.3 fluid service categories

The fluid service category written in the class header controls how much examination and testing the welds receive and which joint types are permitted. Assigning the wrong category is one of the most expensive errors in a piping specification because it is discovered late – usually at inspection.

ASME B31.3 Fluid Service Categories

Category assignment drives NDE, testing and component restrictions in the pipe class

⚡ Powered by Aienginear
ASME B31.3 Fluid Service Categories
CategoryDefinition (summary)Effect on the Pipe Class
NormalDefault category for fluids not designated otherwiseBase requirements, e.g. 5% random RT/UT of girth welds
Category DNon-flammable, non-toxic, not damaging to tissue; ≤ 1035 kPa(g) and -29 to 186 °CRelaxed examination; visual examination may suffice; initial service leak test option
Category MToxic fluid where a single small exposure can cause serious irreversible harm (owner designates)Chapter VIII: tighter joint restrictions, more NDE, sensitive leak testing
High PressureOwner-designated service, generally beyond Class 2500 ratingsChapter IX: separate design, material and examination rules
Elevated TemperatureOwner-designated service with metal temperature in the creep rangeAdditional design and examination requirements per para. 300.2 and Chapter V
High PurityPharmaceutical, semiconductor and similar hygienic servicesChapter X: orbital welding, surface finish, borescope examination
Engineering note: Severe cyclic conditions are a separate design condition, not a fluid category. Summary only – consult ASME B31.3 (2024 edition or the edition invoked) for full definitions.

Material selection by service

Material selection starts with the corrosion study and the minimum and maximum design temperatures. The table gives proven starting combinations; each row is a family of compatible ASTM specifications so that pipe, fittings and flanges share similar chemistry and weldability. For detailed grade guidance see the Aienginear guides to carbon steel, alloy steel, stainless steel, non-ferrous and non-metallic piping materials.

Typical Pipe Class Materials by Service

Matching pipe, fittings, flanges, bolting and gaskets – starting point for a PMS

⚡ Powered by Aienginear
Typical Pipe Class Materials by Service
Service / RangePipeBW FittingsForgings / FlangesBoltingTypical Gasket
General CS: -29 to 400 °CA106 Gr B SMLS; API 5L Gr BA234 WPBA105 / A105NA193 B7 / A194 2HSPW 316L / graphite, CS outer ring
Low temperature: to -46 °CA333 Gr 6A420 WPL6A350 LF2 Cl.1A320 L7 / A194 Gr 7SPW 316L / graphite
High temperature Cr-MoA335 P11, P22 (P91 for HP steam)A234 WP11, WP22, WP91A182 F11, F22, F91A193 B16 / A194 Gr 4 or 7SPW 316L / graphite or RTJ
Corrosive / cryogenic austeniticA312 TP304L, TP316LA403 WP304L, WP316LA182 F304L, F316LA193 B7 / A194 2H (ambient to hot); B8M Cl.2 / 8M (cryogenic)SPW 316L / graphite or PTFE
Chlorides / seawaterA790 S32205 (duplex)A815 WPS32205A182 F51 / F60Per project (e.g. coated B7 or alloy)SPW duplex / graphite
Water / non-metallicHDPE PE100 (ISO 4427); GRE (ISO 14692)Moulded / fabricatedStub-end + backing flangeGalvanized or coatedEPDM / full-face
Engineering note: Typical combinations only. Selection must follow the project corrosion study, design temperature range, code allowables, impact test requirements and owner standards. See Aienginear material guides linked in this article.

Sample pipe class sheet (A1B)

The example below shows how the pieces come together for a common utility and hydrocarbon class. Every schedule was checked against the class design pressure, so you can follow the logic from the thickness equation to the final selection.

Sample Pipe Class Sheet – A1B

Class 150 RF · Carbon steel · CA 3.0 mm · ASME B31.3 Normal fluid service

⚡ Powered by Aienginear
Sample Pipe Class Sheet – A1B
ItemSize (NPS)DescriptionStandard
Design limitsAll19.6 barg @ 38 °C · 13.8 barg @ 200 °C · 6.5 barg @ 400 °C; min. temp. -29 °CASME B16.5 Group 1.1
Pipe½A106 Gr B SMLS, Sch 160, PEASME B36.10M
Pipe¾ – 2A106 Gr B SMLS, Sch 80, PEASME B36.10M
Pipe3 – 10A106 Gr B SMLS, Sch 40 (STD), BEASME B36.10M; B16.25
Pipe12 – 24A106 Gr B SMLS or API 5L Gr B PSL2 SAWL, STD (9.53 mm), BEASME B36.10M; API 5L
Fittings½ – 1½A105 forged, socket-weld, Class 3000ASME B16.11
Fittings2 – 24A234 WPB, butt-weld, wall to match pipeASME B16.9
Flanges½ – 24A105 weld-neck, RF 3.2–6.3 µm Ra, Class 150, bore to match pipeASME B16.5
Gaskets½ – 24Spiral-wound, 316L winding, flexible graphite filler, CS outer ring, 316L inner ringASME B16.20
BoltingAllA193 B7 stud bolts with A194 2H heavy hex nutsASME B18.2.1 / B18.2.2
Gate valve½ – 1½A105 body, SW, Class 800, bolted bonnet, trim 8API 602
Gate valve2 – 24A216 WCB body, flanged RF Class 150, trim 8API 600
Globe valve2 – 12A216 WCB body, flanged RF Class 150, trim 8API 623
Check valve2 – 24Swing check or dual-plate wafer, A216 WCB body, Class 150API 594 / API 6D
Ball valve½ – 12Floating/trunnion, fire-safe, CS bodyISO 17292 / API 6D; API 607
NDEAll5% random RT/UT of girth welds; 100% visualASME B31.3 para. 341.4.1
PWHTAllRequired where control thickness > 19 mm (P-No. 1)ASME B31.3 Table 331.1.1
Pressure testAllHydrotest at ≥ 1.5 × design pressure × stress ratioASME B31.3 para. 345.4
Engineering note: Schedules above were checked with B31.3 Eq. (3a) at 19.6 barg, S = 138 MPa, E = W = 1.0, CA 3.0 mm and 12.5% mill tolerance. This is an educational example – not a substitute for a project-approved specification.

Branch tables

A branch table tells the designer which component to use wherever one line tees off another. The choice balances reinforcement, stress intensification, inspection access and cost: equal and reducing tees for large branches, integrally reinforced outlets such as weldolets for small branches on large headers, and sockolets for small-bore take-offs.

Example Branch Table – Class A1B

T = equal tee · RT = reducing tee · W = weldolet · S = sockolet

⚡ Powered by Aienginear
Example Branch Table – Class A1B
Header \ Branch (NPS)½¾11½234681012
½T
¾RTT
1RTRTT
1½RTRTRTT
2SSSST
3SSSSRTT
4SSSSRTRTT
6SSSSWRTRTT
8SSSSWWRTRTT
10SSSSWWWRTRTT
12SSSSWWWWRTRTT
Engineering note: Illustrative only. Each project sets its own branch rules based on stress, fatigue, inspection access and economics; reinforcement must satisfy ASME B31.3 para. 304.3.

How to develop a pipe class: 8 steps

  1. Collect design data. Gather fluid, design pressure and temperature (including upset and minimum temperatures), flow regime, and contaminants such as H₂S, CO₂, chlorides or oxygen from the process line list.
  2. Set the design code and fluid service. Confirm whether ASME B31.3, B31.1 or another code governs and assign the fluid service category (Normal, D, M, High Pressure, Elevated Temperature, High Purity).
  3. Select the base material and corrosion allowance. Use the corrosion study to choose the material family and a corrosion allowance that covers the design life, including erosion where velocities are high.
  4. Choose the pressure rating. Select the lowest ASME B16.5 / B16.47 class whose rating, for the chosen material group, covers every design pressure-temperature point the class must serve.
  5. Calculate pipe wall thickness by size. Apply the B31.3 pressure design equation, add allowances, correct for mill tolerance and pick the next standard schedule; check mechanical strength for small bore.
  6. Specify fittings, flanges, gaskets and bolting. Pick compatible standards, materials, facings and gasket types, keeping the galvanic and temperature compatibility of each item in mind.
  7. Define valves and the branch table. Assign valve types and data-sheet codes by size range and build the header-branch matrix that satisfies reinforcement rules.
  8. Add notes, review and issue. Add NDE, PWHT, impact test, hardness and test-pressure notes; obtain multi-discipline review and issue the class under revision control.

Pipe vs pipe class vs pressure class

Pipe vs Pipe Class vs Pressure Class

Three terms that are often confused

⚡ Powered by Aienginear
Pipe vs Pipe Class vs Pressure Class
TermWhat It IsExampleWho Uses It
PipeA physical component that carries fluidNPS 6 Sch 40 A106 Gr BFabricators, buyers, inspectors
Pipe classA specification covering every component for one serviceA1B: CL150 · CS · CA 3 mmPiping designers, material engineers, procurement
Pressure classA rating of a flange, fitting or valveASME B16.5 Class 300Designers when checking P-T limits
ScheduleA wall-thickness designation for pipeSch 80 / XSDesigners, stockists
Line numberA unique identifier carrying the pipe class code6″-P-1001-A1B-HProcess, piping, construction, operations
Engineering note: Preliminary engineering reference. Final selection shall be verified against the governing code edition, project piping material specification, process data and applicable product standards.

Common pipe class mistakes and best practices

  • Confusing STD with Sch 40 above NPS 10 – state the exact designation in the class.
  • Ignoring minimum design temperature – A106 Gr B and A105 need impact-tested alternatives (A333 Gr 6, A350 LF2) for low-temperature or auto-refrigeration cases.
  • Mixing gasket and bolting combinations – spiral-wound gaskets need enough bolt load; low-strength bolts on high-rated flanges can cause leaks.
  • Too many classes – each new class multiplies inventory. Merge classes where the envelope allows and the cost penalty is small.
  • Unmarked specification breaks – show every break on P&IDs and isometrics, and apply the stricter class at the joint.
  • Not revising the class after process changes – a new design case or contaminant (e.g. H₂S) must be checked against the class envelope before construction.
  • Skipping positive material identification – on alloy classes, PMI at receipt and after fabrication prevents mix-ups. See pipe inspection methods.

Before field hydrotesting, verify the test pressure for each class with the hydrotest pressure calculator, and plan supports with the pipe support spacing calculator.

Applicable standards and codes

Standards Referenced in Pipe Classes

Current editions as of October 2026 – confirm the edition named in your contract

⚡ Powered by Aienginear
Standards Referenced in Pipe Classes
StandardScopeUsed For
ASME B31.3-2024Process PipingDesign, materials, fabrication, examination and testing of process lines
ASME B31.1-2024Power PipingBoiler external piping and power-plant steam/water systems
ASME B31.4 / B31.8Liquid and gas pipelinesCross-country and transmission pipelines
ASME B36.10M-2022Welded and seamless wrought steel pipeCarbon/alloy pipe dimensions and schedules
ASME B36.19MStainless steel pipeStainless pipe dimensions and S-schedules
ASME B16.5-2025Pipe flanges and flanged fittings NPS ½–24Flange dimensions and P-T ratings
ASME B16.47Large-diameter steel flanges NPS 26–60Series A and Series B flanges
ASME B16.9 / B16.11Butt-weld and forged fittingsElbows, tees, reducers, couplings
ASME B16.20 / B16.21Metallic and non-metallic gasketsSpiral-wound, RTJ, sheet gaskets
ASME B16.34Valves – flanged, threaded and welding endValve P-T ratings and wall thickness
ASME B16.48Line blanksSpectacle blinds, spades and spacers
API 5LLine pipePSL1 / PSL2 seamless and welded pipe
API 600 / 602 / 6D / 608 / 609 / 594Valve product standardsGate, small-bore, pipeline, ball, butterfly, check valves
MSS SP-97Integrally reinforced branch outlet fittingsWeldolets, sockolets, threadolets
NACE MR0175 / ISO 15156Materials for H₂S (sour) serviceHardness and material limits in sour classes
EN 13480 / ISO 15649Metallic industrial piping (EU) / petroleum pipingAlternative design codes on European or ISO-based projects
Engineering note: Editions listed were verified as the latest published at the time of this update. Contracts frequently invoke an earlier edition; the contract edition governs.

Frequently asked questions

What is a pipe in industrial piping?

A pipe is a pressure-containing hollow cylinder, identified by Nominal Pipe Size (NPS) and wall schedule, that carries liquids, gases, steam or slurries between equipment. Its outside diameter is fixed for each NPS, and its wall thickness is selected to resist internal pressure plus allowances for corrosion and mill tolerance.

What is a pipe class?

A pipe class is a project specification that lists every approved component for one set of service conditions: pipe material and schedule by size, fittings, flanges, gaskets, bolting, valves and branch connections, together with the pressure-temperature limits, corrosion allowance, design code and fabrication notes that apply.

What is the difference between a pipe class and a flange pressure class?

A flange pressure class (Class 150, 300, 600, etc. per ASME B16.5) is a dimensionless rating of one component. A pipe class is a complete specification for a whole line; it usually adopts one flange class as its pressure basis but also fixes materials, schedules, corrosion allowance, valves and many other requirements.

What does a pipe class code such as A1B mean?

In a typical scheme the first character is the pressure rating (A = Class 150), the digit is the base material (1 = carbon steel) and the last character is the corrosion allowance (B = 3.0 mm). The coding is not standardised, so always check the legend in the project piping material specification.

How is pipe wall thickness selected inside a pipe class?

Under ASME B31.3 the pressure design thickness is t = PD / 2(SEW + PY). Corrosion, erosion and thread allowances are added, the total is divided by (1 – mill tolerance), typically 12.5 percent for seamless pipe, and the next standard schedule that meets or exceeds the result is chosen.

Is Schedule 40 the same as STD wall?

Only up to NPS 10. From NPS 12 upward, STD stays at 9.53 mm while Schedule 40 becomes thicker. Likewise Schedule 80 equals XS only up to NPS 8. Specify the designation the pipe class actually requires.

Who prepares the pipe class specification?

The piping material engineer of the EPC contractor or owner prepares it, using process design data, the corrosion study and the governing code. Process, mechanical, materials and inspection disciplines review it before it is issued for design and procurement.

What happens where two pipe classes meet on one line?

The change point is called a specification break. It is shown on the P&ID and isometric, and the joint must satisfy the more stringent of the two classes for gasket, bolting and rating, unless the specification gives a specific rule for that break.

Which code applies: ASME B31.3 or ASME B31.1?

ASME B31.3 covers process piping in refineries, chemical, pharmaceutical and similar plants. ASME B31.1 covers power piping such as boiler external piping and steam systems in power stations. The project or jurisdiction decides, and the pipe class header states which code governs.

Test your knowledge: pipe and pipe class quiz

Ten questions based on this guide. Select an answer to see the explanation instantly.

1. From which nominal size does the outside diameter of steel pipe equal the NPS number in inches?

From NPS 14 upward the OD in inches equals the nominal size. Below that, OD is larger than the nominal size.

2. What does increasing the schedule number of a given NPS change?

OD stays fixed for a given NPS; a higher schedule adds wall thickness inward, so ID reduces.

3. Which document lists approved pipe, fittings, flanges, gaskets, bolts and valves for one service?

The pipe class is the single specification that governs all components for a defined service envelope.

4. In the B31.3 thickness equation t = PD / 2(SEW + PY), what does W represent?

W is the weld joint strength reduction factor, relevant at elevated temperature. E is the quality factor.

5. Typical mill under-tolerance used for seamless ASTM A106 pipe is:

A106 permits wall thickness down to 12.5% under nominal, so the required thickness is divided by 0.875.

6. ASME B31.3 Category D fluid service is limited to a design gauge pressure of:

Category D fluids are non-flammable, non-toxic and limited to 1035 kPa gauge and -29 to 186 °C.

7. At 38 °C a Class 150 Group 1.1 carbon steel flange is rated to approximately:

ASME B16.5 Group 1.1, Class 150: 19.6 barg at -29 to 38 °C, reducing as temperature increases.

8. Which pipe material is the usual choice for -46 °C low-temperature carbon steel service?

A333 Gr 6 is impact tested at low temperature; A106 B is limited to about -29 °C without additional testing.

9. In a branch table, an entry "W" typically means the branch is made with:

Weldolets per MSS SP-97 are common where the branch is much smaller than the header.

10. A change from one pipe class to another along a line is called:

A specification break is marked on P&IDs and isometrics; the joint follows the more stringent requirements.
Score: 0 / 10

Reviewed and updated: 10 October 2026 by Muhammad Raza, founder of Aienginear. Code references checked against ASME B31.3-2024, ASME B31.1-2024, ASME B16.5-2025 and ASME B36.10M-2022. This article is educational; always follow the specification and code edition approved for your project. More guides: Aienginear piping guides.

Aienginear

Written by Muhammad Raza

Founder of Aienginear. Engineering and digital solutions professional with 26+ years managing projects, plant shutdowns and turnarounds in oil & gas, petrochemical and power generation.

LinkedIn · YouTube · Report an error or ask a question

Leave a Comment