A calculation system has been developed to determine the optimum dimensions of asymmetric I-beams for minimum shrinkage. The objective function is the minimum mass; the unknowns are the I-beam dimensions; the constraints are the stress, local buckling, and deflection. Different steel grades have been considered (235, 355, 460 (MPa) yield stress) and other aluminum alloys (90, 155, 230 (MPa) yield stress). The material, the span length, the loading, and the applied heat input have been changed. It is shown, that using optimum design; the welding shrinkage can be reduced with prebending and can save material cost as well.