censuswall IDN × MYS · 2026 · side by side
Topics

Compare · UN World Population Prospects 2024

Indonesia and Malaysia, side by side

In 2026, half of the people in Indonesia are older than 32. In Malaysia, half are older than 32.

UN estimates for mid-2023: Indonesia 281,190,066 people · Malaysia 35,126,298

Indonesia 288 million people Half are older than 32 8 in 100 are 65 or older
Malaysia 36.4 million people Half are older than 32 8 in 100 are 65 or older

How to read this: each pyramid stacks a place’s people by age — babies at the bottom, the oldest at the top, men on the left and women on the right. A wide bottom means many children; a wide top means many older people.

Each bar is a share of its own place’s people, so a small country and a large one can be read side by side.

estimatesprojections

men women projected

Verified 2026-09-30 · 73 canaries

IDN × MYS · 2026 · age groups

If each place were 100 people

Shrink each population to 100 people and count them. Dots are children under 15, filled squares are people aged 15 to 64, and open squares are people 65 and over. The picture follows the year slider above.

Indonesia
Children, under 15
24
Aged 15 to 64
68
Aged 65 and over
8
Malaysia
Children, under 15
21
Aged 15 to 64
71
Aged 65 and over
8

IDN × MYS · families and lifetimes

Children, and how long lives last

At today's rates, a woman in Indonesia would have about 2.1 children in her lifetime. In Malaysia, about 1.5. Life expectancy at birth this year: about 72 years in Indonesia, about 77 in Malaysia.

Children per woman, 2026

Each figure is one child: how many children a woman would have in her lifetime at that year’s rates.

Indonesia 2.1
Malaysia 1.5

The dashed line at 2.1 is about what it takes for each generation to replace the one before it, leaving migration aside.

How long a newborn can expect to live, 2026

Each block is ten years of life, if the death rates of that year stayed the same all life long.

Indonesia 72 years
Malaysia 77 years

Hatched marks are UN projections (medium variant), not measurements.

IDN × MYS · 1950–2100 · how many

How big, and where they are heading

Indonesia has about 8 times as many people as Malaysia: 288 million against 36.4 million.

Indonesia's population is 4.2 times what it was in 1950; Malaysia's population is 6.0 times what it was in 1950.

Indonesia's population is expected to peak in 2058; Malaysia's population is expected to peak in 2072. In 2100: 296 million in Indonesia, 44.0 million in Malaysia (UN projection, medium).

Show the numbers
YearIndonesia: peopleMalaysia: peopleIndonesia: half older thanMalaysia: half older thanIndonesia: children per womanMalaysia: children per womanIndonesia: life expectancyMalaysia: life expectancy
195068.7990 million6.09828 million18.919.85.116.4340.248.5
196088.2961 million7.95620 million20.117.55.506.4146.857.2
1970115.657 million10.1788 million18.917.35.495.0453.363.3
1980148.951 million12.9834 million19.419.74.504.0458.768.1
1990183.501 million17.8332 million21.621.43.113.3063.371.0
2000216.078 million22.9678 million24.623.52.502.9466.372.7
2010246.305 million28.6558 million27.626.02.462.1468.475.4
2023281.190 million35.1263 million30.831.12.131.5571.276.7
2030*295.877 million37.9617 million32.834.02.011.5172.277.8
2040*311.797 million41.5096 million35.337.81.911.5173.579.5
2050*320.713 million44.2898 million37.841.11.851.5375.081.1
2060*322.529 million45.8501 million40.144.31.811.5376.382.7
2070*320.050 million46.3730 million41.746.11.781.5577.784.1
2080*314.543 million46.1191 million43.246.91.761.5679.285.5
2090*306.111 million45.1730 million44.847.71.741.5680.586.7
2100*295.511 million44.0261 million46.048.41.731.5681.987.9

* UN projection, medium variant. People at mid-year; ages and life expectancy in years.

IDN − MYS · 1950–2100 · every age

Which ages each place has more of

Each column is a year and each row an age, from babies at the bottom to 100 at the top. The shade of a cell shows which place has more of its people at that age — the key beside the picture tells you which shade is Indonesia and which is Malaysia, and the in-between shade means the same. Because it compares shares, a small place and a large one can be compared fairly.

236 countries · 1950–2100

Where they sit among all countries

Every country in the world, every year from 1950 to 2100. The grey cloud shows where most countries are; Indonesia is drawn in solid blue squares and Malaysia in open orange squares, so you can see whether each is ahead of the crowd, behind it or in the middle.

Apparatus

Sources and method

Every figure for Indonesia and Malaysia is the United Nations Population Division's, from World Population Prospects 2024: counted to 2023, and the medium projection for each year after that. Both places are taken from the same release and the same tables, which is what makes them comparable at all.

How the median age and the “100 people” pictures are worked out, and why the pictures of every country leave the regions out: how the figures here are put together.

250 comparisons have a page of their own; any other two places can be compared from the boxes at the top.

Sources: UN WPP 2024 · flag-icons. Every source, its licence and how to cite it →

Verified 2026-09-30 · 73 canaries