DataBrighten

    Government expenditure per student, tertiary (% of GDP per capita)

    1,457 × 6rows × columns: 168 countries, 1970 to 2018

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

    textnumberdateyes/no
    Rows1,457country-year values
    Countries168with at least one value
    Years1970 – 201830 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Government expenditure per student is the average general government expenditure (current, capital, and transfers) per student in the given level of education, expressed as a percentage of GDP per capita.

    The numbers in 2016

    In 2016, 77 countries have a value. The highest is Burkina Faso (351.5); the lowest is Madagascar (0.0381). The median country value is 26.1. The World Bank's World aggregate for 2013 is 29.65.

    Top 10 countries, 2016

    % of GDP per capita

    Source: World Bank, SE.XPD.TERT.PC.ZS, retrieved 19 November 2026. Computed from government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv.

    Highest, 2016

    #CountryValue
    1Burkina Faso351.5
    2Niger314.5
    3Mali188.9
    4Senegal143.1
    5Cote d'Ivoire139
    6Aruba100.2
    7Mauritania95.78
    8Togo81.64
    9Seychelles70.71
    10Pakistan69.92

    Lowest, 2016

    #CountryValue
    1Madagascar0.0381
    2Kyrgyz Republic4.84
    3Armenia9.77
    4Kazakhstan9.9
    5Peru10.37
    6Mauritius10.53
    7Mongolia10.67
    8El Salvador10.8
    9Georgia11.44
    10Albania14.65
    How many countries report, by decade
    DecadeMost countries in one year
    1970s1
    1980s1
    1990s49
    2000s88
    2010s97

    World aggregate by year

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

    YearWorld
    201329.65
    201129.91
    201029.46

    By region, 2016

    World Bank regionValue
    South Asia30.21
    Europe & Central Asia25.75
    North America25.43

    First rows

    government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201196.09478
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201458.22054
    AlbaniaALBEurope & Central AsiaUpper middle income201312.85083
    AlbaniaALBEurope & Central AsiaUpper middle income201512.88117
    AlbaniaALBEurope & Central AsiaUpper middle income201614.64597
    AlbaniaALBEurope & Central AsiaUpper middle income201713.78559
    AndorraANDEurope & Central AsiaHigh income200230.36213
    AndorraANDEurope & Central AsiaHigh income200417.41199

    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
    valuenumberGovernment expenditure per student, tertiary (% of GDP per capita), 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 2016?

    Burkina Faso, with 351.5.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv"))

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

    File: government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv

    How many countries report a value for 2016?

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

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

    =COUNTIF(E2:E100000,2016)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv"))

    (df.year == 2016).sum()

    File: government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv

    What is the median across countries in 2016?

    26.1 (median of the 77 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv"))

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

    File: government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv

    Which country rose the most between 2006 and 2016?

    Burkina Faso: from 226 to 351.5, a rise of 125.4 (out of 46 countries with both years).

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

    Use the wide file (government-expenditure-per-student-tertiary-percent-of-gdp-per-capita-wide.csv): add a column = [2016] - [2006], 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 = 2006 AND b.year = 2016 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv"))

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

    File: government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv

    Which year has the most countries reporting?

    2013, with 97 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("government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv"))

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

    File: government-expenditure-per-student-tertiary-percent-of-gdp-per-capita.csv