Presented paper is focused on description of algorithm for fast analysis of leveling process in detail and on verification of obtained results. The main idea is based on using Finite Element Method (FEM) and solving its fundamental equation. The algorithm is programmed using software MATLAB. The program has modular structure, so it is not complicated to modify any setting or utility. Leveling process of long semi products respecting the Eulerian approach is considered. Curved material passes through laterally offset rollers so repeated elasto-plastic bending occurs. Plastic deformation causes redistribution of residual stress. The semi product is straightened when rollers are appropriately positioned. Given problem is complicated due to high inherent nonlinearity and sensitivity, caused by cyclic plasticity. Useful setting of the leveling machine is found by iterative process, based on input measured geometrical data and material characteristics. and Obsahuje seznam literatury