New analytic formulas were obtained for storage capacity of the elementary section of the gas pipeline, taking into account the inertia of gas and linear change of leveling height of pipeline route. On their basis numerical simulation and analysis of change of this indicator in length at various static conditions of functioning of the gas pipeline were conducted.