Skip to main content
Industrial 9 min read Feb 28, 2026

ASME B31.3 Pipe Wall Thickness Design

Pressure design calculations, material selection, and corrosion allowance for process piping

ASME B31.3 (Process Piping) governs the design of piping systems in refineries, chemical plants, pharmaceutical facilities, and other process installations. The pipe wall thickness calculation is the most fundamental step in any piping design: get it wrong and you either over-specify (wasting material and increasing dead load on supports) or under-specify (creating a rupture hazard). The code provides a straightforward formula, but applying it correctly requires understanding material allowable stresses at temperature, weld joint efficiency factors, manufacturing tolerances, and corrosion allowances that can dominate the final wall thickness in corrosive services.

This guide walks through the B31.3 pressure design equation for straight pipe under internal pressure, explains each variable and where to look it up, and covers the practical decisions that turn a calculated minimum wall into an actual pipe schedule selection. If you work with B31.1 (Power Piping) instead, the formula structure is similar but the allowable stress tables and some coefficients differ.

The Pressure Design Formula Explained

For straight pipe under internal pressure, B31.3 paragraph 304.1.2 gives the minimum required wall thickness as:

t = PD / 2(SE + PY)

Where t is the pressure design thickness (inches or mm), P is the internal design gauge pressure, D is the outside diameter of the pipe, S is the allowable stress at design temperature from Table A-1 of B31.3, E is the weld joint quality factor from Table A-1A or A-1B, and Y is a coefficient that accounts for the redistribution of stress under sustained loading (from Table 304.1.1). For ferritic steels below 900°F, Y is typically 0.4. For austenitic stainless steels, Y is 0.4 below 1050°F.

The formula is derived from the Barlow/Lamé thin-wall hoop stress equation with the Y coefficient providing a correction for thick-wall behavior. When t/D exceeds about 1/6, the thin-wall assumption breaks down and you should consider the thick-wall equations in paragraph 304.1.2(b). In practice, most process piping falls well within the thin-wall range.

After computing the pressure design thickness, you must add corrosion allowance and then account for mill undertolerance to arrive at the minimum ordered wall thickness. The final step is selecting a standard pipe schedule that meets or exceeds that minimum.

Formula: B31.3 Eq. 3a: t = PD / 2(SE + PY). For t < D/6 (thin-wall). All variables must use consistent units. P and S in psi (or MPa), D and t in inches (or mm).
Industrial

ASME B31.3 Pipe Wall Thickness Calculator

Calculate minimum pipe wall thickness per ASME B31.3 Section 304.1.2 with mill tolerance, corrosion allowance, and schedule comparison. Supports 6 materials and 18 NPS sizes.

Launch Calculator →

Material Selection and Allowable Stress

The allowable stress S is looked up from ASME B31.3 Table A-1 based on the material specification and the design temperature. This table lists values at 100°F intervals (or 50°C intervals in SI editions). You must use the allowable stress at the maximum design temperature, not the ambient or operating temperature. If your design temperature falls between tabulated values, interpolate linearly.

Common process piping materials and their approximate allowable stresses at ambient temperature include: A106 Grade B carbon steel at 20,000 psi, A312 TP304 stainless steel at 20,000 psi, and A312 TP316L stainless at 16,700 psi. These values drop significantly at elevated temperatures. A106 Gr. B falls to about 15,600 psi at 700°F and to 6,000 psi at 1,000°F. Selecting the wrong temperature or using a room-temperature value for a hot service is one of the most common calculation errors.

Material selection is driven by the process fluid (corrosion resistance), design temperature range, and cost. Carbon steel is the default for non-corrosive services below about 800°F. When hydrogen sulfide, chlorides, caustic, or high temperatures are involved, you move to alloys: stainless steels, nickel alloys (Inconel, Hastelloy), or duplex grades. Each has its own allowable stress curve, and some have restrictions on temperature range or heat treatment condition that affect the tabulated S value.

Warning: Temperature matters: Allowable stress for A106 Gr. B drops from 20,000 psi at 100°F to roughly 6,000 psi at 1,000°F. Always use the stress value at the maximum design temperature, not the normal operating temperature.

Weld Joint Quality Factors

The weld joint factor E reduces the allowable stress to account for the reliability of the longitudinal weld seam in the pipe. Seamless pipe (ASTM A106, A312 seamless) has E = 1.00 because there is no weld seam. ERW (electric resistance welded) pipe per A53 Type E or A135 has E = 0.85. Furnace butt-welded pipe (A53 Type F) has E = 0.60. These values come from B31.3 Table A-1A and A-1B, and they directly multiply the allowable stress in the denominator of the thickness formula.

Using ERW pipe instead of seamless at E = 0.85 means you need approximately 18% more wall thickness to carry the same pressure. For high-pressure or critical services, seamless pipe is standard precisely because E = 1.00. For low-pressure utility services (cooling water, air), ERW is often acceptable and cheaper. Some specifications (particularly in refinery work) require seamless pipe for all hydrocarbon services regardless of pressure, as a matter of facility policy rather than code requirement.

The E factor in B31.3 applies to the pipe manufacturing weld, not to the field girth welds connecting pipe segments. Field girth weld quality is addressed separately through examination requirements (visual, RT, UT) based on the fluid service category (Normal, Category D, Category M, or High Pressure).

Seamless vs. ERW: Seamless pipe (E = 1.00) is standard for refinery hydrocarbon service. ERW pipe (E = 0.85) is common for water, air, and low-pressure utilities. The E factor applies to the longitudinal pipe seam, not to field butt welds.

Corrosion Allowance and Mill Tolerance

The corrosion allowance (CA) is added directly to the calculated pressure design thickness: t_min = t + CA. B31.3 does not prescribe a specific corrosion allowance; it is the owner's and designer's responsibility to specify it based on the service. Typical values range from 1/16" (1.6 mm) for mild services like clean water or dry air, to 1/8" (3.2 mm) for moderately corrosive refinery services, up to 1/4" (6.4 mm) or more for aggressive services like raw crude, high-TAN fluids, or amine solutions. The expected corrosion rate (mils per year from corrosion coupon data or industry references) multiplied by the desired service life gives the CA.

After adding CA, you must account for mill undertolerance. ASTM pipe specifications allow the manufacturer to deliver pipe slightly thinner than the nominal wall. For most carbon and alloy steel pipe (A106, A53, A335), the mill tolerance is -12.5%. This means you divide your minimum required thickness by 0.875 to get the minimum ordered nominal wall: t_nominal = t_min / 0.875. Some stainless steel specifications allow tighter tolerances, and some thin-wall tubing has different rules. Always check the specific ASTM standard for the material you are specifying.

Combining these: if the pressure design thickness is 0.20", corrosion allowance is 0.125", and mill tolerance is 12.5%, the minimum nominal wall is (0.20 + 0.125) / 0.875 = 0.371". You would then select the next standard schedule that provides at least 0.371" wall thickness.

Tip: Full formula: t_nominal ≥ (t_pressure + CA) / (1 - mill tolerance). For most carbon steel pipe: t_nominal ≥ (PD/2(SE+PY) + CA) / 0.875. Then pick the next available schedule.
Industrial

ASME B31.3 Pipe Wall Thickness Calculator

Calculate minimum pipe wall thickness per ASME B31.3 Section 304.1.2 with mill tolerance, corrosion allowance, and schedule comparison. Supports 6 materials and 18 NPS sizes.

Launch Calculator →

Pipe Schedule Selection

Once you have the minimum nominal wall thickness, you select a standard pipe schedule from ASME B36.10 (carbon and alloy steel) or B36.19 (stainless steel). Common schedules for carbon steel include STD (Schedule 40 for NPS ≤ 10"), XS (Schedule 80 for NPS ≤ 8"), Schedule 160, and XXS. Stainless steel adds 5S, 10S, and 40S designations. The selected schedule must have a nominal wall thickness equal to or greater than your calculated minimum.

In many process plants, a standard minimum schedule is specified by facility engineering standards regardless of the calculation. For example, many refineries require a minimum of Schedule 40 for all carbon steel process lines and Schedule 10S for all stainless steel lines, even when the pressure calculation would allow thinner. This provides a margin against mechanical damage, thermal cycling, and future re-rating.

When specifying pipe, communicate the schedule (or nominal wall thickness) on the line list and piping specification (pipe class). The pipe class ties together the pipe material, schedule, flange rating, and gasket type for a given service. Changing the schedule in one pipe class can have knock-on effects on branch connections, fittings wall thickness, and support loads, so always coordinate with the piping specification when the calculated thickness forces a schedule change.

For sizes where no standard schedule satisfies the requirement, you can specify pipe by nominal wall thickness (e.g., 0.500" wall) rather than schedule number. This is common in large-diameter, high-pressure applications where standard schedules jump in large increments.

Facility minimums: Many refineries and chemical plants require Schedule 40 minimum for carbon steel and Schedule 10S minimum for stainless, regardless of the pressure calculation. Always check the facility's piping material specification before finalizing schedule selection.

Frequently Asked Questions

Y accounts for stress redistribution in the pipe wall under sustained pressure loading. For ferritic steels below 900 degrees F, Y = 0.4. For austenitic stainless steels below 1050 degrees F, Y = 0.4. At higher temperatures, Y increases toward 0.7. Values are listed in B31.3 Table 304.1.1. For most standard process piping applications, Y = 0.4 is correct.
No. B31.3 requires the designer to account for corrosion but does not prescribe specific values. The corrosion allowance is determined by the owner and designer based on the fluid, materials, operating conditions, and desired service life. Common values range from 1/16 inch for mild services to 1/4 inch or more for aggressive corrosive environments.
ASTM A106 and A53 allow a minus tolerance of 12.5% on wall thickness. This means the manufacturer can deliver pipe that is up to 12.5% thinner than the nominal wall. You account for this by dividing the required minimum wall by 0.875. Some stainless steel and specialty alloy specifications have different tolerance values.
When t/D exceeds approximately 1/6 (about 16% of the OD), the thin-wall assumption in the standard formula becomes inaccurate. B31.3 paragraph 304.1.2(b) provides thick-wall equations for these cases. In practice, thick-wall calculations are mainly needed for high-pressure small-bore piping, such as instrument tubing or high-pressure hydraulic lines.
Disclaimer: This guide covers general principles of ASME B31.3 pressure design calculations for educational purposes. Piping design must be performed by qualified engineers using the current edition of the applicable code. Material properties, allowable stresses, and code requirements are subject to revision. Always refer to the current ASME B31.3 edition and applicable ASTM material standards for design work.

Calculators Referenced in This Guide

Industrial Live

ASME B31.3 Pipe Wall Thickness Calculator

Calculate minimum pipe wall thickness per ASME B31.3 Section 304.1.2 with mill tolerance, corrosion allowance, and schedule comparison. Supports 6 materials and 18 NPS sizes.