Why gas works «squared», what really drives the pressure loss, and a step-by-step worked example with real numbers.
In liquids the head loss is written as a difference of pressures: the fluid is incompressible, density is constant, Darcy-Weisbach suffices. Not so with gas: as it compresses, its density grows with pressure, so along the same pipe the gas «slows down» where pressure is high and «speeds up» where it falls. Integrating the flow law along the pipe, this dependence naturally produces a drop expressed as the difference of the squared absolute pressures:
with R the pipe's base resistance, f the Darcy friction from Colebrook-White, z the compressibility and Q the standard flow. At low pressure, where P₁ ≈ P₂ ≈ 1 atm, the approximation P₁²−P₂² ≈ 2·P·ΔP holds and the linearised form becomes acceptable — but the quadratic form holds always, which is why a serious calculation engine works in P² from low pressure to transmission mains.
And elevation? It adds a height term with a surprising sign: for natural gas, climbing gives back pressure — that is the altitude correction.
Case 1 of the validation dossier, where every digit is developed in full and compared with the calculation engine:
Data: a 100 m pipe in PE 100 DE63 SDR 11 (internal 51.4 mm, ε = 0.007 mm), 30 Sm³/h of natural gas (s = 0.591), upstream at 25 mbar gauge.
With the next catalogue diameter (DE75, internal 61.4 mm) the same flow would lose about 60% less: the effect of the fifth power of the diameter.
Because gas is compressible: density changes along the pipe with pressure, and integrating the flow law over the length the drop comes out expressed as the difference of the squared absolute pressures, P₁² − P₂². At low pressure the linearised ΔP form is an acceptable approximation; the quadratic form always holds.
The flow squared, the length linearly, the internal diameter with the fifth power (the dominant factor), the gas relative density, the friction factor (roughness and Reynolds number) and the compressibility at higher pressures.
Enormously: the drop scales with 1/D⁵ at equal flow. Moving from a 51.4 mm to a 61.4 mm internal diameter (a single PE catalogue step) cuts the loss by about 60%; doubling the diameter cuts it by more than thirty times. That is why sizing is decided almost entirely by the diameter choice.