Costa Rica vs Western Sahara: Population density of the capital city
Costa Rica
3,964 people per km²
in 2100
Western Sahara
4,193 people per km²
in 2100
Costa Rica rank
133rd
Western Sahara rank
130th
Population density of the capital city over time
- Costa Rica
- Western Sahara
How they compare
Western Sahara currently reports 4,193 people per km² against 3,964 people per km² in Costa Rica, a difference of 229 people per km².
That makes Western Sahara's figure about 1.1 times Costa Rica's.
The two have swapped places 2 times across 16 shared years of data; in 2025 it was Western Sahara ahead.
Costa Rica ranks 133rd and Western Sahara ranks 130th of 191 countries.
Across the 9 decades both report, Costa Rica averaged higher in 1 and Western Sahara in 8.
Head to head by decade
| Decade | Costa Rica | Western Sahara | Difference | Ahead |
|---|---|---|---|---|
| 2020s | 4,468 people per km² | 8,465 people per km² | 3,998 people per km² | Western Sahara |
| 2030s | 4,533 people per km² | 7,701 people per km² | 3,167 people per km² | Western Sahara |
| 2040s | 4,566 people per km² | 6,571 people per km² | 2,005 people per km² | Western Sahara |
| 2050s | 4,533 people per km² | 5,219 people per km² | 686.03 people per km² | Western Sahara |
| 2060s | 4,445 people per km² | 4,678 people per km² | 233.83 people per km² | Western Sahara |
| 2070s | 4,326 people per km² | 4,298 people per km² | 27.9 people per km² | Costa Rica |
| 2080s | 4,170 people per km² | 4,285 people per km² | 114.56 people per km² | Western Sahara |
| 2090s | 4,034 people per km² | 4,215 people per km² | 180.23 people per km² | Western Sahara |
| 2100s | 3,964 people per km² | 4,193 people per km² | 229 people per km² | Western Sahara |
Averages of every year both report within each decade.
Frequently asked questions
- Which has higher population density of the capital city, Costa Rica or Western Sahara?
- Western Sahara, at 4,193 people per km² against 3,964 people per km² in Costa Rica as of 2100.
- What is the difference in population density of the capital city between Costa Rica and Western Sahara?
- 229 people per km², with Western Sahara ahead.
- How many years of comparable data are there for Costa Rica and Western Sahara?
- 16 years are reported by both, from 2025 to 2100.
- How do Costa Rica and Western Sahara rank globally for population density of the capital city?
- Costa Rica ranks 133rd and Western Sahara ranks 130th of 191 countries.
- Where does this data come from?
- European Commission, Joint Research Centre (JRC) (2025) – with minor processing by Our World in Data, published as Population density of the capital city. Statizoid refreshes it automatically from the source and publishes the full history for both places.
Individual pages
About this data
Projected number of people per km² of land area in the country's capital city. City boundaries are defined using a consistent global approach based on satellite imagery and population data.