School enrollment, primary (% gross)
Real data: World Bank, World Development Indicators, indicator SE.PRM.ENRR, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Gross enrollment ratio is the ratio of total enrollment, regardless of age, to the population of the age group that officially corresponds to the level of education shown. Primary education provides children with basic reading, writing, and mathematics skills along with an elementary understanding of such subjects as history, geography, natural science, social science, art, and music.
Limits and exceptions (World Bank note)
Enrollment indicators are based on annual school surveys, but do not necessarily reflect actual attendance or dropout rates during the year. Also, the length of education differs across countries and can influence enrollment rates, although the International Standard Classification of Education (ISCED) tries to minimize the difference. For example, a shorter duration for primary education tends to increase the rate; a longer one to decrease it (in part because older children are more at risk of dropping out). Moreover, age at enrollment may be inaccurately estimated or misstated, especially in communities where registration of births is not strictly enforced.
The numbers in 2024
In 2024, 134 countries have a value. The highest is Sierra Leone (162.1); the lowest is Niger (64.65). The median country value is 99.43. The World Bank's World aggregate for 2024 is 102.2.
Top 10 countries, 2024
% gross
Highest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Sierra Leone | 162.1 |
| 2 | Rwanda | 149.6 |
| 3 | Malawi | 139 |
| 4 | Madagascar | 132.7 |
| 5 | Turks and Caicos Islands | 125.1 |
| 6 | Nepal | 124.6 |
| 7 | Namibia | 120.7 |
| 8 | Monaco | 120.6 |
| 9 | India | 120.5 |
| 10 | Morocco | 116.6 |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Niger | 64.65 |
| 2 | British Virgin Islands | 72.78 |
| 3 | Burkina Faso | 77.17 |
| 4 | Honduras | 78.97 |
| 5 | Curacao | 79.3 |
| 6 | Lesotho | 80.18 |
| 7 | Syrian Arab Republic | 81.41 |
| 8 | Lebanon | 81.77 |
| 9 | Solomon Islands | 81.84 |
| 10 | Micronesia, Fed. Sts. | 82.16 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1970s | 121 |
| 1980s | 124 |
| 1990s | 126 |
| 2000s | 175 |
| 2010s | 171 |
| 2020s | 166 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2024 | 102.2 |
| 2023 | 100.7 |
| 2022 | 100.4 |
| 2021 | 99.45 |
| 2020 | 99.63 |
| 2019 | 99.14 |
| 2018 | 99.14 |
| 2017 | 101.8 |
| 2016 | 102.1 |
| 2015 | 101 |
| 2014 | 101.6 |
| 2013 | 103 |
By region, 2024
| World Bank region | Value |
|---|---|
| South Asia | 119 |
| Latin America & Caribbean | 104.6 |
| East Asia & Pacific | 100 |
| Europe & Central Asia | 99.94 |
| Sub-Saharan Africa | 97.1 |
| North America | 96.78 |
| Middle East, North Africa, Afghanistan & Pakistan | 94.63 |
First rows
school-enrollment-primary-percent-gross.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1970 | 31.6514205932617 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1971 | 32.5397186279297 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1972 | 32.9628715515137 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1973 | 33.4245185852051 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1974 | 33.9628105163574 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1975 | 34.8824882507324 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1976 | 35.7282295227051 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1977 | 36.4627990722656 |
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 | School enrollment, primary (% gross), 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 2024?
Sierra Leone, with 162.1.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2024)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2024)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2024
AND value = (SELECT MAX(value) FROM wb WHERE year = 2024);pandas (df = pd.read_csv("school-enrollment-primary-percent-gross.csv"))
y = df[df.year == 2024]
y[y.value == y.value.max()][["country", "value"]]File: school-enrollment-primary-percent-gross.csv
How many countries report a value for 2024?
134 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2024)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2024;pandas (df = pd.read_csv("school-enrollment-primary-percent-gross.csv"))
(df.year == 2024).sum()File: school-enrollment-primary-percent-gross.csv
What is the median across countries in 2024?
99.43 (median of the 134 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2024))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 = 2024 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2024) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2024));pandas (df = pd.read_csv("school-enrollment-primary-percent-gross.csv"))
df[df.year == 2024]["value"].median()File: school-enrollment-primary-percent-gross.csv
Which country rose the most between 2014 and 2024?
Turks and Caicos Islands: from 97.28 to 125.1, a rise of 27.78 (out of 118 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (school-enrollment-primary-percent-gross-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("school-enrollment-primary-percent-gross.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2024] - w[2014]).dropna().nlargest(1)File: school-enrollment-primary-percent-gross.csv
Which year has the most countries reporting?
2005, with 175 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("school-enrollment-primary-percent-gross.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: school-enrollment-primary-percent-gross.csv