DataBrighten

    School enrollment, primary (% gross)

    7,495 × 6rows × columns: 209 countries, 1970 to 2025

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

    textnumberdateyes/no
    Rows7,495country-year values
    Countries209with at least one value
    Years1970 – 202556 years with data
    LicenceCC BY 4.0credit the World Bank

    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

    Source: World Bank, SE.PRM.ENRR, retrieved 19 November 2026. Computed from school-enrollment-primary-percent-gross.csv.

    Highest, 2024

    #CountryValue
    1Sierra Leone162.1
    2Rwanda149.6
    3Malawi139
    4Madagascar132.7
    5Turks and Caicos Islands125.1
    6Nepal124.6
    7Namibia120.7
    8Monaco120.6
    9India120.5
    10Morocco116.6

    Lowest, 2024

    #CountryValue
    1Niger64.65
    2British Virgin Islands72.78
    3Burkina Faso77.17
    4Honduras78.97
    5Curacao79.3
    6Lesotho80.18
    7Syrian Arab Republic81.41
    8Lebanon81.77
    9Solomon Islands81.84
    10Micronesia, Fed. Sts.82.16
    How many countries report, by decade
    DecadeMost countries in one year
    1970s121
    1980s124
    1990s126
    2000s175
    2010s171
    2020s166

    World aggregate by year

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

    YearWorld
    2024102.2
    2023100.7
    2022100.4
    202199.45
    202099.63
    201999.14
    201899.14
    2017101.8
    2016102.1
    2015101
    2014101.6
    2013103

    By region, 2024

    World Bank regionValue
    South Asia119
    Latin America & Caribbean 104.6
    East Asia & Pacific100
    Europe & Central Asia99.94
    Sub-Saharan Africa 97.1
    North America96.78
    Middle East, North Africa, Afghanistan & Pakistan94.63

    First rows

    school-enrollment-primary-percent-gross.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197031.6514205932617
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197132.5397186279297
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197232.9628715515137
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197333.4245185852051
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197433.9628105163574
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197534.8824882507324
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197635.7282295227051
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197736.4627990722656

    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
    valuenumberSchool 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