DataBrighten

    School enrollment, secondary, private (% of total secondary)

    3,060 × 6rows × columns: 196 countries, 1998 to 2025

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

    textnumberdateyes/no
    Rows3,060country-year values
    Countries196with at least one value
    Years1998 – 202528 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Private enrollment refers to pupils or students enrolled in institutions that are not operated by a public authority but controlled and managed, whether for profit or not, by a private body such as a nongovernmental organization, religious body, special interest group, foundation or business enterprise.

    Limits and exceptions (World Bank note)

    Religious or private schools, which are not registered with the government or don't follow the common national curriculum, may not be captured.

    The numbers in 2023

    In 2023, 115 countries have a value. The highest is Macao SAR, China (96.73); the lowest is Curacao (0). The median country value is 14.79.

    Top 10 countries, 2023

    % of total secondary

    Source: World Bank, SE.SEC.PRIV.ZS, retrieved 19 November 2026. Computed from school-enrollment-secondary-private-percent-of-total-secondary.csv.

    Highest, 2023

    #CountryValue
    1Macao SAR, China96.73
    2Somalia, Fed. Rep.79.19
    3United Kingdom77.45
    4Belize69.14
    5United Arab Emirates68.23
    6Cote d'Ivoire65.42
    7Lebanon62.93
    8Guatemala62.91
    9Chile62.9
    10Belgium58.51

    Lowest, 2023

    #CountryValue
    1Curacao0
    2Grenada0.0244
    3Belarus0.558
    4Montenegro0.806
    5Algeria1.01
    6Russian Federation1.09
    7Ukraine1.61
    8North Macedonia1.75
    9Romania2.07
    10St. Lucia2.12
    How many countries report, by decade
    DecadeMost countries in one year
    1990s98
    2000s118
    2010s140
    2020s127

    First rows

    school-enrollment-secondary-private-percent-of-total-secondary.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20111.27354001998901
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20121.94761002063751
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20141.97749996185303
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20152.72147989273071
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20163.42163991928101
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20173.71601009368896
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20184.45811986923218
    AlbaniaALBEurope & Central AsiaUpper middle income20064.59019994735718

    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, private (% of total secondary), 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 2023?

    Macao SAR, China, with 96.73.

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

    =FILTER(A2:A100000,(E2:E100000=2023)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2023)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2023
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2023);

    pandas (df = pd.read_csv("school-enrollment-secondary-private-percent-of-total-secondary.csv"))

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

    File: school-enrollment-secondary-private-percent-of-total-secondary.csv

    How many countries report a value for 2023?

    115 of the 217 economies in the file's country list.

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

    =COUNTIF(E2:E100000,2023)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2023;

    pandas (df = pd.read_csv("school-enrollment-secondary-private-percent-of-total-secondary.csv"))

    (df.year == 2023).sum()

    File: school-enrollment-secondary-private-percent-of-total-secondary.csv

    What is the median across countries in 2023?

    14.79 (median of the 115 country values; not a World Bank aggregate).

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

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2023))

    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 = 2023 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2023) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2023));

    pandas (df = pd.read_csv("school-enrollment-secondary-private-percent-of-total-secondary.csv"))

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

    File: school-enrollment-secondary-private-percent-of-total-secondary.csv

    Which country rose the most between 2013 and 2023?

    Suriname: from 0.839 to 16.46, a rise of 15.62 (out of 91 countries with both years).

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

    Use the wide file (school-enrollment-secondary-private-percent-of-total-secondary-wide.csv): add a column = [2023] - [2013], 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 = 2013 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("school-enrollment-secondary-private-percent-of-total-secondary.csv"))

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

    File: school-enrollment-secondary-private-percent-of-total-secondary.csv

    Which year has the most countries reporting?

    2015, with 140 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-private-percent-of-total-secondary.csv"))

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

    File: school-enrollment-secondary-private-percent-of-total-secondary.csv