Education and literacy by country: literacy, out-of-school, completion, enrolment and spending, 1970-2026 (UNESCO UIS)

UNESCO Institute for Statistics (UIS) core education indicators by country and territory, SDG region, UIS region and World Bank income group, 1970-2026: adult (15+) and youth (15-24) literacy rates; out-of-school rates and numbers for primary, lower secondary and upper secondary school age; completion rates by level (from 1990); gross enrolment ratios for primary, lower secondary, upper secondary and tertiary; all by sex; and government expenditure on education as % of GDP. Tidy long format with UIS indicator codes and UIS's estimate qualifiers (UIS_EST, NAT_EST) and magnitude codes kept. Source: UIS Data API, November 2026 data release (data version 20261125-0771d5ca). Licence CC BY-SA 4.0 (ShareAlike).

Report an issue
Downloads
2
Last updated
Data files
2
Total size
13.2 MB
Format
csv

Data Views

1 view

Out-of-school children, adolescents and youth by school-age level, world (SDG: World), 2000-2025, millions (UIS estimates)

Source · core/education-and-literacy · education

UIS education indicators by country or region, indicator and year

The 49 UIS indicators: names, definitions, topic, level, sex and unit

Selected core education indicators for countries and territories with observations in this extract, from the UNESCO Institute for Statistics (UIS), the UN's official source for education statistics and the custodian agency for most of the SDG 4 education indicators. One tidy table holds adult (15+) and youth (15-24) literacy rates, out-of-school rates and numbers, completion rates, gross enrolment ratios and government spending on education as a share of GDP, by sex where UIS publishes it, for 223 countries and territories with data and 37 regional and income-group aggregates, 1970-2026. UIS indicator codes are kept, and so are UIS's flags saying whether a value is a UIS estimate or a national estimate. From the UIS November 2026 data release.

What stands out

Our sum of UIS’s three rounded world out-of-school estimates is 272.9 million for 2025: 78.6 million of primary school age, 63.6 million of lower secondary age and 130.7 million of upper secondary age. Calculated the same way, the total was 390.7 million in 2000 and reached its minimum within the available 2000–2025 series at 261.4 million in 2017. It increased every year from 2018 through 2025. These are our sums of OFST.1.CP, OFST.2.CP and OFST.3.CP for SDG: World; all three components carry UIS_EST. UIS rounds each component to four significant figures.

Over the same period the world adult literacy rate rose from 81.0% in 2000 to 87.9% in 2025 (women 75.8% to 84.8%, men 86.3% to 91.0%).

Data

data/education.csv: one row per country or aggregate, indicator and year that UIS publishes (220,380 rows). Missing country-years have no row.

  • geo_code: ISO 3166-1 alpha-3 code for countries and territories; for aggregates, UIS's id including its family, e.g. SDG: World, UIS: Arab States, WB: Low income (July 2026).
  • geo_name: UIS's name.
  • geo_type: country (country or territory) or region (an aggregate). Filter to country before ranking; also require a nonblank value when counting countries with observations.
  • region_group: for aggregates, SDG (UN SDG regions, which UIS uses for its headline figures; use SDG: World for the world), UIS (UIS's own regions) or WB (World Bank income groups). The same area can appear in more than one family, and regions with the same name in different families need not cover the same countries.
  • indicator: UIS indicator code (see below and data/indicators.csv).
  • year: reference year, 1970-2026.
  • value: as published by UIS. Values are blank for 3,159 zero-valued NA records. Eight zero-valued LOWREL records are also blanked as an editorial quality exclusion; UIS defines LOWREL as a numeric value of low reliability, not as a missing-value code. Original magnitude codes are retained. All 98 NIL zeros remain numeric zero. The build also blanks SUPP and INCLUDED, neither of which occurs in this release.
  • qualifier: UIS_EST (an estimate produced by UIS), NAT_EST (a national estimate) or empty.
  • magnitude: UIS magnitude code, mostly empty: NIL (nil or negligible: a real 0), NA (not applicable), LOWREL (low reliability), and the other codes UIS defines.
  • quality_flag: dataset-added screening flag, empty except expenditure_gt_30pct_gdp on the two expenditure values above 30% of GDP, kept as published and requiring verification. Empty does not certify validity.

The 49 indicators (each in a both-sexes, female and male version, except spending):

TopicUIS codes (both sexes; add .F or .M)UnitYears
Adult literacy rate, 15+LR.AG15T99%1970-2025
Youth literacy rate, 15-24LR.AG15T24%1970-2025
Out-of-school rate: primary, lower secondary, upper secondary, primary and secondary school ageROFST.1.CP, ROFST.2.CP, ROFST.3.CP, ROFST.1T3.CP (sex goes before .CP, e.g. ROFST.1.F.CP)%1970-2026
Out-of-school children, adolescents and youth: primary, lower secondary, upper secondary school ageOFST.1.CP, OFST.2.CP, OFST.3.CP (e.g. OFST.1.F.CP)number1970-2026
Completion rate: primary, lower secondary, upper secondaryCR.1, CR.2, CR.3%1990-2026
Gross enrolment ratio: primary, lower secondary, upper secondary, tertiaryGER.1, GER.2, GER.3, GER.5T8% (can exceed 100)1970-2026
Government expenditure on educationXGDP.FSGOV% of GDP1970-2026 (countries only)

data/indicators.csv: one row per indicator (49 rows): indicator, UIS's name, topic, level, sex, unit, UIS's glossary definition, and the number of rows and first_year/last_year in education.csv.

Caveats

  • Many values are modelled. 22,513 published values are UIS estimates (UIS_EST), including all world and regional out-of-school numbers, and 38,516 are national estimates (NAT_EST). Literacy rates for many countries come from occasional censuses and surveys, so a country may have only a handful of years.
  • Aggregates are UIS's, computed by UIS with imputation for missing countries; do not recompute them by summing country rows. Where both exist, SDG: World and UIS: World carry identical values, but out-of-school and completion figures exist only for SDG: World, so use that for the world.
  • Out-of-school numbers at world and regional level are rounded by UIS to four significant figures. Sums of them, like the 272.9 million above, inherit that rounding.
  • Gross enrolment ratios count all enrolled pupils regardless of age, so they can exceed 100% where pupils repeat or start late.
  • The source is not always internally consistent, and the values are kept as published. The build lists 96 such cases in archive/consistency-notes.csv: female and male out-of-school counts that exceed or do not add up to the both-sexes count, both-sexes rates outside the female and male rates (mostly where the both-sexes and by-sex series come from different sources), and two shares of GDP above 30% (Micronesia 1972, 66.9%; Zimbabwe 2020, 60.4%) that require verification against the underlying source and are flagged expenditure_gt_30pct_gdp in data/education.csv.
  • UIS revises past years in each release; values here are from data version 20261125-0771d5ca. UIS's per-value source footnotes are not included; they are available from the UIS Data API (footnotes=true).

Source and licence

UNESCO Institute for Statistics (UIS), UIS Data API, https://api.uis.unesco.org/api/public (indicator data endpoint /data/indicators), data version 20261125-0771d5ca (November 2026 data release, published 25 November 2026), extracted 2026-11-29. Documentation: https://api.uis.unesco.org/api/public/documentation/. The API needs no key.

Licence: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0), https://creativecommons.org/licenses/by-sa/4.0/. The UIS Data Browser terms and conditions (https://databrowser.uis.unesco.org/terms-and-conditions) say: "The work of the UIS is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license." ShareAlike: If you share adapted material, license your contributions under CC BY-SA 4.0 or a compatible licence. Give appropriate credit, link to the licence, and identify changes. Credit as UIS asks: "Source: Adapted from UNESCO Institute for Statistics (UIS), https://api.uis.unesco.org/api/public, extracted 2026-11-29." Changes made: a subset of indicators, countries and aggregates; reshaped into one long table; 32-bit float values written as their shortest decimal; not-applicable values and eight zero-valued low-reliability observations blanked, with magnitude codes retained; a quality_flag column added; aggregates flagged. DataHub is not affiliated with or endorsed by UIS.

This is a living dataset, updated annually or more often: UIS publishes data releases a few times a year. A monthly job (.github/workflows/update.yml) asks the UIS Data API for its current default data version, downloads the 49 indicators and rebuilds both CSVs, committing only when the data change; a new data version also opens an issue to update this README and the metadata. Earlier releases remain in the git history. scripts/fetch.mjs saves the API responses into archive/api/ (listed with their hashes in archive/sources.json) and scripts/build.mjs rebuilds both CSVs from them.

API access

Access dataset files directly from scripts, code, or AI agents.

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

  1. Fetch datapackage.json to inspect schema and resources
  2. Download data resources listed in datapackage.json
  3. Read README.md for full context
/core/education-and-literacy/5 files
  • README.mddocumentationhttps://datahub.io/core/education-and-literacy/_r/-/README.md
  • config.jsonhttps://datahub.io/core/education-and-literacy/_r/-/config.json
  • data/education.csvhttps://datahub.io/core/education-and-literacy/_r/-/data/education.csv
  • data/indicators.csvhttps://datahub.io/core/education-and-literacy/_r/-/data/indicators.csv
  • datapackage.jsonmetadata & schemahttps://datahub.io/core/education-and-literacy/_r/-/datapackage.json