DataBrighten

    Adjusted savings: education expenditure (% of GNI)

    10,397 × 6rows × columns: 200 countries, 1970 to 2021

    Real data: World Bank, World Development Indicators, indicator NY.ADJ.AEDU.GN.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows10,397country-year values
    Countries200with at least one value
    Years1970 – 202152 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Education expenditure refers to the current operating expenditures in education, including wages and salaries and excluding capital investments in buildings and equipment. This indicator is expressed as a percentage of Gross National Income (GNI) which is the total income earned by all residents within an economic territory during an accounting period. It is equal to gross domestic product plus earned income receivable from abroad minus earned income payable abroad.

    Limits and exceptions (World Bank note)

    Public education expenditures are considered an addition to savings. However, because of the wide variability in the effectiveness of public education expenditures, these figures cannot be construed as the value of investments in human capital. A current expenditure of $1 on education does not necessarily yield $1 of human capital. The calculation should also consider private education expenditure, but data are not available for a large number of countries.

    The numbers in 2021

    In 2021, 199 countries have a value. The highest is Micronesia, Fed. Sts. (23.63); the lowest is French Polynesia (0.5). The median country value is 3.9.

    Top 10 countries, 2021

    % of GNI

    Source: World Bank, NY.ADJ.AEDU.GN.ZS, retrieved 19 November 2026. Computed from adjusted-savings-education-expenditure-percent-of-gni.csv.

    Highest, 2021

    #CountryValue
    1Micronesia, Fed. Sts.23.63
    2Cuba13.01
    3Marshall Islands12.74
    4American Samoa11.76
    5Solomon Islands9.94
    6Botswana9.48
    7Virgin Islands (U.S.)9.36
    8Namibia8.92
    9Puerto Rico (US)8.62
    10Guam8.32

    Lowest, 2021

    #CountryValue
    1French Polynesia0.5
    2New Caledonia0.539
    3Nigeria0.85
    4Somalia, Fed. Rep.0.991
    5Equatorial Guinea1
    6Monaco1.03
    7Central African Republic1.15
    8Guinea-Bissau1.16
    9Bangladesh1.35
    10Bermuda1.43
    How many countries report, by decade
    DecadeMost countries in one year
    1970s200
    1980s200
    1990s200
    2000s200
    2010s200
    2020s199

    First rows

    adjusted-savings-education-expenditure-percent-of-gni.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19701.0177784
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19711
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19721
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19731.3
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19741.5168933
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19751.2
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19761.5168933
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19771.4

    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
    valuenumberAdjusted savings: education expenditure (% of GNI), 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?

    Micronesia, Fed. Sts., with 23.63.

    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("adjusted-savings-education-expenditure-percent-of-gni.csv"))

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

    File: adjusted-savings-education-expenditure-percent-of-gni.csv

    How many countries report a value for 2021?

    199 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("adjusted-savings-education-expenditure-percent-of-gni.csv"))

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

    File: adjusted-savings-education-expenditure-percent-of-gni.csv

    What is the median across countries in 2021?

    3.9 (median of the 199 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("adjusted-savings-education-expenditure-percent-of-gni.csv"))

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

    File: adjusted-savings-education-expenditure-percent-of-gni.csv

    Which country rose the most between 2011 and 2021?

    Sierra Leone: from 2.55 to 7.1, a rise of 4.55 (out of 199 countries with both years).

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

    Use the wide file (adjusted-savings-education-expenditure-percent-of-gni-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("adjusted-savings-education-expenditure-percent-of-gni.csv"))

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

    File: adjusted-savings-education-expenditure-percent-of-gni.csv

    Which year has the most countries reporting?

    2018, with 200 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("adjusted-savings-education-expenditure-percent-of-gni.csv"))

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

    File: adjusted-savings-education-expenditure-percent-of-gni.csv