DataBrighten

    School enrollment, primary, male (% gross)

    7,089 × 6rows × columns: 208 countries, 1970 to 2025

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

    textnumberdateyes/no
    Rows7,089country-year values
    Countries208with 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 (157.9); the lowest is Niger (65.98). The median country value is 98.95. The World Bank's World aggregate for 2024 is 102.8.

    Top 10 countries, 2024

    % gross

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

    Highest, 2024

    #CountryValue
    1Sierra Leone157.9
    2Rwanda152.5
    3Malawi137.3
    4Madagascar129.9
    5Turks and Caicos Islands126.1
    6Nepal124.7
    7Namibia123.6
    8Monaco122.3
    9India121.1
    10Cameroon119.2

    Lowest, 2024

    #CountryValue
    1Niger65.98
    2British Virgin Islands72.03
    3Senegal75.52
    4Burkina Faso76.06
    5Curacao77.46
    6Honduras78.48
    7Syrian Arab Republic81.31
    8Lesotho81.75
    9Micronesia, Fed. Sts.81.78
    10Lebanon82.12
    How many countries report, by decade
    DecadeMost countries in one year
    1970s107
    1980s108
    1990s124
    2000s173
    2010s171
    2020s165

    World aggregate by year

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

    YearWorld
    2024102.8
    2023101.5
    2022101.2
    2021100.2
    2020100.5
    2019100
    2018100.2
    2017101.7
    2016101.9
    2015101.2
    2014101.9
    2013103.3

    By region, 2024

    World Bank regionValue
    South Asia118.8
    Latin America & Caribbean 104.6
    Europe & Central Asia100
    East Asia & Pacific100
    Sub-Saharan Africa 98.21
    North America97.35
    Middle East, North Africa, Afghanistan & Pakistan97.16

    First rows

    school-enrollment-primary-male-percent-gross.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197053.6909294128418
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197155.4016304016113
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197255.9390106201172
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197356.3519287109375
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197457.3139305114746
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197558.4549217224121
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197659.5716400146484
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197760.3377494812012

    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, male (% 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 157.9.

    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-male-percent-gross.csv"))

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

    File: school-enrollment-primary-male-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-male-percent-gross.csv"))

    (df.year == 2024).sum()

    File: school-enrollment-primary-male-percent-gross.csv

    What is the median across countries in 2024?

    98.95 (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-male-percent-gross.csv"))

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

    File: school-enrollment-primary-male-percent-gross.csv

    Which country rose the most between 2014 and 2024?

    Turks and Caicos Islands: from 103.3 to 126.1, a rise of 22.82 (out of 118 countries with both years).

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

    Use the wide file (school-enrollment-primary-male-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-male-percent-gross.csv"))

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

    File: school-enrollment-primary-male-percent-gross.csv

    Which year has the most countries reporting?

    2005, with 173 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-male-percent-gross.csv"))

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

    File: school-enrollment-primary-male-percent-gross.csv