Skip to content
3D map of Africa’s population in 2020, north up, one column for each 10 km square as tall as its density: the tallest labelled columns stand over Cairo, Kinshasa and Alexandria

World / Africa

Population density map of Africa

1,477,881,002 people on 11,449,780 sq mi (29,654,794 km²) of land · 129 per sq mi · World Bank, 2023

Africa on a globe

People per sq mi, 2020 per km² on the second row

  1. 10.4
  2. 5019
  3. 25097
  4. 1,000386
  5. 5,0001,931
  6. 25,000+9,653+

The ground: the average within 44 mi (70 km); sand: no one

Where Africa’s 1,358,578,708 people lived in 2020 by the JRC’s population grid: a 3D model with one column for each 6.2 mi (10 km) square (3.1 mi, 5 km, on a desktop computer) that has people, its height and colour set by that square’s density and nothing smoothed, north up. Modeled estimate (JRC), GHS-POP R2023A. Labels: Africa’s largest urban centres, and the names of its countries in capital letters where they fit; thin lines mark the borders between them (World Bank Official Boundaries). Download the map (PNG) Download the figures (CSV)

Africa has 129 people per square mile (50 per km²): the World Bank’s 1,477,881,002 people for 2023 on 11,449,780 sq mi of land in the 54 countries with a figure. The 3D map above shows where Africa’s people live, square by square.

By Marko Visic, MPharm, BSc Physics · Updated · How the maps are made

Sheet: Africa
Population, 20231,477,881,002World Bank
Land area11,449,780 sq mi29,654,794 km²
Density, 2023129 per sq mi50 per km²
Half of all people on0.28% of the landJRC grid, 2020
Weighted density, 202022,122 per sq mi8,541 per km²

Where Africa’s people live

Half of Africa’s people live on 0.28% of its land, and four in five on 1.9%. The JRC’s grid places 1,358,578,708 people on 1 km squares for 2020, and the map above stands their density up as columns.

0.28%of the land holds half of all residents.
1.9%of the land holds four in five.
75.7%of the land’s 1 km squares have no modeled residents.
22,122people per sq mi (8,541 per km²) around the average resident, about 171 times Africa’s density. This population-weighted density is the crowding people actually live in.
  • 0.28% of the land: half of all residents
  • 1.6% of the land: the next 30%
  • 22.4% of the land: the last 20%
  • 75.7% of the land: nobody

Modeled estimate (JRC), 2020: the land shares and the weighted density count 1 km squares (methodology).

40% of Africa’s people live in urban centres, the densest class of the JRC’s settlement grid; 31% live in towns, semi-dense areas and suburbs, and 29% in rural areas.

Population density of Africa’s countries

Mauritius is Africa’s most densely populated country, with 1,617 people per sq mi (624 per km²); Namibia is the least, with 9.3. The ten densest:

  1. Mauritius1,617
  2. Rwanda1,520
  3. Burundi1,381
  4. Comoros1,184
  5. The Gambia690
  6. Seychelles679
  7. Nigeria648
  8. Uganda628
  9. São Tomé and Príncipe623
  10. Malawi580

People per sq mi, World Bank 2023, all on one scale.

The table lists all 54 countries this site counts in Africa. Select a column heading to sort by it; the lived density column is explained in the next section.

RankCountryPer sq miper km²Lived density, per sq miPopulation
1Mauritius1,6176249,7381,248,647
2Rwanda1,5205875,67313,954,471
3Burundi1,3815339,41913,689,450
4Comoros1,18445743,763850,387
5The Gambia69026716,4642,697,845
6Seychelles6792624,071119,773
7Nigeria64825021,814227,882,945
8Uganda6282434,71448,656,601
9São Tomé and Príncipe62324016,608230,871
10Malawi5802244,88621,104,482
11Togolived density raised by listed grid errors39215112,6368,223,850
12Ghana38514917,26833,787,914
13Cabo Verde33613014,285522,331
14Benin32412511,90314,111,034
15Sierra Leone30411719,3078,460,512
16Egypt29811556,273114,535,772
17Ethiopia29711517,365128,691,692
18Côte d'Ivoire2549819,46031,165,654
19Kenya2479516,48555,339,003
20Senegal2439421,52818,077,573
21Morocco2198534,56937,712,505
22Burkina Faso218847,94123,025,776
23Tunisia2037911,59912,200,431
24Guinea-Bissau1987712,0602,153,339
25Lesotho197762,5212,311,472
26Tanzania1957510,81066,617,606
27Eswatini185721,5991,230,506
28Equatorial Guinea1716634,4521,847,549
29Cameroon1556027,48228,372,687
30Guinea1525913,57814,405,468
31Liberia1485712,0885,493,031
32Madagascar1395413,88031,195,932
33South Africa1355213,19163,212,384
34Djibouti1295043,6591,152,944
35Democratic Republic of the Congo1214736,803105,789,731
36Mozambique111438,93033,635,160
37Zimbabwe109423,65116,340,822
38Angola762928,00236,749,906
39Somalia762962,09818,358,615
40Eritrea742926,1013,470,390
41Zambia722810,08320,723,965
42Sudan692725,82950,042,791
43Niger532114,37026,159,867
44Mali501912,14923,769,127
45Algeria501915,45346,164,219
46South Sudanlived density raised by listed grid errors471827,66711,483,374
47Republic of the Congolived density raised by listed grid errors471865,6926,182,885
48Chad401514,94719,319,064
49Gabonlived density raised by listed grid errors259.614,4212,484,789
50Central African Republic218.316,6375,152,421
51Mauritania134.916,8325,022,441
52Botswana114.44,9372,480,244
53Libya114.26,0417,305,659
54Namibia9.33.66,0102,963,095

Density: official estimates, World Bank 2023. Lived density: population-weighted density, modeled estimate (JRC), 2020.

Lived density: where people crowd

A country’s density spreads its people evenly over all its land. The lived density on this page, the population-weighted density, measures the crowding around the average resident on 1 km squares instead: a country with empty land between dense towns scores high, and one whose people spread over farmland and suburbs scores lower.

By lived density the order changes. Among countries of 5 million people or more, Somalia climbs from 39th to 2nd, Mauritania from 51st to 20th and the Democratic Republic of the Congo from 35th to 6th, while Rwanda falls from 2nd to 47th and Uganda from 8th to 50th. Somalia’s people live at 62,098 per sq mi around the average resident, the highest lived density of the unmarked countries, against Rwanda’s 5,673, though Rwanda is 20.1 times as dense on average. Togo, South Sudan, the Republic of the Congo and Gabon are marked in the table and left out of these comparisons: squares or urban centres that the grid overfills, listed with their evidence on the methodology page, make up 5% or more of their lived density.

Population-weighted density, modeled estimate (JRC), 2020: the sum of each 1 km square’s people times its density, divided by all the people (methodology). Ranks among the 54 countries with a World Bank density.

The most populated countries in Africa

Nigeria has the most people in Africa: 227,882,945, World Bank 2023. The ten most populated countries are Nigeria (227,882,945), Ethiopia (128,691,692), Egypt (114,535,772), the Democratic Republic of the Congo (105,789,731), Tanzania (66,617,606), South Africa (63,212,384), Kenya (55,339,003), Sudan (50,042,791), Uganda (48,656,601) and Algeria (46,164,219).

Africa and the United States

Africa is more densely populated than the United States: 129 people per sq mi (2023) against 97 (2025), 1.3 times the US figure. Around the average resident, Africa is 3.8 times as crowded: 22,122 people per sq mi against 5,759 in the US.

Africa: World Bank 2023; lived density, JRC grid 2020. United States: Census Bureau estimate for 2025 ÷ 2025 land area (calculated); lived density from 2020 Census blocks on 1 km squares. See the US population density map.

Africa’s largest urban centres

Cairo is Africa’s largest urban centre, with 23,383,858 people on the JRC’s 2020 grid, 1.7% of everyone in Africa. An urban centre is a continuous area of dense 1 km squares, so one centre can take in several cities.

The 20 largest urban centres, 2020
#Urban centreCountryPeople, 2020Share of Africa
1CairoEgypt23,383,8581.72%
2LagosNigeria11,687,0030.86%
3KinshasaDemocratic Republic of the Congo10,105,4220.74%
4LuandaAngola9,535,1150.70%
5JohannesburgSouth Africa7,666,3800.56%
6Dar es SalaamTanzania6,930,2610.51%
7AlexandriaEgypt6,402,8980.47%
8KhartoumSudan5,868,0240.43%
9Addis AbabaEthiopia5,814,7950.43%
10AbidjanCôte d'Ivoire5,617,0950.41%
11NairobiKenya5,526,5920.41%
12AccraGhana5,300,1620.39%
13YaoundéCameroon4,475,9970.33%
14KanoNigeria4,427,8490.33%
15CasablancaMorocco4,275,5720.32%
16KampalaUganda4,234,2580.31%
17KumasiGhana4,102,4450.30%
18Cape TownSouth Africa3,969,5630.29%
19MogadishuSomalia3,819,9250.28%
20DoualaCameroon3,703,4080.27%

Modeled estimate (JRC), 2020: people on the GHS-POP grid inside each urban centre (GHS-SMOD), named from GHS-UCDB R2024A; the map labels the first 10.

How Africa’s population changed

On the JRC’s grid, Africa went from 416,840,683 people in 1975 to 1,358,578,708 in 2020, a rise of 225.9%. Its share of the world’s people rose from 10.2% to 17.3%. The share living in urban centres went from 23% to 40%, and the density around the average resident from 12,618 to 22,122 per sq mi.

1975: 12,618 per sq mi2020: 22,122 per sq mi

Population-weighted density, people per square mile, modeled estimate (JRC), 1975–2020. The axis starts at 11,100.

Africa’s centre of population moved 69 mi (111 km) south-southeast between 1975 and 2020, from a point 29 mi (47 km) from Kaga-Bandoro, Central African Republic, to one 42 mi (67 km) from Bambari, Central African Republic. The centre is the population-weighted mean position on the globe.

YearPeopleWeighted density, per sq mi (km²)In urban centres
1975416,840,68312,618 (4,872)23.0%
1980480,719,78813,034 (5,032)25.1%
1985554,719,31113,565 (5,237)27.3%
1990637,098,42614,441 (5,576)29.3%
1995723,125,29215,948 (6,157)32.2%
2000817,562,73717,621 (6,804)34.7%
2005926,346,54718,453 (7,125)36.7%
20101,053,505,16219,336 (7,466)38.5%
20151,199,203,06520,607 (7,956)39.9%
20201,358,578,70822,122 (8,541)40.3%

Modeled estimates (JRC GHS-POP and GHS-SMOD R2023A, 1 km grid), 1975–2020. The centre’s places are the GeoNames national or provincial capitals nearest each point (calculated).

Continents compared

Africa is the 2nd most densely populated of the six continents, behind Asia. The world as a whole has 161 people per sq mi (62 per km²).

ContinentPer sq mi, 2023per km²
Asia394152
Africa12950
Europe8733
North America7529
South America6425
Oceania145.3

Each continent is the sum of its countries, World Bank 2023 (calculated). Each country counts in one continent, as the site’s continent pages group them: Russia in Europe; Turkey and Kazakhstan in Asia; Egypt in Africa. The world map has all six.

Modeled and official counts

Two sources count Africa’s people on this page. The headline figures are the World Bank’s official estimates, summed over Africa’s countries. The map and the where-people-live figures come from the JRC’s GHS-POP grid, which spreads census-based counts over the built-up areas it finds in satellite data.

For 2020 the grid’s total is 1.4% below the World Bank’s estimate. We show both as published and never adjust one to match the other.

Maps of Africa’s countries

Using this map

  • Move it, turn it and look closer. Drag the map to move it, right-drag (or drag with Ctrl or ⌘ held) to turn and tilt it, scroll to zoom (scrolling down from the opening view carries on down the page), or use the buttons; on a phone, drag it with one finger, pinch or double-tap to zoom, twist two fingers to turn it and slide two fingers up or down to tilt it (the page scrolls from below the map). The compass button turns north back up. Point at any column to read its density.
  • Read the colours, then the heights. A column’s top takes the legend’s colour for its square, and its height rises in step with density, so a column twice as tall marks a square twice as dense.
  • Open a country for more detail. This map draws 6.2 mi squares; each country page draws its own map on squares as small as a quarter of a kilometre.
  • Take the data with you. The CSV lists every figure on this page with its year, label and source, and the PNG is free to reuse with the credit below.

Questions about Africa’s population density

What is the population density of Africa?
129 people per square mile (50 per km²), World Bank 2023: 1,477,881,002 people on 11,449,780 sq mi of land in 54 countries.
What are the 10 most densely populated countries in Africa?
Mauritius (1,617 people per sq mi), Rwanda (1,520), Burundi (1,381), the Comoros (1,184), the Gambia (690), the Seychelles (679), Nigeria (648), Uganda (628), São Tomé and Príncipe (623) and Malawi (580), by the World Bank’s 2023 figures.
Is Africa more densely populated than the USA?
Yes: Africa has 129 people per sq mi (2023) against 97 in the United States (2025). Around the average resident, Africa is 3.8 times as crowded.
What are the 10 most populated countries in Africa?
Nigeria (227,882,945), Ethiopia (128,691,692), Egypt (114,535,772), the Democratic Republic of the Congo (105,789,731), Tanzania (66,617,606), South Africa (63,212,384), Kenya (55,339,003), Sudan (50,042,791), Uganda (48,656,601) and Algeria (46,164,219): World Bank 2023.
What is the least densely populated country in Africa?
Namibia, with 9.3 people per square mile (3.6 per km²), World Bank 2023.
Where do most people in Africa live?
Half of them live on 0.28% of the land, and 40% in urban centres; the largest, Cairo, held 23,383,858 people in 2020 (JRC modeled estimates).

Data and sources

Data as of: World Bank World Development Indicators (2023); JRC GHS-POP and GHS-SMOD R2023A (modeled estimates, 1975–2020); GHS-UCDB urban centre names; GeoNames capitals; Census Bureau (2025) for the United States; page figures computed 2026-11-08. Every figure carries its label: official estimate, modeled estimate (JRC) or calculated. Equations and limits are on the methodology page.

  1. World Bank, World Development Indicators: EN.POP.DNST, SP.POP.TOTL, AG.LND.TOTL.K2. CC BY 4.0; retrieved Oct 2026. data.worldbank.org
  2. European Commission, Joint Research Centre (JRC), GHS-POP R2023A, 1 km Mollweide grid, epochs 1975–2020. CC BY 4.0; retrieved Oct 2026. human-settlement.emergency.copernicus.eu
  3. European Commission, Joint Research Centre (JRC), GHS-SMOD R2023A (Degree of Urbanisation, level 2), 1 km, epochs 1975–2020. CC BY 4.0; retrieved Oct 2026. human-settlement.emergency.copernicus.eu
  4. European Commission, Joint Research Centre (JRC), GHS-UCDB R2024A V1.2 (urban centre names only). CC BY 4.0 (JRC FTP copyright notice); retrieved Oct 2026. human-settlement.emergency.copernicus.eu
  5. GeoNames, GeoNames cities5000 (town names and points only). CC BY 4.0; retrieved Nov 2026. www.geonames.org
  6. World Bank, World Bank Official Boundaries, version 3 (Admin 0, Non-Determined Legal Status Areas, Admin 0 lines). CC BY 4.0; retrieved Oct 2026. datacatalog.worldbank.org
  7. U.S. Census Bureau, Vintage 2025 state population estimates (NST-EST2025-ALLDATA), July 1, 2025. public domain (17 U.S.C. §105); retrieved Oct 2026. www.census.gov
  8. U.S. Census Bureau, Gazetteer Files, counties: 2020 and 2025 (state land area = sum of county ALAND). public domain (17 U.S.C. §105); retrieved Oct 2026. www.census.gov
  9. U.S. Census Bureau, TIGER/Line 2020 tabulation blocks with 2020 Census counts (POP20, HOUSING20). public domain (17 U.S.C. §105); retrieved Oct 2026. www.census.gov
  10. GHSL dataset doi:10.2905/2FF68A52-5B5B-4A22-8F40-C41DA8332CFE; Pesaresi et al. (2024), doi:10.1080/17538947.2024.2390454.

Map and CSV: free to reuse under CC BY 4.0 with the credit “populationdensitymaps.com; data: World Bank, European Commission JRC”.