Pupil-teacher ratio, tertiary
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.
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
Highest, 2017
| # | Country | Value |
|---|---|---|
| 1 | Turkiye | 47.44 |
| 2 | Greece | 38.75 |
| 3 | Pakistan | 33.06 |
| 4 | Sri Lanka | 30.97 |
| 5 | Mali | 30.82 |
| 6 | Bangladesh | 30.34 |
| 7 | Benin | 29.49 |
| 8 | Morocco | 28.85 |
| 9 | Indonesia | 28.3 |
| 10 | Dominican Republic | 27.43 |
Lowest, 2017
| # | Country | Value |
|---|---|---|
| 1 | Grenada | 1.16 |
| 2 | Andorra | 3.91 |
| 3 | Cuba | 4.59 |
| 4 | Japan | 6.88 |
| 5 | Armenia | 6.94 |
| 6 | Liechtenstein | 7.13 |
| 7 | Austria | 7.18 |
| 8 | Uruguay | 7.24 |
| 9 | Georgia | 7.32 |
| 10 | Germany | 7.59 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1970s | 76 |
| 1980s | 85 |
| 1990s | 97 |
| 2000s | 98 |
| 2010s | 103 |
First rows
pupil-teacher-ratio-tertiary.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1970 | 9.75032 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1972 | 10.09979 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1973 | 9.08782 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1974 | 11.15682 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1979 | 15.86602 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1982 | 11.39907 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1987 | 12.34767 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1990 | 18.13189 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | Pupil-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