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.
OpenStrength Test Pressure
Minimum and maximum strength test pressures per Table 841.3.2-1 and the resulting MAOP per Table 845.2.2-1.
OpenLocation Class
Determine the location class from building density per para. 840.2 and the basic design factor F.
OpenReference Tables
Design factor F, joint quality factor E, temperature derating T, SMYS values and test requirements.
OpenBranch Connection Reinforcement
Required reinforcement area for welded branch connections per para. 831.4.1 and Mandatory Appendix F, including reinforcing pad options.
OpenPlastic 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.
OpenThermal 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.
OpenLongitudinal 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).
OpenExtruded Outlet Reinforcement
Required reinforcement area for extruded outlets per para. 831.6: A = K·tᵣ·D₀ with K from the d/D ratio.
OpenMRTPS MAOP
Maximum allowable operating pressure of multilayered reinforced thermoplastic piping per para. 842.5: MAOP = NPR × Fs.
OpenPipe & Bottle-Type Holders
Holder design factors and minimum container spacing per para. 844.3: C = ∛(D·P·F/1000).
OpenLongitudinal Seam Fatigue
Allowable number of full-MAOP pressure cycles for line pipe with longitudinal seams per para. 841.1.7(k).
OpenCharpy Fracture Arrest
Required Charpy V-notch energy for ductile fracture arrest per para. 841.1.2(c), using the BCL or AISI equations.
OpenMAOP from Test Pressure
Establish the MAOP of an existing pipeline with unknown design factors from hydrostatic test pressure per para. 845.2.3.
OpenH₂S Radius of Exposure
Radius of exposure to hydrogen sulfide at the 100 and 500 ppm levels per Annex B850.1.
OpenOffshore Pipeline Stress
Hoop, longitudinal and combined stress checks for offshore pipelines and risers per Annex A842.2.2.
OpenFlattening Test (Appendix H)
Minimum distance between flattening plates for seamless pipe per Mandatory Appendix H: H = D(1+e)/(e + t/D).
OpenIntegrity Assessment Test Pressure
Strength and leak test pressures for in-service pipelines per para. 851.12.
OpenDuctile Iron Pipe Design
Wall thickness selection per Table 842.1.1-1 and internal-pressure wall thickness per para. 842.1.1.
OpenPlastic Pipe Test Pressure
Acceptable test pressure range for plastic mains and service lines per para. 842.4.2.
OpenRelief Set Pressure
Pressure that pressure-relieving and pressure-limiting stations must prevent per para. 845.4.1.
OpenFlexibility & 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.
OpenFlange 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