{
 "subject": "country",
 "metric": "railways",
 "question": "What country has the most railways?",
 "unit": "km of railway",
 "definition": "The total route length of the railway network, including standard, broad, narrow and dual gauge lines, as reported in The World Factbook. Track length (counting each track on multi-track lines separately) is not used.",
 "source": {
  "name": "The World Factbook",
  "publisher": "Central Intelligence Agency (CIA)",
  "url": "https://www.cia.gov/the-world-factbook/",
  "license": "Public domain",
  "licenseUrl": "https://www.cia.gov/the-world-factbook/about/copyright-and-contributors/",
  "series": "Railways (total)"
 },
 "retrieved": "2026-10-05",
 "rows": [
  {
   "rank": 1,
   "country": "United States",
   "iso3": "USA",
   "value": 293564.2,
   "year": 2014
  },
  {
   "rank": 2,
   "country": "China",
   "iso3": "CHN",
   "value": 150000,
   "year": 2021
  },
  {
   "rank": 3,
   "country": "Russia",
   "iso3": "RUS",
   "value": 85494,
   "year": 2019
  },
  {
   "rank": 4,
   "country": "India",
   "iso3": "IND",
   "value": 65554,
   "year": 2014
  },
  {
   "rank": 5,
   "country": "Canada",
   "iso3": "CAN",
   "value": 49422,
   "year": 2021
  },
  {
   "rank": 6,
   "country": "Germany",
   "iso3": "DEU",
   "value": 39379,
   "year": 2020
  },
  {
   "rank": 7,
   "country": "Australia",
   "iso3": "AUS",
   "value": 32606,
   "year": 2022
  },
  {
   "rank": 8,
   "country": "South Africa",
   "iso3": "ZAF",
   "value": 30400,
   "year": 2021
  },
  {
   "rank": 9,
   "country": "Brazil",
   "iso3": "BRA",
   "value": 29849.9,
   "year": 2014
  },
  {
   "rank": 10,
   "country": "France",
   "iso3": "FRA",
   "value": 27860,
   "year": 2020
  },
  {
   "rank": 11,
   "country": "Japan",
   "iso3": "JPN",
   "value": 27311,
   "year": 2015
  },
  {
   "rank": 12,
   "country": "Mexico",
   "iso3": "MEX",
   "value": 23389,
   "year": 2017
  },
  {
   "rank": 13,
   "country": "Ukraine",
   "iso3": "UKR",
   "value": 21733,
   "year": 2014
  },
  {
   "rank": 14,
   "country": "Poland",
   "iso3": "POL",
   "value": 19461,
   "year": 2020
  },
  {
   "rank": 15,
   "country": "Italy",
   "iso3": "ITA",
   "value": 18475,
   "year": 2020
  },
  {
   "rank": 16,
   "country": "Argentina",
   "iso3": "ARG",
   "value": 17866,
   "year": 2018
  },
  {
   "rank": 17,
   "country": "Kazakhstan",
   "iso3": "KAZ",
   "value": 16636,
   "year": 2021
  },
  {
   "rank": 18,
   "country": "United Kingdom",
   "iso3": "GBR",
   "value": 16390,
   "year": 2020
  },
  {
   "rank": 19,
   "country": "Spain",
   "iso3": "ESP",
   "value": 15489,
   "year": 2020
  },
  {
   "rank": 20,
   "country": "Pakistan",
   "iso3": "PAK",
   "value": 11881,
   "year": 2021
  },
  {
   "rank": 21,
   "country": "Türkiye",
   "iso3": "TUR",
   "value": 11497,
   "year": 2018
  },
  {
   "rank": 22,
   "country": "Sweden",
   "iso3": "SWE",
   "value": 10910,
   "year": 2020
  },
  {
   "rank": 23,
   "country": "Romania",
   "iso3": "ROU",
   "value": 10628,
   "year": 2020
  },
  {
   "rank": 24,
   "country": "Czechia",
   "iso3": "CZE",
   "value": 9548,
   "year": 2020
  },
  {
   "rank": 25,
   "country": "Iran",
   "iso3": "IRN",
   "value": 8483.5,
   "year": 2014
  },
  {
   "rank": 26,
   "country": "Cuba",
   "iso3": "CUB",
   "value": 8367,
   "year": 2017
  },
  {
   "rank": 27,
   "country": "Indonesia",
   "iso3": "IDN",
   "value": 8159,
   "year": 2014
  },
  {
   "rank": 28,
   "country": "Hungary",
   "iso3": "HUN",
   "value": 7687,
   "year": 2020
  },
  {
   "rank": 29,
   "country": "North Korea",
   "iso3": "PRK",
   "value": 7435,
   "year": 2014
  },
  {
   "rank": 30,
   "country": "Chile",
   "iso3": "CHL",
   "value": 7281.5,
   "year": 2014
  },
  {
   "rank": 31,
   "country": "Sudan",
   "iso3": "SDN",
   "value": 7251,
   "year": 2014
  },
  {
   "rank": 32,
   "country": "Austria",
   "iso3": "AUT",
   "value": 6123,
   "year": 2022
  },
  {
   "rank": 33,
   "country": "Finland",
   "iso3": "FIN",
   "value": 5918,
   "year": 2020
  },
  {
   "rank": 34,
   "country": "Belarus",
   "iso3": "BLR",
   "value": 5528,
   "year": 2014
  },
  {
   "rank": 35,
   "country": "Saudi Arabia",
   "iso3": "SAU",
   "value": 5410,
   "year": 2016
  },
  {
   "rank": 36,
   "country": "Switzerland",
   "iso3": "CHE",
   "value": 5296,
   "year": 2020
  },
  {
   "rank": 37,
   "country": "Turkmenistan",
   "iso3": "TKM",
   "value": 5113,
   "year": 2017
  },
  {
   "rank": 38,
   "country": "Egypt",
   "iso3": "EGY",
   "value": 5085,
   "year": 2014
  },
  {
   "rank": 39,
   "country": "Myanmar",
   "iso3": "MMR",
   "value": 5031,
   "year": 2008
  },
  {
   "rank": 40,
   "country": "Mozambique",
   "iso3": "MOZ",
   "value": 4787,
   "year": 2014
  },
  {
   "rank": 41,
   "country": "Uzbekistan",
   "iso3": "UZB",
   "value": 4642,
   "year": 2018
  },
  {
   "rank": 42,
   "country": "New Zealand",
   "iso3": "NZL",
   "value": 4128,
   "year": 2018
  },
  {
   "rank": 43,
   "country": "Thailand",
   "iso3": "THA",
   "value": 4127,
   "year": 2017
  },
  {
   "rank": 44,
   "country": "Tanzania",
   "iso3": "TZA",
   "value": 4097,
   "year": 2022
  },
  {
   "rank": 45,
   "country": "Bulgaria",
   "iso3": "BGR",
   "value": 4029,
   "year": 2020
  },
  {
   "rank": 46,
   "country": "Algeria",
   "iso3": "DZA",
   "value": 4020,
   "year": 2019
  },
  {
   "rank": 47,
   "country": "DR Congo",
   "iso3": "COD",
   "value": 4007,
   "year": 2014
  },
  {
   "rank": 48,
   "country": "South Korea",
   "iso3": "KOR",
   "value": 3979,
   "year": 2016
  },
  {
   "rank": 49,
   "country": "Bolivia",
   "iso3": "BOL",
   "value": 3960,
   "year": 2019
  },
  {
   "rank": 50,
   "country": "Norway",
   "iso3": "NOR",
   "value": 3848,
   "year": 2020
  },
  {
   "rank": 51,
   "country": "Kenya",
   "iso3": "KEN",
   "value": 3819,
   "year": 2018
  },
  {
   "rank": 52,
   "country": "Nigeria",
   "iso3": "NGA",
   "value": 3798,
   "year": 2014
  },
  {
   "rank": 53,
   "country": "Slovakia",
   "iso3": "SVK",
   "value": 3627,
   "year": 2020
  },
  {
   "rank": 54,
   "country": "Belgium",
   "iso3": "BEL",
   "value": 3602,
   "year": 2020
  },
  {
   "rank": 55,
   "country": "Zimbabwe",
   "iso3": "ZWE",
   "value": 3427,
   "year": 2014
  },
  {
   "rank": 56,
   "country": "Serbia",
   "iso3": "SRB",
   "value": 3333,
   "year": 2020
  },
  {
   "rank": 57,
   "country": "Zambia",
   "iso3": "ZMB",
   "value": 3126,
   "year": 2014
  },
  {
   "rank": 58,
   "country": "The Netherlands",
   "iso3": "NLD",
   "value": 3055,
   "year": 2020
  },
  {
   "rank": 59,
   "country": "Azerbaijan",
   "iso3": "AZE",
   "value": 2944.3,
   "year": 2017
  },
  {
   "rank": 60,
   "country": "Angola",
   "iso3": "AGO",
   "value": 2761,
   "year": 2022
  },
  {
   "rank": 61,
   "country": "Denmark",
   "iso3": "DNK",
   "value": 2682,
   "year": 2020
  },
  {
   "rank": 62,
   "country": "Namibia",
   "iso3": "NAM",
   "value": 2628,
   "year": 2014
  },
  {
   "rank": 63,
   "country": "Croatia",
   "iso3": "HRV",
   "value": 2617,
   "year": 2020
  },
  {
   "rank": 64,
   "country": "Vietnam",
   "iso3": "VNM",
   "value": 2600,
   "year": 2014
  },
  {
   "rank": 65,
   "country": "Portugal",
   "iso3": "PRT",
   "value": 2526,
   "year": 2020
  },
  {
   "rank": 66,
   "country": "Bangladesh",
   "iso3": "BGD",
   "value": 2460,
   "year": 2014
  },
  {
   "rank": 67,
   "country": "Greece",
   "iso3": "GRC",
   "value": 2345,
   "year": 2020
  },
  {
   "rank": 68,
   "country": "Iraq",
   "iso3": "IRQ",
   "value": 2272,
   "year": 2014
  },
  {
   "rank": 69,
   "country": "Latvia",
   "iso3": "LVA",
   "value": 2216,
   "year": 2020
  },
  {
   "rank": 70,
   "country": "Tunisia",
   "iso3": "TUN",
   "value": 2173,
   "year": 2014
  },
  {
   "rank": 71,
   "country": "Colombia",
   "iso3": "COL",
   "value": 2141,
   "year": 2019
  },
  {
   "rank": 72,
   "country": "Morocco",
   "iso3": "MAR",
   "value": 2067,
   "year": 2014
  },
  {
   "rank": 73,
   "country": "Syria",
   "iso3": "SYR",
   "value": 2052,
   "year": 2014
  },
  {
   "rank": 74,
   "country": "Lithuania",
   "iso3": "LTU",
   "value": 1911,
   "year": 2020
  },
  {
   "rank": 75,
   "country": "Peru",
   "iso3": "PER",
   "value": 1854.4,
   "year": 2017
  },
  {
   "rank": 76,
   "country": "Malaysia",
   "iso3": "MYS",
   "value": 1851,
   "year": 2014
  },
  {
   "rank": 77,
   "country": "Mongolia",
   "iso3": "MNG",
   "value": 1815,
   "year": 2017
  },
  {
   "rank": 78,
   "country": "Ireland",
   "iso3": "IRL",
   "value": 1688,
   "year": 2020
  },
  {
   "rank": 79,
   "country": "Uruguay",
   "iso3": "URY",
   "value": 1673,
   "year": 2016
  },
  {
   "rank": 80,
   "country": "Taiwan",
   "iso3": "TWN",
   "value": 1613.1,
   "year": 2018
  },
  {
   "rank": 81,
   "country": "Sri Lanka",
   "iso3": "LKA",
   "value": 1562,
   "year": 2016
  },
  {
   "rank": 82,
   "country": "Israel",
   "iso3": "ISR",
   "value": 1497,
   "year": 2021
  },
  {
   "rank": 83,
   "country": "Estonia",
   "iso3": "EST",
   "value": 1441,
   "year": 2020
  },
  {
   "rank": 84,
   "country": "Georgia",
   "iso3": "GEO",
   "value": 1363,
   "year": 2014
  },
  {
   "rank": 85,
   "country": "Uganda",
   "iso3": "UGA",
   "value": 1244,
   "year": 2014
  },
  {
   "rank": 86,
   "country": "Slovenia",
   "iso3": "SVN",
   "value": 1207,
   "year": 2020
  },
  {
   "rank": 87,
   "country": "Moldova",
   "iso3": "MDA",
   "value": 1171,
   "year": 2014
  },
  {
   "rank": 88,
   "country": "Guinea",
   "iso3": "GIN",
   "value": 1086,
   "year": 2017
  },
  {
   "rank": 89,
   "country": "Cameroon",
   "iso3": "CMR",
   "value": 987,
   "year": 2014
  },
  {
   "rank": 90,
   "country": "Bosnia and Herzegovina",
   "iso3": "BIH",
   "value": 965,
   "year": 2014
  },
  {
   "rank": 90,
   "country": "Ecuador",
   "iso3": "ECU",
   "value": 965,
   "year": 2022
  },
  {
   "rank": 92,
   "country": "Ghana",
   "iso3": "GHA",
   "value": 947,
   "year": 2022
  },
  {
   "rank": 93,
   "country": "Senegal",
   "iso3": "SEN",
   "value": 906,
   "year": 2017
  },
  {
   "rank": 94,
   "country": "Botswana",
   "iso3": "BWA",
   "value": 888,
   "year": 2014
  },
  {
   "rank": 95,
   "country": "Madagascar",
   "iso3": "MDG",
   "value": 836,
   "year": 2018
  },
  {
   "rank": 96,
   "country": "Guatemala",
   "iso3": "GTM",
   "value": 800,
   "year": 2018
  },
  {
   "rank": 97,
   "country": "Malawi",
   "iso3": "MWI",
   "value": 767,
   "year": 2014
  },
  {
   "rank": 98,
   "country": "Mauritania",
   "iso3": "MRT",
   "value": 728,
   "year": 2014
  },
  {
   "rank": 99,
   "country": "Honduras",
   "iso3": "HND",
   "value": 699,
   "year": 2014
  },
  {
   "rank": 99,
   "country": "North Macedonia",
   "iso3": "MKD",
   "value": 699,
   "year": 2020
  },
  {
   "rank": 101,
   "country": "Armenia",
   "iso3": "ARM",
   "value": 686,
   "year": 2017
  },
  {
   "rank": 102,
   "country": "Tajikistan",
   "iso3": "TJK",
   "value": 680,
   "year": 2014
  },
  {
   "rank": 103,
   "country": "Côte d'Ivoire",
   "iso3": "CIV",
   "value": 660,
   "year": 2008
  },
  {
   "rank": 104,
   "country": "Ethiopia",
   "iso3": "ETH",
   "value": 659,
   "year": 2017
  },
  {
   "rank": 105,
   "country": "Gabon",
   "iso3": "GAB",
   "value": 649,
   "year": 2014
  },
  {
   "rank": 106,
   "country": "Cambodia",
   "iso3": "KHM",
   "value": 642,
   "year": 2014
  },
  {
   "rank": 107,
   "country": "Burkina Faso",
   "iso3": "BFA",
   "value": 622,
   "year": 2014
  },
  {
   "rank": 108,
   "country": "Fiji",
   "iso3": "FJI",
   "value": 597,
   "year": 2008
  },
  {
   "rank": 109,
   "country": "Mali",
   "iso3": "MLI",
   "value": 593,
   "year": 2014
  },
  {
   "rank": 110,
   "country": "Togo",
   "iso3": "TGO",
   "value": 568,
   "year": 2014
  },
  {
   "rank": 111,
   "country": "Republic of the Congo",
   "iso3": "COG",
   "value": 510,
   "year": 2014
  },
  {
   "rank": 112,
   "country": "Jordan",
   "iso3": "JOR",
   "value": 509,
   "year": 2020
  },
  {
   "rank": 113,
   "country": "Dominican Republic",
   "iso3": "DOM",
   "value": 496,
   "year": 2014
  },
  {
   "rank": 114,
   "country": "Venezuela",
   "iso3": "VEN",
   "value": 447,
   "year": 2014
  },
  {
   "rank": 115,
   "country": "Benin",
   "iso3": "BEN",
   "value": 438,
   "year": 2014
  },
  {
   "rank": 116,
   "country": "Kosovo",
   "iso3": "XKX",
   "value": 437,
   "year": 2020
  },
  {
   "rank": 117,
   "country": "Liberia",
   "iso3": "LBR",
   "value": 429,
   "year": 2008
  },
  {
   "rank": 118,
   "country": "Albania",
   "iso3": "ALB",
   "value": 424,
   "year": 2017
  },
  {
   "rank": 118,
   "country": "Kyrgyzstan",
   "iso3": "KGZ",
   "value": 424,
   "year": 2022
  },
  {
   "rank": 120,
   "country": "Laos",
   "iso3": "LAO",
   "value": 422,
   "year": 2023
  },
  {
   "rank": 121,
   "country": "Lebanon",
   "iso3": "LBN",
   "value": 401,
   "year": 2017
  },
  {
   "rank": 122,
   "country": "Eritrea",
   "iso3": "ERI",
   "value": 306,
   "year": 2018
  },
  {
   "rank": 123,
   "country": "Eswatini",
   "iso3": "SWZ",
   "value": 301,
   "year": 2014
  },
  {
   "rank": 124,
   "country": "Costa Rica",
   "iso3": "CRI",
   "value": 278,
   "year": 2014
  },
  {
   "rank": 125,
   "country": "Luxembourg",
   "iso3": "LUX",
   "value": 271,
   "year": 2020
  },
  {
   "rank": 126,
   "country": "Montenegro",
   "iso3": "MNE",
   "value": 250,
   "year": 2017
  },
  {
   "rank": 127,
   "country": "South Sudan",
   "iso3": "SSD",
   "value": 248,
   "year": 2018
  },
  {
   "rank": 128,
   "country": "Djibouti",
   "iso3": "DJI",
   "value": 97,
   "year": 2017
  },
  {
   "rank": 129,
   "country": "Panama",
   "iso3": "PAN",
   "value": 77,
   "year": 2014
  },
  {
   "rank": 129,
   "country": "Philippines",
   "iso3": "PHL",
   "value": 77,
   "year": 2017
  },
  {
   "rank": 131,
   "country": "Nepal",
   "iso3": "NPL",
   "value": 59,
   "year": 2018
  },
  {
   "rank": 132,
   "country": "Saint Kitts and Nevis",
   "iso3": "KNA",
   "value": 50,
   "year": 2008
  },
  {
   "rank": 133,
   "country": "Paraguay",
   "iso3": "PRY",
   "value": 30,
   "year": 2014
  },
  {
   "rank": 134,
   "country": "El Salvador",
   "iso3": "SLV",
   "value": 12.5,
   "year": 2014
  },
  {
   "rank": 135,
   "country": "Liechtenstein",
   "iso3": "LIE",
   "value": 9,
   "year": 2018
  }
 ]
}