DataBrighten

    Urban population (% of total population)

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

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

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

    What it measures

    Urban population refers to people living in urban areas as defined by national statistical offices. The data are collected and smoothed by United Nations Population Division.

    Limits and exceptions (World Bank note)

    Aggregation of urban and rural population may not add up to total population because of different country coverage. Most countries use an urban classification related to the size or characteristics of settlements. Some define urban areas based on the presence of certain infrastructure and services. And other countries designate urban areas based on administrative arrangements. Because of national differences in the characteristics that distinguish urban from rural areas, the distinction between urban and rural population is not amenable to a single definition that would be applicable to all countries. 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.

    The numbers in 2025

    In 2025, 217 countries have a value. At the top, 12 countries tie at 100 (e.g. Bahrain, Bermuda, Cayman Islands); the lowest is Liechtenstein (14.63). The median country value is 64.19. The World Bank's World aggregate for 2025 is 57.83.

    Highest, 2025

    Ties are listed A to Z.

    #CountryValue
    1Bahrain100
    2Bermuda100
    3Cayman Islands100
    4Gibraltar100
    5Hong Kong SAR, China100
    6Kuwait100
    7Macao SAR, China100
    8Monaco100
    9Naoero100
    10Singapore100

    Lowest, 2025

    #CountryValue
    1Liechtenstein14.63
    2Papua New Guinea15.78
    3Samoa17.51
    4Malawi17.59
    5Niger18.37
    6Sri Lanka20.45
    7Tonga21.16
    8South Sudan21.68
    9Vanuatu22.32
    10Micronesia, Fed. Sts.22.48
    How many countries report, by decade
    DecadeMost countries in one year
    1960s217
    1970s217
    1980s217
    1990s217
    2000s217
    2010s217
    2020s217

    World aggregate by year

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

    YearWorld
    202557.83
    202457.57
    202357.31
    202257.07
    202156.81
    202056.44
    201956.14
    201855.75
    201755.32
    201654.89
    201554.43
    201453.91

    By region, 2025

    World Bank regionValue
    Latin America & Caribbean 81.51
    North America80.49
    Europe & Central Asia74.07
    East Asia & Pacific64.77
    Middle East, North Africa, Afghanistan & Pakistan55.96
    Sub-Saharan Africa 44.66
    South Asia35.79

    First rows

    urban-population-percent-of-total-population.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19608.12255149340207
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19618.38959494931345
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19628.66266423654956
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19638.94270943787613
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19649.23113447844093
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19659.52934328339171
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19669.83873977787624
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196710.1607278870423

    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
    valuenumberUrban population (% of total 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?

    There is a tie: 12 countries share the highest value, 100 (for example Bahrain, Bermuda, Cayman Islands).

    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("urban-population-percent-of-total-population.csv"))

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

    File: urban-population-percent-of-total-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("urban-population-percent-of-total-population.csv"))

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

    File: urban-population-percent-of-total-population.csv

    What is the median across countries in 2025?

    64.19 (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("urban-population-percent-of-total-population.csv"))

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

    File: urban-population-percent-of-total-population.csv

    Which country rose the most between 2015 and 2025?

    Thailand: from 46.95 to 62.8, a rise of 15.85 (out of 217 countries with both years).

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

    Use the wide file (urban-population-percent-of-total-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("urban-population-percent-of-total-population.csv"))

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

    File: urban-population-percent-of-total-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("urban-population-percent-of-total-population.csv"))

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

    File: urban-population-percent-of-total-population.csv