Rail lines
The total length of rail line in the country operated for passenger transport, goods transport, or both.
Unit: kmSource: Railisa Database, International Union of Railways (UIC)Updated 2026-11-111995-2021
- World (aggregate)
- n/a
- No world aggregate
- 10-year change, world
- n/a
- Median country
- 3,140
- 2020, unweighted
- Highest
- 148,750
- United States
- Lowest
- 261
- United Arab Emirates
- Countries reporting
- 66
- in 2020
Explore the data
Loading…
Rank 1 is the highest value. Higher is not necessarily better for this measure. Only sovereign states with an observation in 2020 are ranked; there is no imputation.
| Rank | Country | km | Year | Trend | 10-year change |
|---|---|---|---|---|---|
| 1 | United States | 148,750 | 2020 | ||
| 2 | China | 106,235 | 2020 | ||
| 3 | Russia | 85,555 | 2020 | ||
| 4 | India | 67,956 | 2020 | ||
| 5 | Canada | 48,309 | 2020 | ||
| 6 | Germany | 33,399 | 2020 | ||
| 7 | France | 27,872 | 2020 | ||
| 8 | Ukraine | 21,626 | 2020 | ||
| 9 | South Africa | 20,953 | 2020 | ||
| 10 | Poland | 18,611 | 2020 | ||
| 11 | Italy | 17,256 | 2020 | ||
| 12 | United Kingdom | 16,351 | 2020 | ||
| 13 | Kazakhstan | 16,063 | 2020 | ||
| 14 | Spain | 15,848 | 2020 | ||
| 15 | Romania | 10,769 | 2020 | ||
| 16 | Türkiye | 10,378 | 2020 | ||
| 17 | Sweden | 9,711 | 2020 | ||
| 18 | Iran | 9,454 | 2020 | ||
| 19 | Czechia | 9,377 | 2020 | ||
| 20 | Hungary | 7,588 | 2020 | ||
| 21 | Finland | 5,918 | 2020 | ||
| 22 | Belarus | 5,454 | 2020 | ||
| 23 | Austria | 4,966 | 2020 | ||
| 24 | Uzbekistan | 4,732 | 2020 | ||
| 25 | South Korea | 4,285 | 2020 |
Regions and income groups
Methodology
- Definition
- The total length of rail line in the country operated for passenger transport, goods transport, or both.
- Original source
- Railisa Database, International Union of Railways (UIC), uri: https://uic-stats.uic.org/. Series IS.RRS.TOTL.KM, published by World Bank World Development Indicators. Original dataset.
- Coverage
- 115 sovereign states and 1 territories or aggregates, 1995 to 2021; 2,139 observations.
- Missing values
- Years a country did not report are left empty: nothing is interpolated or carried forward, and charts break the line at gaps.
- Comparability
- Rankings use 2020, the latest year with broad coverage, so every country is compared on the same year.
Source: Railisa Database, International Union of Railways (UIC) via World Bank World Development Indicators (IS.RRS.TOTL.KM). Dataset version 2026-11-11, retrieved 2026-12-02. Licence: cc-by-4-0-world-bank.
Railisa Database, International Union of Railways (UIC), via World Bank World Development Indicators, series IS.RRS.TOTL.KM, release 2026-11-11. Retrieved 2026-12-02 from TrackingZoo, "Rail lines", https://trackingzoo.com/indicators/rail-lines.
Download and embed
Full dataset: JSON · CSV. Licence: cc-by-4-0-world-bank.
Embed this chart:
<iframe src="https://trackingzoo.com/embed/rail-lines" width="100%" height="480" style="border:0" title="Rail lines by country (TrackingZoo)" loading="lazy"></iframe>