Pipeng Toolbox : ASME B31.4 Oil Pipeline Calculators Blank User
Short Cuts
GO
Beams
Codes And Standards
Fluid Flow
Fluid Properties
Maths
Material Properties
Pipelines
Soils
Subsea
Other

ASME B31.4 Oil Pipeline Calculations

The ASME B31.4 oil / liquid pipeline module includes calculators for :

  • pipeline wall thickness
  • pipeline hoop stress
  • pipeline test pressure
  • flexibility check
  • pipeline axial load
  • allowable ripple height
  • branch reinforcement

Reference : ANSI/ASME B31.4 : Pipeline Transportation Systems For Liquids And Slurries

Modules :

Pipeng Toolbox : 1,000+ engineering calculators: calculations, plots, tables, goal seek etc...

Tools marked [FREE LOGIN] require you to open a free account. Using these tools is free when you are logged in.

Tools marked [FREE TRIAL] require you to open a free account and/or use your free trial if you have already opened an account. Using these tools is free for your first session and during your free trial period.

When you open a free account, you will receive a free trial for your first session, and a free one month trial which you can activate later. When your free trial period has expired you can continue using the [FREE LOGIN] tools, but you must purchase a subscription to continue using the [FREE TRIAL] tools.

A 1 Year Pipeng subscription costs NZD $100.00 (New Zealand Dollars), approximately USD $70.00 depending on exchange rate.

Link   Show/Hide All
CALCULATOR : ASME B31.4 Pipe Mass Per Length And Total Mass [FREE LOGIN]   more

Calculate pipe unit mass and total mass from pipe schedule or user defined pipe diameter and wall thickness.

Select the pipe schedule (NPS or ISO), pipe diameter and wall thickness, or use the user defined option. Use the result table option to display the pipe schedule with unit mass and total mass for the selected diameter.

Tool Output

  • ρp : Pipe Density
  • ID : Nominal Inside Diameter
  • M : Pipe Total Mass
  • OD : Nominal Outside Diameter
  • OD/tn : Diameter Over Wall Thickness Ratio
  • m : Pipe Mass Per Length
  • tn : Nominal Wall Thickness
CALCULATOR : ASME B31.4 Section 402.3 Pipeline Hoop Stress Check From Operating Pressure (Onshore) [FREE TRIAL]   more

Calculate onshore pipeline hoop stress from operating pressure (ASME B31.4 section 402.3). Pipeline pressure should account for variations in elevation and fluid desnsity.

Tool Output

  • D/t : Pipe Diameter Over Wall Thickness Ratio
  • E : Longitudinal Joint Factor
  • Sa : Allowable Stress
  • Sh : Hoop Stress
  • Sh/S : Hoop Stress Ratio
  • Sy : Specified Minimum Yield Stress
  • tm : Hoop Stress Wall Thickness
CALCULATOR : ASME B31.4 Section 403.1 Pipe Diameter And Wall Thickness Schedule [FREE LOGIN]   more

Calculate pipe diameter and pressure design wall thickness from pipe schedule or user defined diameter and wall thickness (ASME B31.4 section 403.2).

Select the pipe schedule (NPS or ISO), pipe diameter and wall thickness, or use the user defined option. Use the result table option on the calc bar to display the pipe schedule with nominal wall thickness and pressure design wall thickness for the selected diameter.

Tool Output

  • ID : Nominal Inside Diameter
  • OD : Nominal Outside Diameter
  • OD/tn : Diameter Over Wall Thickness Ratio
  • tn : Nominal Wall Thickness
  • tp : Pressure Design Wall Thickness
CALCULATOR : ASME B31.4 Section 403.2 Pipeline Wall Thickness From Operating Pressure (Onshore) [FREE TRIAL]   more

Calculate onshore pipeline wall thickness from operating pressure (ASME B31.4 section 403.2). Pipeline pressure should account for variations in elevation and fluid density.

Tool Output

  • D/t : Pipe Diameter Over Wall Thickness Ratio
  • E : Longitudinal Joint Factor
  • ID : Nominal Inside Diameter
  • OD : Nominal Outside Diameter
  • Sa : Allowable Stress
  • Sy : Specified Minimum Yield Stress
  • tm : Pressure Containment Minimum Wall Thickness
  • tn : Nominal Wall Thickness
CALCULATOR : ASME B31.4 Section 404.3 Pipeline Extruded Branch Reinforcement (Offshore) [FREE TRIAL]   more

Calculate offshore pipeline branch reinforcement area for extruded branch connections (ASME B31.4 section 404.3).

The corroded extrusion diameter should be used for Do. The design wall thicknesses include the corrosion allowance. For platform piping select the no external pressure option.

Tool Output

  • ΔPw : Pressure Difference Across Pipe Wall
  • A1 : Reinforcement Area A1
  • A2 : Reinforcement Area A2
  • A3 : Reinforcement Area A3
  • AR : Required Replacement Area
  • AT : Total Reinforcement Area
  • K : Required Area K Factor
  • L : Reinforcement Area Height
  • Pe : External Pressure
  • Sab : Allowable Branch Pipe Stress
  • Sah : Allowable Extruded Header Stress
  • d : Length Of Branch Opening
  • d/D : Branch Diameter To Header Diameter Ratio
  • fb : Branch Allowable Stress Ratio
  • tb : Branch Design Wall Thickness
  • th : Header Design Wall Thickness
CALCULATOR : ASME B31.4 Section 404.3 Pipeline Extruded Branch Reinforcement (Onshore) [FREE TRIAL]   more

Calculate onshore pipeline branch reinforcement area for extruded branch connections (ASME B31.4 section 404.3).

The corroded extrusion diameter should be used for Do. The design wall thicknesses include the corrosion allowance.

Tool Output

  • A1 : Reinforcement Area A1
  • A2 : Reinforcement Area A2
  • A3 : Reinforcement Area A3
  • AR : Required Replacement Area
  • AT : Total Reinforcement Area
  • K : Required Area K Factor
  • L : Reinforcement Area Height
  • Sab : Allowable Branch Pipe Stress
  • Sah : Allowable Extruded Header Stress
  • d : Length Of Branch Opening
  • d/D : Branch Diameter To Header Diameter Ratio
  • fb : Branch Allowable Stress Ratio
  • tb : Branch Design Wall Thickness
  • th : Header Design Wall Thickness
CALCULATOR : ASME B31.4 Section 404.3 Pipeline Welded Branch Reinforcement (Offshore) [FREE TRIAL]   more

Calculate offshore pipeline branch reinforcement area for welded branch connections (ASME B31.4 section 404.3).

The branch opening length is the maximum of the branch corroded internal diameter, and the axial length of the opening. For platform piping select the no external pressure option.

Tool Output

  • ΔPw : Pressure Difference Across Pipe Wall
  • A1 : Reinforcement Area A1
  • A2 : Reinforcement Area A2
  • A3 : Reinforcement Area A3
  • AR : Required Replacement Area
  • AT : Total Reinforcement Area
  • Ar3 : Required Reinforcement Pad Area A3
  • Db/Dh : Branch Diameter To Header Diameter Ratio
  • L : Reinforcement Area Height
  • Pe : External Pressure
  • Sab : Allowable Branch Stress
  • Sah : Allowable Header Stress
  • Sap : Allowable Reinforcement Pad Stress
  • d : Length Of Branch Opening
  • fb : Branch Allowable Stress Ratio
  • fp : Reinforcement Pad Allowable Stress Ratio
  • tb : Branch Design Wall Thickness
  • th : Header Design Wall Thickness
  • w : Reinforcement Pad Minimum Width
  • wr : Required Reinforcement Pad Width
CALCULATOR : ASME B31.4 Section 404.3 Pipeline Welded Branch Reinforcement (Onshore) [FREE TRIAL]   more

Calculate onshore pipeline branch reinforcement area for welded branch connections (ASME B31.4 section 404.3).

The branch opening length is the maximum of the branch corroded internal diameter, and the axial length of the opening.

Tool Output

  • A1 : Reinforcement Area A1
  • A2 : Reinforcement Area A2
  • A3 : Reinforcement Area A3
  • AR : Required Replacement Area
  • AT : Total Reinforcement Area
  • Ar3 : Required Reinforcement Pad Area A3
  • Db/Dh : Branch Diameter To Header Diameter Ratio
  • L : Reinforcement Area Height
  • Sab : Allowable Branch Stress
  • Sah : Allowable Header Stress
  • Sap : Allowable Reinforcement Pad Stress
  • d : Length Of Branch Opening
  • fb : Branch Allowable Stress Ratio
  • fp : Reinforcement Pad Allowable Stress Ratio
  • tb : Branch Design Wall Thickness
  • th : Header Design Wall Thickness
  • w : Reinforcement Pad Minimum Width
  • wr : Required Reinforcement Pad Width
CALCULATOR : ASME B31.4 Section 437.4 Pipeline Hydrostatic And Pneumatic Leak Test Pressure And Hoop Stress Check (Offshore) [FREE TRIAL]   more

Calculate offshore pipeline test pressure and wall stress check from operating pressure (ASME B31.4 section 437.4). Pipeline pressure should account for variations in elevation and fluid density. For subsea pipelines external pressure should also be accounted for.

Tool Output

  • ΔPw : Local Pressure Difference Across Pipe Wall
  • D/t : Pipe Diameter Over Wall Thickness Ratio
  • Ft : Test Pressure Factor
  • Pe : External Pressure
  • Pt : Test Pressure
  • Pt/Pi : Test Pressure Over Operating Pressure Ratio
  • Sa : Allowable Stress
  • Sh : Pipe Wall Stress
  • Sh/S : Hoop Stress Ratio
  • Sy : Specified Minimum Yield Stress
  • wt : Wall Thickness For Hoop Stress
CALCULATOR : ASME B31.4 Section 437.4 Pipeline Hydrostatic And Pneumatic Leak Test Pressure And Hoop Stress Check (Onshore) [FREE TRIAL]   more

Calculate onshore pipeline test pressure and wall stress check from operating pressure (ASME B31.4 section 437.4). Pipeline pressure should account for variations in elevation and fluid density.

Tool Output

  • D/t : Pipe Diameter Over Wall Thickness Ratio
  • Ft : Test Pressure Factor
  • Pt : Test Pressure
  • Pt/Pi : Test Pressure Over Operating Pressure Ratio
  • Sa : Allowable Stress
  • Sh : Pipe Wall Stress
  • Sh/S : Hoop Stress Ratio
  • Sy : Specified Minimum Yield Stress
  • wt : Wall Thickness For Hoop Stress
CALCULATOR : ASME B31.4 Section 451.6.2.8 Pipeline Allowable Ripple Height From Hoop Stress (Offshore) [FREE TRIAL]   more

Calculate offshore pipeline maximum allowable ripple height from hoop stress at the maximum operating pressure (ASME B31.4 section 451.6.2.8).

The hoop stress is calculated using Barlow's formula. The mid wall option (Dm), should only be used for offshore pipelines. The hoop stress may be calculated from either the nominal wall thickness, or the pressure containment wall thickness (nominal wall thickness minus the corrosion allowance). For platform piping select the no external pressure option.

Tool Output

  • ΔPlw : Local Pressure Difference Across Pipe Wall
  • Pe : External Pressure
  • S : Pipe Wall Stress
  • Spsi : Hoop Stress
  • h/D : Maximum Ripple Height Over Diameter Ratio
  • hmax : Maximum Allowable Ripple Height
  • tm : Hoop Stress Wall Thickness
CALCULATOR : ASME B31.4 Section 451.6.2.8 Pipeline Allowable Ripple Height From Hoop Stress (Onshore) [FREE TRIAL]   more

Calculate onshore pipeline maximum allowable ripple height from hoop stress at the maximum operating pressure (ASME B31.4 section 451.6.2.8).

The hoop stress is calculated using Barlow's formula. The mid wall option (Dm), should only be used for offshore pipelines. The hoop stress may be calculated from either the nominal wall thickness, or the pressure containment wall thickness (nominal wall thickness minus the corrosion allowance).

Tool Output

  • S : Pipe Wall Stress
  • Spsi : Hoop Stress
  • h/D : Maximum Ripple Height Over Diameter Ratio
  • hmax : Maximum Allowable Ripple Height
  • tm : Hoop Stress Wall Thickness
CALCULATOR : ASME B31.4 Section A402.3 Pipeline Hoop Stress Check From Operating Pressure (Offshore) [FREE TRIAL]   more

Calculate offshore pipeline hoop stress from operating pressure (ASME B31.4 section A402.3). Pipeline pressure should account for variations in elevation and fluid density. For subsea pipelines external pressure should also be accounted for.

Tool Output

  • ΔPw : Local Pressure Difference Across Pipe Wall
  • D/t : Pipe Diameter Over Wall Thickness Ratio
  • Pe : External Pressure
  • Sa : Allowable Stress
  • Sh : Hoop Stress
  • Sh/S : Hoop Stress Ratio
  • Sy : Specified Minimum Yield Stress
  • tm : Hoop Stress Wall Thickness
CALCULATOR : ASME B31.4 Section A402.3 Pipeline Wall Thickness From Operating Pressure (Offshore) [FREE TRIAL]   more

Calculate offshore pipeline wall thickness from operating pressure (ASME B31.4 section A402.3). Pipeline pressure should account for variations in elevation and fluid density. For subsea pipelines external pressure should also be accounted for.

Tool Output

  • ΔPw : Local Pressure Difference Across Pipe Wall
  • D/t : Pipe Diameter Over Wall Thickness Ratio
  • ID : Nominal Inside Diameter
  • OD : Nominal Outside Diameter
  • Pe : External Pressure
  • Sa : Allowable Stress
  • Sy : Specified Minimum Yield Stress
  • tm : Pressure Containment Minimum Wall Thickness
  • tn : Nominal Wall Thickness
CALCULATOR : Pipeline Axial Load From Temperature Pressure And Elevation [FREE LOGIN]   more

Calculate onshore and offshore pipeline restrained and unrestrained global or external axial load and wall load from temperature and pressure for single layer pipelines. Internal and external pressure can be calculated from elevation. The external pressure is assumed to be constant during installation and operation (submerged pipeline). The internal pressure is assumed to be zero during installation.

Pipeline section properties are either calculated or user defined. The axial load is calculated using the thick wall formula (API RP 1111 and DNV OS F101). Loads are positive in tension, and negative in compression.

Nominal pipe diameter and wall thickness should normally be used for axial load calculations. Pipe wall stress is calculated for the cross section area, and is indicative only.

Tool Output

  • ΔPw : Fluid Delta Pressure
  • Δz : Local Elevation Relative To Reference Elevation
  • α : Pipe Thermal Expansion Coefficient
  • ν : Pipe Poisson's Ratio
  • As : Pipe Steel Cross Section Area
  • E : Pipe Elastic Modulus
  • EAα : Pipe Thermal Expansion Modulus
  • Fg : Global Or External Axial Load
  • Fw : Pipe Wall Axial Load
  • ID : Pipe Inside Diameter
  • OD : Pipe Outside Diameter
  • OD/tn : Pipe Diameter Over Wall Thickness Ratio
  • Ple : Local External Pressure
  • Pli : Local Internal Pressure
  • Pri : Internal Pressure At Reference Elevation
  • Sw : Pipe Wall Axial Stress
  • wd : Water Depth
CALCULATOR : Pipeline Local Pressure From Elevation (Offshore Pipeline) [FREE LOGIN]   more

Calculate offshore pipeline local internal pressure and external pressure from elevation using Bernoulli's equation.

The local internal pressure is calculated from the reference pressure and relative elevation. The external pressure is calculated from the water depth. The internal fluid density is assumed constant.

Tool Output

  • ΔPl : Pressure Difference Across Pipe Wall
  • Δz : Local Elevation Relative To Reference Elevation
  • Ple : External Pressure
  • Pli : Internal Pressure At Local Elevation
  • Pri : Internal Pressure At Reference Elevation
  • wd : Water Depth
CALCULATOR : Pipeline Local Pressure From Elevation (Onshore Pipeline) [FREE LOGIN]   more

Calculate onshore pipeline local internal pressure from elevation using Bernoulli's equation.

The local internal pressure is calculated from the reference pressure and relative elevation. The internal fluid density is assumed constant.

Tool Output

  • Δz : Local Elevation Relative To Reference Elevation
  • Pli : Internal Pressure At Local Elevation
  • Pri : Internal Pressure At Reference Elevation