DataBrighten

    School enrollment, secondary, male (% gross)

    5,696 × 6rows × columns: 207 countries, 1970 to 2025

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

    textnumberdateyes/no
    Rows5,696country-year values
    Countries207with 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. Secondary education completes the provision of basic education that began at the primary level, and aims at laying the foundations for lifelong learning and human development, by offering more subject- or skill-oriented instruction using more specialized teachers.

    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, 109 countries have a value. The highest is Monaco (157.7); the lowest is Niger (20.18). The median country value is 92.61. The World Bank's World aggregate for 2024 is 77.45.

    Top 10 countries, 2024

    % gross

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

    Highest, 2024

    #CountryValue
    1Monaco157.7
    2Australia134.6
    3Finland134.4
    4South Sudan133.6
    5Turks and Caicos Islands128.1
    6Denmark126.3
    7St. Vincent and the Grenadines123.8
    8Sweden123.4
    9Aruba119.9
    10Costa Rica117.5

    Lowest, 2024

    #CountryValue
    1Niger20.18
    2Burkina Faso26.83
    3Chad27.44
    4Syrian Arab Republic35.8
    5Rwanda44.25
    6Honduras47.53
    7Guatemala48.69
    8Pakistan49.99
    9Lao PDR52.68
    10Zambia54.49
    How many countries report, by decade
    DecadeMost countries in one year
    1970s92
    1980s80
    1990s103
    2000s149
    2010s153
    2020s147

    World aggregate by year

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

    YearWorld
    202477.45
    202377.54
    202277.93
    202178.05
    202077.11
    201976.42
    201876.02
    201775.48
    201675.68
    201575.47
    201475.4
    201374.66

    By region, 2024

    World Bank regionValue
    Europe & Central Asia103.6
    North America98.59
    Latin America & Caribbean 95.24
    East Asia & Pacific91.61
    South Asia75.68
    Middle East, North Africa, Afghanistan & Pakistan67.81
    Sub-Saharan Africa 47.3

    First rows

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

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197014.3338203430176
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197116.2110900878906
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197218.2052097320557
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197318.94162940979
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197419.2751197814941
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197520.1019401550293
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197621.4016799926758
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197722.389310836792

    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, secondary, 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?

    Monaco, with 157.7.

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

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

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

    How many countries report a value for 2024?

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

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

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

    What is the median across countries in 2024?

    92.61 (median of the 109 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-secondary-male-percent-gross.csv"))

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

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

    Which country rose the most between 2014 and 2024?

    Turks and Caicos Islands: from 78.43 to 128.1, a rise of 49.68 (out of 84 countries with both years).

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

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

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

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

    Which year has the most countries reporting?

    2011, with 153 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-secondary-male-percent-gross.csv"))

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

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