Access to electricity (% of population)
Real data: World Bank, World Development Indicators, indicator EG.ELC.ACCS.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Access to electricity is the percentage of population with access to electricity. Electrification data are collected from industry, national surveys and international sources.
The numbers in 2024
In 2024, 215 countries have a value. At the top, 122 countries tie at 100 (e.g. Albania, Algeria, Andorra); the lowest is South Sudan (5.4). The median country value is 100. The World Bank's World aggregate for 2024 is 91.93.
Highest, 2024
Ties are listed A to Z.
| # | Country | Value |
|---|---|---|
| 1 | Albania | 100 |
| 2 | Algeria | 100 |
| 3 | Andorra | 100 |
| 4 | Antigua and Barbuda | 100 |
| 5 | Armenia | 100 |
| 6 | Aruba | 100 |
| 7 | Australia | 100 |
| 8 | Austria | 100 |
| 9 | Azerbaijan | 100 |
| 10 | Bahamas, The | 100 |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | South Sudan | 5.4 |
| 2 | Chad | 13.4 |
| 3 | Malawi | 15.6 |
| 4 | Central African Republic | 18.2 |
| 5 | Burundi | 20.1 |
| 6 | Niger | 21.3 |
| 7 | Congo, Dem. Rep. | 22.5 |
| 8 | Burkina Faso | 34 |
| 9 | Liberia | 34.9 |
| 10 | Mozambique | 36.9 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1990s | 172 |
| 2000s | 215 |
| 2010s | 215 |
| 2020s | 215 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2024 | 91.93 |
| 2023 | 91.6 |
| 2022 | 91.28 |
| 2021 | 91.34 |
| 2020 | 90.4 |
| 2019 | 90.11 |
| 2018 | 89.8 |
| 2017 | 88.94 |
| 2016 | 88.11 |
| 2015 | 86.93 |
| 2014 | 86.2 |
| 2013 | 85.71 |
By region, 2024
| World Bank region | Value |
|---|---|
| North America | 100 |
| Europe & Central Asia | 100 |
| South Asia | 99.82 |
| East Asia & Pacific | 98.56 |
| Latin America & Caribbean | 98.05 |
| Middle East, North Africa, Afghanistan & Pakistan | 96.77 |
| Sub-Saharan Africa | 55.11 |
First rows
access-to-electricity-percent-of-population.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2000 | 4.4 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2001 | 9.3 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2002 | 14.1 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2003 | 19 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2004 | 23.8 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2005 | 28.7 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 33.5 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 38.4 |
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 | Access to electricity (% of population), 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?
There is a tie: 122 countries share the highest value, 100 (for example Albania, Algeria, Andorra).
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("access-to-electricity-percent-of-population.csv"))
y = df[df.year == 2024]
y[y.value == y.value.max()][["country", "value"]]File: access-to-electricity-percent-of-population.csv
How many countries report a value for 2024?
215 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("access-to-electricity-percent-of-population.csv"))
(df.year == 2024).sum()File: access-to-electricity-percent-of-population.csv
What is the median across countries in 2024?
100 (median of the 215 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("access-to-electricity-percent-of-population.csv"))
df[df.year == 2024]["value"].median()File: access-to-electricity-percent-of-population.csv
Which country rose the most between 2014 and 2024?
Rwanda: from 19.8 to 72, a rise of 52.2 (out of 215 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (access-to-electricity-percent-of-population-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("access-to-electricity-percent-of-population.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2024] - w[2014]).dropna().nlargest(1)File: access-to-electricity-percent-of-population.csv
Which year has the most countries reporting?
2024, with 215 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("access-to-electricity-percent-of-population.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: access-to-electricity-percent-of-population.csv