World Population PyramidsPopulation pyramids and indicators by country and year日本語

Indonesia vs Western Sahara: population pyramids in 2026

◀2026▶Swap

IndonesiaWestern Sahara

1.5%1%0.5%0%0.5%1%1.5%0102030405060708090100+MaleFemale

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)

IndonesiaWestern Sahara
Population286.8 million605,978
Aged 0–1424.1%22.8%
Aged 15–6468.3%70.3%
Aged 65+7.7%6.9%
Median age30.7 yrs32.9 yrs
Old-age dependency11.29.8
Total fertility rate2.082.13
Life expectancy71.6 yrs72.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)—
Unemployment3.2% (2025)—

Economic figures are the latest year published for each country.

Compare other years