54 country profiles · 207 indicator definitionsAPI dataGet API key

Demographics · Africa ranking

Population Density by African country

623.2/km²Mauritius · highest shown · 2026

Mauritius has the highest reported population density among the 54 countries shown, at 623.2/km² (2026).

People per square kilometre of land area. 54 of 54 countries are shown. Open a country to see its source details and available history.

#1 vs #54163×Mauritius vs Namibia
Median70.7/km²Equatorial Guinea
Lowest3.8/km²Namibia

By region

unweighted mean of countries shown
East Africa228.2/km²
16 countries shown · highest value: Mauritius
West Africa114.5/km²
16 countries shown · highest value: Gambia
Central Africa59/km²
9 countries shown · highest value: Sao Tome and Principe
North Africa57/km²
6 countries shown · highest value: Egypt
Southern Africa41.3/km²
7 countries shown · highest value: Lesotho

Full ranking

54 of 54 countries
#CountryPopulation DensityPeriod
1Mauritius
623.2/km²2026
2Rwanda
615/km²2026
3Burundi
567.6/km²2026
4Comoros
483.1/km²2026
5Seychelles
295.3/km²2026
6Gambia
285/km²2026
7Nigeria
266.2/km²2026
8Uganda
264.1/km²2026
9Sao Tome and Principe
255.2/km²2026
10Malawi
241/km²2026
11Togo
182.6/km²2026
12Ghana
156.9/km²2026
13Ethiopia
138.9/km²2026
14Benin
134.5/km²2026
15Cabo Verde
131.4/km²2026
16Sierra Leone
125.4/km²2026
17Egypt
120.7/km²2026
18Cote d'Ivoire
105.3/km²2026
19Kenya
101/km²2026
20Senegal
100.6/km²2026
21Burkina Faso
89.9/km²2026
22Morocco
86.9/km²2026
23Tanzania
81.9/km²2026
24Guinea-Bissau
81.7/km²2026
25Tunisia
79.9/km²2026
26Lesotho
78.7/km²2026
27Eswatini
73.1/km²2026
28Equatorial Guinea
70.7/km²2026
29Cameroon
65.7/km²2026
30Guinea
62.8/km²2026
31Liberia
60.8/km²2026
32Madagascar
57.6/km²2026
33South Africa
53.6/km²2026
34Djibouti
51.7/km²2026
35Democratic Republic of the Congo
51.4/km²2026
36Mozambique
46.6/km²2026
37Zimbabwe
44.7/km²2026
38Somalia
32.4/km²2026
39Angola
32.3/km²2026
40Eritrea
30.4/km²2026
41Zambia
30.3/km²2026
42Sudan
30.2/km²2026
43Niger
22.7/km²2026
44South Sudan
22/km²2026
45Mali
21.3/km²2026
46Algeria
20.2/km²2026
47Republic of the Congo
19.4/km²2026
48Chad
17.1/km²2026
49Gabon
10.3/km²2026
50Central African Republic
9.1/km²2026
51Mauritania
5.3/km²2026
52Botswana
4.6/km²2026
53Libya
4.5/km²2026
54Namibia
3.8/km²2026

Get this ranking via API

GET /v1/data

Request the latest available Population Density values for the selected countries as JSON. The response includes source metadata; check reporting periods before comparing values.

curl "https://api.africa-api.com/v1/data?metric_key=population_density_per_km2&latest=true&country_codes=NG,KE,ZA,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Cite or republish this ranking

Check the original source's reuse conditions before republishing. Keep each observation's source and reporting period with the value, and link to this page. See the terms and source metadata reference.

Embed this ranking

iframe snippet

Paste this snippet into a page that supports iframes. The chart loads the available ranking observations and includes their reporting periods. A link to this page is included.

<iframe src="https://africa-api.com/embed/population-density" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Population Density by African country — Africa API"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:.5rem 0"><a href="https://africa-api.com/data/population-density">Population Density by African country — Africa API</a></p>

About this ranking

Which observations are included?

The table includes 54 of 54 countries with available observations for 2023 or later and within 2 years of the freshest result. Each row shows its reporting period. Countries without an eligible observation are omitted.

Does a higher value mean a better result?

The table is sorted by value, from highest to lowest. The order does not rate a country's performance. Interpretation depends on the indicator and its definition.

More demographics rankings