If you've ever looked at a piping isometric drawing and seen a code like "A1A" or "B2C" stamped next to a line number, you already know the confusion that comes with piping line class designations. These short alphanumeric codes carry a massive amount of information material grade, pressure rating, corrosion allowance, insulation type, and more. Get them wrong, and you risk ordering the wrong pipe, selecting incompatible materials, or failing a code compliance review. Having a reliable reference for common piping line class codes and specifications is one of the most practical tools a piping engineer, designer, or procurement specialist can keep within arm's reach.

What Exactly Is a Piping Line Class?

A piping line class is a standardized shorthand that defines the design and construction requirements for a group of piping lines that share the same service conditions. Instead of writing out full material specifications, wall thicknesses, pressure ratings, and testing requirements for every single pipe run, engineers assign a line class code. Everyone on the project from the designer drawing the piping to the fabricator welding the spools can then look up that code and know exactly what applies.

A typical line class code references several pieces of information at once:

  • Material of construction (carbon steel, stainless steel, alloy, etc.)
  • Pressure-temperature rating (based on ASME B16.5 or similar standards)
  • Pipe schedule or wall thickness
  • Corrosion allowance
  • Joining method (welded, threaded, flanged, etc.)
  • Testing and examination requirements
  • Insulation and tracing requirements

Most operating companies, engineering contractors, and EPC firms develop their own piping line class tables as part of their internal engineering standards. While the exact codes differ between organizations, the underlying specifications they reference are drawn from a common set of industry codes.

Which Industry Codes and Standards Shape Piping Line Classes?

Piping line classes don't exist in a vacuum. They are built on top of recognized codes published by organizations like ASME, API, ASTM, and MSS. Understanding which codes feed into line class definitions helps you interpret any company's line class table, even one you've never seen before.

ASME B31.3 – Process Piping

This is the most widely used pressure piping code in chemical, petrochemical, and refining plants. It governs materials, design, fabrication, testing, and inspection. Most piping line classes in process plants are built around B31.3 requirements. If a line class says "B31.3" as its design code, it tells you the allowable stress values, minimum wall thickness calculations, and examination percentages all follow that standard.

ASME B31.1 – Power Piping

For boiler external piping, steam systems, and power plant services, B31.1 is the governing code. Line classes for utility steam, condensate, and boiler feedwater in power generation facilities reference this standard. The requirements differ from B31.3 in several areas, particularly around examination extent and qualification of procedures.

ASME B16.5 and B16.47 – Flange Ratings

Line classes often specify a flange class (Class 150, 300, 600, 900, 1500, or 2500) based on ASME B16.5 for NPS ½ through 24, or B16.47 for NPS 26 through 60. The pressure-temperature tables in these standards determine which flange rating a line class uses based on the design conditions.

ASTM Material Standards

Every line class points to specific ASTM material specifications for pipe, fittings, and forgings. Common ones include:

  • ASTM A106 – Seamless carbon steel pipe for high-temperature service
  • ASTM A312 – Seamless and welded austenitic stainless steel pipe
  • ASTM A335 – Seamless ferritic alloy steel pipe for high-temperature service
  • ASTM A358 – Electric-fusion-welded austenitic chromium-nickel stainless steel pipe
  • ASTM A671 – Electric-fusion-welded pipe for atmospheric and lower temperatures
  • ASTM A234 – Wrought carbon steel and alloy steel fittings

When you read a line class table and see "A106 Gr. B" for pipe material, that tells the fabricator exactly which specification to purchase from. Similarly, if you're working with P&ID codes for a chemical processing plant, the line class code on the P&ID ties directly back to these material specs.

API Standards

In refineries and upstream oil and gas, several API standards shape line class definitions:

  • API 574 – Inspection of piping system components
  • API 570 – Piping inspection code for in-service piping
  • API 6A – Wellhead and Christmas tree equipment
  • API 600 – Steel gate valves

Valve selections within a line class gate, globe, ball, check often reference API or ASME valve standards. If you need a refresher on how valve symbols appear on engineering drawings, our article on API and ASME valve symbols used in instrumentation diagrams covers that in detail.

How Is a Piping Line Class Code Structured?

There is no single universal format. Each engineering company creates its own coding system, but most follow a pattern that uses a short string of letters and numbers where each position represents a specific parameter. Here's a typical structure:

  1. First character – Material group (e.g., A = carbon steel, B = 1¼ Cr-½ Mo alloy, C = 304 stainless steel, D = 316 stainless steel)
  2. Second character – Pressure rating or pipe schedule (e.g., 1 = Class 150 / Schedule 40, 2 = Class 300 / Schedule 80, 3 = Class 600 / Schedule XS)
  3. Third character – Corrosion allowance, insulation, or special requirements (e.g., A = no insulation, B = insulated, C = traced and insulated)

So a code like "A1A" might mean carbon steel, Class 150 / Schedule 40, no insulation. A code like "C2B" might mean 304 stainless steel, Class 300 / Schedule 80, insulated. These are examples the exact meaning depends on the company's line class table.

Where Do Engineers Actually Use Line Class References?

Piping line class references come into play across nearly every phase of a project:

  • Conceptual and FEED engineering – Preliminary line classes are assigned based on process conditions, fluid properties, and temperature/pressure data.
  • Detailed design – Designers use line classes to select pipe sizes, wall thicknesses, fittings, flanges, and valves on piping plans, sections, and isometrics.
  • P&ID development – Line class codes appear in the line number on P&IDs, connecting the process design to the physical piping specification. Standardizing ISA standard P&ID symbols alongside line class designations keeps drawings consistent.
  • Material take-off (MTO) – Procurement teams translate line class codes into purchase orders for pipe, fittings, flanges, gaskets, and bolts.
  • Fabrication – Shop fabrication teams follow the welding procedures, examination requirements, and testing mandates defined by the line class.
  • Inspection and maintenance – Over the plant's life, inspectors use line class information to determine corrosion rates, remaining life, and re-inspection intervals.

What Are the Most Commonly Referenced Piping Specifications?

Below is a quick-reference table of specifications that appear most frequently across piping line class tables in process and power industries:

  • ASME B31.3 – Process piping design code
  • ASME B31.1 – Power piping design code
  • ASME B16.5 – Pipe flanges and flanged fittings (NPS ½–24)
  • ASME B16.9 – Factory-made wrought butt-welding fittings
  • ASME B16.11 – Forged fittings, socket-welding and threaded
  • ASME B16.25 – Butt-welding ends
  • ASME B16.47 – Large diameter steel flanges (NPS 26–60)
  • ASME B1.20.1 – Pipe threads (general purpose)
  • ASME B36.10M – Welded and seamless wrought steel pipe
  • ASME B36.19M – Stainless steel pipe
  • ASME B16.34 – Valves flanged, threaded, and welding end
  • API 600 – Steel gate valves
  • API 602 – Compact steel gate valves
  • API 608 – Metal ball valves
  • MSS SP-44 – Steel pipeline flanges
  • MSS SP-97 – Integrally reinforced branch outlet fittings

What Does a Typical Line Class Table Look Like?

A well-organized line class table usually has columns for each variable. Here's a simplified example for a carbon steel line class used in a refinery:

  • Line Class: A1
  • Design Code: ASME B31.3
  • Material: Carbon Steel (ASTM A106 Gr. B pipe, ASTM A234 WPB fittings)
  • Flanges: ASTM A105, Class 150 per ASME B16.5, RF face
  • Gaskets: Spiral wound, 316SS windings with flexible graphite filler, Class 150
  • Bolting: ASTM A193 B7 / A194 2H
  • Valves: Gate valves per API 600, carbon steel body, 13% Cr trim
  • Pipe Schedule: Sch 40 (NPS ½–10), Sch 30 (NPS 12–24)
  • Corrosion Allowance: 3.0 mm
  • Design Pressure: Per process data, max for Class 150
  • Design Temperature: Per process data, max for Class 150 rating
  • Testing: Hydrotest per ASME B31.3, 100% of design pressure
  • Examination: Minimum 10% radiography on butt welds

This single code gives fabricators, inspectors, and procurement teams everything they need without requiring them to read through multiple specification documents.

What Mistakes Do People Commonly Make with Line Classes?

Even experienced engineers run into trouble when working with piping line classes. Here are the most frequent errors:

  • Using an outdated line class table. Companies revise their standards over time. Always verify you're working with the current revision before issuing drawings for construction.
  • Mixing line classes within a single line number. If process conditions change along a run (e.g., temperature drops after a heat exchanger), the line class may need to change at a specific point. Missing this transition can mean under-specified pipe downstream.
  • Ignoring corrosion allowance differences. Two line classes may look similar, but one might carry a 1.5 mm corrosion allowance while another carries 3.0 mm. Using the wrong one leads to premature wall thinning and potential failures.
  • Assuming flange ratings match pipe ratings. A line class might use Schedule 40 pipe with Class 300 flanges because the flange rating is governed by temperature and pressure, not pipe wall thickness. Don't assume they align.
  • Not checking low-temperature impact requirements. For services operating below −29°C (−20°F), materials must meet Charpy impact testing per ASME B31.3. A carbon steel line class that works fine at ambient temperature may not be valid for cold service.
  • Skipping the gasket and bolting specification. A line class isn't complete without specifying gasket type and bolting material. Using the wrong gasket in high-temperature service can lead to leaks and flange fires.

How Can You Build or Maintain a Line Class Reference?

If you're setting up piping specifications for a new project or updating an existing company standard, these steps help keep your line class system organized and usable:

  1. Start with the process data. Gather design pressures, design temperatures, fluid services, and material requirements from the process department before writing any line classes.
  2. Group similar services together. Lines with comparable materials, pressures, and temperatures can share a single line class. Avoid creating too many classes it adds complexity without benefit.
  3. Reference governing codes explicitly. State which edition and addenda of each code applies. "ASME B31.3" alone isn't enough specify the year (e.g., 2022 Edition).
  4. Include specialty items. Note any expansion joints, strainers, steam traps, or special fittings with their own specifications within the line class table.
  5. Version control matters. Assign revision numbers and dates. When a line class is updated, clearly mark what changed and communicate it to every discipline affected.
  6. Review against P&IDs regularly. As the P&ID develops, verify that every process line has a valid line class assigned and that the line class matches the service conditions shown.

Quick Checklist for Working with Piping Line Classes

  • ✅ Confirm you have the latest revision of the company's line class table before starting work
  • ✅ Match the line class to actual process design conditions don't guess or round up arbitrarily
  • ✅ Verify flange rating, pipe schedule, and corrosion allowance individually within the line class
  • ✅ Check material suitability for the fluid service (corrosion, embrittlement, permeation)
  • ✅ Confirm low-temperature requirements if any part of the service can drop below −29°C
  • ✅ Make sure gasket and bolting specs are included and appropriate for the temperature range
  • ✅ Cross-reference line class assignments on P&IDs with the piping specifications during design reviews
  • ✅ Keep an archived copy of each revision of the line class table used during the project for future reference during operation and maintenance

Start by gathering all relevant process conditions and the current edition of your company's (or client's) piping specification. Then cross-check each line class in the table against the governing codes listed above. If you're working on a project where line classes haven't been defined yet, build a matrix that groups services by material, pressure class, and temperature range this becomes the foundation for your entire piping specification system.