Electricity production from renewable sources, excluding hydroelectric (% of total)
Real data: World Bank, World Development Indicators, indicator EG.ELC.RNWX.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
The share of electricity production from renewable sources of total electricity production. Electricity production from renewable sources, excluding hydroelectric, includes geothermal, solar, tides, wind, biomass, and biofuels.
Limits and exceptions (World Bank note)
IEA occasionally revises its time series to reflect political changes. For example, the IEA has constructed historical energy statistics for countries of the former Soviet Union. In addition, energy statistics for other countries have undergone continuous changes in coverage or methodology in recent years as more detailed energy accounts have become available. Breaks in series are therefore unavoidable.
The numbers in 2021
In 2021, 208 countries have a value. The highest is Denmark (78.91); the lowest is Equatorial Guinea (-23.77). The median country value is 5.71. The World Bank's World aggregate for 2021 is 12.42.
Top 10 countries, 2021
% of total
Highest, 2021
| # | Country | Value |
|---|---|---|
| 1 | Denmark | 78.91 |
| 2 | El Salvador | 66.86 |
| 3 | Belize | 59.46 |
| 4 | Nicaragua | 55.29 |
| 5 | Uruguay | 51.39 |
| 6 | Kenya | 48.39 |
| 7 | Lithuania | 44.09 |
| 8 | Luxembourg | 40 |
| 9 | Estonia | 39.64 |
| 10 | Portugal | 38.51 |
Lowest, 2021
| # | Country | Value |
|---|---|---|
| 1 | Equatorial Guinea | -23.77 |
| 2 | Nepal | -15.08 |
| 3 | Gabon | -10.94 |
| 4 | Lao PDR | -10 |
| 5 | Congo, Dem. Rep. | -9.18 |
| 6 | Venezuela, RB | -6.83 |
| 7 | Suriname | -6.06 |
| 8 | Sudan | -4.52 |
| 9 | Cameroon | -4.24 |
| 10 | Lebanon | -0.52 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1990s | 136 |
| 2000s | 207 |
| 2010s | 209 |
| 2020s | 208 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2021 | 12.42 |
| 2020 | 11.46 |
| 2019 | 10.02 |
| 2018 | 8.99 |
| 2017 | 8.24 |
| 2016 | 7.36 |
| 2015 | 6.63 |
| 2014 | 5.89 |
| 2013 | 5.21 |
| 2012 | 4.71 |
| 2011 | 3.99 |
| 2010 | 3.45 |
By region, 2021
| World Bank region | Value |
|---|---|
| Europe & Central Asia | 17.16 |
| Latin America & Caribbean | 15.13 |
| North America | 13.22 |
| East Asia & Pacific | 11.97 |
| South Asia | 8.55 |
| Sub-Saharan Africa | 4.29 |
| Middle East, North Africa, Afghanistan & Pakistan | 2.86 |
First rows
electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2000 | 0 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2001 | 0 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2002 | 0 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2003 | 0 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2004 | 0 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2005 | 0 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 0 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 0 |
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 | Electricity production from renewable sources, excluding hydroelectric (% of total), 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 2021?
Denmark, with 78.91.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2021)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2021)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2021
AND value = (SELECT MAX(value) FROM wb WHERE year = 2021);pandas (df = pd.read_csv("electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv"))
y = df[df.year == 2021]
y[y.value == y.value.max()][["country", "value"]]File: electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv
How many countries report a value for 2021?
208 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2021)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2021;pandas (df = pd.read_csv("electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv"))
(df.year == 2021).sum()File: electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv
What is the median across countries in 2021?
5.71 (median of the 208 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2021))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 = 2021 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2021) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2021));pandas (df = pd.read_csv("electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv"))
df[df.year == 2021]["value"].median()File: electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv
Which country rose the most between 2011 and 2021?
Uruguay: from 11.98 to 51.39, a rise of 39.41 (out of 206 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total-wide.csv): add a column = [2021] - [2011], 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 = 2011 AND b.year = 2021 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2021] - w[2011]).dropna().nlargest(1)File: electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv
Which year has the most countries reporting?
2015, with 209 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("electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: electricity-production-from-renewable-sources-excluding-hydroelectric-percent-of-total.csv