This article aims to describe an automatic calculation algorithm developed for the analysis of reinforced concrete and / or prestressed concrete cross sections. The sectional analysis consists in the generation of two characteristic curves: the bending moment - curvature (