What you should know about this indicator

  • This indicator shows the average number of years that adults in a country have spent in formal education. It reflects what people have already completed — someone who finished high school counts as roughly 12 years, while someone who never attended school counts as 0.
  • The data captures how much schooling adults have accumulated over their lifetimes, showing the results of past investments in education systems. Higher values indicate a population with stronger educational foundations, though the measure does not account for education quality or informal learning.
  • This indicator combines two sources. From 1990 onward, it uses the UNDP Human Development Report, which draws on censuses and surveys of adults aged 25 and older — originally compiled from Barro and Lee, Eurostat, Demographic and Health Surveys, UNESCO, and UNICEF. For earlier years, it uses historical estimates from Lee & Lee (2016), which go back as far as 1870.
  • The two sources cover slightly different age groups. UNDP measures adults aged 25 and older, while Lee & Lee covers the 15–64 range. This means the UNDP figure includes older, less-educated cohorts that Lee & Lee excludes, which can make the UNDP values slightly lower. In practice, the splice is clean — the median gap at the crossover is 0.8 years across 115 countries.
  • The data may not reflect recent progress in countries with infrequent surveys or outdated census information.
Average years of schooling
UNDP
Average number of years of schooling received by adults, combining UNDP and Lee & Lee historical estimates.
Source
Lee and Lee (2016); UNDP, Human Development Report (2025)with minor processing by Our World in Data
Last updated
May 7, 2025
Next expected update
July 2026
Date range
1870–2023
Unit
years

Sources and processing

Lee and Lee – Human Capital in the Long Run

Datasets on estimated school enrollment ratios from 1820 to 2010 and estimated educational attainment for the total, female, and male populations from 1870 to 2010. The estimates are available in five-year intervals for 111 countries.

Datasets were last updated in 2021 September. The research provides insightful analysis on the progression and trends of educational attainment over a long historical period, offering a comprehensive understanding of educational developments globally.

Retrieved on
November 20, 2023
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
Lee, Jong-Wha and Hanol Lee, 2016, “Human Capital in the Long Run,” Journal of Development Economics, vol. 122, pp. 147-169.

Datasets on estimated school enrollment ratios from 1820 to 2010 and estimated educational attainment for the total, female, and male populations from 1870 to 2010. The estimates are available in five-year intervals for 111 countries.

Datasets were last updated in 2021 September. The research provides insightful analysis on the progression and trends of educational attainment over a long historical period, offering a comprehensive understanding of educational developments globally.

Retrieved on
November 20, 2023
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
Lee, Jong-Wha and Hanol Lee, 2016, “Human Capital in the Long Run,” Journal of Development Economics, vol. 122, pp. 147-169.

UNDP, Human Development Report – Human Development Report

Artificial intelligence (AI) has broken into a dizzying gallop. While AI feats grab headlines, they privilege technology in a make-believe vacuum, obscuring what really matters: people's choices.

The choices that people have and can realize, within ever expanding freedoms, are essential to human development, whose goal is for people to live lives they value and have reason to value. A world with AI is flush with choices the exercise of which is both a matter of human development and a means to advance it.

Going forward, development depends less on what AI can do—not on how human-like it is perceived to be—and more on mobilizing people's imaginations to reshape economies and societies to make the most of it. Instead of trying vainly to predict what will happen, the 2025's Human Development Report asks what choices can be made so that new development pathways for all countries dot the horizon, helping everyone have a shot at thriving in a world with AI.

For more details, refer to https://hdr.undp.org/data-center/documentation-and-downloads

Retrieved on
May 7, 2025
Retrieved from
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
UNDP (United Nations Development Programme). 2025. Human Development Report 2025: A matter of choice: People and possibilities in the age of AI. New York.

Artificial intelligence (AI) has broken into a dizzying gallop. While AI feats grab headlines, they privilege technology in a make-believe vacuum, obscuring what really matters: people's choices.

The choices that people have and can realize, within ever expanding freedoms, are essential to human development, whose goal is for people to live lives they value and have reason to value. A world with AI is flush with choices the exercise of which is both a matter of human development and a means to advance it.

Going forward, development depends less on what AI can do—not on how human-like it is perceived to be—and more on mobilizing people's imaginations to reshape economies and societies to make the most of it. Instead of trying vainly to predict what will happen, the 2025's Human Development Report asks what choices can be made so that new development pathways for all countries dot the horizon, helping everyone have a shot at thriving in a world with AI.

For more details, refer to https://hdr.undp.org/data-center/documentation-and-downloads

Retrieved on
May 7, 2025
Retrieved from
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
UNDP (United Nations Development Programme). 2025. Human Development Report 2025: A matter of choice: People and possibilities in the age of AI. New York.

All data and visualizations on Our World in Data rely on data sourced from one or several original data providers. Preparing this original data involves several processing steps. Depending on the data, this can include standardizing country names and world region definitions, converting units, calculating derived indicators such as per capita measures, as well as adding or adapting metadata such as the name or the description given to an indicator.

At the link below you can find a detailed description of the structure of our data pipeline, including links to all the code used to prepare data across Our World in Data.

Read about our data pipeline
Notes on our processing step for this indicator

For each country, we use UNDP data from its earliest available year (typically 1990) onward. For years before that, we use Lee & Lee (2016) historical estimates.

How to cite this page

To cite this page overall, including any descriptions, FAQs or explanations of the data authored by Our World in Data, please use the following citation:

“Data Page: Average years of schooling”, part of the following publication: Hannah Ritchie, Veronika Samborska, Esteban Ortiz-Ospina, and Max Roser (2023) - “Global Education”. Data adapted from Lee and Lee, UNDP, Human Development Report. Retrieved from https://oecd-education-attainment-di.owid.pages.dev:8789/20260518-093348/grapher/mean-years-of-schooling-long-run.html [online resource] (archived on May 18, 2026).

How to cite this data

In-line citationIf you have limited space (e.g. in data visualizations), you can use this abbreviated in-line citation:

Lee and Lee (2016); UNDP, Human Development Report (2025) – with minor processing by Our World in Data

Full citation

Lee and Lee (2016); UNDP, Human Development Report (2025) – with minor processing by Our World in Data. “Average years of schooling – UNDP” [dataset]. Lee and Lee, “Human Capital in the Long Run”; UNDP, Human Development Report, “Human Development Report” [original data]. Retrieved June 26, 2026 from https://oecd-education-attainment-di.owid.pages.dev:8789/20260518-093348/grapher/mean-years-of-schooling-long-run.html (archived on May 18, 2026).

Quick download

Download the data shown in this chart as a ZIP file containing a CSV file, metadata in JSON format, and a README. The CSV file can be opened in Excel, Google Sheets, and other data analysis tools.

Data API

Use these URLs to programmatically access this chart's data and configure your requests with the options below. Our documentation provides more information on how to use the API, and you can find a few code examples below.

Data URL (CSV format)
https://oecd-education-attainment-di.owid.pages.dev/grapher/mean-years-of-schooling-long-run.csv?v=1&csvType=full&useColumnShortNames=false
Metadata URL (JSON format)
https://oecd-education-attainment-di.owid.pages.dev/grapher/mean-years-of-schooling-long-run.metadata.json?v=1&csvType=full&useColumnShortNames=false

Code examples

Examples of how to load this data into different data analysis tools.

Excel / Google Sheets
=IMPORTDATA("https://oecd-education-attainment-di.owid.pages.dev/grapher/mean-years-of-schooling-long-run.csv?v=1&csvType=full&useColumnShortNames=false")
Python with Pandas
import pandas as pd
import requests

# Fetch the data.
df = pd.read_csv("https://oecd-education-attainment-di.owid.pages.dev/grapher/mean-years-of-schooling-long-run.csv?v=1&csvType=full&useColumnShortNames=false", storage_options = {'User-Agent': 'Our World In Data data fetch/1.0'})

# Fetch the metadata
metadata = requests.get("https://oecd-education-attainment-di.owid.pages.dev/grapher/mean-years-of-schooling-long-run.metadata.json?v=1&csvType=full&useColumnShortNames=false").json()
R
library(jsonlite)

# Fetch the data
df <- read.csv("https://oecd-education-attainment-di.owid.pages.dev/grapher/mean-years-of-schooling-long-run.csv?v=1&csvType=full&useColumnShortNames=false")

# Fetch the metadata
metadata <- fromJSON("https://oecd-education-attainment-di.owid.pages.dev/grapher/mean-years-of-schooling-long-run.metadata.json?v=1&csvType=full&useColumnShortNames=false")
Stata
import delimited "https://oecd-education-attainment-di.owid.pages.dev/grapher/mean-years-of-schooling-long-run.csv?v=1&csvType=full&useColumnShortNames=false", encoding("utf-8") clear