ASME B31.8-2025Piping Calculators
⌂Home ✉Email

ASME B31.8-2025 Piping Calculators

Interactive engineering calculators based on the ASME B31.8-2025 standard

Select a calculator below. All calculations follow the design formulas and data tables of ASME B31.8-2025.

⚙

Design Pressure & Wall Thickness

Design pressure or minimum wall thickness for steel gas piping per para. 841.1.1, including the D/t < 30 thick-wall alternative formula.

Open
🔉

Strength Test Pressure

Minimum and maximum strength test pressures per Table 841.3.2-1 and the resulting MAOP per Table 845.2.2-1.

Open
🌏

Location Class

Determine the location class from building density per para. 840.2 and the basic design factor F.

Open
📖

Reference Tables

Design factor F, joint quality factor E, temperature derating T, SMYS values and test requirements.

Open
🔀

Branch Connection Reinforcement

Required reinforcement area for welded branch connections per para. 831.4.1 and Mandatory Appendix F, including reinforcing pad options.

Open
🔬

Plastic Pipe Design

Design pressure of thermoplastic piping per para. 842.2.1: P = 2·S·Df/(SDR−1), with HDB values from Table D-2.

Open
🌡

Thermal Expansion

Linear expansion of steel piping from temperature change per para. 832.2, with reference data from Tables 832.2-1 and 832.5-1.

Open
⚙

Longitudinal Stress & Flexibility

Combined longitudinal stress (paras. 833.2/833.3/833.6), flexibility criterion (833.7), expansion stress range (833.8) and local buckling strain (833.10).

Open
🛠

Extruded Outlet Reinforcement

Required reinforcement area for extruded outlets per para. 831.6: A = K·tᵣ·D₀ with K from the d/D ratio.

Open
🛡

MRTPS MAOP

Maximum allowable operating pressure of multilayered reinforced thermoplastic piping per para. 842.5: MAOP = NPR × Fs.

Open
📦

Pipe & Bottle-Type Holders

Holder design factors and minimum container spacing per para. 844.3: C = ∛(D·P·F/1000).

Open
⚡

Longitudinal Seam Fatigue

Allowable number of full-MAOP pressure cycles for line pipe with longitudinal seams per para. 841.1.7(k).

Open
🔪

Charpy Fracture Arrest

Required Charpy V-notch energy for ductile fracture arrest per para. 841.1.2(c), using the BCL or AISI equations.

Open
🔒

MAOP from Test Pressure

Establish the MAOP of an existing pipeline with unknown design factors from hydrostatic test pressure per para. 845.2.3.

Open
💧

H₂S Radius of Exposure

Radius of exposure to hydrogen sulfide at the 100 and 500 ppm levels per Annex B850.1.

Open
⚓

Offshore Pipeline Stress

Hoop, longitudinal and combined stress checks for offshore pipelines and risers per Annex A842.2.2.

Open
🧺

Flattening Test (Appendix H)

Minimum distance between flattening plates for seamless pipe per Mandatory Appendix H: H = D(1+e)/(e + t/D).

Open
🧮

Dent Strain Estimation

Bending and extensional strains at a dent per Annex R-2.

Open
🛡

Integrity Assessment Test Pressure

Strength and leak test pressures for in-service pipelines per para. 851.12.

Open
🛢

Ductile Iron Pipe Design

Wall thickness selection per Table 842.1.1-1 and internal-pressure wall thickness per para. 842.1.1.

Open
🛣

Plastic Pipe Test Pressure

Acceptable test pressure range for plastic mains and service lines per para. 842.4.2.

Open
⚠

Relief Set Pressure

Pressure that pressure-relieving and pressure-limiting stations must prevent per para. 845.4.1.

Open
📓

Flexibility & SIF Factors

Flexibility factor k and stress intensification factors i_o/i_i for elbows, miter bends and tees per Mandatory Appendix E, Table E-1.

Open
📔

Flange Leakage Moment

Moment that produces leakage of a flanged joint M_L = (C/4)(S_b·A_b − P·A_p) per Table E-1, Note 14.

Open