DataBrighten

    School enrollment, secondary (% gross)

    6,280 × 6rows × columns: 208 countries, 1970 to 2025

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

    textnumberdateyes/no
    Rows6,280country-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. 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 (158.5); the lowest is Niger (19.87). The median country value is 93.19. The World Bank's World aggregate for 2024 is 77.28.

    Top 10 countries, 2024

    % gross

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

    Highest, 2024

    #CountryValue
    1Monaco158.5
    2Finland142.4
    3Sweden132
    4Australia131.9
    5Denmark125.6
    6St. Vincent and the Grenadines124.9
    7Aruba124.4
    8South Sudan122.1
    9Costa Rica121.8
    10Turks and Caicos Islands119.7

    Lowest, 2024

    #CountryValue
    1Niger19.87
    2Chad23.49
    3Burkina Faso29.99
    4Syrian Arab Republic38.74
    5Pakistan48.28
    6Rwanda48.79
    7Guatemala49.58
    8Honduras51.76
    9Lao PDR51.85
    10Zambia56.79
    How many countries report, by decade
    DecadeMost countries in one year
    1970s110
    1980s107
    1990s107
    2000s153
    2010s156
    2020s148

    World aggregate by year

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

    YearWorld
    202477.28
    202377.24
    202277.5
    202177.3
    202076.51
    201975.95
    201875.54
    201774.95
    201675.19
    201574.97
    201474.93
    201374.04

    By region, 2024

    World Bank regionValue
    Europe & Central Asia103.3
    North America98.09
    Latin America & Caribbean 98.02
    East Asia & Pacific92.02
    South Asia76.87
    Middle East, North Africa, Afghanistan & Pakistan65.79
    Sub-Saharan Africa 45.91

    First rows

    school-enrollment-secondary-percent-gross.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19708.36410045623779
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19719.37827014923096
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197210.4142398834228
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197310.9321804046631
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197411.0948801040649
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197511.5955896377563
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197612.4582595825195
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197713.2592697143555

    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 (% 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 158.5.

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

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

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

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

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

    What is the median across countries in 2024?

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

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

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

    Which country rose the most between 2014 and 2024?

    Turks and Caicos Islands: from 72.69 to 119.7, a rise of 47.04 (out of 85 countries with both years).

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

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

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

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

    Which year has the most countries reporting?

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

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

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