DataBrighten

    Rural population

    14,292 × 6rows × columns: 217 countries, 1960 to 2025

    Real data: World Bank, World Development Indicators, indicator SP.RUR.TOTL, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows14,292country-year values
    Countries217with at least one value
    Years1960 – 202566 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Rural population refers to people living in rural areas as defined by national statistical offices. It is calculated as the difference between total population and urban population. Aggregation of urban and rural population may not add up to total population because of different country coverages.

    Limits and exceptions (World Bank note)

    Aggregation of urban and rural population may not add up to total population because of different country coverage. Estimates of the world's urban population would change significantly if China, India, and a few other populous nations were to change their definition of urban centers. Because the estimates of city and metropolitan area are based on national definitions of what constitutes a city or metropolitan area, cross-country comparisons should be made with caution. To estimate urban populations, UN ratios of urban to total population were applied to the World Bank's estimates of total population.

    The numbers in 2025

    In 2025, 217 countries have a value. The highest is India (941.42 million); at the bottom, 12 countries tie at 0 (e.g. Bahrain, Bermuda, Cayman Islands). The median country value is 1.64 million. The World Bank's World aggregate for 2025 is 3.46 billion.

    Top 10 countries, 2025

    value

    Source: World Bank, SP.RUR.TOTL, retrieved 19 November 2026. Computed from rural-population.csv.

    Highest, 2025

    #CountryValue
    1India941.42 million
    2China473.41 million
    3Pakistan154.34 million
    4Bangladesh117.29 million
    5Indonesia116.02 million
    6Ethiopia102.81 million
    7Nigeria86.04 million
    8United States67.70 million
    9Egypt, Arab Rep.67.58 million
    10Viet Nam62.15 million

    Lowest, 2025

    Ties are listed A to Z.

    #CountryValue
    1St. Martin (French part)0
    2Sint Maarten (Dutch part)0
    3Singapore0
    4Naoero0
    5Monaco0
    6Macao SAR, China0
    7Kuwait0
    8Hong Kong SAR, China0
    9Gibraltar0
    10Cayman Islands0
    How many countries report, by decade
    DecadeMost countries in one year
    1960s216
    1970s216
    1980s216
    1990s217
    2000s217
    2010s217
    2020s217

    World aggregate by year

    As published by the World Bank (in the regions file, not the country file).

    YearWorld
    20253.46 billion
    20243.45 billion
    20233.44 billion
    20223.43 billion
    20213.42 billion
    20203.42 billion
    20193.41 billion
    20183.41 billion
    20173.40 billion
    20163.40 billion
    20153.39 billion
    20143.39 billion

    By region, 2025

    World Bank regionValue
    South Asia1.09 billion
    East Asia & Pacific842.28 million
    Sub-Saharan Africa 731.42 million
    Middle East, North Africa, Afghanistan & Pakistan364.70 million
    Europe & Central Asia241.78 million
    Latin America & Caribbean 123.28 million
    North America74.83 million

    First rows

    rural-population.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19608301167
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19618441059
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19628589734
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19638745586
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19648908345
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19659079642
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19669256311
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19679438477

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberRural population, exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2025?

    India, with 941.42 million.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2025)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2025)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2025
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2025);

    pandas (df = pd.read_csv("rural-population.csv"))

    y = df[df.year == 2025]
    y[y.value == y.value.max()][["country", "value"]]

    File: rural-population.csv

    How many countries report a value for 2025?

    217 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2025)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2025;

    pandas (df = pd.read_csv("rural-population.csv"))

    (df.year == 2025).sum()

    File: rural-population.csv

    What is the median across countries in 2025?

    1.64 million (median of the 217 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2025))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2025 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2025) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2025));

    pandas (df = pd.read_csv("rural-population.csv"))

    df[df.year == 2025]["value"].median()

    File: rural-population.csv

    Which country rose the most between 2015 and 2025?

    India: from 895.79 million to 941.42 million, a rise of 45.64 million (out of 217 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (rural-population-wide.csv): add a column = [2025] - [2015], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2015 AND b.year = 2025 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("rural-population.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2025] - w[2015]).dropna().nlargest(1)

    File: rural-population.csv

    Which year has the most countries reporting?

    2025, with 217 countries.

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("rural-population.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: rural-population.csv