DataBrighten

    Population Age 0516 for Reference Year 2019;

    340 × 6rows × columns: 126 countries, 2001 to 2023

    Real data: World Bank, Education Statistics, indicator SE.LPV.POP.0516, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows340country-year values
    Countries126with at least one value
    Years2001 – 202317 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    World Bank staff estimates using the World Bank's total population and age sex distributions of the United Nations Population Division's as of June, 2022.

    The numbers in 2021

    In 2021, 53 countries have a value. The highest is United States (51.52 million); the lowest is Malta (51,946). The median country value is 1.02 million.

    Top 10 countries, 2021

    value

    Source: World Bank, SE.LPV.POP.0516, retrieved 19 November 2026. Computed from population-age-0516-for-reference-year-2019.csv.

    Highest, 2021

    #CountryValue
    1United States51.52 million
    2Egypt, Arab Rep.26.26 million
    3Russian Federation19.83 million
    4Iran, Islamic Rep.15.56 million
    5Turkiye15.52 million
    6South Africa12.77 million
    7United Kingdom9.55 million
    8France9.42 million
    9Germany8.90 million
    10Morocco7.75 million

    Lowest, 2021

    #CountryValue
    1Malta51,946
    2Macao SAR, China64,464
    3Montenegro92,518
    4Cyprus154,490
    5Bahrain227,855
    6Latvia233,465
    7Slovenia253,962
    8North Macedonia282,850
    9Qatar294,833
    10Lithuania329,826
    How many countries report, by decade
    DecadeMost countries in one year
    2000s51
    2010s50
    2020s53

    First rows

    population-age-0516-for-reference-year-2019.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201312328410.5
    AlbaniaALBEurope & Central AsiaUpper middle income2019411363
    AlbaniaALBEurope & Central AsiaUpper middle income2021408852.5
    AlgeriaDZAMiddle East, North Africa, Afghanistan & PakistanUpper middle income20079310343.5
    ArgentinaARGLatin America & CaribbeanUpper middle income20068557334
    ArgentinaARGLatin America & CaribbeanUpper middle income20138557334
    ArgentinaARGLatin America & CaribbeanUpper middle income20198557334
    ArmeniaARMEurope & Central AsiaUpper middle income2003439944.5

    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
    valuenumberPopulation Age 0516 for Reference Year 2019;, 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 2021?

    United States, with 51.52 million.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("population-age-0516-for-reference-year-2019.csv"))

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

    File: population-age-0516-for-reference-year-2019.csv

    How many countries report a value for 2021?

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

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

    =COUNTIF(E2:E100000,2021)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("population-age-0516-for-reference-year-2019.csv"))

    (df.year == 2021).sum()

    File: population-age-0516-for-reference-year-2019.csv

    What is the median across countries in 2021?

    1.02 million (median of the 53 country values; not a World Bank aggregate).

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

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

    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 = 2021 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2021) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2021));

    pandas (df = pd.read_csv("population-age-0516-for-reference-year-2019.csv"))

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

    File: population-age-0516-for-reference-year-2019.csv

    Which country rose the most between 2011 and 2021?

    New Zealand: from 754,004 to 775,008, a rise of 21,004 (out of 39 countries with both years).

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

    Use the wide file (population-age-0516-for-reference-year-2019-wide.csv): add a column = [2021] - [2011], 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 = 2011 AND b.year = 2021 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("population-age-0516-for-reference-year-2019.csv"))

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

    File: population-age-0516-for-reference-year-2019.csv

    Which year has the most countries reporting?

    2021, with 53 countries. (Later years are still filling in as countries report.)

    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("population-age-0516-for-reference-year-2019.csv"))

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

    File: population-age-0516-for-reference-year-2019.csv