DataBrighten

    Current education expenditure, primary (% of total expenditure in primary public institutions)

    1,778 × 6rows × columns: 167 countries, 1998 to 2024

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

    textnumberdateyes/no
    Rows1,778country-year values
    Countries167with at least one value
    Years1998 – 202427 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Current expenditure is expressed as a percentage of direct expenditure in public educational institutions (instructional and non-instructional) of the specified level of education. Financial aid to students and other transfers are excluded from direct expenditure. Current expenditure is consumed within the current year and would have to be renewed if needed in the following year. It includes staff compensation and current expenditure other than for staff compensation (ex. on teaching materials, ancillary services and administration).

    Limits and exceptions (World Bank note)

    The indicator depends on comprehensive and accurate data regarding government expenditure by type and nature of spending. In some cases, data on total government expenditure on education only includes the Ministry of Education, excluding other ministries that may also allocate part of their budget to educational services.

    The numbers in 2022

    In 2022, 70 countries have a value. At the top, 5 countries tie at 100 (e.g. Cayman Islands, Ecuador, Guatemala); the lowest is Rwanda (67.75). The median country value is 93.72. The World Bank's World aggregate for 2013 is 93.91.

    Top 10 countries, 2022

    % of total expenditure in primary public institutions

    Source: World Bank, SE.XPD.CPRM.ZS, retrieved 19 November 2026. Computed from current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv.

    Highest, 2022

    Ties are listed A to Z.

    #CountryValue
    1Cayman Islands100
    2Ecuador100
    3Guatemala100
    4Marshall Islands100
    5St. Lucia100
    6San Marino99.85
    7Greece99.79
    8Barbados99.71
    9Jamaica99.31
    10Senegal98.83

    Lowest, 2022

    #CountryValue
    1Rwanda67.75
    2Sierra Leone71.43
    3El Salvador77.71
    4Peru81.2
    5Korea, Rep.81.96
    6New Zealand83.21
    7Estonia84.05
    8Azerbaijan84.4
    9Armenia84.96
    10Monaco85.13
    How many countries report, by decade
    DecadeMost countries in one year
    1990s41
    2000s80
    2010s98
    2020s76

    World aggregate by year

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

    YearWorld
    201393.91

    By region, 2022

    World Bank regionValue
    Latin America & Caribbean 96.57
    Europe & Central Asia91.96

    First rows

    current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201082.6652603149414
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201184.1093902587891
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201289.2638092041016
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201384.1075897216797
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201483.5874481201172
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201584.5209732055664
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201686.3456726074219
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201788.640998840332

    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
    valuenumberCurrent education expenditure, primary (% of total expenditure in primary public institutions), 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 2022?

    There is a tie: 5 countries share the highest value, 100 (for example Cayman Islands, Ecuador, Guatemala).

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv"))

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

    File: current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv

    How many countries report a value for 2022?

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

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

    =COUNTIF(E2:E100000,2022)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv"))

    (df.year == 2022).sum()

    File: current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv

    What is the median across countries in 2022?

    93.72 (median of the 70 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv"))

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

    File: current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv

    Which country rose the most between 2012 and 2022?

    Singapore: from 83.37 to 96.97, a rise of 13.6 (out of 47 countries with both years).

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

    Use the wide file (current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti-wide.csv): add a column = [2022] - [2012], 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 = 2012 AND b.year = 2022 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv"))

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

    File: current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv

    Which year has the most countries reporting?

    2013, with 98 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("current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv"))

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

    File: current-education-expenditure-primary-percent-of-total-expenditure-in-primary-public-insti.csv