A shortline railroad is a small or mid-sized railroad company that operates over a relatively short distance relative to larger, national railroad networks. The term is used primarily in the United States and Canada. In the former, railroads are categorized by operating revenue, and most shortline railroads fall into the Class III or Class II categorization defined by the Surface Transportation Board.