Mostly trains normally consist of no more than

10 to 20 cars, depending on the type of train and the railway line. However, some freight trains can be much longer, with hundreds of cars. The length of a train is typically determined by the weight of the cargo being transported and the capacity of the railway infrastructure.