A reference tool, not a design calculation. Check every result against the source cited and your own procedures before you rely on it. Acetylene, hydrogen and LPG lines are excluded: acetylene pipelines are designed to IS 15190 (Parts 1 and 2):2002.
Calculator
The result is an internal diameter. Select a pipe or tube whose bore is not less than this figure, and add the equivalent length of bends, valves and fittings to the pipe length.
Method and assumptions
- Equation. Isothermal flow of an ideal gas in a straight pipe of constant diameter: P₁² − P₂² = (f·L/D + 2·ln(P₁/P₂)) · (R·T/M) · G², where G is the mass flow per unit area and pressures are absolute.
- Friction factor. Swamee-Jain approximation to the Colebrook equation in turbulent flow; 64/Re in laminar flow (Reynolds number below 2,000). Between 2,000 and 4,000 the larger of the two is used, which errs on the side of a larger pipe.
- Gas temperature. 20 °C throughout the line.
- Gas properties. Density at 0 °C and 1.01325 bar and dynamic viscosity at 20 °C (NIST Chemistry WebBook, SRD 69), as listed below. The gas is treated as ideal (compressibility factor 1). For oxygen, nitrogen, argon, helium and air this is within 1.5% up to 20 bar. Carbon dioxide and nitrous oxide are denser than an ideal gas at pressure (compressibility factor about 0.94 at 10 kg/cm²g), so the calculator overstates their pressure drop slightly and gives a slightly larger pipe.
- Pipe roughness. 0.0015 mm for drawn copper or stainless steel tube and 0.045 mm for commercial carbon steel pipe, the usual reference values.
- Not included. Fittings, elevation, heat transfer, and pressure regulation at the point of use.
| Gas | Density at 0 °C, kg/m³ | Molar mass, g/mol | Viscosity at 20 °C, µPa·s |
|---|---|---|---|
| Oxygen | 1.429 | 31.999 | 20.3 |
| Nitrogen | 1.2504 | 28.013 | 17.5 |
| Argon | 1.784 | 39.948 | 22.3 |
| Carbon dioxide (gas phase) | 1.9768 | 44.010 | 14.7 |
| Nitrous oxide (gas phase) | 1.9779 | 44.013 | 14.6 |
| Helium | 0.17848 | 4.003 | 19.6 |
| Compressed air (dry) | 1.2931 | 28.965 | 18.2 |
Frequently asked questions
How is a gas pipeline sized?
For the flow that must be delivered, the supply pressure, the length of the line and the pressure drop that the users can accept. The calculator finds the smallest internal diameter that keeps the pressure drop within that allowance, using the Darcy-Weisbach equation for isothermal flow of a gas. Select a pipe or tube whose internal diameter is not less than the result.
Why is acetylene not included?
Acetylene pipelines are governed by IS 15190 (Parts 1 and 2):2002, which sets the pressure ranges and design rules for acetylene lines. They must be designed to that standard, not from a general flow calculation. Hydrogen and LPG lines are likewise excluded. For acetylene, contact IIGAS.
How are bends, valves and fittings allowed for?
The calculation is for straight pipe. Add the equivalent length of the fittings to the pipe length, or enter a smaller allowable pressure drop to leave a margin for them.
Is gas velocity also a limit?
Yes. The calculator reports the velocity at the outlet. In oxygen service, velocity is limited in relation to the pressure and the pipe material, as set out in EIGA Doc 13 (Oxygen pipeline and piping systems); check the result against that document before selecting the pipe.
Sources Darcy-Weisbach equation for isothermal compressible flow · P. K. Swamee and A. K. Jain, Explicit equations for pipe-flow problems, Journal of the Hydraulics Division, ASCE (1976) · NIST Chemistry WebBook, SRD 69 · IS 15190 (Parts 1 and 2):2002 for acetylene pipelines · EIGA Doc 13, Oxygen pipeline and piping systems. See also industrial gas pipelines.
