In 2024 about 660 million people, 8% of the world, still had no electricity, and a quarter of humanity still cooked with polluting fuels. This dataset has the share of people with electricity (total, urban and rural) and with clean cooking fuels for 216 countries and economies, with the number of people without electricity worked out from population.

## What stands out

- **The count of people without electricity has fallen from about 1.6 billion in 1998 to about 660 million in 2024.** Access rose from 73% to 92% of the world while the population grew by more than a third.
- **Nearly nine in ten of those left are in sub-Saharan Africa.** The region has 16% of the world's people but about 580 million of the roughly 655 million without power (88%), and 55% of its people have electricity.
- **Ten countries, all in Africa, hold almost three in five.** Nigeria (87 million) and DR Congo (85 million) lead, then Ethiopia (57 million), Tanzania (33 million) and Uganda (22 million). In DR Congo 22.5% have power; in Chad 13%, Malawi 16% and South Sudan 5%.
- **India went from 60% to nearly everyone.** In 2000 about 420 million Indians had no power; in 2024 it was under 2 million. Bangladesh went from 32% to 99.5%.
- **The gap is rural.** In 2024, 46 of 210 countries with both figures have rural access at least 20 points below urban. In Nigeria it is 85.5% urban and 23.5% rural; in Ethiopia 95% and 45%.
- **Clean cooking lags far behind.** Worldwide 75% cook with clean fuels (47% in 2000). In 2024 fewer than 10% do in 21 countries, and some countries with near-universal power still cook mostly with polluting fuels: Bangladesh (99.5% electricity, 29% clean cooking) and Laos (96.5%, 10%).

## Data

- `data/access-by-country.csv`: one row per country and year, 1990-2024 (6,778 rows, 216 countries). `electricity_total`, `electricity_urban`, `electricity_rural` (percent, World Bank), `population` (World Bank), `people_without_electricity` (computed), `clean_cooking_total`, `clean_cooking_urban`, `clean_cooking_rural` (percent, WHO, 2000 onwards). Blank means no figure.
- `data/world.csv`: the world by year, 1998-2024: electricity share and population (World Bank's World aggregate), `people_without_electricity` and `millions_without_electricity` (computed), and WHO's global clean-cooking share.
- `data/without-electricity-latest.csv`: the 15 countries with the most people without electricity in 2024.

Where the people live, 2024, from the country rows (computed):

| World Bank region | People without electricity | Share of total |
|---|---:|---:|
| Sub-Saharan Africa | 579 million | 88% |
| East Asia and Pacific | 34 million | 5% |
| Middle East, North Africa, Afghanistan and Pakistan | 26 million | 4% |
| Latin America and Caribbean | 13 million | 2% |
| South Asia | 3 million | 0.4% |
| Europe, Central Asia and North America | about 0 | 0% |

## Caveats

- **`people_without_electricity` is computed here**, as population x (100 - access share) / 100, using the share as given in the CSV (four decimals), rounded to a whole person. It is not a figure the World Bank publishes. The world figure (657 million for 2024) is computed from the World aggregate; the 215 country values add up to 655 million (2024).
- **Electricity access is an estimate.** The World Bank compiles it from industry, national surveys and international sources (WDI's source note), so treat small year-to-year moves with caution. In the 1990s only 98 to 172 economies a year have electricity figures, and the world series starts in 1998.
- **Clean cooking is WHO's estimate**, published as whole percentages with uncertainty ranges (kept in `archive/`, not in the CSVs). Under WHO guidelines kerosene is excluded from clean cooking fuels (WDI's indicator note). The World Bank's WDI repeats WHO's series (EG.CFT.ACCS.ZS) and agrees with it to the rounding in every one of the 4,800 country-years where both exist; the WHO file is used here because WHO is the original.
- **Economies:** the file has 216 of the World Bank's 217 country-level economies (American Samoa has no electricity or clean-cooking figures). WHO also reports the Cook Islands and Niue, which the World Bank list does not include, so they are left out. WHO has no clean-cooking figures for 24 of the 216 (for example Puerto Rico, Hong Kong, Greenland), so their cooking columns are blank.

## Source and licence

Electricity access: World Bank, World Development Indicators, `EG.ELC.ACCS.ZS` (total), `EG.ELC.ACCS.UR.ZS` (urban), `EG.ELC.ACCS.RU.ZS` (rural), served by the World Bank Indicators API (WDI last updated 11 November 2026). The World Bank compiles these as the SDG 7.1.1 Electrification Dataset for Tracking SDG7: The Energy Progress Report, the annual report of the World Bank (ESMAP), IEA, IRENA, UNSD and WHO. Population: WDI `SP.POP.TOTL`. Clean cooking: WHO Global Health Observatory indicator `PHE_HHAIR_PROP_POP_CLEAN_FUELS`, from the GHO OData API (data published 8 May 2026). All retrieved 4 December 2026 and archived in `archive/`.

Terms, recorded as published (retrieved 4 December 2026). World Bank, [Data Access and Licensing](https://datacatalog.worldbank.org/public-licenses):

> The World Bank Group makes data publicly available according to open data standards and licenses datasets under the Creative Commons Attribution 4.0 International license (CC-BY 4.0). [...] The Creative Commons Attribution 4.0 International license allows users to copy, modify and distribute data in any format for any purpose, including commercial use. Users are only obligated to give appropriate credit (attribution) and indicate if they have made any changes, including translations.

The WDI catalog page states "License : Creative Commons Attribution 4.0". The World Bank page adds mandatory terms on dispute resolution. WHO, [Terms and conditions of use for WHO data compilations, aggregations, evaluations and analyses](https://www.who.int/about/policies/publishing/data-policy/terms-and-conditions):

> WHO grants to you the royalty-free, worldwide, non-exclusive right to use, reproduce, extract, download, copy, distribute, display or include the Datasets and data contained therein in other products for public health purposes. [...] you agree to appropriately acknowledge and provide attribution to WHO and the country or countries having provided the underlying data (as indicated in the Datasets) in the following format: WHO, title of dataset, year, date of access, acknowledgement of the country or countries having provided the underlying data. [...] You shall not state or imply that WHO endorses the manner or purpose of your use or reproduction of the Datasets, or that WHO endorses any entity, organization, company, product or services.

The WHO values are reproduced unchanged (only reshaped into columns). The WHO terms are narrower than an open licence: use for public health purposes, no commercial promotion, no endorsement claim. The World Bank's Tracking SDG7 source note for the cooking series separately lists the report's own licence as CC BY-NC 3.0 IGO. Check the terms before commercial use.

Cite as: World Bank, World Development Indicators (EG.ELC.ACCS.ZS and related, SP.POP.TOTL), accessed 4 December 2026; WHO, Global Health Observatory, "Proportion of population with primary reliance on clean fuels and technologies for cooking (%)", 2026, accessed 4 December 2026; counts of people without electricity computed by DataHub.

## Upkeep

Living, updated annually. A monthly GitHub Action (`.github/workflows/update.yml`) re-fetches both sources and rebuilds the CSVs; when the data changed it pushes a review branch and opens an issue rather than committing to `main`, because this README and the chart labels quote dated figures. `scripts/fetch.mjs` and `scripts/build.mjs` rebuild everything from the sources.
