How to Determine Pipe Schedule for Pressure and Temperature Service: A Technical Guide for Piping Engineers

Engineering Guide

← Back to calculator

How to Determine Pipe Schedule for Pressure and Temperature Service: A Technical Guide for Piping Engineers

What Is This Calculation—and Why It Matters

Selecting the correct pipe schedule is a foundational engineering decision that directly governs the mechanical integrity, safety, longevity, and regulatory compliance of any pressurized piping system. Pipe schedule—such as SCH 40, SCH 80, or XS (Extra Strong)—is not merely a catalog designation; it defines the nominal wall thickness for a given Nominal Pipe Size (NPS) and material, and thereby determines the pipe’s pressure containment capability under operating conditions.

Incorrect schedule selection can lead to catastrophic failure modes: under-design results in excessive hoop stress, creep deformation, or rupture; over-design wastes capital cost, increases weight and support requirements, and may induce thermal stress mismatches or flow-induced vibration. Moreover, mismatched schedules compromise flange alignment, valve compatibility, and weld preparation geometry—introducing latent field erection risks.

This calculation bridges theoretical mechanics with real-world code compliance. It transforms operational parameters—internal pressure, temperature, NPS, and material—into a standardized, manufacturable, and inspectable specification. Its importance extends beyond design: it informs procurement, non-destructive examination (NDE) planning, hydrotest procedures, and long-term corrosion allowance allocation per ASME B31.3 §304.5.2.

Theory and Formula Walkthrough: Barlow’s Equation and Code Modifications

The core analytical tool is Barlow’s formula, an elastic thin-wall approximation for circumferential (hoop) stress in cylindrical pressure vessels:

$$ \sigma_h = \frac{P \cdot D_o}{2t} $$

Where:

  • $\sigma_h$ = Hoop stress (psi or MPa)
  • $P$ = Internal design pressure (psi or MPa)
  • $D_o$ = Outside diameter (in or mm)
  • $t$ = Actual wall thickness (in or mm)

Rearranged to solve for required minimum wall thickness:

$$ t = \frac{P \cdot D_o}{2 \cdot S \cdot E \cdot W \cdot Y} $$

However, ASME B31.3 (§304.1.2) and B31.1 (§104.1.1) do not use pure Barlow’s. Instead, they prescribe the required thickness equation:

$$ t = \frac{P \cdot D}{2(S \cdot E \cdot W + P \cdot Y)} + A $$

Let’s dissect each term:

  • $P$: Internal design pressure (psi). Must include static head, surge, and safety margins per §301.2.1. For this guide, assume it’s the user-input value (e.g., 150 psi), but note: design pressure ≠ operating pressure—it must account for transient events and be certified by the designer.

  • $D$: Outside diameter (in), not nominal diameter. Critical distinction: NPS 2 inch carbon steel pipe has $D_o = 2.375$ in (60.3 mm), regardless of schedule. Using nominal diameter introduces ~5–10% error in $t$—unacceptable for critical service.

  • $S$: Allowable stress value (psi), obtained from ASME II-D, Table A-1. It depends strictly on material grade and temperature. For example:

    • A106 Gr. B Carbon Steel at 70°F: $S = 20{,}000$ psi
    • A106 Gr. B at 500°F: $S = 16{,}500$ psi (degraded due to creep)
    • A312 TP316 Stainless Steel at 70°F: $S = 20{,}000$ psi; at 1000°F: $S = 9{,}400$ psi. Always verify $S$ against the latest edition of ASME II-D—values change with code cycles.
  • $E$: Longitudinal joint quality factor (dimensionless, 0.6–1.0). For seamless pipe: $E = 1.0$. For ERW pipe with 100% RT: $E = 1.0$; without RT: $E = 0.85$. Default assumption for new design is seamless ($E = 1.0$), but procurement constraints may require welded pipe—requiring explicit $E$ verification.

  • $W$: Weld joint strength reduction factor (ASME B31.3 §302.3.5(c)). For most base metals and filler metals matching $S$, $W = 1.0$. Only reduced if dissimilar welding or post-weld heat treatment (PWHT) exemptions apply.

  • $Y$: Coefficient from ASME B31.3 Table 304.1.1 (0.4–0.7), accounting for nonlinear stress distribution across the wall. For ferritic steels below $900^\circ\text{F}$: $Y = 0.4$. For austenitic stainless steels: $Y = 0.4$ (same). Do not approximate $Y$—use the table.

  • $A$: Additional thickness allowance (in), comprising:

    • Corrosion allowance (CA): Typically 0.031 in (0.8 mm) for mild service; up to 0.125 in (3.2 mm) for sour or abrasive service (per §304.5.2).
    • Mechanical allowance (threading, grooving): Often 0.0 in for plain-end pipe; add if threaded connections are used.
    • Manufacturing tolerance: Not added here—ASME schedules already incorporate mill tolerance (±12.5% for hot-finished, ±10% for cold-finished per ASTM A53/A106). The calculated $t$ is minimum required, then matched to next standard schedule with ≥ $t_{\text{min}}$.

Note: The denominator includes $+ P \cdot Y$—a correction absent in basic Barlow’s—making the formula conservative, especially at high $P/S$ ratios (>0.3). Neglecting this term underestimates $t$ by up to 8% at 1000 psi.

Standard Requirements: ASME B31.3 and B31.1 Compliance

Pipe schedule selection is governed not by a single clause, but by an integrated framework:

  • ASME B31.3 Process Piping §304.1.2: Mandates the required thickness equation above. It explicitly prohibits using nominal wall thicknesses without verifying actual minimum wall meets $t_{\text{calc}} + A$.

  • ASME B31.3 §304.2.1: Requires that selected pipe wall thickness must equal or exceed $t_{\text{calc}} + A$, after applying mill tolerance. That is: $t_{\text{selected}} \geq \frac{t_{\text{calc}} + A}{0.875}$ for hot-finished pipe (to account for −12.5% tolerance).

  • ASME B31.3 §302.2.2: Defines design conditions—including coincident pressure and temperature—and requires evaluation at the most severe combination, not just steady-state.

  • ASME B31.1 Power Piping §104.1.1: Uses identical thickness equation but references ASME II-D stress values specific to power applications (e.g., SA-106 vs. SA-335). Also mandates fatigue evaluation for cyclic service (§102.3.2), which may drive schedule up independently of static pressure.

  • ASME B31.3 §304.5.2: Requires corrosion allowance to be added before selecting schedule—not subtracted afterward. A common audit finding is CA applied only to thickness check, not embedded in $t_{\text{calc}}$.

Both codes require documentation traceability: the selected schedule must be justified in the Piping Stress Analysis Report (PSAR) and reflected in isometrics and MTRs (Mill Test Reports).

Common Mistakes and How to Avoid Them

1. Confusing NPS with Outside Diameter

Mistake: Using $D = \text{NPS}$ (e.g., 2.0 in) instead of $D_o = 2.375$ in for NPS 2. Consequence: Underestimates $t$ by ~15%, potentially selecting SCH 40 when SCH 80 is required. Fix: Always cross-reference ASTM/ASME dimensional standards (e.g., ASME B36.10M) for exact $D_o$ per NPS and material group.

2. Ignoring Temperature-Dependent Stress Values

Mistake: Using room-temperature $S$ for elevated-temperature service. Consequence: At 600°F, A106 Gr. B allowable stress drops to 15,500 psi—a 22.5% reduction. Using 20,000 psi yields $t$ 22% too thin. Fix: Embed $S(T)$ lookup logic in your selector tool—or mandate dual-input: material and temperature must drive $S$.

3. Omitting Corrosion Allowance in Initial Calculation

Mistake: Calculating $t_{\text{calc}}$, then adding CA after schedule selection. Consequence: May select SCH 40 (0.154 in wall), then realize $t_{\text{calc}} + A = 0.162$ in → insufficient. SCH 40 actual min wall = $0.154 \times 0.875 = 0.135$ in < 0.162 in. Fix: Compute $t_{\text{req}} = t_{\text{calc}} + A$, then find smallest standard schedule where $t_{\text{nominal}} \times 0.875 \geq t_{\text{req}}$.

4. Assuming All “Carbon Steel” Is Identical

Mistake: Using A53 Grade A stress values for A106 Grade B pipe. Consequence: A53 Gr. A at 70°F has $S = 11,500$ psi vs. A106 Gr. B’s 20,000 psi—a 42% difference. Fix: Material input must specify grade, not just family. “Carbon Steel” is insufficient—tool should prompt for ASTM spec (e.g., A106-B, A53-B).

5. Overlooking Joint Efficiency and Weld Factors

Mistake: Assuming $E = 1.0$ for all pipe. Consequence: ERW pipe without RT has $E = 0.85$, increasing required $t$ by 17.6%. Fix: Input screen must include joint type and NDE level—or default to conservative $E = 0.85$ unless seamless or 100% RT verified.

Worked Example: Realistic Industrial Scenario

Scenario: A chemical processing plant requires a 2-inch NPS suction line for a centrifugal pump handling water at 150 psi design pressure and 70°F. Material: ASTM A106 Grade B seamless carbon steel. Corrosion allowance: 0.031 in (standard for potable water). No cyclic loading.

Step 1: Gather constants

  • $P = 150$ psi
  • $D_o = 2.375$ in (ASME B36.10M, NPS 2)
  • $S = 20{,}000$ psi (ASME II-D, A106-B, ≤100°F)
  • $E = 1.0$ (seamless)
  • $W = 1.0$
  • $Y = 0.4$ (ferritic steel, <900°F)
  • $A = 0.031$ in

Step 2: Apply ASME B31.3 §304.1.2 equation $$ t = \frac{150 \cdot 2.375}{2(20{,}000 \cdot 1.0 \cdot 1.0 + 150 \cdot 0.4)} + 0.031 = \frac{356.25}{2(20{,}000 + 60)} + 0.031 = \frac{356.25}{40{,}120} + 0.031 $$ $$ t = 0.00888 + 0.031 = 0.0399 \text{ in} $$

Step 3: Apply mill tolerance For hot-finished seamless pipe: min wall = $t_{\text{nominal}} \times 0.875$ So required nominal $t_{\text{nom}} \geq \frac{0.0399}{0.875} = 0.0456$ in.

Step 4: Select standard schedule Per ASME B36.10M:

  • SCH 5: $t = 0.065$ in → min wall = $0.065 \times 0.875 = 0.0569$ in > 0.0456 in ✅
  • But SCH 5 is rarely stocked; industry standard minimum is SCH 10S (0.073 in) or SCH 40 (0.154 in).

However—this is a suction line. Per pump vendor specs (e.g., API RP 14E), velocity must stay < 8 ft/s to avoid cavitation. At 2-in SCH 40, ID = 2.067 in → area = 3.35 in² → max flow ≈ 400 gpm. If actual flow is 120 gpm, velocity = 3.2 ft/s — acceptable.

But SCH 5 would yield ID = 2.245 in → area = 3.95 in² → velocity drops further, reducing NPSHr. So SCH 5 mechanically suffices.

Yet—code-compliant selection requires checking availability, fabrication, and system integration. SCH 5 is uncommon for carbon steel; SCH 10S (0.073 in) is standard for stainless but not carbon. Therefore, SCH 40 (0.154 in) is selected—not because it’s required, but because it’s practically viable, provides margin for future corrosion, and ensures flange compatibility (150# rating).

Final output:

  • Recommended Pipe Schedule: SCH 40
  • Wall Thickness: 0.154 inches (actual nominal; minimum after tolerance = 0.135 in)

This example underscores a key principle: Code compliance sets the floor; engineering judgment sets the practical, maintainable, and interoperable ceiling.

Conclusion

Pipe schedule selection is deceptively simple in concept but rigorously demanding in execution. It sits at the intersection of materials science, stress analysis, manufacturing standards, and field constructability. A robust Pipe Schedule Selector tool must enforce dimensional accuracy, embed ASME stress tables, require explicit material grade and temperature inputs, and transparently document all assumptions—from $E$ to $A$. When used correctly, it transforms regulatory compliance from a paperwork exercise into an auditable, repeatable, and safe engineering practice.

← Back to Pipe Schedule Selector

📜 Applicable Standards

ASMEB31.3 (300.1.1) ASMEB31.1 (104.1.1)

💬 Frequently Asked Questions

How does operating temperature affect pipe schedule selection for carbon steel piping?

Operating temperature significantly impacts allowable stress values in carbon steel, directly influencing required wall thickness per ASME B31.3 Table A-1. At elevated temperatures (e.g., >500°F), the material’s yield and tensile strength decrease, lowering the maximum allowable stress (S) used in Barlow’s formula (t = PD / (2SEW)). For instance, A106 Gr. B carbon steel drops from S = 20,000 psi at 100°F to ~14,000 psi at 600°F. Our Pipe Schedule Selector applies temperature derating automatically using ASME B31.3’s stress tables and weld joint quality factors (E). Always verify that selected schedule meets both pressure containment and thermal expansion/creep requirements—especially for sustained service above 700°F where creep becomes dominant.

Can I use the same pipe schedule for stainless steel and carbon steel at identical pressure and temperature?

No—material-specific allowable stresses differ substantially. Per ASME B31.3, 304 stainless steel has lower allowable stress than A106 carbon steel below ~300°F (e.g., S = 16,700 psi vs. 20,000 psi), but higher stress values above ~800°F due to superior high-temperature strength. Consequently, a given NPS and pressure may require Schedule 80 carbon steel but only Schedule 40 stainless steel—or vice versa—depending on temperature. The Pipe Schedule Selector cross-references ASTM material specs (A312 for SS, A106 for CS) and ASME B31.3 stress tables to compute minimum wall thickness independently for each material. Never assume interchangeability without recalculating per material-specific S and E values.

Why does my calculated wall thickness not match a standard pipe schedule exactly?

Barlow’s formula yields a minimum theoretical wall thickness (tₘᵢₙ), but commercial pipes are manufactured to discrete schedules (e.g., Sch 40, Sch 80) defined by ANSI/ASME B36.10M/B36.19M. The selector rounds up to the next available schedule whose actual wall thickness ≥ tₘᵢₙ + corrosion allowance (if specified). For example, a calculated tₘᵢₙ of 0.185 in for 2" NPS may map to Sch 40 (0.218 in) rather than Sch 30 (0.154 in)—even if Sch 30 is physically close—because undershooting violates ASME B31.3 §302.1.1. Always confirm that the selected schedule’s published wall thickness satisfies t ≥ (PD)/(2SEW) + c (corrosion allowance), where W = weld joint efficiency.

Does the Pipe Schedule Selector account for external loads like soil weight or seismic forces?

No—the tool calculates minimum wall thickness solely for internal pressure containment per Barlow’s formula, as required by ASME B31.3 §304.1.1. It does not evaluate bending, axial compression, buckling, or combined loading from dead load, wind, seismic, or thermal expansion. Those require separate structural analysis per B31.3 §301.2.1–§301.2.4 and often involve stress intensification factors (i-factors) for fittings. For buried piping, additional wall thickness per ANSI/AWWA C150 or local geotechnical data is mandatory. Always perform a full piping stress analysis (e.g., using CAESAR II) when external loads exceed 10% of design pressure effects—or when anchor/restraint conditions are complex.

How do I handle corrosion allowance in pipe schedule selection?

Corrosion allowance (CA) is not an input in the current selector—but it must be added to the Barlow-calculated minimum thickness: t_required = t_barlow + CA. ASME B31.3 §304.1.1 mandates including CA in the design thickness unless corrosion resistance is proven (e.g., via material selection or lining). Typical CA ranges: 1/16" (1.6 mm) for non-corrosive services; 1/8" (3.2 mm) for mildly corrosive water or steam; up to 1/4" (6.4 mm) for sour gas or seawater. The selector’s output wall thickness reflects t_barlow only—engineers must manually verify that the selected schedule’s nominal wall ≥ t_barlow + CA. Failure to do so risks premature wall thinning and leakage.

Is pipe schedule selection different for power piping (ASME B31.1) versus process piping (ASME B31.3)?

Yes—key differences include allowable stress bases, safety factors, and thickness calculation methods. ASME B31.1 uses a higher design factor (0.72 vs. 0.80 for B31.3) and references ASME BPVC Section II Part D stress values, often yielding thicker walls for identical conditions. B31.1 also requires fatigue evaluation for cyclic services and stricter weld joint quality factors (E). While our selector applies B31.3 methodology by default, engineers specifying power piping must validate outputs against B31.1 Appendix II and adjust for its distinct ‘design pressure’ definition (including hydrotest margins) and mandatory supplementary thickness for boiler feedwater lines. Always declare the governing code upfront—interchanging standards invalidates compliance.

Can I use this tool for plastic or lined piping systems?

No—the Pipe Schedule Selector is calibrated exclusively for metallic piping (carbon, stainless, and alloy steels) per ASME B31.3 mechanical design rules. Plastic piping (e.g., PVC, HDPE) follows entirely different design philosophies: ISO 14692 for GRP, ASTM D2837 for thermoplastics, and pressure ratings based on hydrostatic design basis (HDB) and service life—not Barlow’s formula. Lined pipes (e.g., carbon steel with fluoropolymer lining) require dual-wall analysis: structural support from the metal shell plus chemical compatibility and thermal expansion matching of the liner. Using this tool for non-metallics risks severe under-design. For such systems, consult ASTM F2305, ISO 15663, or vendor-specific engineering data—and always involve a materials specialist.

📈 Case Studies

High-Pressure Hydrogen Fueling Station Piping

Scenario

Project Type: Commercial hydrogen refueling station for heavy-duty fuel cell trucks. Location Context: Southern California, near a major logistics corridor; ambient temperatures range from 40°F to 115°F; seismic Zone D. Constraints: Must comply with ASME B31.12 (Hydrogen Piping), accommodate 5,000 psi service pressure, minimize weight and footprint due to limited pad space, and resist hydrogen embrittlement. Carbon steel is prohibited; only ASTM A312 TP316L stainless steel permitted.

Given Data

  • Internal Pressure: 5,000 psi
  • Nominal Pipe Size (NPS): 2 inches
  • Material: Stainless Steel
  • Operating Temperature: 70°F (ambient, but design basis includes transient up to 120°F — conservatively evaluated at 70°F per ASME B31.12 Table A-1B allowable stress)

Calculation

The tool applies Barlow’s formula to determine minimum required wall thickness:

$$t = \frac{P \cdot D}{2 \cdot S \cdot E \cdot Y + 1.2 \cdot P}$$

Where:

  • $P = 5000$ psi (design pressure)
  • $D = 2.375$ in (actual OD of NPS 2 pipe, per ASME B36.10M)
  • $S = 20,000$ psi (allowable stress for TP316L at 70°F, per ASME B31.12 Table A-1B)
  • $E = 1.0$ (full radiography weld joint efficiency)
  • $Y = 0.4$ (Barlow’s coefficient for austenitic stainless steel)

Substituting: $$t = \frac{5000 \cdot 2.375}{2 \cdot 20{,}000 \cdot 1.0 \cdot 0.4 + 1.2 \cdot 5000} = \frac{11{,}875}{16{,}000 + 6{,}000} = \frac{11{,}875}{22{,}000} = 0.5398\ \text{in}$$

Rounding up to nearest standard schedule: Schedule 160 stainless steel pipe has nominal wall thickness = 0.500 in (too thin); XXS (extra-extra strong) for NPS 2 = 0.688 in → satisfies requirement. Per ASME B36.10M, XXS corresponds to Schedule 160 for NPS ≤ 8 — confirmed.

Result and Decision

Recommended Pipe Schedule: Schedule 160 (XXS) Wall Thickness: 0.688 inches The engineering team selected ASTM A312 TP316L Schedule 160 pipe for all high-pressure hydrogen supply lines (2" NPS), validated via finite element analysis for cyclic fatigue and leak-before-break performance. Flanges and fittings were matched to Schedule 160 rating (ASME B16.5 Class 900).

Lesson

Barlow’s formula provides a necessary but insufficient check — material-specific degradation mechanisms (e.g., hydrogen-induced cracking) demand additional safety margins beyond code-minimum wall thickness. Always cross-reference schedule selection with material-specific standards (e.g., ASME B31.12) and perform compatibility testing with hydrogen service conditions.

Offshore Oil & Gas Process Skid Piping

Scenario

Project Type: Compact process skid for gas dehydration and glycol injection on a North Sea platform. Location Context: Harsh marine environment (salt-laden air, ambient -10°C to 40°C), space-constrained deck area, high vibration, and strict weight limits. Requires compliance with ASME B31.4 (liquid hydrocarbons) and DNV-OS-F101 (subsea piping). Constraints: Must withstand 1,200 psi design pressure at 150°C (302°F) while minimizing corrosion allowance and structural load. Carbon steel is acceptable but requires 3 mm corrosion allowance per ISO 15156-2 due to CO₂/H₂S presence.

Given Data

  • Internal Pressure: 1,200 psi
  • Nominal Pipe Size (NPS): 4 inches
  • Material: Carbon Steel (ASTM A106 Gr. B)
  • Operating Temperature: 302°F (150°C)

Calculation

Using Barlow’s formula with corrosion and mill tolerance allowances:

First, determine base wall thickness:

  • $P = 1200$ psi
  • $D = 4.500$ in (OD of NPS 4 pipe)
  • $S = 17,000$ psi (allowable stress for A106 Gr. B at 302°F, per ASME B31.4 Table A-1)
  • $E = 0.85$ (weld joint factor for non-radiographed butt welds)
  • $Y = 0.4$ (for ferritic steel)

$$t_{\text{calc}} = \frac{1200 \cdot 4.500}{2 \cdot 17{,}000 \cdot 0.85 \cdot 0.4 + 1.2 \cdot 1200} = \frac{5400}{11{,}560 + 1440} = \frac{5400}{13{,}000} = 0.4154\ \text{in}$$

Add corrosion allowance (3 mm ≈ 0.118 in) and mill tolerance (12.5% per ASME B36.10M): $$t_{\text{min}} = \frac{0.4154 + 0.118}{0.875} = \frac{0.5334}{0.875} = 0.610\ \text{in}$$

Standard schedules: Schedule 80 = 0.237 in (too thin); Schedule 120 = 0.337 in; Schedule 160 = 0.438 in; XXS = 0.636 in → meets 0.610 in requirement.

Result and Decision

Recommended Pipe Schedule: Schedule 160 (equivalent to XXS for NPS 4) Wall Thickness: 0.438 inches (nominal), but actual specified wall = 0.636 in (per ASME B36.10M XXS) — selected to satisfy corrosion + mill tolerance margin. The procurement specification mandated ASTM A106 Gr. B Schedule 160 pipe with full-body UT and PWHT. All flanges were upgraded to Class 600 RF to match the schedule’s pressure rating.

Lesson

In corrosive offshore environments, the ‘minimum required’ wall thickness from Barlow’s formula must be augmented before selecting a schedule — not after. Failure to pre-apply corrosion allowance and mill tolerance leads to underspecified piping that cannot pass third-party verification (e.g., DNV classification). Always calculate t_min including all allowances, then round up to the next available schedule.