The object of this study is a structural member made from a C-shaped cold-formed profile, investigated to search for optimal cross-sectional dimensions. The parametric optimization task is stated as the problem to find the optimal cross-sectional dimensions of the structural member under axial compression conditions, taking into account its post-buckling behavior (local buckling of the web and flanges, as well as a distortional buckling of the cross-section) and structural requirements. In this case, the material consumption and mechanical characteristics of steel, as well as the design lengths of the structural member, were considered constant and predefined. The considered criterion of optimality was the maximization of the load-carrying capacity of the structural member for the overall buckling under the axial compression. The stated optimization problem is solved using the method of exhaustive search while applying the developed software. Additionally, for fixed steel consumption, compromise solutions were searched that do not depend on the thickness of the profile and the design lengths of the structural member. The resulting cold-formed C-shaped profiles with optimal cross-sectional dimensions are characterized by a higher load-carrying capacity for the overall buckling under axial compression (to 24.45 % and 22.19 %) at the same steel consumption compared to the profiles offered by the manufacturer. Analysis of the reported results made it possible to devise recommendations for optimal ratios of dimensions and geometric characteristics of the structural members made from C-shaped profiles operating under axial compression. The ratios could be used both at the stage of selection of cross-sections of structural members from cold-formed profiles, and in the development of effective assortments of cold-formed profiles