Life expectancy at birth, total (years)
Real data: World Bank, World Development Indicators, indicator SP.DYN.LE00.IN, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Life expectancy at birth indicates the number of years a newborn infant would live if prevailing patterns of mortality at the time of its birth were to stay the same throughout its life.
Limits and exceptions (World Bank note)
Annual data series from United Nations Population Division's World Population Prospects are interpolated data from 5-year period data. Therefore they may not reflect real events as much as observed data.
The numbers in 2024
In 2024, 217 countries have a value. The highest is Monaco (86.5); the lowest is Nigeria (54.63). The median country value is 74.71. The World Bank's World aggregate for 2024 is 73.48.
Top 10 countries, 2024
years
Highest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Monaco | 86.5 |
| 2 | San Marino | 85.82 |
| 3 | Hong Kong SAR, China | 85.39 |
| 4 | Kuwait | 84.58 |
| 5 | Switzerland | 84.41 |
| 6 | Liechtenstein | 84.2 |
| 7 | French Polynesia | 84.19 |
| 8 | Andorra | 84.19 |
| 9 | Sweden | 84.06 |
| 10 | Japan | 84.04 |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Nigeria | 54.63 |
| 2 | Chad | 55.24 |
| 3 | Central African Republic | 57.67 |
| 4 | South Sudan | 57.74 |
| 5 | Lesotho | 57.8 |
| 6 | Somalia, Fed. Rep. | 58.97 |
| 7 | Mali | 60.67 |
| 8 | Guinea | 60.9 |
| 9 | Benin | 60.96 |
| 10 | Burkina Faso | 61.29 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1960s | 216 |
| 1970s | 216 |
| 1980s | 216 |
| 1990s | 217 |
| 2000s | 217 |
| 2010s | 217 |
| 2020s | 217 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2024 | 73.48 |
| 2023 | 73.33 |
| 2022 | 72.97 |
| 2021 | 71.22 |
| 2020 | 72.18 |
| 2019 | 72.87 |
| 2018 | 72.64 |
| 2017 | 72.37 |
| 2016 | 72.19 |
| 2015 | 71.97 |
| 2014 | 71.78 |
| 2013 | 71.53 |
By region, 2024
| World Bank region | Value |
|---|---|
| North America | 79.24 |
| Europe & Central Asia | 78.6 |
| East Asia & Pacific | 76.74 |
| Latin America & Caribbean | 75.82 |
| South Asia | 72.56 |
| Middle East, North Africa, Afghanistan & Pakistan | 72.32 |
| Sub-Saharan Africa | 62.8 |
First rows
life-expectancy-at-birth-total-years.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1960 | 32.799 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1961 | 33.291 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1962 | 33.757 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1963 | 34.201 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1964 | 34.673 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1965 | 35.124 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1966 | 35.583 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1967 | 36.042 |
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 | Life expectancy at birth, total (years), 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 2024?
Monaco, with 86.5.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2024)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2024)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2024
AND value = (SELECT MAX(value) FROM wb WHERE year = 2024);pandas (df = pd.read_csv("life-expectancy-at-birth-total-years.csv"))
y = df[df.year == 2024]
y[y.value == y.value.max()][["country", "value"]]File: life-expectancy-at-birth-total-years.csv
How many countries report a value for 2024?
217 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2024)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2024;pandas (df = pd.read_csv("life-expectancy-at-birth-total-years.csv"))
(df.year == 2024).sum()File: life-expectancy-at-birth-total-years.csv
What is the median across countries in 2024?
74.71 (median of the 217 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2024))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 = 2024 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2024) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2024));pandas (df = pd.read_csv("life-expectancy-at-birth-total-years.csv"))
df[df.year == 2024]["value"].median()File: life-expectancy-at-birth-total-years.csv
Which country rose the most between 2014 and 2024?
Central African Republic: from 40.27 to 57.67, a rise of 17.41 (out of 217 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (life-expectancy-at-birth-total-years-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("life-expectancy-at-birth-total-years.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2024] - w[2014]).dropna().nlargest(1)File: life-expectancy-at-birth-total-years.csv
Which year has the most countries reporting?
2024, with 217 countries.
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("life-expectancy-at-birth-total-years.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: life-expectancy-at-birth-total-years.csv