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

# ASME B31.4 Oil And Liquid Pipeline Calculation

Calculate ASME B31.4 liquid pipeline unit mass, unit weight, fluid volume and mass, and pipe diameter and wall thickness. Select the pipe schedule, pipe diameter, and wall thickness. Use the result table option to display the results for the selected pipe diameter.

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

Modules :

Pipeng Toolbox : Over 1,200 free pipeline engineering calculators. Buy a subscription to support this site Pricing . See the latest News And Updates . If you have any problems Contact Pipeng
Links : Show/Hide All Details : click a details link to show/hide the details for that tool
CALCULATOR : ASME B31.4 Pipe Schedule Fluid Density Volume And Mass Three Phase Gas Oil And Water [Pipeng Basic]   details

Calculate ASME B31.4 oil pipeline fluid volume and mass from pipe length and inside diameter for three phase gas / oil / water (black oil).

Select either single phase oil, single phase water, single phase gas, two phase oil / water from water cut (WC), three phase black oil (oil / water / gas) from gas oil ratio (GOR) and water cut (WC), or user defined fluid density.

## Tool Input

• GORu : User Defined Gas Oil Ratio
• IDu : User Defined Inside Diameter
• L : Pipe Section Length
• ρo : User Defined Oil Density
• ρu : User Defined Fluid Density
• ρw : User Defined Water Density
• mvtype : Fluid Density Type
• ODu : User Defined Outside Diameter
• P : User Defined Fluid Pressure
• SG : User Defined Gas Specific Gravity
• T : User Defined Fluid Temperature
• tnu : User Defined Wall Thickness
• WCu : User Defined Water Cut
• wtntype : Wall Thickness Schedule Type
• Z : User Defined Gas Compressibility Factor

## Tool Output

• ρf : Average Fluid Density
• ρg : Gas Density
• ρl : Liquid Density
• GOR : Gas Oil Ratio
• ID : Nominal Inside Diameter
• Mf : Total Fluid Mass
• Mg : Gas Mass
• Ml : Liquid Mass
• Mo : Oil Mass
• Mw : Water Mass
• Ng : Gas Moles
• OD : Nominal Outside Diameter
• Vf : Total Fluid Volume
• Vg : Gas Volume
• Vl : Liquid Volume
• Vo : Oil Volume
• Vw : Water Volume
• WC : Water Cut
• Xmg : Gas Mass Fraction
• Xml : Liquid Mass Fraction
• Xmo : Oil Mass Fraction
• Xmw : Water Mass Fraction
• Xvg : Gas Volume Fraction
• Xvl : Liquid Volume Fraction
• Xvo : Oil Volume Fraction
• Xvw : Water Volume Fraction
• tn : Pipe Nominal Wall Thickness
• vg : Gas Mole Volume (At T P)

CALCULATOR : ASME B31.4 Pipe Schedule Fluid Density Volume And Mass Two Phase Gas Liquid [Pipeng Basic]   details

Calculate ASME B31.4 oil pipeline fluid volume and mass from pipe length and inside diameter for two phase gas / liquid.

Select either single phase liquid, single phase gas, two phase fluid from gas oil ratio (GOR), two phase fluid from gas mass fraction, two phase fluid from gas volume fraction, or user defined fluid density.

## Tool Input

• GORu : User Defined Gas Oil Ratio
• IDu : User Defined Inside Diameter
• L : Pipe Section Length
• Xmu : User Defined Gas Mass Fraction
• ρl : User Defined Liquid Density
• ρu : User Defined Fluid Density
• mvtype : Fluid Density Type
• ODu : User Defined Outside Diameter
• P : User Defined Fluid Pressure
• SG : User Defined Gas Specific Gravity
• T : User Defined Fluid Temperature
• tnu : User Defined Wall Thickness
• Xvu : User Defined Gas Volume Fraction
• wtntype : Wall Thickness Schedule Type
• Z : User Defined Gas Compressibility Factor

## Tool Output

• ρf : Average Fluid Density
• ρg : Gas Density (At T P)
• GOR : Gas Oil Ratio
• ID : Nominal Inside Diameter
• Mf : Total Fluid Mass
• Mg : Gas Mass
• Ml : Liquid Mass
• Ng : Gas Moles
• OD : Nominal Outside Diameter
• Vf : Total Fluid Volume
• Vg : Gas Volume (At T P )
• Vl : Liquid Volume
• Xm : Gas Mass Fraction
• Xv : Gas Volume Fraction (At T P)
• tn : Pipe Nominal Wall Thickness
• vg : Gas Molar Volume (At T P)

CALCULATOR : ASME B31.4 Pipe Schedule Mass Per Length And Total Mass [Pipeng Basic]   details

Calculate ASME B31.4 oil pipeline 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 Input

• IDu : User Defined Inside Diameter
• L : Pipe Length
• modptype : Material Property Type
• ρpu : User Defined Pipe Density
• ODu : User Defined Outside Diameter
• tnu : User Defined Wall Thickness
• wtntype : Wall Thickness Schedule Type

## 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 Pipe Schedule Weight Including Contents And Buoyancy [Pipeng Basic]   details

Calculate ASME B31.4 oil pipeline unit mass and unit weight including contents and buoyancy. Select either dry empty, dry full, wet empty, or wet full for the unit weight calculation.

Select the pipe schedule, pipe diameter and wall thickness, or use the user defined option. The line pipe is the first inside layer. The line pipe wall thickness is either set from the selected schedule value, or the input value is used if the user defined wall thickness option is selected. Details for each layer are displayed in the output view at the bottom of the page. Use the result table option on the calc bar to display the results for the selected diameter.

## Tool Input

• IDu : User Defined Inside Diameter
• ρb : Displaced Fluid Density
• ρf : Contents Fluid Density
• ρi : Pipe And Liner Density
• ρo : Pipe Coating Density
• ODu : User Defined Outside Diameter
• tnu : User Defined Wall Thickness
• wltype : Pipe Weight Type
• WTi : Pipe Liner Wall Thickness
• WTo : Pipe Coating Wall Thickness
• wtntype : Line Pipe Wall Thickness Schedule Type

## Tool Output

• IID : Pipe Inner Diameter Including Layers
• OD : Line Pipe Nominal Diameter
• OOD : Pipe Outer Diameter Including Layers
• SG : Pipe Specific Gravity Relative To Displaced Fluid
• mb : Displaced Fluid Mass Per Length
• mc : Contents Fluid Mass Per Length
• mi : Inner Layers Total Unit Mass
• mo : Outer Layers Total Unit Mass
• mp : Pipe Mass Per Length Including Liner And Coating
• tn : Line Pipe Nominal Wall Thickness
• w : Pipe Total Weight Per Length Including Contents and Buoyancy

CALCULATOR : ASME B31.4 Section 403.1 Pipe Schedule Diameter And Wall Thickness [Pipeng Basic]   details

Calculate ASME B31.4 oil pipeline diameter and pressure design wall thickness from pipe schedule or user defined diameter and wall thickness (ASME B31.4 section 403.2). For ASME B31.4 the pressure design thickness equals the nominal wall thickness minus the corrosion allowance (the fabrication tolerance is ignored).

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 Input

• IDu : User Defined Inside Diameter
• ODu : User Defined Outside Diameter
• c : Wall Thickness Corrosion Allowance
• tfu : User Defined Negative Wall Thickness Allowance
• xfu : User Defined Negative Wall Thickness Fraction
• tnu : User Defined Wall Thickness
• ttoltype : Wall Thickness Fabrication Tolerance Type
• wtntype : Wall Thickness Schedule Type

## Tool Output

• ID : Nominal Inside Diameter
• OD : Nominal Outside Diameter
• OD/tn : Diameter Over Wall Thickness Ratio
• tf : Wall Thickness Fabrication Allowance
• tm : Minimum Wall Thickness
• tn : Nominal Wall Thickness
• tp : Pressure Design Wall Thickness
• xf : Wall Thickness Fabrication Fraction