Primary education, pupils (% female)
Real data: World Bank, World Development Indicators, indicator SE.PRM.ENRL.FE.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Female pupils as a percentage of total pupils at primary level include enrollments in public and private schools.
Limits and exceptions (World Bank note)
The percentage of female enrollment is limited in assessing gender parity, because it's affected by the gender composition of population. Ratio of female to male in enrollment rate provides a population adjusted measure of gender parity.
The numbers in 2017
In 2017, 157 countries have a value. The highest is Senegal (53.07); the lowest is Afghanistan (39.27). The median country value is 48.6. The World Bank's World aggregate for 2018 is 48.43.
Top 10 countries, 2017
% female
Highest, 2017
| # | Country | Value |
|---|---|---|
| 1 | Senegal | 53.07 |
| 2 | Gambia, The | 51.56 |
| 3 | Mauritania | 50.91 |
| 4 | India | 50.88 |
| 5 | Kiribati | 50.81 |
| 6 | Bangladesh | 50.68 |
| 7 | Malawi | 50.54 |
| 8 | Sierra Leone | 50.48 |
| 9 | Nepal | 50.45 |
| 10 | Tanzania | 50.32 |
Lowest, 2017
| # | Country | Value |
|---|---|---|
| 1 | Afghanistan | 39.27 |
| 2 | Pakistan | 44.54 |
| 3 | Eritrea | 45.18 |
| 4 | Niger | 45.56 |
| 5 | Mali | 46.42 |
| 6 | China | 46.42 |
| 7 | Djibouti | 46.52 |
| 8 | Liechtenstein | 46.53 |
| 9 | Azerbaijan | 46.65 |
| 10 | Armenia | 46.73 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1970s | 143 |
| 1980s | 144 |
| 1990s | 170 |
| 2000s | 176 |
| 2010s | 175 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2018 | 48.43 |
| 2017 | 48.45 |
| 2016 | 48.51 |
| 2015 | 48.29 |
| 2014 | 48.23 |
| 2013 | 48.22 |
| 2012 | 47.78 |
| 2011 | 47.71 |
| 2010 | 47.66 |
| 2009 | 47.61 |
| 2008 | 47.52 |
| 2007 | 47.35 |
By region, 2017
| World Bank region | Value |
|---|---|
| South Asia | 49.76 |
| North America | 48.76 |
| Europe & Central Asia | 48.58 |
| Latin America & Caribbean | 48.5 |
| Sub-Saharan Africa | 48.38 |
| Middle East, North Africa, Afghanistan & Pakistan | 47.98 |
| East Asia & Pacific | 47.17 |
First rows
primary-education-pupils-percent-female.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1970 | 14.08269 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1971 | 13.74349 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1972 | 14.00464 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1973 | 14.54673 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1974 | 14.44661 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1975 | 15.02422 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1976 | 15.42992 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1977 | 16.04606 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | Primary education, pupils (% female), 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 2017?
Senegal, with 53.07.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2017)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2017)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2017
AND value = (SELECT MAX(value) FROM wb WHERE year = 2017);pandas (df = pd.read_csv("primary-education-pupils-percent-female.csv"))
y = df[df.year == 2017]
y[y.value == y.value.max()][["country", "value"]]File: primary-education-pupils-percent-female.csv
How many countries report a value for 2017?
157 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2017)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2017;pandas (df = pd.read_csv("primary-education-pupils-percent-female.csv"))
(df.year == 2017).sum()File: primary-education-pupils-percent-female.csv
What is the median across countries in 2017?
48.6 (median of the 157 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2017))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 = 2017 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2017) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2017));pandas (df = pd.read_csv("primary-education-pupils-percent-female.csv"))
df[df.year == 2017]["value"].median()File: primary-education-pupils-percent-female.csv
Which country rose the most between 2007 and 2017?
Niger: from 41.49 to 45.56, a rise of 4.08 (out of 147 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (primary-education-pupils-percent-female-wide.csv): add a column = [2017] - [2007], 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 = 2007 AND b.year = 2017 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("primary-education-pupils-percent-female.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2017] - w[2007]).dropna().nlargest(1)File: primary-education-pupils-percent-female.csv
Which year has the most countries reporting?
2009, with 176 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("primary-education-pupils-percent-female.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: primary-education-pupils-percent-female.csv