DataBrighten

    Pupil-teacher ratio, tertiary

    3,832 × 6rows × columns: 201 countries, 1970 to 2019

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

    textnumberdateyes/no
    Rows3,832country-year values
    Countries201with at least one value
    Years1970 – 201950 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Tertiary school pupil-teacher ratio is the average number of pupils per teacher in tertiary school.

    Limits and exceptions (World Bank note)

    The comparability of pupil-teacher ratios across countries is affected by the definition of teachers and by differences in class size by grade and in the number of hours taught, as well as the different practices countries employ such as part-time teachers, school shifts, and multi-grade classes. Moreover, the underlying enrollment levels are subject to a variety of reporting errors.

    The numbers in 2017

    In 2017, 97 countries have a value. The highest is Turkiye (47.44); the lowest is Grenada (1.16). The median country value is 14.46.

    Top 10 countries, 2017

    value

    Source: World Bank, SE.TER.ENRL.TC.ZS, retrieved 19 November 2026. Computed from pupil-teacher-ratio-tertiary.csv.

    Highest, 2017

    #CountryValue
    1Turkiye47.44
    2Greece38.75
    3Pakistan33.06
    4Sri Lanka30.97
    5Mali30.82
    6Bangladesh30.34
    7Benin29.49
    8Morocco28.85
    9Indonesia28.3
    10Dominican Republic27.43

    Lowest, 2017

    #CountryValue
    1Grenada1.16
    2Andorra3.91
    3Cuba4.59
    4Japan6.88
    5Armenia6.94
    6Liechtenstein7.13
    7Austria7.18
    8Uruguay7.24
    9Georgia7.32
    10Germany7.59
    How many countries report, by decade
    DecadeMost countries in one year
    1970s76
    1980s85
    1990s97
    2000s98
    2010s103

    First rows

    pupil-teacher-ratio-tertiary.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19709.75032
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197210.09979
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19739.08782
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197411.15682
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197915.86602
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income198211.39907
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income198712.34767
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income199018.13189

    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
    valuenumberPupil-teacher ratio, tertiary, 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 2017?

    Turkiye, with 47.44.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("pupil-teacher-ratio-tertiary.csv"))

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

    File: pupil-teacher-ratio-tertiary.csv

    How many countries report a value for 2017?

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

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

    =COUNTIF(E2:E100000,2017)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("pupil-teacher-ratio-tertiary.csv"))

    (df.year == 2017).sum()

    File: pupil-teacher-ratio-tertiary.csv

    What is the median across countries in 2017?

    14.46 (median of the 97 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("pupil-teacher-ratio-tertiary.csv"))

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

    File: pupil-teacher-ratio-tertiary.csv

    Which country rose the most between 2007 and 2017?

    Turkiye: from 27.47 to 47.44, a rise of 19.97 (out of 57 countries with both years).

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

    Use the wide file (pupil-teacher-ratio-tertiary-wide.csv): add a column = [2017] - [2007], 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 = 2007 AND b.year = 2017 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("pupil-teacher-ratio-tertiary.csv"))

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

    File: pupil-teacher-ratio-tertiary.csv

    Which year has the most countries reporting?

    2012, with 103 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("pupil-teacher-ratio-tertiary.csv"))

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

    File: pupil-teacher-ratio-tertiary.csv