Energy intensity level of primary energy (MJ/$2021 PPP GDP)
Real data: World Bank, World Development Indicators, indicator EG.EGY.PRIM.PP.KD, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Energy intensity level of primary energy is the ratio between energy supply and gross domestic product measured at purchasing power parity. Energy intensity is an indication of how much energy is used to produce one unit of economic output. Lower ratio indicates that less energy is used to produce one unit of output.
Limits and exceptions (World Bank note)
Energy intensity level is only an imperfect proxy to energy efficiency indicator and it can be affected by a number of factors not necessarily linked to pure efficiency such as climate.
The numbers in 2021
In 2021, 201 countries have a value. The highest is Trinidad and Tobago (18.72); the lowest is Puerto Rico (US) (0.68). The median country value is 4.01. The World Bank's World aggregate for 2021 is 4.54.
Top 10 countries, 2021
MJ/$2021 PPP GDP
Highest, 2021
| # | Country | Value |
|---|---|---|
| 1 | Trinidad and Tobago | 18.72 |
| 2 | Zimbabwe | 14.77 |
| 3 | Liberia | 14.01 |
| 4 | Palau | 13.27 |
| 5 | Congo, Dem. Rep. | 12.51 |
| 6 | New Caledonia | 12.35 |
| 7 | Iceland | 12.33 |
| 8 | Mozambique | 11.95 |
| 9 | Lesotho | 10.42 |
| 10 | Curacao | 10.39 |
Lowest, 2021
| # | Country | Value |
|---|---|---|
| 1 | Puerto Rico (US) | 0.68 |
| 2 | Macao SAR, China | 0.85 |
| 3 | Ireland | 1.09 |
| 4 | Hong Kong SAR, China | 1.17 |
| 5 | Malta | 1.21 |
| 6 | Cuba | 1.35 |
| 7 | Panama | 1.41 |
| 8 | Bermuda | 1.52 |
| 9 | Switzerland | 1.53 |
| 10 | Sri Lanka | 1.67 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 2000s | 198 |
| 2010s | 201 |
| 2020s | 201 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2021 | 4.54 |
| 2020 | 4.58 |
| 2019 | 4.57 |
| 2018 | 4.63 |
| 2017 | 4.67 |
| 2016 | 4.75 |
| 2015 | 4.86 |
| 2014 | 5.01 |
| 2013 | 5.12 |
| 2012 | 5.21 |
| 2011 | 5.3 |
| 2010 | 5.41 |
By region, 2021
| World Bank region | Value |
|---|---|
| Sub-Saharan Africa | 6.14 |
| Middle East, North Africa, Afghanistan & Pakistan | 5.33 |
| East Asia & Pacific | 5.23 |
| North America | 4.43 |
| South Asia | 3.94 |
| Europe & Central Asia | 3.85 |
| Latin America & Caribbean | 3.35 |
First rows
energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2000 | 1.5 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2001 | 1.5 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2002 | 1.4 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2003 | 1.39 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2004 | 1.21 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2005 | 1.41 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 1.5 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 1.54 |
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 | Energy intensity level of primary energy (MJ/$2021 PPP GDP), 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?
Trinidad and Tobago, with 18.72.
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("energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv"))
y = df[df.year == 2021]
y[y.value == y.value.max()][["country", "value"]]File: energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv
How many countries report a value for 2021?
201 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("energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv"))
(df.year == 2021).sum()File: energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv
What is the median across countries in 2021?
4.01 (median of the 201 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("energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv"))
df[df.year == 2021]["value"].median()File: energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv
Which country rose the most between 2011 and 2021?
Venezuela, RB: from 5.08 to 8.32, a rise of 3.24 (out of 199 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp-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("energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2021] - w[2011]).dropna().nlargest(1)File: energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv
Which year has the most countries reporting?
2021, with 201 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("energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: energy-intensity-level-of-primary-energy-mj-2021-ppp-gdp.csv