The Union Pacific Railroad , legally Union Pacific Railroad Company and simply Union Pacific, is a freight-hauling railroad that operates 8,300 locomotives over 32200 miles routes in 23 U.S. states west of Chicago and New Orleans.