The design alignment of newly built railway is described by sorted linked lists consisting of straight line element, circular curve element and transition curve element. Based on this description this article studies the method for calculating transverse horizontal errors of structure centers of newly built railway. The article also studies the method for fitting newly built railway alignment, that is based on fitting straight line element and circular curve element using the least squares method and then resolving the transition curve element.