DataBrighten

    Primary education, teachers

    7,050 × 6rows × columns: 208 countries, 1970 to 2025

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

    textnumberdateyes/no
    Rows7,050country-year values
    Countries208with at least one value
    Years1970 – 202556 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Primary education, teachers refers to the total number of teachers at primary level, including full-time and part-time teachers.

    Limits and exceptions (World Bank note)

    The precision of this indicator can be influenced by the enumeration method used, such as headcount or 'full-time equivalent' count of teachers.

    The numbers in 2024

    In 2024, 125 countries have a value. The highest is China (6.74 million); the lowest is Naoero (61). The median country value is 36,699. The World Bank's World aggregate for 2024 is 34.10 million.

    Top 10 countries, 2024

    value

    Source: World Bank, SE.PRM.TCHR, retrieved 19 November 2026. Computed from primary-education-teachers.csv.

    Highest, 2024

    #CountryValue
    1China6.74 million
    2India5.02 million
    3Indonesia1.49 million
    4Brazil696,748
    5Philippines527,504
    6Egypt, Arab Rep.483,053
    7Pakistan445,877
    8Bangladesh383,624
    9Viet Nam380,535
    10Venezuela, RB352,723

    Lowest, 2024

    #CountryValue
    1Naoero61
    2Tuvalu98
    3Monaco195
    4Palau205
    5San Marino245
    6British Virgin Islands247
    7Turks and Caicos Islands272
    8Cayman Islands323
    9Andorra413
    10Marshall Islands439
    How many countries report, by decade
    DecadeMost countries in one year
    1970s126
    1980s126
    1990s151
    2000s146
    2010s155
    2020s156

    World aggregate by year

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

    YearWorld
    202434.10 million
    202333.69 million
    202233.29 million
    202133.38 million
    202032.98 million
    201932.73 million
    201832.19 million
    201732.06 million
    201632.10 million
    201531.37 million
    201430.92 million
    201330.59 million

    By region, 2024

    World Bank regionValue
    East Asia & Pacific10.94 million
    South Asia5.84 million
    Sub-Saharan Africa 5.14 million
    Europe & Central Asia3.52 million
    Latin America & Caribbean 3.34 million
    Middle East, North Africa, Afghanistan & Pakistan3.29 million
    North America2.04 million

    First rows

    primary-education-teachers.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197013116
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197114651
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197214796
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197316293
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197417579
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197518558
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197620406
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income198917089

    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
    valuenumberPrimary education, teachers, 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 2024?

    China, with 6.74 million.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("primary-education-teachers.csv"))

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

    File: primary-education-teachers.csv

    How many countries report a value for 2024?

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

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

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("primary-education-teachers.csv"))

    (df.year == 2024).sum()

    File: primary-education-teachers.csv

    What is the median across countries in 2024?

    36,699 (median of the 125 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("primary-education-teachers.csv"))

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

    File: primary-education-teachers.csv

    Which country rose the most between 2014 and 2024?

    China: from 5.86 million to 6.74 million, a rise of 879,628 (out of 100 countries with both years).

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

    Use the wide file (primary-education-teachers-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("primary-education-teachers.csv"))

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

    File: primary-education-teachers.csv

    Which year has the most countries reporting?

    2023, with 156 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("primary-education-teachers.csv"))

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

    File: primary-education-teachers.csv