The number of cars in a train varies significantly based on its purpose and the region. In the United States, freight trains have grown substantially in length, with the median length now around 5,300 feet, often consisting of 100 to 150 cars, though some "mega-trains" can reach 200 cars and stretch over two miles. These long hauls are designed for maximum efficiency in transporting coal, grain, or intermodal containers. In contrast, passenger trains are much shorter for easier station management and faster acceleration. A typical Amtrak long-distance train usually consists of 8 to 12 cars, including sleepers, coaches, and dining cars. Commuter rail or subway trains are even shorter, typically ranging from 4 to 10 cars depending on platform length and passenger demand. The configuration is ultimately determined by the locomotive's pulling power and the infrastructure of the rail line.