ASME B31 · ASME PCC-1 · Piping

ASME B31 piping codes, test pressures & bolt-up, explained

Which B31 code covers your job, how a B31.3 hydrotest number is built, how weld examination scales with fluid service, and what PCC-1 says about flange bolt-up — with a worked example.

Need the code requirements? Get the B31 codes and PCC-1 from ASME →

Which B31 code applies?

CodeScope (general)Typical jobs
B31.1 Power PipingPower plants, boiler external piping, steam and utility systemsPower stations, central plants, district steam
B31.3 Process PipingPiping in refineries, chemical, pharmaceutical, and similar plants and terminalsPlant piping inside the fence, skids, utilities in process plants
B31.4 Liquid PipelinesPipelines transporting liquids (crude, refined products, NGLs, CO₂ and others) between facilitiesCross-country liquid lines, pump stations, terminals' pipeline side
B31.8 Gas PipelinesGas transmission and distribution pipingTransmission lines, compressor stations, gas distribution mains
B31.9 Building ServicesBuilding heating, cooling, and utility piping within limitsCommercial HVAC and utility piping

Boundaries between codes (e.g. where plant piping ends and the pipeline begins) are set by the owner's spec and the codes' scope clauses — confirm before testing. Our own summary, not the ASME text. Get the actual requirements from ASME B31.3/B31.4/B31.8 and PCC-1 (asme.org), follow the owner's piping specification and approved test procedure, and verify against the edition your contract references. Not engineering advice.

Pressure testing — how each code approaches it (concepts)

CodeTest conceptWhat drives the number
B31.3 hydrostaticA multiple of design pressure, adjusted up when design temperature is hotDesign pressure × a factor × (allowable stress at test temp ÷ allowable stress at design temp), with a cap on that ratio
B31.3 pneumaticA lower multiple of design pressure, with a relief device and extra precautionsStored energy in compressed gas — needs owner approval and a safety plan
B31.3 alternativesSensitive leak test or an alternative (examination + flexibility analysis) where a pressure test isn't practicalOwner approval and the code's alternative-test clause
B31.4Hydrostatic test to a multiple of internal design pressure, held for a set durationDesign pressure; leak-test hold where segments aren't visually inspected
B31.8Test pressure and test medium depend on the location class and the hoop stress the line operates atPopulation density along the line (location class) and design factor

Test pressure is always limited by the weakest non-isolated component (flanges, valves, instruments). Our own summary, not the ASME text. Get the actual requirements from ASME B31.3/B31.4/B31.8 and PCC-1 (asme.org), follow the owner's piping specification and approved test procedure, and verify against the edition your contract references. Not engineering advice.

Worked example — B31.3 hydrostatic test pressure

Input / stepValueSource
Design pressure (P)200 psigLine list
Hydrostatic test factor1.5B31.3 hydrostatic test clause
Case A — design temperature near ambient (stress ratio = 1.0)1.5 × 200 × 1.0 = 300 psigMinimum test pressure
Case B — hot line, stress ratio (test ÷ design allowable) of 1.2 from the allowable stress table1.5 × 200 × 1.2 = 360 psigExample ratio — compute yours from the material's allowable stresses
Check the weakest componentFlanges, valves, instruments must tolerate the test pressureIsolate or remove what can't
Check stresses in the test conditionWeight of water in large gas lines, supports, and test-temperature brittle-fracture riskEngineer / approved test procedure

Worked example — one code value (the 1.5 factor); the ratio in Case B is illustrative. Always test to the approved test package.

B31.3 weld examination — how it scales by fluid service (concept)

Fluid service categoryWhat it meansExamination approach
Category DNonflammable, nontoxic, low pressure and moderate temperatureVisual examination only in most cases
Normal Fluid ServiceThe default — most process pipingVisual plus random radiography/UT of a percentage of welds, with progressive sampling when rejects are found
Category MVery small exposure could cause serious harm (toxic)More extensive examination and additional requirements
High PressureOwner-designated high-pressure service (Chapter IX)100% volumetric examination and tighter acceptance
Severe Cyclic ConditionsHigh cyclic stress100% examination and the strictest acceptance criteria

Acceptance criteria (cracks, lack of fusion, porosity, undercut, reinforcement) come from the B31.3 acceptance table, which varies by service and examination method. Our own summary, not the ASME text. Get the actual requirements from ASME B31.3/B31.4/B31.8 and PCC-1 (asme.org), follow the owner's piping specification and approved test procedure, and verify against the edition your contract references. Not engineering advice.

ASME PCC-1 bolted flange joint assembly — the concepts

ConceptWhat it meansField impact
Target bolt stressThe bolt stress you are trying to achieve, chosen for the gasket, flange, and bolts — not just the bolt's strengthGet it from the joint's bolt-up procedure; torque is only a means to reach it
Nut factor (K)Relates torque to bolt load: torque ≈ K × diameter × loadLubricant choice changes K a lot — use the value the procedure was built with
Legacy cross patternThe original star/cross sequence with multiple passes at increasing torqueMore passes, slower, widely understood
Alternative patternsQuadrant and multi-bolt patterns (and patterns for multiple tools at once)Fewer passes and faster when qualified — use only as the procedure allows
Check passesCircular passes at full torque until nuts stop turningRequired to even out bolt load (elastic interaction)
Assembler qualification and joint recordsTrained bolters and a record per jointTag each joint; track gasket, lube, tool, and torque

This page does not provide torque values. Our own summary, not the ASME text. Get the actual requirements from ASME B31.3/B31.4/B31.8 and PCC-1 (asme.org), follow the owner's piping specification and approved test procedure, and verify against the edition your contract references. Not engineering advice.

📋 Embed this chart on your site — freeGet the code →

Paste this where you want the live chart to appear. It works on any site that allows iframes, and includes a link back to Field PM.

<iframe src="https://www.field-pm.com/embed/charts/asme-b31-piping-codes-test-pressures" title="ASME B31 Codes, Test Pressures & PCC-1 — Field PM" width="100%" height="620" loading="lazy" style="border:1px solid #e5e7eb;border-radius:12px;max-width:560px;width:100%"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:8px 0;color:#6b7280"><a href="https://www.field-pm.com/charts/asme-b31-piping-codes-test-pressures" target="_blank" rel="noopener">ASME B31 Codes, Test Pressures & PCC-1</a> by <a href="https://www.field-pm.com" target="_blank" rel="noopener">Field PM</a></p>

Piping codes and pressure testing, in plain language

Get the actual requirements from ASME. The B31 codes and PCC-1 (Guidelines for Pressure Boundary Bolted Flange Joint Assembly) are sold by ASME. This page explains them; it doesn’t reproduce their tables or torque values.

Pick the right code first. Inside a refinery or chemical plant, piping is usually B31.3. Once it leaves the plant as a liquid pipeline it’s B31.4; gas transmission and distribution is B31.8. Power plants use B31.1 and commercial building services can use B31.9. Each code has different design factors, test rules, and examination requirements — and the owner’s spec sets the boundaries.

Worked example. A B31.3 line designed for 200 psig near ambient temperature tests hydrostatically at 1.5 × 200 = 300 psig. If the line runs hot, the code raises the test pressure by the ratio of the material’s allowable stress at test temperature to that at design temperature — with an illustrative ratio of 1.2, the test becomes 360 psig. Then check the weakest component: a flange class or valve rating can limit what you’re allowed to put on the system.

Bolt-up is its own discipline. PCC-1 treats a flange joint as a system: the target bolt stress is chosen for the gasket and flange, torque is only a way to get there (through the nut factor of the lubricant), and the tightening pattern — legacy cross or an alternative pattern — plus check passes evens out the load. Use your site’s qualified bolt-up procedure for actual values.

Related: ASME B16.5 flange pressure classes, the steel pipe schedule chart, the weld log template, and the WPS & welder continuity log. Field PM keeps test packages, NDE reports, and bolt-up records with the job.

FAQ

What is the difference between B31.3, B31.4, and B31.8?+

B31.3 covers process piping in plants and terminals; B31.4 covers pipelines carrying liquids such as crude and refined products; B31.8 covers gas transmission and distribution. Where plant piping ends and a pipeline begins is set by the codes' scope clauses and the owner's specification.

How do I calculate a B31.3 hydrotest pressure?+

Multiply the design pressure by 1.5, then by the ratio of the material's allowable stress at test temperature to its allowable stress at design temperature (the code caps that ratio). For a 200 psig line at near-ambient design temperature that gives 300 psig. The result can't exceed what the weakest non-isolated component can take.

When can you pneumatic test instead of hydrotest?+

B31.3 allows a pneumatic test at a lower multiple of design pressure when a hydrotest isn't practical — for example where water would harm the process or the supports can't carry the water weight. It stores far more energy than a hydrotest, so it needs owner approval, a pressure relief device, controlled pressurization steps, and an exclusion zone.

What is the ASME PCC-1 legacy pattern?+

The traditional cross (star) tightening sequence with several passes at increasing torque, followed by circular check passes. PCC-1 also describes alternative patterns that tighten groups of bolts or quadrants in fewer passes. Which one you use, and the target bolt stress, come from the site's qualified bolt-up procedure.

How much of the piping gets radiographed under B31.3?+

It depends on the fluid service category. Category D service is usually visual only; Normal Fluid Service gets visual plus random radiography or UT of a sample of welds with progressive sampling when defects are found; High Pressure and Severe Cyclic services get 100% examination. The owner's spec can require more.

Built by a contractor, for the field

Field PM runs daily reports, job costing, QA/QC, and billing in one platform — $99/month with unlimited foremen, QA/QC, and safety free. 30-day trial, no credit card.

Start free trial →

More reference charts

Rated by contractors on

Field PM reviews on CapterraField PM reviews on GetAppField PM reviews on Software Advice