DataBrighten

    School enrollment, preprimary, male (% gross)

    5,367 × 6rows × columns: 203 countries, 1970 to 2022

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

    textnumberdateyes/no
    Rows5,367country-year values
    Countries203with at least one value
    Years1970 – 202253 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. Preprimary education refers to programs at the initial stage of organized instruction, designed primarily to introduce very young children to a school-type environment and to provide a bridge between home and school.

    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 2020

    In 2020, 140 countries have a value. The highest is Australia (163.3); the lowest is Micronesia, Fed. Sts. (6.04). The median country value is 78.68. The World Bank's World aggregate for 2020 is 61.3.

    Top 10 countries, 2020

    % gross

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

    Highest, 2020

    #CountryValue
    1Australia163.3
    2Grenada133.7
    3British Virgin Islands128.1
    4Liberia123.2
    5Ghana115.1
    6Czechia115
    7St. Vincent and the Grenadines114.5
    8Malta112.5
    9Gibraltar112.4
    10Israel112

    Lowest, 2020

    #CountryValue
    1Micronesia, Fed. Sts.6.04
    2Burkina Faso6.35
    3Congo, Dem. Rep.6.61
    4Niger7.23
    5Mali7.41
    6Cote d'Ivoire10.28
    7Djibouti11.34
    8Senegal15.93
    9Burundi16.24
    10South Africa17.4
    How many countries report, by decade
    DecadeMost countries in one year
    1970s72
    1980s89
    1990s131
    2000s130
    2010s162
    2020s140

    World aggregate by year

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

    YearWorld
    202061.3
    201961.09
    201860.29
    201759.45
    201657.82
    201556.18
    201454.12
    201354
    201252.15
    201149.15
    201046.43
    200944.51

    By region, 2020

    World Bank regionValue
    East Asia & Pacific83.64
    Europe & Central Asia78.78
    Latin America & Caribbean 75.03
    North America70.18
    South Asia62.42
    Middle East, North Africa, Afghanistan & Pakistan33.9
    Sub-Saharan Africa 28.22

    First rows

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

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19700.315230011940002
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19750.4966000020504
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19771.01637995243073
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19801.16465997695923
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19811.31887996196747
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19821.25843000411987
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19843.46850991249084
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19854.77229022979736

    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, preprimary, 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 2020?

    Australia, with 163.3.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("school-enrollment-preprimary-male-percent-gross.csv"))

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

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

    How many countries report a value for 2020?

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

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

    =COUNTIF(E2:E100000,2020)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("school-enrollment-preprimary-male-percent-gross.csv"))

    (df.year == 2020).sum()

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

    What is the median across countries in 2020?

    78.68 (median of the 140 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("school-enrollment-preprimary-male-percent-gross.csv"))

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

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

    Which country rose the most between 2010 and 2020?

    Australia: from 79.41 to 163.3, a rise of 83.93 (out of 99 countries with both years).

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

    Use the wide file (school-enrollment-preprimary-male-percent-gross-wide.csv): add a column = [2020] - [2010], 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 = 2010 AND b.year = 2020 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("school-enrollment-preprimary-male-percent-gross.csv"))

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

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

    Which year has the most countries reporting?

    2014, with 162 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-preprimary-male-percent-gross.csv"))

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

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