This bachelor thesis focuses on the derivation and practical application of the relationship for calculating the economically optimal steam pipe diameter for saturated and superheated steam. The first part of the work describes the theoretical information and principles necessary to derive the calculation relationship for the calculation of the economically optimal steam pipeline. In the second part, an assembled calculation tool in Excel is presented, created for a clear and practical design and assessment of steam pipe diameters. In the final part of the thesis, the computational tool is applied to a specific industrial case. The goal of the work is to facilitate the work of designers and constructors, and thereby contribute to saving cos...