At about 10,000 KM or just under 6,000 miles the Trans-Siberian Railway covers over 1/3 of the circumference of the Earth and is the world's longest railroad.
The world's longest railway, the Trans-Siberian Railway in Russia, is 5,777 miles (9,297 kilometers) long. It runs from Moscow to Vladivostok. If the auxiliary route to Nakhodka is included, the distance becomes 5,865 miles (9,436 kilometers). The Trans-Siberian Railway was opened in sections. The first train transporting goods reached Irkutsk on August 27, 1898.
Refer to: http://www.enotes.com/science-fact-finder/cars-boats-planes-trains/what-worlds-longest-railway