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

Japan vs Indonesia: population pyramids in 2040

2040Swap

JapanIndonesia

1%0.75%0.5%0.25%0%0.25%0.5%0.75%1%0102030405060708090100MaleFemale

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.

Japan and Indonesia compared

In 2040, Japan has a population of 112.3 million and Indonesia 311.2 million; Indonesia is about 2.8 times the size of Japan.

The share aged 65 and over is 35.0% in Japan and 12.0% in Indonesia, 23.0 points higher in Japan. The median age is 53.9 years in Japan and 35.1 years in Indonesia.

The total fertility rate is 1.31 in Japan and 1.91 in Indonesia, both below the replacement level of about 2.1. Life expectancy at birth is 87.1 years in Japan and 73.5 years in Indonesia.

By 2050, the population of Japan is projected to shrink by 6.5% and that of Indonesia to grow by 3.0% compared with 2040.

GDP per person is $36K in Japan (2025) and $5,060 in Indonesia (2025).

Figures from 2024 are UN medium-variant projections.

Key figures (2040)

JapanIndonesia
Population112.3 million311.2 million
Aged 0–1410.4%20.6%
Aged 15–6454.6%67.5%
Aged 65+35.0%12.0%
Median age53.9 yrs35.1 yrs
Old-age dependency64.117.7
Total fertility rate1.311.91
Life expectancy87.1 yrs73.5 yrs
Population growth-0.65%+0.41%
Net migration (per year)+118,186-48,132
GDP$4.44T (2025)$1.45T (2025)
GDP per person$36K (2025)$5,060 (2025)
Unemployment2.5% (2025)3.2% (2025)

Economic figures are the latest year published for each country.

Compare other years