The equation
The change in length of a pipe follows from three quantities:
ΔL = α · L · ΔT
Here α is the mean coefficient of linear thermal expansion of the material, L the length of the section considered and ΔT the difference between installation and operating temperature. Diameter and wall thickness do not appear.
An example: 50 m of carbon steel pipe, installed at 20 °C, operated at 220 °C. With α = 12 · 10⁻⁶ 1/K the result is 12 · 10⁻⁶ · 50 000 mm · 200 K = 120 mm. The line grows by twelve centimetres – whether this has been planned for or not.