Indonesia vs Western Sahara: population pyramids in 2026
IndonesiaWestern Sahara
Each bar is the share of the total population at that single year of age (men left, women right), so countries of different sizes can be compared.
Indonesia and Western Sahara compared
In 2026, Indonesia has a population of 286.8 million and Western Sahara 605,978; Indonesia is about 473 times the size of Western Sahara.
The share aged 65 and over is 7.7% in Indonesia and 6.9% in Western Sahara, 0.8 points higher in Indonesia. The median age is 30.7 years in Indonesia and 32.9 years in Western Sahara.
The total fertility rate is 2.08 in Indonesia and 2.13 in Western Sahara, so only Indonesia is below the replacement level of about 2.1. Life expectancy at birth is 71.6 years in Indonesia and 72.0 years in Western Sahara.
By 2050, the population of Indonesia is projected to grow by 11.7% and that of Western Sahara to grow by 27.9% compared with 2026.
Figures from 2024 are UN medium-variant projections.
Key figures (2026)
| Indonesia | Western Sahara | |
|---|---|---|
| Population | 286.8 million | 605,978 |
| Aged 0–14 | 24.1% | 22.8% |
| Aged 15–64 | 68.3% | 70.3% |
| Aged 65+ | 7.7% | 6.9% |
| Median age | 30.7 yrs | 32.9 yrs |
| Old-age dependency | 11.2 | 9.8 |
| Total fertility rate | 2.08 | 2.13 |
| Life expectancy | 71.6 yrs | 72.0 yrs |
| Population growth | +0.74% | +1.58% |
| Net migration (per year) | -39,472 | +4,689 |
| GDP | $1.45T (2025) | — |
| GDP per person | $5,060 (2025) | — |
| Unemployment | 3.2% (2025) | — |
Economic figures are the latest year published for each country.