Countries by net electricity generation

China had the highest net electricity generation of 210 countries in 2017, at 6,655.6 TWh. Western Sahara had the lowest, at 0 TWh. The median was 9.5 TWh. Source: the U.S. Energy Information Administration.

Highest6,655.6China
Median9.5210 countries

Top 40 countries, 2017

China: 6,655.6 TWhChina6,655.6United States: 4,059.4 TWhUnited States4,059.4India: 1,433.5 TWhIndia1,433.5Russia: 1,071.9 TWhRussia1,071.9Japan: 1,063.2 TWhJapan1,063.2Canada: 648.8 TWhCanada648.8Germany: 631.4 TWhGermany631.4Brazil: 594.7 TWhBrazil594.7South Korea: 552.7 TWhSouth Korea552.7France: 535.8 TWhFrance535.8Saudi Arabia: 379.4 TWhSaudi Arabia379.4United Kingdom: 327.6 TWhUnited Kingdom327.6Mexico: 322.5 TWhMexico322.5Iran: 306.7 TWhIran306.7Türkiye: 294.8 TWhTürkiye294.8Italy: 291.4 TWhItaly291.4Spain: 267.4 TWhSpain267.4Taiwan: 266.1 TWhTaiwan266.1Indonesia: 261.5 TWhIndonesia261.5Australia: 259.1 TWhAustralia259.1South Africa: 250 TWhSouth Africa250Egypt: 196.8 TWhEgypt196.8Vietnam: 196 TWhVietnam196Thailand: 182 TWhThailand182Poland: 169.3 TWhPoland169.3Malaysia: 164.4 TWhMalaysia164.4Sweden: 161.7 TWhSweden161.7Ukraine: 152.2 TWhUkraine152.2Norway: 147.4 TWhNorway147.4Argentina: 145.4 TWhArgentina145.4United Arab Emirates: 134.6 TWhUnited Arab Emirates134.6Pakistan: 130.4 TWhPakistan130.4Netherlands: 115.5 TWhNetherlands115.5Venezuela: 103.8 TWhVenezuela103.8Kazakhstan: 103.1 TWhKazakhstan103.1Philippines: 94.4 TWhPhilippines94.4Iraq: 93.6 TWhIraq93.6Belgium: 84.6 TWhBelgium84.6Czechia: 81.7 TWhCzechia81.7Chile: 78.9 TWhChile78.9
TWh. Source: EIA, International Energy Statistics: electricity net generation, billion kilowatt hours (series INTL.2-12-BKWH.A) via Data Commons. Retrieved 2026-10-11.

Full ranking

RankCountries2017
TWh
Change on 2016
1China6,655.6+8.3%
2United States4,059.4-0.9%
3India1,433.5+3.7%
4Russia1,071.9+0.3%
5Japan1,063.20%
6Canada648.8-1.1%
7Germany631.4+0.7%
8Brazil594.7+1.9%
9South Korea552.7+0.7%
10France535.8-0.4%
11Saudi Arabia379.4+2.8%
12United Kingdom327.6-0.3%
13Mexico322.5+0.8%
14Iran306.7+6.4%
15Türkiye294.8+8.3%
16Italy291.4+2.2%
17Spain267.4+0.9%
18Taiwan266.1+2.2%
19Indonesia261.5+13.4%
20Australia259.1+0.3%
21South Africa250+0.8%
22Egypt196.8+3.8%
23Vietnam196+8.6%
24Thailand182-3.3%
25Poland169.3+2.3%
26Malaysia164.4+4.8%
27Sweden161.7+5.4%
28Ukraine152.2-5.6%
29Norway147.4+0.1%
30Argentina145.4-0.9%
31United Arab Emirates134.6+3.8%
32Pakistan130.4+6.1%
33Netherlands115.5+1.7%
34Venezuela103.8-11.2%
35Kazakhstan103.1+9%
36Philippines94.4+3.9%
37Iraq93.6+14.2%
38Belgium84.6+1.2%
39Czechia81.7+4.3%
40Chile78.9+0.2%
41Colombia78.5+3%
42Algeria76.1+7.1%
43Bangladesh73.5+6.3%
44Kuwait68.9-1.7%
45Israel67.4+0.6%
46Finland66.1-1.9%
47Austria65.5+3.2%
48Romania62.9-1%
49Uzbekistan60.8+3.6%
50Paraguay59.8-6.4%
51Portugal56.9-2.7%
52Switzerland55.4-2.2%
53Greece53.1+1.2%
54Peru52.7+2.1%
55Singapore52.4+1.4%
56Qatar45.7+7.7%
57Bulgaria43.8+1%
58New Zealand43.7+1.2%
59Hong Kong36.9-3.1%
60Oman36.1+5.6%
61Serbia36.1-5.8%
62Belarus34.5+2.8%
63Libya33.3+5.9%
64Nigeria32.2-11.8%
65Morocco31.8+3.4%
66Hungary31.7+3.9%
67Laos31.1+21.8%
68Ireland30.5+1.7%
69Denmark30.5+2.3%
70Bahrain29.2+2.5%
71Ecuador27.8+2.5%
72Slovakia26.1+2.3%
73Azerbaijan24.2-2.5%
74Turkmenistan23.9+6%
75North Korea23.4-1.6%
76Lebanon21.2+9.5%
77Myanmar21+16.1%
78Jordan20.8+5.6%
79Tunisia20.6+4.9%
80Cuba20.6+0.1%
81Dominican Republic19.2+2.2%
82Iceland19.1+5%
83Syria18.4+1.5%
84Tajikistan18.1+5.1%
85Mozambique17.6-6.5%
86Bosnia and Herzegovina16.4-7.6%
87Puerto Rico16.4-20.7%
88Sudan15.7+7.7%
89Slovenia15.6-1.2%
90Kyrgyzstan15.4+16.9%
91Sri Lanka14.9+3.7%
92Zambia14.6+23.6%
93Uruguay14.4+3.4%
94Ghana13.3+1%
95Estonia13.2+8.1%
96Ethiopia13.1+5.3%
97Guatemala12.3+4%
98Georgia11.4-0.4%
99Croatia11.4-6.1%
100Costa Rica11.3+3.9%
101Panama11+1.4%
102Kenya10.8+12%
103Angola10.8-1.5%
104Côte d’Ivoire10.1-1.3%
105Bolivia9.6+3.3%
106Democratic Republic of the Congo9.4+4.2%
107Honduras9.4+0.9%
108Trinidad and Tobago9.3-1%
109Cameroon8+13%
110Bhutan7.7-2.9%
111Zimbabwe7.6+5.3%
112Armenia7.5+6%
113Tanzania7.1+3.8%
114Cambodia6.8+19.4%
115Latvia6.6+17.5%
116Mongolia6+6.3%
117North Macedonia5.6-0.4%
118El Salvador5.6-8.9%
119Cyprus5+2.4%
120Moldova5-15.2%
121Senegal4.7-1%
122Nepal4.6+9.4%
123Albania4.5-41.9%
124Nicaragua4.5-1.4%
125Jamaica4.4-2.3%
126Papua New Guinea4.3-8.8%
127Brunei4.2-2.6%
128Yemen4.1-15.6%
129Uganda3.8+0.1%
130Mali3.4+14.2%
131New Caledonia3.2+3.2%
132Lithuania3.1-2.3%
133Mauritius3.1+2.5%
134Botswana3+12.4%
135Republic of the Congo3+0.4%
136Montenegro2.5-21%
137Gabon2.2+1.9%
138Bahamas2+1.1%
139Madagascar2+4.4%
140Malawi1.9-10.9%
141Suriname1.8-0.8%
142Guinea1.8+9.7%
143Namibia1.8+19.8%
144Guam1.8+2%
145Malta1.6+87.7%
146Macao1.5+48.4%
147Mauritania1.4+16.6%
148Equatorial Guinea1.3-4.6%
149Afghanistan1.3+4.1%
150Guyana1.1+1.9%
151Burkina Faso1.1+12.8%
152Haiti1.1-2.7%
153Barbados1-1.8%
154Fiji1+7.4%
155Aruba1+2.8%
156Togo0.8-14.9%
157Maldives0.7+8%
158French Polynesia0.7-1.4%
159Cayman Islands0.7+1.7%
160Bermuda0.7+1.4%
161Rwanda0.6-2.6%
162U.S. Virgin Islands0.6-23.3%
163Niger0.6-19.1%
164Palestine0.5+1.7%
165Lesotho0.5+3.2%
166Seychelles0.5+3.5%
167Greenland0.5+5.6%
168Eswatini0.4+22.3%
169Timor-Leste0.4+3.5%
170Cape Verde0.4-4.2%
171Belize0.4+3.6%
172Saint Lucia0.4+2.3%
173Luxembourg0.4+58.9%
174Somalia0.4+1.4%
175Liberia0.4+17.3%
176Antigua and Barbuda0.4+0.3%
177Eritrea0.3+20.9%
178Faroe Islands0.3+5.5%
179Benin0.3+19.7%
180Chad0.3+1.6%
181Gambia0.3+5%
182Turks and Caicos Islands0.3+19.6%
183Burundi0.3+53%
184Grenada0.2+4%
185Sierra Leone0.2+8.6%
186Saint Kitts and Nevis0.2+0.5%
187Gibraltar0.2-0.2%
188British Virgin Islands0.2-20.3%
189American Samoa0.2-1.8%
190Samoa0.2+10.7%
191Central African Republic0.2-11.2%
192Saint Vincent and the Grenadines0.1-2.2%
193Dominica0.1-16.5%
194São Tomé and Príncipe0.1+2.8%
195Solomon Islands0.1+3.2%
196Comoros0.1+51.2%
197Guinea-Bissau0.1+0.4%
198Vanuatu0.1+1%
199Tonga0.1+11.6%
200Djibouti0.1-33%
201Saint Pierre and Miquelon0+0.4%
202Cook Islands0+10.2%
203Nauru0+9.9%
204Kiribati00%
205Falkland Islands0-13.5%
206Montserrat0-0.7%
207Saint Helena0+2.4%
208Niue00%
209Antarctica0-100%
209Western Sahara0n/a

Other periods

About this ranking

Electricity generated in the year minus the electricity used by the power plants themselves, in terawatt hours (billion kilowatt hours), from the U.S. Energy Information Administration: for countries, its International Energy Statistics; for U.S. states, its survey of utility-scale power plants of 1 megawatt or more (Form EIA-923).

Countries and U.S. states. Generation is not consumption: exporters such as France and Norway generate more than they use. State figures leave out small-scale solar such as rooftop panels, which the country figure for the United States includes, so the states add up to about 2% less than the national total.

Every value in the ranking comes from the same publisher and the same period, so the countries are compared on one definition. 4 countries with data in other periods have no value for 2017 and are left out rather than filled from another source. Equal values share a rank.

How to cite

Source: U.S. Energy Information Administration. International Energy Statistics: electricity net generation, billion kilowatt hours (series INTL.2-12-BKWH.A). Retrieved through Data Commons (datacommons.org). https://www.eia.gov/international/data/world. Retrieved 2026-10-11.

Use this data in your AI agent

Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:

Rank Countries by net electricity generation using official data, and cite the source.
rank_places {"indicator":"electricity_generation","level":"country","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=electricity_generation&level=country&limit=10

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

Which country has the highest net electricity generation?

China, with 6,655.6 TWh in 2017, according to the U.S. Energy Information Administration.

Which country has the lowest net electricity generation?

Western Sahara, with 0 TWh in 2017.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: U.S. Energy Information Administration, International Energy Statistics: electricity net generation, billion kilowatt hours (series INTL.2-12-BKWH.A). Retrieved 2026-10-11. 4 countries have no value for 2017 and are not ranked.

Net electricity generation: other rankings

Countries: more rankings