Dataset · EIA
Primary Energy Production
45 years, 1980–2024 · 204 countries · 2 measures
This is how much primary energy a country produces in a year — coal, oil, gas, nuclear and renewable power — with how much it consumes beside it. Together the two show whether a country makes more energy than it uses or depends on imports.
This site holds every year from 1980 to 2024, read from EIA’s own data and stored exactly as published.
Primary Energy Production · the file
- Newest
- Primary Energy Production, 2024
- Held
- 45 years · 7,701 rows
- Licence
- Public domain or CC0
0145 years
Every year
Newest first. Each opens the full table for that year, and each downloads as a CSV.
| Year | Countries | Change | Read | Download |
|---|---|---|---|---|
| Primary Energy Production, 2024Newest | 204 | ±0 | September 29, 2026 | CSV |
| Primary Energy Production, 2023 | 204 | ±0 | September 29, 2026 | CSV |
| Primary Energy Production, 2022 | 204 | ±0 | September 29, 2026 | CSV |
| Primary Energy Production, 2021 | 204 | +1 | September 29, 2026 | CSV |
| Primary Energy Production, 2020 | 203 | −1 | September 29, 2026 | CSV |
| Primary Energy Production, 2019 | 204 | ±0 | September 29, 2026 | CSV |
| Primary Energy Production, 2018 | 204 | +1 | September 29, 2026 | CSV |
| Primary Energy Production, 2017 | 203 | +2 | September 29, 2026 | CSV |
| Primary Energy Production, 2016 | 201 | +1 | September 29, 2026 | CSV |
| Primary Energy Production, 2015 | 200 | ±0 | September 29, 2026 | CSV |
| Primary Energy Production, 2014 | 200 | +1 | September 29, 2026 | CSV |
| Primary Energy Production, 2013 | 199 | +1 | September 29, 2026 | CSV |
Show all 45 years
Every year in one file, one row per country per year: energy-production-all-editions-nations-inquiry.csv
024 columns
What’s in the file
Every column, what it holds, how it is stored and what its values look like — what a reader needs before opening the file.
| Column | What it holds | Stored as | Range, 2024 | Distinct | Empty | Spread |
|---|---|---|---|---|---|---|
CountrycountryName | The country’s name, as this file spells it. | Text | — | 204 | 0 | |
ISO Codecountry_codeIdentifier | The ISO 3166-1 alpha-3 code, added by this site. Every table here joins on it. | Text · 3 letters | — | 204 | 0 | |
Primary energy produced (quadrillion Btu)energy_productionHeadline | The headline figure: Primary energy produced (quadrillion Btu). | Number · up to 21 decimals | 0.000008 | 202 | 0 | |
Primary energy consumed (quadrillion Btu)energy_consumptionMeasure | Total primary energy consumed in the country during the year, in quadrillion British thermal units; the other side of the production figure, published by the same agency. | Number · up to 19 decimals | 0.00064 | 204 | 0 |
Profiled from the newest file. Range: the lowest and highest value, with the country holding it when only one does. Spread: countries in ten equal steps from lowest to highest. Neither end is better. The values describe a shape, not a score.
03205 countries across every year
Who is covered
How many countries each year holds, continent by continent, who joined and who left, and which places this site covers that the dataset never has.
| 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Africa | 52 | 53 | 53 | 53 | 54 | 54 | 54 | 53 | 53 | 53 | 53 | 53 |
| Americas | 41 | 41 | 41 | 42 | 42 | 43 | 43 | 43 | 44 | 44 | 44 | 44 |
| Asia | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 | 51 |
| Europe | 41 | 41 | 41 | 41 | 41 | 41 | 41 | 41 | 41 | 41 | 41 | 41 |
| Oceania | 14 | 14 | 14 | 14 | 15 | 15 | 15 | 15 | 15 | 15 | 15 | 15 |
| All | 199 | 200 | 200 | 201 | 203 | 204 | 204 | 203 | 204 | 204 | 204 | 204 |
The newest 12 of 45 years.
Who joined and who left
Not in this dataset · 20 places this site covers
EIA gives no figure for these in any year held here. It is the publisher’s choice of scope, and each place’s profile shows what is measured.
04Provenance
Where it comes from
The path from the publisher to this page, and what was checked and changed on the way.
1 · Publisher
U.S. Energy Information Administration (EIA)
2 · Their file
Primary Energy Production 2024
3 · Read by this site
September 29, 2026
Imported by a script that parses each figure and writes it down unrounded.4 · Stored as
45 files, one per year
Each downloads as a CSV, or every year together as energy-production-all-editions-nations-inquiry.csv5 · Used on
Its statistic page, and every profile it measures
Precision
The headline is stored to 21 decimals, as published.
Rounded by this site
Never. Tables on screen may show fewer decimals; the files never do.
Changed by this site
Reshaped into one row per country: regional and income-group totals are left out, only the columns listed are kept, each row gets its ISO 3166 code, and some country names are brought to one spelling. No value is recalculated, rescaled or rounded.
From the U.S. Energy Information Administration’s International Energy Statistics, read from its public bulk download. Both totals are EIA’s own; the share of its energy a country produces for itself is not calculated here, and the zeros EIA uses for missing readings are left out.
05Reuse
Licence and credit
What the publisher’s licence lets you do, what it asks of you, and a credit line and citation ready to copy.
Licence · checked September 29, 2026
Public domain (U.S. government work)
- Share and redistribute it
- Adapt it and build on it
- Use it commercially
No conditions at all. Crediting the publisher is still the courteous thing to do.
In plain words
A work of the United States government, which has no copyright in the United States.
A credit line
Source: U.S. Energy Information Administration (EIA), Primary Energy Production, via Nations Inquiry.
Cite this dataset
U.S. Energy Information Administration (EIA). Primary Energy Production, 1980–2024 [data set]. As held by Nations Inquiry, https://nationsinquiry.com/datasets/energy-production
The publisher’s own citation: Source: U.S. Energy Information Administration (Sep 2026). International Energy Statistics — Total energy production and total energy consumption (quadrillion Btu).
Plain-language summary, not legal advice. The licence text is what binds.
06Where it is used
Around the site
Where these numbers appear on this site, and the datasets nearest to it.
Charted
Primary Energy Production by countryWho is highest, the map, the spread, who rose and fell, and the records.
Subjects
Near neighbours
- Carbon Intensity of ElectricityEmber · 25 held · 2000–2024
- Renewable Share of Electricity GenerationEmber · 25 held · 2000–2024
- World Energy Trilemma IndexWorld Energy Council · 1 held · 2023
07Questions
Primary Energy Production: questions and answers
What is the Primary Energy Production?
This is how much primary energy a country produces in a year — coal, oil, gas, nuclear and renewable power — with how much it consumes beside it. Together the two show whether a country makes more energy than it uses or depends on imports.
Which years of the Primary Energy Production can I download?
All 45, from 1980 to 2024, each as a CSV file, or every year together in one CSV.
Does EIA rank countries on it?
No, and this site does not order it either. The files hold values only.
Can I use it commercially?
Yes, under Public domain, with credit to EIA. The licence text is linked on this page.